diff --git a/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing-9-dot-0.yml b/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing-9-dot-0.yml index f4d01a939b40d..6be4cba54aa1b 100644 --- a/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing-9-dot-0.yml +++ b/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing-9-dot-0.yml @@ -27,6 +27,7 @@ spec: default_branch: main repository: elastic/kibana pipeline_file: .buildkite/pipelines/es_forward_9_dot_0.yml # Note: this file exists in 8.x only and should be moved into 8.18 once the branch is cut + skip_intermediate_builds: false provider_settings: prefix_pull_request_fork_branch_names: false trigger_mode: none diff --git a/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing.yml b/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing.yml index 27549d37a66a9..fa4ee2d263873 100644 --- a/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing.yml +++ b/.buildkite/pipeline-resource-definitions/kibana-es-forward-testing.yml @@ -27,6 +27,7 @@ spec: default_branch: main repository: elastic/kibana pipeline_file: .buildkite/pipelines/es_forward.yml # Note: this file exists in 7.17 only + skip_intermediate_builds: false provider_settings: prefix_pull_request_fork_branch_names: false trigger_mode: none diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 4e6b5d30cbc64..bc62aea1ee83d 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -58,11 +58,11 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ /^src\/plugins\/data/, - /^x-pack\/plugins\/actions/, - /^x-pack\/plugins\/alerting/, - /^x-pack\/plugins\/event_log/, - /^x-pack\/plugins\/rule_registry/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/actions/, + /^x-pack\/platform\/plugins\/shared\/alerting/, + /^x-pack\/platform\/plugins\/shared\/event_log/, + /^x-pack\/platform\/plugins\/shared\/rule_registry/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { @@ -70,7 +70,7 @@ const getPipeline = (filename: string, removeSteps = true) => { } if ( - (await doAnyChangesMatch([/^x-pack\/plugins\/cases/])) || + (await doAnyChangesMatch([/^x-pack\/platform\/plugins\/shared\/cases/])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { pipeline.push(getPipeline('.buildkite/pipelines/pull_request/response_ops_cases.yml')); @@ -99,7 +99,7 @@ const getPipeline = (filename: string, removeSteps = true) => { if ( (await doAnyChangesMatch([ /^x-pack\/solutions\/observability\/plugins\/observability_onboarding/, - /^x-pack\/plugins\/fleet/, + /^x-pack\/platform\/plugins\/shared\/fleet/, ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { @@ -116,7 +116,10 @@ const getPipeline = (filename: string, removeSteps = true) => { } if ( - (await doAnyChangesMatch([/^x-pack\/plugins\/fleet/, /^x-pack\/test\/fleet_cypress/])) || + (await doAnyChangesMatch([ + /^x-pack\/platform\/plugins\/shared\/fleet/, + /^x-pack\/test\/fleet_cypress/, + ])) || GITHUB_PR_LABELS.includes('ci:all-cypress-suites') ) { pipeline.push(getPipeline('.buildkite/pipelines/pull_request/fleet_cypress.yml')); @@ -166,9 +169,9 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/platform\/packages\/shared\/ai-infra/, /^x-pack\/platform\/plugins\/shared\/ai_infra/, /^x-pack\/platform\/plugins\/shared\/inference/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/bedrock/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/gemini/, - /^x-pack\/plugins\/stack_connectors\/server\/connector_types\/openai/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/bedrock/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/gemini/, + /^x-pack\/platform\/plugins\/shared\/stack_connectors\/server\/connector_types\/openai/, ])) || GITHUB_PR_LABELS.includes('ci:all-gen-ai-suites') ) { @@ -249,19 +252,19 @@ const getPipeline = (filename: string, removeSteps = true) => { (await doAnyChangesMatch([ /^package.json/, /^packages\/kbn-securitysolution-.*/, - /^x-pack\/plugins\/alerting/, + /^x-pack\/platform\/plugins\/shared\/alerting/, /^x-pack\/plugins\/data_views\/common/, /^x-pack\/solutions\/security\/plugins\/lists/, - /^x-pack\/plugins\/rule_registry\/common/, + /^x-pack\/platform\/plugins\/shared\/rule_registry\/common/, /^x-pack\/solutions\/security\/plugins\/security_solution/, /^x-pack\/solutions\/security\/plugins\/security_solution_ess/, /^x-pack\/solutions\/security\/plugins\/security_solution_serverless/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/solutions\/security\/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\/solutions\/security\/plugins\/elastic_assistant/, /^x-pack\/solutions\/security\/packages/, @@ -299,7 +302,7 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/kbn-es-query/, /^packages\/kbn-i18n/, /^packages\/kbn-i18n-react/, - /^packages\/kbn-grouping/, + /^src\/platform\/packages\/shared\/kbn-grouping/, /^packages\/kbn-resizable-layout/, /^packages\/kbn-rison/, /^src\/platform\/packages\/shared\/kbn-rule-data-utils/, @@ -317,12 +320,12 @@ const getPipeline = (filename: string, removeSteps = true) => { /^packages\/shared-ux/, /^src\/core/, /^src\/plugins\/charts/, - /^src\/plugins\/controls/, + /^src\/platform\/plugins\/shared\/controls/, /^src\/plugins\/data/, /^src\/plugins\/data_views/, /^src\/plugins\/discover/, /^src\/plugins\/field_formats/, - /^src\/plugins\/inspector/, + /^src\/platform\/plugins\/shared\/inspector/, /^src\/plugins\/kibana_react/, /^src\/plugins\/kibana_utils/, /^src\/plugins\/saved_search/, @@ -332,19 +335,19 @@ const getPipeline = (filename: string, removeSteps = true) => { /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/, /^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/, /^x-pack\/solutions\/security\/packages/, - /^x-pack\/plugins\/alerting/, - /^x-pack\/plugins\/cases/, + /^x-pack\/platform\/plugins\/shared\/alerting/, + /^x-pack\/platform\/plugins\/shared\/cases/, /^x-pack\/plugins\/data_views\/common/, /^x-pack\/solutions\/security\/plugins\/elastic_assistant/, /^x-pack\/solutions\/security\/plugins\/lists/, - /^x-pack\/plugins\/rule_registry\/common/, + /^x-pack\/platform\/plugins\/shared\/rule_registry\/common/, /^x-pack\/solutions\/security\/plugins\/security_solution/, /^x-pack\/solutions\/security\/plugins\/security_solution_ess/, /^x-pack\/solutions\/security\/plugins\/security_solution_serverless/, - /^x-pack\/plugins\/task_manager/, + /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/solutions\/security\/plugins\/threat_intelligence/, /^x-pack\/solutions\/security\/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/.buildkite/scripts/steps/checks/event_log.sh b/.buildkite/scripts/steps/checks/event_log.sh index 930908bb2d0ec..c37a95e7133a0 100755 --- a/.buildkite/scripts/steps/checks/event_log.sh +++ b/.buildkite/scripts/steps/checks/event_log.sh @@ -28,6 +28,6 @@ else git clone --depth 1 -b $ECS_STABLE_VERSION https://github.com/elastic/ecs.git ../ecs fi -node x-pack/plugins/event_log/scripts/create_schemas.js +node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js -check_for_changed_files 'node x-pack/plugins/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/plugins/event_log/generated/README.md to make schema changes for the event log.' +check_for_changed_files 'node x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js' false 'Follow the directions in x-pack/platform/plugins/shared/event_log/generated/README.md to make schema changes for the event log.' diff --git a/.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh b/.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh index 4598e03b1cdb7..a8885c44cfb74 100755 --- a/.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh +++ b/.buildkite/scripts/steps/es_serverless/promote_es_serverless_image.sh @@ -72,7 +72,7 @@ EOT cat << EOF | buildkite-agent pipeline upload steps: - - label: "Builds Kibana VM images for cache update" + - label: "Update cache for ES serverless image" trigger: kibana-vm-images async: true build: diff --git a/.buildkite/scripts/steps/es_snapshots/promote.sh b/.buildkite/scripts/steps/es_snapshots/promote.sh index d09ef2d2420ac..2b85505619a95 100755 --- a/.buildkite/scripts/steps/es_snapshots/promote.sh +++ b/.buildkite/scripts/steps/es_snapshots/promote.sh @@ -16,9 +16,11 @@ ts-node "$(dirname "${0}")/promote_manifest.ts" "$ES_SNAPSHOT_MANIFEST" if [[ "$BUILDKITE_BRANCH" == "main" ]]; then echo "--- Trigger agent packer cache pipeline" ts-node .buildkite/scripts/steps/trigger_pipeline.ts kibana-agent-packer-cache main - cat << EOF | buildkite-agent pipeline upload +fi + +cat << EOF | buildkite-agent pipeline upload steps: - - label: "Builds Kibana VM images for cache update" + - label: "Update cache for ES $BUILDKITE_BRANCH snapshot" trigger: kibana-vm-images async: true build: @@ -26,4 +28,3 @@ steps: IMAGES_CONFIG: "kibana/images.yml" RETRY: "1" EOF -fi diff --git a/.buildkite/scripts/steps/functional/fleet_cypress.sh b/.buildkite/scripts/steps/functional/fleet_cypress.sh index e050b73a91c3e..35241f3ee61dc 100755 --- a/.buildkite/scripts/steps/functional/fleet_cypress.sh +++ b/.buildkite/scripts/steps/functional/fleet_cypress.sh @@ -9,7 +9,7 @@ export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION} echo "--- Fleet Cypress tests (Chrome)" -cd x-pack/plugins/fleet +cd x-pack/platform/plugins/shared/fleet set +e yarn cypress:run:reporter; status=$?; yarn cypress_space_awareness:run:reporter; space_status=$?; yarn junit:merge || :; [ "$status" -ne 0 ] && exit $status || [ "$space_status" -ne 0 ] && exit $space_status || exit 0 diff --git a/.buildkite/scripts/steps/storybooks/build_and_upload.ts b/.buildkite/scripts/steps/storybooks/build_and_upload.ts index f8c52b2ded8cc..8b83c0ab133ae 100644 --- a/.buildkite/scripts/steps/storybooks/build_and_upload.ts +++ b/.buildkite/scripts/steps/storybooks/build_and_upload.ts @@ -10,55 +10,9 @@ import { execSync } from 'child_process'; import fs from 'fs'; import path from 'path'; +import { storybookAliases } from '../../../../src/dev/storybook/aliases'; import { getKibanaDir } from '#pipeline-utils'; -// TODO - how to generate this dynamically? -const STORYBOOKS = [ - 'ai_assistant', - 'apm', - 'canvas', - 'cases', - 'cell_actions', - 'chart_icons', - 'cloud_security_posture_packages', - 'coloring', - 'content_management_examples', - 'custom_integrations', - 'dashboard_enhanced', - 'dashboard', - 'data', - 'esql_editor', - 'expression_error', - 'expression_image', - 'expression_metric', - 'expression_repeat_image', - 'expression_reveal_image', - 'expression_shape', - 'expression_tagcloud', - 'fleet', - 'grouping', - 'home', - 'infra', - 'kibana_react', - 'language_documentation_popover', - 'lists', - 'logs_explorer', - 'management', - 'observability_ai_assistant', - 'observability_inventory', - 'observability_shared', - 'observability', - 'presentation', - 'random_sampling', - 'security_solution_packages', - 'security_solution', - 'serverless', - 'shared_ux', - 'triggers_actions_ui', - 'ui_actions_enhanced', - 'unified_search', -]; - const GITHUB_CONTEXT = 'Build and Publish Storybooks'; const STORYBOOK_DIRECTORY = @@ -84,7 +38,7 @@ const ghStatus = (state: string, description: string) => const build = () => { console.log('--- Building Storybooks'); - for (const storybook of STORYBOOKS) { + for (const storybook of Object.keys(storybookAliases)) { exec(`STORYBOOK_BASE_URL=${STORYBOOK_BASE_URL}`, `yarn storybook --site ${storybook}`); } }; diff --git a/.eslintignore b/.eslintignore index e2b06124e936a..39ad20f0c1e01 100644 --- a/.eslintignore +++ b/.eslintignore @@ -22,9 +22,9 @@ snapshots.js # plugin overrides /src/core/lib/kbn_internal_native_observable /src/plugins/data/common/es_query/kuery/ast/_generated_/** -/x-pack/plugins/canvas/canvas_plugin -/x-pack/plugins/canvas/shareable_runtime/build -/x-pack/plugins/canvas/storybook/build +/x-pack/platform/plugins/private/canvas/canvas_plugin +/x-pack/platform/plugins/private/canvas/shareable_runtime/build +/x-pack/platform/plugins/private/canvas/storybook/build /x-pack/plugins/reporting/server/export_types/printable_pdf/server/lib/pdf/assets/** /x-pack/plugins/reporting/server/export_types/printable_pdf_v2/server/lib/pdf/assets/** /x-pack/plugins/cloud_integrations/cloud_full_story/server/assets/** @@ -37,7 +37,7 @@ snapshots.js /packages/kbn-test/src/functional_test_runner/__tests__/fixtures/ /packages/kbn-test/src/functional_test_runner/lib/config/__tests__/fixtures/ /packages/kbn-ui-framework/dist -/packages/kbn-flot-charts/lib +/src/platform/packages/shared/kbn-flot-charts/lib /packages/kbn-monaco/src/**/antlr /src/platform/packages/shared/kbn-esql-ast/src/**/antlr diff --git a/.eslintrc.js b/.eslintrc.js index b0db71e492bbe..5fd3662281d5d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -296,7 +296,7 @@ module.exports = { }, }, { - files: ['x-pack/plugins/canvas/**/*.{js,mjs,ts,tsx}'], + files: ['x-pack/platform/plugins/private/canvas/**/*.{js,mjs,ts,tsx}'], rules: { 'jsx-a11y/click-events-have-key-events': 'off', }, @@ -1029,7 +1029,7 @@ module.exports = { * Fleet overrides */ { - files: ['x-pack/plugins/fleet/**/*.{js,mjs,ts,tsx}'], + files: ['x-pack/platform/plugins/shared/fleet/**/*.{js,mjs,ts,tsx}'], plugins: ['testing-library'], rules: { 'testing-library/await-async-utils': 'error', @@ -1110,8 +1110,8 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_serverless/common/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/public/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/common/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/common/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/common/**/*.{js,mjs,ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], rules: { @@ -1144,7 +1144,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], excludedFiles: [ @@ -1159,7 +1159,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{test,mock,test_helper}.{ts,tsx}', ], rules: { @@ -1180,7 +1180,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}', - 'x-pack/plugins/cases/**/*.{ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{ts,tsx}', ], rules: { @@ -1214,7 +1214,7 @@ module.exports = { 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/timelines/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/packages/data-stream-adapter/**/*.{js,mjs,ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], @@ -1308,7 +1308,7 @@ module.exports = { overrides: [ { files: [ - 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}', + 'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/ecs_data_quality_dashboard/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution/**/*.{js,mjs,ts,tsx}', 'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}', @@ -1325,8 +1325,8 @@ module.exports = { ], }, { - files: ['x-pack/plugins/cases/public/**/*.{js,mjs,ts,tsx}'], - excludedFiles: ['x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}'], + files: ['x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}'], + excludedFiles: ['x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}'], rules: { 'react/display-name': ['error', { ignoreTranspilerName: true }], }, @@ -1692,7 +1692,7 @@ module.exports = { * Canvas overrides */ { - files: ['x-pack/plugins/canvas/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/**/*.js'], rules: { radix: 'error', @@ -1736,12 +1736,12 @@ module.exports = { }, { files: [ - 'x-pack/plugins/canvas/gulpfile.js', - 'x-pack/plugins/canvas/scripts/*.js', - 'x-pack/plugins/canvas/tasks/*.js', - 'x-pack/plugins/canvas/tasks/**/*.js', - 'x-pack/plugins/canvas/__tests__/**/*.js', - 'x-pack/plugins/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js', + 'x-pack/platform/plugins/private/canvas/gulpfile.js', + 'x-pack/platform/plugins/private/canvas/scripts/*.js', + 'x-pack/platform/plugins/private/canvas/tasks/*.js', + 'x-pack/platform/plugins/private/canvas/tasks/**/*.js', + 'x-pack/platform/plugins/private/canvas/__tests__/**/*.js', + 'x-pack/platform/plugins/private/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js', ], rules: { 'import/no-extraneous-dependencies': [ @@ -1755,17 +1755,17 @@ module.exports = { }, }, { - files: ['x-pack/plugins/canvas/canvas_plugin_src/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*.js'], globals: { canvas: true, $: true }, }, { - files: ['x-pack/plugins/canvas/public/**/*.js'], + files: ['x-pack/platform/plugins/private/canvas/public/**/*.js'], env: { browser: true, }, }, { - files: ['packages/kbn-flot-charts/lib/**/*.js'], + files: ['src/platform/packages/shared/kbn-flot-charts/lib/**/*.js'], env: { jquery: true, }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9051c3580057a..ca9c1b0f90312 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -54,22 +54,11 @@ packages/content-management/table_list_view @elastic/appex-sharedux packages/content-management/table_list_view_common @elastic/appex-sharedux packages/content-management/table_list_view_table @elastic/appex-sharedux packages/content-management/user_profiles @elastic/appex-sharedux -packages/core/analytics/core-analytics-browser @elastic/kibana-core -packages/core/analytics/core-analytics-browser-internal @elastic/kibana-core packages/core/analytics/core-analytics-browser-mocks @elastic/kibana-core -packages/core/analytics/core-analytics-server @elastic/kibana-core -packages/core/analytics/core-analytics-server-internal @elastic/kibana-core packages/core/analytics/core-analytics-server-mocks @elastic/kibana-core -packages/core/application/core-application-browser @elastic/kibana-core -packages/core/application/core-application-browser-internal @elastic/kibana-core packages/core/application/core-application-browser-mocks @elastic/kibana-core -packages/core/application/core-application-common @elastic/kibana-core -packages/core/apps/core-apps-browser-internal @elastic/kibana-core packages/core/apps/core-apps-browser-mocks @elastic/kibana-core -packages/core/apps/core-apps-server-internal @elastic/kibana-core -packages/core/base/core-base-browser-internal @elastic/kibana-core packages/core/base/core-base-browser-mocks @elastic/kibana-core -packages/core/base/core-base-common @elastic/kibana-core packages/core/base/core-base-common-internal @elastic/kibana-core packages/core/base/core-base-server-internal @elastic/kibana-core packages/core/base/core-base-server-mocks @elastic/kibana-core @@ -261,18 +250,12 @@ packages/core/user-settings/core-user-settings-server @elastic/kibana-security packages/core/user-settings/core-user-settings-server-internal @elastic/kibana-security packages/core/user-settings/core-user-settings-server-mocks @elastic/kibana-security packages/deeplinks/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations -packages/deeplinks/fleet @elastic/fleet packages/deeplinks/search @elastic/search-kibana packages/deeplinks/shared @elastic/appex-sharedux packages/default-nav/analytics @elastic/kibana-data-discovery @elastic/kibana-presentation @elastic/kibana-visualizations packages/home/sample_data_card @elastic/appex-sharedux packages/home/sample_data_tab @elastic/appex-sharedux packages/home/sample_data_types @elastic/appex-sharedux -packages/kbn-actions-types @elastic/response-ops -packages/kbn-alerting-types @elastic/response-ops -packages/kbn-alerts-as-data-utils @elastic/response-ops -packages/kbn-alerts-grouping @elastic/response-ops -packages/kbn-alerts-ui-shared @elastic/response-ops packages/kbn-ambient-common-types @elastic/kibana-operations packages/kbn-ambient-ftr-types @elastic/kibana-operations @elastic/appex-qa packages/kbn-ambient-storybook-types @elastic/kibana-operations @@ -292,7 +275,6 @@ packages/kbn-bazel-runner @elastic/kibana-operations packages/kbn-calculate-auto @elastic/obs-ux-management-team packages/kbn-calculate-width-from-char-count @elastic/kibana-visualizations packages/kbn-capture-oas-snapshot-cli @elastic/kibana-core -packages/kbn-cases-components @elastic/response-ops packages/kbn-cbor @elastic/kibana-operations packages/kbn-chart-icons @elastic/kibana-visualizations packages/kbn-charts-theme @elastic/kibana-visualizations @@ -344,7 +326,6 @@ packages/kbn-failed-test-reporter-cli @elastic/kibana-operations @elastic/appex- packages/kbn-field-types @elastic/kibana-data-discovery packages/kbn-field-utils @elastic/kibana-data-discovery packages/kbn-find-used-node-modules @elastic/kibana-operations -packages/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring packages/kbn-formatters @elastic/obs-ux-logs-team packages/kbn-ftr-common-functional-services @elastic/kibana-operations @elastic/appex-qa packages/kbn-ftr-common-functional-ui-services @elastic/appex-qa @@ -355,7 +336,6 @@ packages/kbn-generate-console-definitions @elastic/kibana-management packages/kbn-generate-csv @elastic/appex-sharedux packages/kbn-get-repo-files @elastic/kibana-operations packages/kbn-grid-layout @elastic/kibana-presentation -packages/kbn-grouping @elastic/response-ops packages/kbn-guided-onboarding @elastic/appex-sharedux packages/kbn-handlebars @elastic/kibana-security packages/kbn-hapi-mocks @elastic/kibana-core @@ -384,7 +364,6 @@ packages/kbn-management/settings/section_registry @elastic/appex-sharedux @elast packages/kbn-management/settings/setting_ids @elastic/appex-sharedux @elastic/kibana-management packages/kbn-management/storybook/config @elastic/kibana-management packages/kbn-manifest @elastic/kibana-core -packages/kbn-mapbox-gl @elastic/kibana-presentation packages/kbn-mock-idp-plugin @elastic/kibana-security packages/kbn-mock-idp-utils @elastic/kibana-security packages/kbn-monaco @elastic/appex-sharedux @@ -395,7 +374,6 @@ packages/kbn-openapi-generator @elastic/security-detection-rule-management packages/kbn-optimizer @elastic/kibana-operations packages/kbn-optimizer-webpack-helpers @elastic/kibana-operations packages/kbn-palettes @elastic/kibana-visualizations -packages/kbn-panel-loader @elastic/kibana-presentation packages/kbn-peggy @elastic/kibana-operations packages/kbn-peggy-loader @elastic/kibana-operations packages/kbn-performance-testing-dataset-extractor @elastic/kibana-performance-testing @@ -429,7 +407,6 @@ packages/kbn-reporting/server @elastic/appex-sharedux packages/kbn-resizable-layout @elastic/kibana-data-discovery packages/kbn-rison @elastic/kibana-operations packages/kbn-router-to-openapispec @elastic/kibana-core -packages/kbn-rrule @elastic/response-ops packages/kbn-safer-lodash-set @elastic/kibana-security packages/kbn-saved-objects-settings @elastic/appex-sharedux packages/kbn-saved-search-component @elastic/obs-ux-logs-team @@ -465,7 +442,6 @@ packages/kbn-timelion-grammar @elastic/kibana-visualizations packages/kbn-tinymath @elastic/kibana-visualizations packages/kbn-tooling-log @elastic/kibana-operations packages/kbn-transpose-utils @elastic/kibana-visualizations -packages/kbn-triggers-actions-ui-types @elastic/response-ops packages/kbn-try-in-console @elastic/search-kibana packages/kbn-ts-projects @elastic/kibana-operations packages/kbn-ts-type-check-cli @elastic/kibana-operations @@ -489,8 +465,6 @@ packages/kbn-web-worker-stub @elastic/kibana-operations packages/kbn-whereis-pkg-cli @elastic/kibana-operations packages/kbn-yarn-lock-validator @elastic/kibana-operations packages/kbn-zod @elastic/kibana-core -packages/presentation/presentation_containers @elastic/kibana-presentation -packages/presentation/presentation_publishing @elastic/kibana-presentation packages/react/kibana_context/common @elastic/appex-sharedux packages/react/kibana_context/render @elastic/appex-sharedux packages/react/kibana_context/root @elastic/appex-sharedux @@ -499,7 +473,6 @@ packages/react/kibana_context/theme @elastic/appex-sharedux packages/react/kibana_mount @elastic/appex-sharedux packages/response-ops/feature_flag_service @elastic/response-ops packages/response-ops/rule_form @elastic/response-ops -packages/response-ops/rule_params @elastic/response-ops packages/serverless/project_switcher @elastic/appex-sharedux packages/serverless/settings/common @elastic/appex-sharedux @elastic/kibana-management packages/serverless/settings/observability_project @elastic/appex-sharedux @elastic/kibana-management @elastic/obs-ux-management-team @@ -558,6 +531,17 @@ packages/shared-ux/storybook/config @elastic/appex-sharedux packages/shared-ux/storybook/mock @elastic/appex-sharedux packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core +src/core/packages/analytics/browser @elastic/kibana-core +src/core/packages/analytics/browser-internal @elastic/kibana-core +src/core/packages/analytics/server @elastic/kibana-core +src/core/packages/analytics/server-internal @elastic/kibana-core +src/core/packages/application/browser @elastic/kibana-core +src/core/packages/application/browser-internal @elastic/kibana-core +src/core/packages/application/common @elastic/kibana-core +src/core/packages/apps/browser-internal @elastic/kibana-core +src/core/packages/apps/server-internal @elastic/kibana-core +src/core/packages/base/browser-internal @elastic/kibana-core +src/core/packages/base/common @elastic/kibana-core src/platform/packages/private/default-nav/devtools @elastic/kibana-management src/platform/packages/private/default-nav/management @elastic/kibana-management src/platform/packages/private/default-nav/ml @elastic/ml-ui @@ -566,12 +550,21 @@ src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql src/platform/packages/private/kbn-management/settings/application @elastic/kibana-management src/platform/packages/private/kbn-management/settings/components/field_category @elastic/kibana-management src/platform/packages/private/kbn-management/settings/components/form @elastic/kibana-management +src/platform/packages/private/kbn-mapbox-gl @elastic/kibana-presentation +src/platform/packages/private/kbn-panel-loader @elastic/kibana-presentation +src/platform/packages/private/response-ops/rule_params @elastic/response-ops src/platform/packages/shared/deeplinks/devtools @elastic/kibana-management +src/platform/packages/shared/deeplinks/fleet @elastic/fleet src/platform/packages/shared/deeplinks/management @elastic/kibana-management src/platform/packages/shared/deeplinks/ml @elastic/ml-ui src/platform/packages/shared/deeplinks/observability @elastic/obs-ux-management-team src/platform/packages/shared/deeplinks/security @elastic/security-solution +src/platform/packages/shared/kbn-actions-types @elastic/response-ops +src/platform/packages/shared/kbn-alerting-types @elastic/response-ops +src/platform/packages/shared/kbn-alerts-as-data-utils @elastic/response-ops +src/platform/packages/shared/kbn-alerts-ui-shared @elastic/response-ops src/platform/packages/shared/kbn-avc-banner @elastic/security-defend-workflows +src/platform/packages/shared/kbn-cases-components @elastic/response-ops src/platform/packages/shared/kbn-cell-actions @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-custom-icons @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-discover-contextual-components @elastic/obs-ux-logs-team @elastic/kibana-data-discovery @@ -580,6 +573,8 @@ src/platform/packages/shared/kbn-elastic-agent-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-esql-ast @elastic/kibana-esql src/platform/packages/shared/kbn-esql-utils @elastic/kibana-esql src/platform/packages/shared/kbn-esql-validation-autocomplete @elastic/kibana-esql +src/platform/packages/shared/kbn-flot-charts @elastic/kibana-presentation @elastic/stack-monitoring +src/platform/packages/shared/kbn-grouping @elastic/response-ops src/platform/packages/shared/kbn-io-ts-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-management/cards_navigation @elastic/kibana-management src/platform/packages/shared/kbn-management/settings/components/field_input @elastic/kibana-management @@ -591,6 +586,7 @@ src/platform/packages/shared/kbn-openapi-common @elastic/security-detection-rule src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management src/platform/packages/shared/kbn-react-hooks @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-router-utils @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-rrule @elastic/response-ops src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine @@ -604,18 +600,38 @@ src/platform/packages/shared/kbn-sse-utils @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-client @elastic/obs-knowledge-team src/platform/packages/shared/kbn-sse-utils-server @elastic/obs-knowledge-team src/platform/packages/shared/kbn-timerange @elastic/obs-ux-logs-team +src/platform/packages/shared/kbn-triggers-actions-ui-types @elastic/response-ops src/platform/packages/shared/kbn-typed-react-router-config @elastic/obs-knowledge-team @elastic/obs-ux-infra_services-team src/platform/packages/shared/kbn-unsaved-changes-prompt @elastic/kibana-management src/platform/packages/shared/kbn-xstate-utils @elastic/obs-ux-logs-team src/platform/packages/shared/kbn-zod-helpers @elastic/security-detection-rule-management +src/platform/packages/shared/presentation/presentation_containers @elastic/kibana-presentation +src/platform/packages/shared/presentation/presentation_publishing @elastic/kibana-presentation src/platform/packages/shared/serverless/settings/security_project @elastic/security-solution @elastic/kibana-management +src/platform/plugins/private/input_control_vis @elastic/kibana-presentation +src/platform/plugins/private/links @elastic/kibana-presentation +src/platform/plugins/private/maps_ems @elastic/kibana-presentation +src/platform/plugins/private/presentation_panel @elastic/kibana-presentation +src/platform/plugins/private/vis_type_markdown @elastic/kibana-presentation src/platform/plugins/shared/ai_assistant_management/selection @elastic/obs-ai-assistant src/platform/plugins/shared/console @elastic/kibana-management +src/platform/plugins/shared/controls @elastic/kibana-presentation +src/platform/plugins/shared/custom_integrations @elastic/fleet +src/platform/plugins/shared/dashboard @elastic/kibana-presentation src/platform/plugins/shared/dev_tools @elastic/kibana-management +src/platform/plugins/shared/embeddable @elastic/kibana-presentation src/platform/plugins/shared/es_ui_shared @elastic/kibana-management src/platform/plugins/shared/esql @elastic/kibana-esql src/platform/plugins/shared/esql_datagrid @elastic/kibana-esql +src/platform/plugins/shared/expression_error @elastic/kibana-presentation +src/platform/plugins/shared/expression_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_metric @elastic/kibana-presentation +src/platform/plugins/shared/expression_repeat_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_reveal_image @elastic/kibana-presentation +src/platform/plugins/shared/expression_shape @elastic/kibana-presentation +src/platform/plugins/shared/inspector @elastic/kibana-presentation src/platform/plugins/shared/management @elastic/kibana-management +src/platform/plugins/shared/presentation_util @elastic/kibana-presentation src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/chart_expressions/common @elastic/kibana-visualizations src/plugins/chart_expressions/expression_gauge @elastic/kibana-visualizations @@ -627,9 +643,6 @@ src/plugins/chart_expressions/expression_tagcloud @elastic/kibana-visualizations src/plugins/chart_expressions/expression_xy @elastic/kibana-visualizations src/plugins/charts @elastic/kibana-visualizations src/plugins/content_management @elastic/appex-sharedux -src/plugins/controls @elastic/kibana-presentation -src/plugins/custom_integrations @elastic/fleet -src/plugins/dashboard @elastic/kibana-presentation src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery src/plugins/data_view_editor @elastic/kibana-data-discovery src/plugins/data_view_field_editor @elastic/kibana-data-discovery @@ -637,15 +650,8 @@ src/plugins/data_view_management @elastic/kibana-data-discovery src/plugins/data_views @elastic/kibana-data-discovery src/plugins/discover @elastic/kibana-data-discovery src/plugins/discover_shared @elastic/kibana-data-discovery @elastic/obs-ux-logs-team -src/plugins/embeddable @elastic/kibana-presentation src/plugins/event_annotation @elastic/kibana-visualizations src/plugins/event_annotation_listing @elastic/kibana-visualizations -src/plugins/expression_error @elastic/kibana-presentation -src/plugins/expression_image @elastic/kibana-presentation -src/plugins/expression_metric @elastic/kibana-presentation -src/plugins/expression_repeat_image @elastic/kibana-presentation -src/plugins/expression_reveal_image @elastic/kibana-presentation -src/plugins/expression_shape @elastic/kibana-presentation src/plugins/expressions @elastic/kibana-visualizations src/plugins/field_formats @elastic/kibana-data-discovery src/plugins/files @elastic/appex-sharedux @@ -654,20 +660,14 @@ src/plugins/ftr_apis @elastic/kibana-core src/plugins/guided_onboarding @elastic/appex-sharedux src/plugins/home @elastic/appex-sharedux src/plugins/image_embeddable @elastic/appex-sharedux -src/plugins/input_control_vis @elastic/kibana-presentation -src/plugins/inspector @elastic/kibana-presentation src/plugins/interactive_setup @elastic/kibana-security src/plugins/kibana_overview @elastic/appex-sharedux src/plugins/kibana_react @elastic/appex-sharedux src/plugins/kibana_usage_collection @elastic/kibana-core src/plugins/kibana_utils @elastic/appex-sharedux -src/plugins/links @elastic/kibana-presentation -src/plugins/maps_ems @elastic/kibana-presentation src/plugins/navigation @elastic/appex-sharedux src/plugins/newsfeed @elastic/kibana-core src/plugins/no_data_page @elastic/appex-sharedux -src/plugins/presentation_panel @elastic/kibana-presentation -src/plugins/presentation_util @elastic/kibana-presentation src/plugins/saved_objects @elastic/appex-sharedux src/plugins/saved_objects_finder @elastic/kibana-data-discovery src/plugins/saved_objects_management @elastic/kibana-core @@ -686,7 +686,6 @@ src/plugins/unified_search @elastic/kibana-visualizations src/plugins/url_forwarding @elastic/kibana-visualizations src/plugins/usage_collection @elastic/kibana-core src/plugins/vis_default_editor @elastic/kibana-visualizations -src/plugins/vis_type_markdown @elastic/kibana-presentation src/plugins/vis_types/gauge @elastic/kibana-visualizations src/plugins/vis_types/heatmap @elastic/kibana-visualizations src/plugins/vis_types/metric @elastic/kibana-visualizations @@ -760,14 +759,9 @@ x-pack/examples/triggers_actions_ui_example @elastic/response-ops x-pack/examples/ui_actions_enhanced_examples @elastic/appex-sharedux x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra x-pack/packages/kbn-ai-assistant @elastic/search-kibana -x-pack/packages/kbn-alerting-comparators @elastic/response-ops -x-pack/packages/kbn-alerting-state-types @elastic/response-ops x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations +x-pack/packages/kbn-streams-schema @elastic/streams-program-team x-pack/packages/kbn-synthetics-private-location @elastic/obs-ux-management-team -x-pack/packages/maps/vector_tile_utils @elastic/kibana-presentation -x-pack/packages/observability/observability_utils/observability_utils_browser @elastic/observability-ui -x-pack/packages/observability/observability_utils/observability_utils_common @elastic/observability-ui -x-pack/packages/observability/observability_utils/observability_utils_server @elastic/observability-ui x-pack/packages/search/shared_ui @elastic/search-kibana x-pack/packages/security/api_key_management @elastic/kibana-security x-pack/packages/security/authorization_core @elastic/kibana-security @@ -779,7 +773,9 @@ x-pack/packages/security/plugin_types_server @elastic/kibana-security x-pack/packages/security/role_management_model @elastic/kibana-security x-pack/packages/security/ui_components @elastic/kibana-security x-pack/performance @elastic/appex-qa +x-pack/platform/packages/private/kbn-alerting-state-types @elastic/response-ops x-pack/platform/packages/private/kbn-infra-forge @elastic/obs-ux-management-team +x-pack/platform/packages/private/maps/vector_tile_utils @elastic/kibana-presentation x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui x-pack/platform/packages/private/ml/aiops_change_point_detection @elastic/ml-ui x-pack/platform/packages/private/ml/aiops_components @elastic/ml-ui @@ -817,11 +813,13 @@ x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infr x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management +x-pack/platform/packages/shared/kbn-alerting-comparators @elastic/response-ops x-pack/platform/packages/shared/kbn-cloud-security-posture/common @elastic/kibana-cloud-security-posture x-pack/platform/packages/shared/kbn-data-forge @elastic/obs-ux-management-team x-pack/platform/packages/shared/kbn-elastic-assistant @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-elastic-assistant-common @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-entities-schema @elastic/obs-entities +x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common @elastic/response-ops @elastic/appex-ai-infra @elastic/obs-ai-assistant @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-langchain @elastic/security-generative-ai x-pack/platform/packages/shared/kbn-slo-schema @elastic/obs-ux-management-team x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui @@ -836,13 +834,18 @@ x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team +x-pack/platform/plugins/private/canvas @elastic/kibana-presentation x-pack/platform/plugins/private/cloud_integrations/cloud_data_migration @elastic/kibana-management x-pack/platform/plugins/private/cross_cluster_replication @elastic/kibana-management x-pack/platform/plugins/private/data_usage @elastic/obs-ai-assistant @elastic/security-solution x-pack/platform/plugins/private/data_visualizer @elastic/ml-ui +x-pack/platform/plugins/private/file_upload @elastic/kibana-presentation @elastic/ml-ui x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management x-pack/platform/plugins/private/license_api_guard @elastic/kibana-management +x-pack/platform/plugins/private/logstash @elastic/logstash +x-pack/platform/plugins/private/monitoring @elastic/stack-monitoring +x-pack/platform/plugins/private/monitoring_collection @elastic/stack-monitoring x-pack/platform/plugins/private/painless_lab @elastic/kibana-management x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management x-pack/platform/plugins/private/rollup @elastic/kibana-management @@ -851,13 +854,20 @@ x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management x-pack/platform/plugins/private/transform @elastic/ml-ui x-pack/platform/plugins/private/translations @elastic/kibana-localization x-pack/platform/plugins/private/watcher @elastic/kibana-management +x-pack/platform/plugins/shared/actions @elastic/response-ops x-pack/platform/plugins/shared/ai_infra/llm_tasks @elastic/appex-ai-infra x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra x-pack/platform/plugins/shared/aiops @elastic/ml-ui +x-pack/platform/plugins/shared/alerting @elastic/response-ops +x-pack/platform/plugins/shared/cases @elastic/response-ops +x-pack/platform/plugins/shared/dashboard_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/data_quality @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/dataset_quality @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/embeddable_enhanced @elastic/kibana-presentation x-pack/platform/plugins/shared/entity_manager @elastic/obs-entities +x-pack/platform/plugins/shared/event_log @elastic/response-ops x-pack/platform/plugins/shared/fields_metadata @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/fleet @elastic/fleet x-pack/platform/plugins/shared/index_management @elastic/kibana-management x-pack/platform/plugins/shared/inference @elastic/appex-ai-infra x-pack/platform/plugins/shared/ingest_pipelines @elastic/kibana-management @@ -865,42 +875,35 @@ x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalabili x-pack/platform/plugins/shared/license_management @elastic/kibana-management x-pack/platform/plugins/shared/logs_data_access @elastic/obs-ux-logs-team x-pack/platform/plugins/shared/logs_shared @elastic/obs-ux-logs-team +x-pack/platform/plugins/shared/maps @elastic/kibana-presentation x-pack/platform/plugins/shared/ml @elastic/ml-ui x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant @elastic/obs-ai-assistant x-pack/platform/plugins/shared/osquery @elastic/security-defend-workflows +x-pack/platform/plugins/shared/rule_registry @elastic/response-ops @elastic/obs-ux-management-team x-pack/platform/plugins/shared/screenshotting @elastic/kibana-reporting-services x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management -x-pack/plugins/actions @elastic/response-ops -x-pack/plugins/alerting @elastic/response-ops +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/banners @elastic/appex-sharedux -x-pack/plugins/canvas @elastic/kibana-presentation -x-pack/plugins/cases @elastic/response-ops x-pack/plugins/cloud @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_chat @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_experiments @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_full_story @elastic/kibana-core x-pack/plugins/cloud_integrations/cloud_links @elastic/kibana-core x-pack/plugins/custom_branding @elastic/appex-sharedux -x-pack/plugins/dashboard_enhanced @elastic/kibana-presentation x-pack/plugins/discover_enhanced @elastic/kibana-data-discovery x-pack/plugins/drilldowns/url_drilldown @elastic/appex-sharedux -x-pack/plugins/embeddable_enhanced @elastic/kibana-presentation x-pack/plugins/encrypted_saved_objects @elastic/kibana-security x-pack/plugins/enterprise_search @elastic/search-kibana -x-pack/plugins/event_log @elastic/response-ops x-pack/plugins/features @elastic/kibana-core -x-pack/plugins/file_upload @elastic/kibana-presentation @elastic/ml-ui -x-pack/plugins/fleet @elastic/fleet x-pack/plugins/global_search @elastic/appex-sharedux x-pack/plugins/global_search_bar @elastic/appex-sharedux x-pack/plugins/global_search_providers @elastic/appex-sharedux x-pack/plugins/graph @elastic/kibana-visualizations x-pack/plugins/lens @elastic/kibana-visualizations x-pack/plugins/licensing @elastic/kibana-core -x-pack/plugins/logstash @elastic/logstash -x-pack/plugins/maps @elastic/kibana-presentation -x-pack/plugins/monitoring @elastic/stack-monitoring -x-pack/plugins/monitoring_collection @elastic/stack-monitoring x-pack/plugins/notifications @elastic/appex-sharedux x-pack/plugins/observability_solution/apm @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/apm_data_access @elastic/obs-ux-infra_services-team @@ -908,11 +911,9 @@ x-pack/plugins/observability_solution/apm/ftr_e2e @elastic/obs-ux-infra_services x-pack/plugins/observability_solution/inventory @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/inventory/e2e @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/metrics_data_access @elastic/obs-ux-infra_services-team -x-pack/plugins/observability_solution/observability_shared @elastic/observability-ui x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team x-pack/plugins/reporting @elastic/appex-sharedux -x-pack/plugins/rule_registry @elastic/response-ops @elastic/obs-ux-management-team x-pack/plugins/saved_objects_tagging @elastic/appex-sharedux x-pack/plugins/search_assistant @elastic/search-kibana x-pack/plugins/search_connectors @elastic/search-kibana @@ -926,20 +927,20 @@ x-pack/plugins/security @elastic/kibana-security x-pack/plugins/serverless @elastic/appex-sharedux x-pack/plugins/serverless_search @elastic/search-kibana x-pack/plugins/spaces @elastic/kibana-security -x-pack/plugins/stack_alerts @elastic/response-ops -x-pack/plugins/stack_connectors @elastic/response-ops -x-pack/plugins/task_manager @elastic/response-ops x-pack/plugins/telemetry_collection_xpack @elastic/kibana-core -x-pack/plugins/triggers_actions_ui @elastic/response-ops x-pack/plugins/upgrade_assistant @elastic/kibana-core x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team x-pack/solutions/observability/packages/observability_ai/observability_ai_common @elastic/obs-ai-assistant x-pack/solutions/observability/packages/observability_ai/observability_ai_server @elastic/obs-ai-assistant x-pack/solutions/observability/packages/synthetics_test_data @elastic/obs-ux-management-team +x-pack/solutions/observability/packages/utils_browser @elastic/observability-ui +x-pack/solutions/observability/packages/utils_common @elastic/observability-ui +x-pack/solutions/observability/packages/utils_server @elastic/observability-ui x-pack/solutions/observability/plugins/exploratory_view @elastic/obs-ux-management-team x-pack/solutions/observability/plugins/infra @elastic/obs-ux-logs-team @elastic/obs-ux-infra_services-team x-pack/solutions/observability/plugins/investigate @elastic/obs-ux-management-team @@ -951,6 +952,7 @@ x-pack/solutions/observability/plugins/observability_ai_assistant_management @el x-pack/solutions/observability/plugins/observability_logs_explorer @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/observability_onboarding @elastic/obs-ux-logs-team x-pack/solutions/observability/plugins/observability_onboarding/e2e @elastic/obs-ux-logs-team +x-pack/solutions/observability/plugins/observability_shared @elastic/observability-ui x-pack/solutions/observability/plugins/observability_solution/entities_data_access @elastic/obs-entities x-pack/solutions/observability/plugins/observability_solution/entity_manager_app @elastic/obs-entities x-pack/solutions/observability/plugins/serverless_observability @elastic/obs-ux-management-team @@ -1383,7 +1385,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/fleet_cypress @elastic/fleet /x-pack/test/fleet_functional @elastic/fleet /src/dev/build/tasks/bundle_fleet_packages.ts @elastic/fleet @elastic/kibana-operations -/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts @elastic/fleet @elastic/obs-cloudnative-monitoring +/x-pack/platform/plugins/shared/fleet/server/services/elastic_agent_manifest.ts @elastic/fleet @elastic/obs-cloudnative-monitoring /x-pack/test_serverless/**/test_suites/**/fleet/ @elastic/fleet # APM @@ -1445,7 +1447,7 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test_serverless/**/test_suites/observability/config.ts @elastic/observability-ui # Observability onboarding tour -/x-pack/plugins/observability_solution/observability_shared/public/components/tour @elastic/appex-sharedux +/x-pack/solutions/observability/plugins/observability_shared/public/components/tour @elastic/appex-sharedux /x-pack/test/functional/apps/infra/tour.ts @elastic/appex-sharedux # Observability settings @@ -1503,8 +1505,8 @@ packages/kbn-monaco/src/esql @elastic/kibana-esql /x-pack/test/api_integration/apis/maps/ @elastic/kibana-presentation /x-pack/test/functional/apps/maps/ @elastic/kibana-presentation /x-pack/test/functional/es_archives/maps/ @elastic/kibana-presentation -/x-pack/plugins/stack_alerts/server/rule_types/geo_containment @elastic/kibana-presentation -/x-pack/plugins/stack_alerts/public/rule_types/geo_containment @elastic/kibana-presentation +/x-pack/platform/plugins/shared/stack_alerts/server/rule_types/geo_containment @elastic/kibana-presentation +/x-pack/platform/plugins/shared/stack_alerts/public/rule_types/geo_containment @elastic/kibana-presentation # Machine Learning @@ -1946,7 +1948,7 @@ x-pack/plugins/cloud_integrations/cloud_full_story/server/config.ts @elastic/kib /x-pack/test/functional/fixtures/kbn_archiver/cases @elastic/response-ops /x-pack/test/functional/es_archives/cases @elastic/response-ops /x-pack/test/functional_with_es_ssl/plugins/alerts @elastic/response-ops -/x-pack/test/functional_with_es_ssl/plugins/cases @elastic/response-ops +/x-pack/test/functional_with_es_ssl/platform/plugins/shared/cases @elastic/response-ops /x-pack/test/screenshot_creation/apps/response_ops_docs @elastic/response-ops /x-pack/test/rule_registry @elastic/response-ops @elastic/obs-ux-management-team /x-pack/test/accessibility/apps/group3/rules_connectors.ts @elastic/response-ops @@ -2319,30 +2321,30 @@ x-pack/test/security_solution_cypress/cypress/tasks/expandable_flyout @elastic/ ## Generative AI owner connectors # OpenAI -/x-pack/plugins/stack_connectors/public/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/openai @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Bedrock -/x-pack/plugins/stack_connectors/public/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/bedrock @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Gemini -/x-pack/plugins/stack_connectors/public/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/server/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra -/x-pack/plugins/stack_connectors/common/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra +/x-pack/platform/plugins/shared/stack_connectors/common/gemini @elastic/security-generative-ai @elastic/obs-ai-assistant @elastic/appex-ai-infra # Inference API -/x-pack/plugins/stack_connectors/public/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant -/x-pack/plugins/stack_connectors/server/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant -/x-pack/plugins/stack_connectors/common/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant +/x-pack/platform/plugins/shared/stack_connectors/common/inference @elastic/appex-ai-infra @elastic/security-generative-ai @elastic/obs-ai-assistant ## Defend Workflows owner connectors -/x-pack/plugins/stack_connectors/public/connector_types/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/server/connector_types/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/common/sentinelone @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/server/connector_types/crowdstrike @elastic/security-defend-workflows -/x-pack/plugins/stack_connectors/common/crowdstrike @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/public/connector_types/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/common/sentinelone @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/server/connector_types/crowdstrike @elastic/security-defend-workflows +/x-pack/platform/plugins/shared/stack_connectors/common/crowdstrike @elastic/security-defend-workflows ## Security Solution shared OAS schemas /x-pack/solutions/security/plugins/security_solution/common/api/model @elastic/security-detection-rule-management @elastic/security-detection-engine @@ -2506,10 +2508,10 @@ x-pack/solutions/security/plugins/security_solution/public/cloud_defend @elastic x-pack/solutions/security/plugins/security_solution/public/cloud_security_posture @elastic/kibana-cloud-security-posture x-pack/solutions/security/plugins/security_solution/public/kubernetes @elastic/kibana-cloud-security-posture ## Fleet plugin (co-owned with Fleet team) -x-pack/plugins/fleet/public/components/cloud_security_posture @elastic/fleet @elastic/kibana-cloud-security-posture -x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture @elastic/fleet @elastic/kibana-cloud-security-posture -x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.* @elastic/fleet @elastic/kibana-cloud-security-posture -x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.* @elastic/fleet @elastic/kibana-cloud-security-posture +x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture @elastic/fleet @elastic/kibana-cloud-security-posture +x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture @elastic/fleet @elastic/kibana-cloud-security-posture +x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.* @elastic/fleet @elastic/kibana-cloud-security-posture +x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.* @elastic/fleet @elastic/kibana-cloud-security-posture ## Kubernetes Security tests x-pack/test/functional/es_archives/kubernetes_security @elastic/kibana-cloud-security-posture x-pack/test/kubernetes_security @elastic/kibana-cloud-security-posture @@ -2542,8 +2544,8 @@ x-pack/solutions/security/plugins/security_solution/server/lib/security_integrat **/*.scss @elastic/kibana-design # Observability design -/x-pack/plugins/fleet/**/*.scss @elastic/observability-design -/x-pack/plugins/monitoring/**/*.scss @elastic/observability-design +/x-pack/platform/plugins/shared/fleet/**/*.scss @elastic/observability-design +/x-pack/platform/plugins/private/monitoring/**/*.scss @elastic/observability-design # Ent. Search design /x-pack/plugins/enterprise_search/**/*.scss @elastic/search-design @@ -2561,7 +2563,7 @@ x-pack/solutions/security/plugins/security_solution/server/lib/security_integrat /x-pack/test/functional/page_objects/logstash_page.ts @elastic/logstash /x-pack/test/functional/apps/logstash @elastic/logstash /x-pack/test/api_integration/apis/logstash @elastic/logstash -#CC# /x-pack/plugins/logstash/ @elastic/logstash +#CC# /x-pack/platform/plugins/private/logstash/ @elastic/logstash # EUI team /src/plugins/kibana_react/public/page_template/ @elastic/eui-team @elastic/appex-sharedux @@ -2576,7 +2578,7 @@ x-pack/platform/plugins/private/translations/translations x-pack/test/profiling_api_integration @elastic/obs-ux-infra_services-team # Observability shared profiling -x-pack/plugins/observability_solution/observability_shared/public/components/profiling @elastic/obs-ux-infra_services-team +x-pack/solutions/observability/plugins/observability_shared/public/components/profiling @elastic/obs-ux-infra_services-team # Shared UX /x-pack/test_serverless/api_integration/test_suites/common/favorites @elastic/appex-sharedux # Assigned per https://github.com/elastic/kibana/pull/200985 @@ -2651,9 +2653,9 @@ oas_docs/kibana.info.yaml @elastic/platform-docs # when an encrypted saved object is changed. Very careful review is necessary to ensure any changes are compatible # with serverless zero downtime upgrades (ZDT). This section should be removed only when proper guidance for # maintaining ESOs has been documented and consuming teams have acclimated to ZDT changes. -x-pack/plugins/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security -x-pack/plugins/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security -x-pack/plugins/fleet/server/saved_objects/index.ts @elastic/fleet @elastic/kibana-security +x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security +x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts @elastic/response-ops @elastic/kibana-security +x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts @elastic/fleet @elastic/kibana-security x-pack/plugins/observability_solution/synthetics/server/saved_objects/saved_objects.ts @elastic/obs-ux-management-team @elastic/kibana-security x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_monitor.ts @elastic/obs-ux-management-team @elastic/kibana-security x-pack/plugins/observability_solution/synthetics/server/saved_objects/synthetics_param.ts @elastic/obs-ux-management-team @elastic/kibana-security @@ -3293,7 +3295,7 @@ x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team x-pack/solutions/observability/packages/get_padded_alert_time_range_util @elastic/obs-ux-management-team -x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops +x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-alerts-grouping @elastic/response-ops x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team x-pack/solutions/observability/x-pack/solutions/observability/packages/kbn-custom-integrations @elastic/obs-ux-logs-team x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index 3077ac0f51674..9bba25af8c978 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -73,16 +73,16 @@ paths-ignore: - packages/kbn-yarn-lock-validator - scripts - test - - x-pack/plugins/canvas/scripts + - x-pack/platform/plugins/private/canvas/scripts - x-pack/solutions/security/plugins/cloud_security_posture/common/scripts - x-pack/solutions/security/plugins/elastic_assistant/scripts - - x-pack/plugins/event_log/scripts - - x-pack/plugins/fleet/scripts + - x-pack/platform/plugins/shared/event_log/scripts + - x-pack/platform/plugins/shared/fleet/scripts - x-pack/solutions/security/plugins/lists/scripts - x-pack/solutions/security/plugins/lists/server/scripts - x-pack/plugins/observability_solution/*/scripts - x-pack/platform/plugins/shared/osquery/scripts - - x-pack/plugins/rule_registry/scripts + - x-pack/platform/plugins/shared/rule_registry/scripts - x-pack/solutions/security/plugins/security_solution/scripts - x-pack/solutions/security/plugins/threat_intelligence/scripts - x-pack/scripts diff --git a/.github/paths-labeller.yml b/.github/paths-labeller.yml index bc67d3a6f6d93..d7a60b0e88e85 100644 --- a/.github/paths-labeller.yml +++ b/.github/paths-labeller.yml @@ -1,10 +1,10 @@ --- - 'Feature:Embedding': - - 'src/plugins/embeddable/**/*.*' + - 'src/platform/plugins/shared/embeddable/**/*.*' - 'src/plugins/dashboard_embeddable_container/**/*.*' - 'Feature:Drilldowns': - 'x-pack/plugins/drilldowns/**/*.*' - - 'x-pack/plugins/dashboard_enhanced/public/services/drilldowns/**/*.*' + - 'x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/**/*.*' - 'Feature:ExpressionLanguage': - 'src/plugins/expressions/**/*.*' - 'src/plugins/bfetch/**/*.*' @@ -16,7 +16,7 @@ - 'packages/kbn-apm-utils/**/*.*' - 'x-pack/solutions/observability/plugins/ux/**/*.*' - 'Team:Fleet': - - 'x-pack/plugins/fleet/**/*.*' + - 'x-pack/platform/plugins/shared/fleet/**/*.*' - 'x-pack/test/fleet_api_integration/**/*.*' - 'Team:obs-ux-management': - 'x-pack/solutions/observability/plugins/observability/**/*.*' diff --git a/.gitignore b/.gitignore index 18382409725a1..f2e141e5a4f9b 100644 --- a/.gitignore +++ b/.gitignore @@ -96,8 +96,8 @@ npm-debug.log* /x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png # transpiled cypress config -x-pack/plugins/fleet/cypress.config.d.ts -x-pack/plugins/fleet/cypress.config.js +x-pack/platform/plugins/shared/fleet/cypress.config.d.ts +x-pack/platform/plugins/shared/fleet/cypress.config.js x-pack/platform/plugins/shared/osquery/cypress.config.d.ts x-pack/platform/plugins/shared/osquery/cypress.config.js x-pack/plugins/enterprise_search/cypress.config.d.ts diff --git a/.i18nrc.json b/.i18nrc.json index b68b71b6ae9b5..9ab2ae9182dd2 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -3,23 +3,23 @@ "advancedSettings": "src/plugins/advanced_settings", "aiAssistantManagementSelection": "src/platform/plugins/shared/ai_assistant_management/selection", "alerts": "packages/kbn-alerts/src", - "alertsUIShared": "packages/kbn-alerts-ui-shared/src", - "alertingTypes": "packages/kbn-alerting-types", + "alertsUIShared": "src/platform/packages/shared/kbn-alerts-ui-shared/src", + "alertingTypes": "src/platform/packages/shared/kbn-alerting-types", "apmOss": "src/plugins/apm_oss", "autocomplete": "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src", "avcBanner": "src/platform/packages/shared/kbn-avc-banner/src", - "cases": ["packages/kbn-cases-components"], + "cases": ["src/platform/packages/shared/kbn-cases-components"], "cellActions": "src/platform/packages/shared/kbn-cell-actions", "charts": "src/plugins/charts", "console": "src/platform/plugins/shared/console", "contentManagement": "packages/content-management", "core": ["src/core", "packages/core"], - "customIntegrations": "src/plugins/custom_integrations", + "customIntegrations": "src/platform/plugins/shared/custom_integrations", "customIntegrationsPackage": "x-pack/solutions/observability/packages/kbn-custom-integrations", - "dashboard": "src/plugins/dashboard", + "dashboard": "src/platform/plugins/shared/dashboard", "cloud": "packages/cloud", "domDragDrop": "packages/kbn-dom-drag-drop", - "controls": "src/plugins/controls", + "controls": "src/platform/plugins/shared/controls", "data": "src/plugins/data", "observabilityAlertDetails": "x-pack/solutions/observability/packages/alert_details", "dataViews": "src/plugins/data_views", @@ -31,26 +31,26 @@ "src/platform/packages/shared/kbn-discover-contextual-components" ], "savedSearch": "src/plugins/saved_search", - "embeddableApi": "src/plugins/embeddable", - "presentationPanel": "src/plugins/presentation_panel", + "embeddableApi": "src/platform/plugins/shared/embeddable", + "presentationPanel": "src/platform/plugins/private/presentation_panel", "embeddableExamples": "examples/embeddable_examples", "esQuery": "packages/kbn-es-query/src", "kbnGridLayout": "packages/kbn-grid-layout", "esUi": "src/platform/plugins/shared/es_ui_shared", "expandableFlyout": "packages/kbn-expandable-flyout", - "expressionError": "src/plugins/expression_error", + "expressionError": "src/platform/plugins/shared/expression_error", "expressionGauge": "src/plugins/chart_expressions/expression_gauge", "expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", - "expressionImage": "src/plugins/expression_image", - "expressionMetric": "src/plugins/expression_metric", + "expressionImage": "src/platform/plugins/shared/expression_image", + "expressionMetric": "src/platform/plugins/shared/expression_metric", "expressionMetricVis": "src/plugins/chart_expressions/expression_metric", "expressionLegacyMetricVis": "src/plugins/chart_expressions/expression_legacy_metric", "expressionPartitionVis": "src/plugins/chart_expressions/expression_partition_vis", "expressionXY": "src/plugins/chart_expressions/expression_xy", - "expressionRepeatImage": "src/plugins/expression_repeat_image", - "expressionRevealImage": "src/plugins/expression_reveal_image", + "expressionRepeatImage": "src/platform/plugins/shared/expression_repeat_image", + "expressionRevealImage": "src/platform/plugins/shared/expression_reveal_image", "expressions": "src/plugins/expressions", - "expressionShape": "src/plugins/expression_shape", + "expressionShape": "src/platform/plugins/shared/expression_shape", "expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", "eventAnnotation": "src/plugins/event_annotation", "eventAnnotationListing": "src/plugins/event_annotation_listing", @@ -60,10 +60,10 @@ "fieldFormats": "src/plugins/field_formats", "files": "src/plugins/files", "filesManagement": "src/plugins/files_management", - "flot": "packages/kbn-flot-charts/lib", + "flot": "src/platform/packages/shared/kbn-flot-charts/lib", "generateCsv": "packages/kbn-generate-csv", - "grouping": "packages/kbn-grouping/src", - "alertsGrouping": "packages/kbn-alerts-grouping", + "grouping": "src/platform/packages/shared/kbn-grouping/src", + "alertsGrouping": "x-pack/solutions/observability/packages/kbn-alerts-grouping", "guidedOnboarding": "src/plugins/guided_onboarding", "guidedOnboardingPackage": "packages/kbn-guided-onboarding", "home": "src/plugins/home", @@ -71,8 +71,8 @@ "indexPatternEditor": "src/plugins/data_view_editor", "indexPatternFieldEditor": "src/plugins/data_view_field_editor", "indexPatternManagement": "src/plugins/data_view_management", - "inputControl": "src/plugins/input_control_vis", - "inspector": "src/plugins/inspector", + "inputControl": "src/platform/plugins/private/input_control_vis", + "inspector": "src/platform/plugins/shared/inspector", "inspectorViews": "src/legacy/core_plugins/inspector_views", "interactiveSetup": "src/plugins/interactive_setup", "interpreter": "src/legacy/core_plugins/interpreter", @@ -96,9 +96,9 @@ ], "monaco": "packages/kbn-monaco/src", "navigation": ["src/plugins/navigation", "packages/solution-nav"], - "links": "src/plugins/links", + "links": "src/platform/plugins/private/links", "newsfeed": "src/plugins/newsfeed", - "presentationUtil": "src/plugins/presentation_util", + "presentationUtil": "src/platform/plugins/shared/presentation_util", "randomSampling": "x-pack/packages/kbn-random-sampling", "reactPackages": "packages/react", "esqlEditor": "src/platform/packages/private/kbn-esql-editor", @@ -147,7 +147,7 @@ "visDefaultEditor": "src/plugins/vis_default_editor", "visTypeGauge": "src/plugins/vis_types/gauge", "visTypeHeatmap": "src/plugins/vis_types/heatmap", - "visTypeMarkdown": "src/plugins/vis_type_markdown", + "visTypeMarkdown": "src/platform/plugins/private/vis_type_markdown", "visTypeMetric": "src/plugins/vis_types/metric", "visTypePie": "src/plugins/vis_types/pie", "visTypeTable": "src/plugins/vis_types/table", diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 5014b27b0e741..fd688fae164fb 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions title: "actions" image: https://source.unsplash.com/400x175/?github description: API docs for the actions plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions'] --- import actionsObj from './actions.devdocs.json'; diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 69e91f27a4a50..39f8caada171e 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings title: "advancedSettings" image: https://source.unsplash.com/400x175/?github description: API docs for the advancedSettings plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings'] --- import advancedSettingsObj from './advanced_settings.devdocs.json'; diff --git a/api_docs/ai_assistant_management_selection.mdx b/api_docs/ai_assistant_management_selection.mdx index 2399662625832..f3e5109648f79 100644 --- a/api_docs/ai_assistant_management_selection.mdx +++ b/api_docs/ai_assistant_management_selection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiAssistantManagementSelection title: "aiAssistantManagementSelection" image: https://source.unsplash.com/400x175/?github description: API docs for the aiAssistantManagementSelection plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiAssistantManagementSelection'] --- import aiAssistantManagementSelectionObj from './ai_assistant_management_selection.devdocs.json'; diff --git a/api_docs/aiops.devdocs.json b/api_docs/aiops.devdocs.json index 1324a2c42ab89..0ca8b926bbcfa 100644 --- a/api_docs/aiops.devdocs.json +++ b/api_docs/aiops.devdocs.json @@ -254,13 +254,7 @@ "\nUsed to check capabilities for links to other plugins.\n`application.currentAppId$` is used to close the log pattern analysis flyout\nwhen user navigates out of the current plugin." ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "x-pack/platform/plugins/shared/aiops/public/hooks/use_aiops_app_context.ts", "deprecated": false, diff --git a/api_docs/aiops.mdx b/api_docs/aiops.mdx index 52c5eaeab5323..742fabf8cf238 100644 --- a/api_docs/aiops.mdx +++ b/api_docs/aiops.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops title: "aiops" image: https://source.unsplash.com/400x175/?github description: API docs for the aiops plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops'] --- import aiopsObj from './aiops.devdocs.json'; diff --git a/api_docs/alerting.devdocs.json b/api_docs/alerting.devdocs.json index 8ca11a439e4cd..94a5a9fe942e6 100644 --- a/api_docs/alerting.devdocs.json +++ b/api_docs/alerting.devdocs.json @@ -10599,6 +10599,36 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "alerting", + "id": "def-common.MAINTENANCE_WINDOW_DEFAULT_PER_PAGE", + "type": "number", + "tags": [], + "label": "MAINTENANCE_WINDOW_DEFAULT_PER_PAGE", + "description": [], + "signature": [ + "10" + ], + "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "alerting", + "id": "def-common.MAINTENANCE_WINDOW_DEFAULT_TABLE_ACTIVE_PAGE", + "type": "number", + "tags": [], + "label": "MAINTENANCE_WINDOW_DEFAULT_TABLE_ACTIVE_PAGE", + "description": [], + "signature": [ + "1" + ], + "path": "x-pack/plugins/alerting/common/maintenance_window.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "alerting", "id": "def-common.MAINTENANCE_WINDOW_FEATURE_ID", diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 23a2b48b4d0da..643b1e41da377 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/alerting title: "alerting" image: https://source.unsplash.com/400x175/?github description: API docs for the alerting plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting'] --- import alertingObj from './alerting.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-o | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 872 | 1 | 839 | 50 | +| 874 | 1 | 841 | 50 | ## Client diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index ef1ce3940b315..b152859bd0604 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apm title: "apm" image: https://source.unsplash.com/400x175/?github description: API docs for the apm plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apm'] --- import apmObj from './apm.devdocs.json'; diff --git a/api_docs/apm_data_access.mdx b/api_docs/apm_data_access.mdx index dcbd6f7316827..711457b6df425 100644 --- a/api_docs/apm_data_access.mdx +++ b/api_docs/apm_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/apmDataAccess title: "apmDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the apmDataAccess plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'apmDataAccess'] --- import apmDataAccessObj from './apm_data_access.devdocs.json'; diff --git a/api_docs/asset_inventory.devdocs.json b/api_docs/asset_inventory.devdocs.json index 9816fc76f5fa7..246dfa2f2703a 100644 --- a/api_docs/asset_inventory.devdocs.json +++ b/api_docs/asset_inventory.devdocs.json @@ -31,7 +31,42 @@ "path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts", "deprecated": false, "trackAdoption": false, - "children": [], + "children": [ + { + "parentPluginId": "assetInventory", + "id": "def-public.AssetInventoryPluginStart.getAssetInventoryPage", + "type": "Function", + "tags": [], + "label": "getAssetInventoryPage", + "description": [], + "signature": [ + "(assetInventoryStartDeps: ", + "AppPluginStartDependencies", + ") => JSX.Element" + ], + "path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "assetInventory", + "id": "def-public.AssetInventoryPluginStart.getAssetInventoryPage.$1", + "type": "Object", + "tags": [], + "label": "assetInventoryStartDeps", + "description": [], + "signature": [ + "AppPluginStartDependencies" + ], + "path": "x-pack/solutions/security/plugins/asset_inventory/public/types.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], "lifecycle": "start", "initialIsOpen": true } diff --git a/api_docs/asset_inventory.mdx b/api_docs/asset_inventory.mdx index dc472054c762c..4df18d0818304 100644 --- a/api_docs/asset_inventory.mdx +++ b/api_docs/asset_inventory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/assetInventory title: "assetInventory" image: https://source.unsplash.com/400x175/?github description: API docs for the assetInventory plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'assetInventory'] --- import assetInventoryObj from './asset_inventory.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 6 | 0 | 6 | 0 | +| 8 | 0 | 8 | 1 | ## Client diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index 23986e02a936f..59aa727355e5e 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/banners title: "banners" image: https://source.unsplash.com/400x175/?github description: API docs for the banners plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'banners'] --- import bannersObj from './banners.devdocs.json'; diff --git a/api_docs/canvas.devdocs.json b/api_docs/canvas.devdocs.json index 46283c742dff0..2a68b5c907c0a 100644 --- a/api_docs/canvas.devdocs.json +++ b/api_docs/canvas.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "WithKibanaProps", "description": [], - "path": "x-pack/plugins/canvas/public/index.ts", + "path": "x-pack/platform/plugins/private/canvas/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37,7 +37,7 @@ "CanvasServices", "; }; }" ], - "path": "x-pack/plugins/canvas/public/index.ts", + "path": "x-pack/platform/plugins/private/canvas/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -60,7 +60,7 @@ "signature": [ "CanvasApi" ], - "path": "x-pack/plugins/canvas/public/plugin.tsx", + "path": "x-pack/platform/plugins/private/canvas/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -76,7 +76,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/canvas/public/plugin.tsx", + "path": "x-pack/platform/plugins/private/canvas/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -107,7 +107,7 @@ "signature": [ "\"CANVAS_APP_LOCATOR\"" ], - "path": "x-pack/plugins/canvas/common/locator.ts", + "path": "x-pack/platform/plugins/private/canvas/common/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -137,7 +137,7 @@ }, ">" ], - "path": "x-pack/plugins/canvas/common/locator.ts", + "path": "x-pack/platform/plugins/private/canvas/common/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -152,7 +152,7 @@ "signature": [ "{ view: \"workpadPDF\"; id: string; page: number; }" ], - "path": "x-pack/plugins/canvas/common/locator.ts", + "path": "x-pack/platform/plugins/private/canvas/common/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -166,7 +166,7 @@ "tags": [], "label": "UI_SETTINGS", "description": [], - "path": "x-pack/plugins/canvas/common/index.ts", + "path": "x-pack/platform/plugins/private/canvas/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -177,7 +177,7 @@ "tags": [], "label": "ENABLE_LABS_UI", "description": [], - "path": "x-pack/plugins/canvas/common/index.ts", + "path": "x-pack/platform/plugins/private/canvas/common/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index f5633760a23c4..0429192275cc7 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/canvas title: "canvas" image: https://source.unsplash.com/400x175/?github description: API docs for the canvas plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'canvas'] --- import canvasObj from './canvas.devdocs.json'; diff --git a/api_docs/cases.devdocs.json b/api_docs/cases.devdocs.json index b621e45205db3..8e6b04f4eaa00 100644 --- a/api_docs/cases.devdocs.json +++ b/api_docs/cases.devdocs.json @@ -47,21 +47,9 @@ "description": [], "signature": [ " = ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", ">({ basePath, extend, }: { basePath?: string | undefined; extend?: Partial React.JSX.Element" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "text": "ControlGroupRendererProps" } ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -59,7 +59,7 @@ "tags": [], "label": "ControlGroupCreationOptions", "description": [], - "path": "src/plugins/controls/public/control_group/control_group_renderer/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -89,7 +89,7 @@ }, ">> | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -110,7 +110,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts", "deprecated": false, "trackAdoption": false } @@ -124,7 +124,7 @@ "tags": [], "label": "ControlGroupRendererProps", "description": [], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -146,7 +146,7 @@ }, ") => void" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -166,7 +166,7 @@ "text": "ControlGroupRendererApi" } ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -284,7 +284,7 @@ }, ">>) | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -314,7 +314,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -405,7 +405,7 @@ }, ">>, controlId?: string | undefined) => void; }" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -430,7 +430,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -451,7 +451,7 @@ }, "[] | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -472,7 +472,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -493,7 +493,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -507,7 +507,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -521,7 +521,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx", "deprecated": false, "trackAdoption": false } @@ -545,7 +545,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -559,7 +559,7 @@ "signature": [ "\"NONE\" | \"HIERARCHICAL\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -573,7 +573,7 @@ "signature": [ "\"oneLine\" | \"twoLine\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -584,7 +584,7 @@ "tags": [], "label": "autoApplySelections", "description": [], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -605,7 +605,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -626,7 +626,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -647,7 +647,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -687,7 +687,7 @@ }, ">, \"initialChildControlState\">" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -709,7 +709,7 @@ }, " & { type: string; order: number; } & { id?: string | undefined; })[]" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -735,7 +735,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -757,7 +757,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -783,7 +783,7 @@ "ControlFactory", "" ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -805,7 +805,7 @@ }, ") => boolean" ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -825,7 +825,7 @@ "text": "DataViewField" } ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -845,7 +845,7 @@ "CustomOptionsComponentProps", "> | undefined" ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false } @@ -876,7 +876,7 @@ "text": "DefaultControlState" } ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -887,7 +887,7 @@ "tags": [], "label": "dataViewId", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -898,7 +898,7 @@ "tags": [], "label": "fieldName", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -912,7 +912,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -939,7 +939,7 @@ ",", "OptionsListDisplaySettings" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -954,7 +954,7 @@ "OptionsListSearchTechnique", " | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -969,7 +969,7 @@ "OptionsListSortingType", " | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -984,7 +984,7 @@ "OptionsListSelection", "[] | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -998,7 +998,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1012,7 +1012,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1026,7 +1026,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1040,7 +1040,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/options_list/types.ts", + "path": "src/platform/plugins/shared/controls/common/options_list/types.ts", "deprecated": false, "trackAdoption": false } @@ -1060,7 +1060,7 @@ "signature": [ "\"clearControl\"" ], - "path": "src/plugins/controls/public/actions/index.ts", + "path": "src/platform/plugins/shared/controls/public/actions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1075,7 +1075,7 @@ "signature": [ "\"deleteControl\"" ], - "path": "src/plugins/controls/public/actions/index.ts", + "path": "src/platform/plugins/shared/controls/public/actions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1090,7 +1090,7 @@ "signature": [ "\"editDataControl\"" ], - "path": "src/plugins/controls/public/actions/index.ts", + "path": "src/platform/plugins/shared/controls/public/actions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1105,7 +1105,7 @@ "signature": [ "\"control_group\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1365,7 +1365,7 @@ }, ") => void; }" ], - "path": "src/plugins/controls/public/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1657,7 +1657,7 @@ }, ">>; }" ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1748,7 +1748,7 @@ }, ">>, controlId?: string | undefined) => void; }" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1763,7 +1763,7 @@ "signature": [ "State & { type: string; order: number; }" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1778,7 +1778,7 @@ "signature": [ "(newState: Partial, controlType: string) => Partial" ], - "path": "src/plugins/controls/public/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1793,7 +1793,7 @@ "signature": [ "{ [P in keyof State]?: State[P] | undefined; }" ], - "path": "src/plugins/controls/public/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1804,7 +1804,7 @@ "tags": [], "label": "controlType", "description": [], - "path": "src/plugins/controls/public/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -1970,7 +1970,7 @@ }, " & { untilFiltersReady: () => Promise; }" ], - "path": "src/plugins/controls/public/controls/data_controls/types.ts", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1985,7 +1985,7 @@ "signature": [ "\"optionsListControl\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2000,7 +2000,7 @@ "signature": [ "\"rangeSliderControl\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2015,7 +2015,7 @@ "signature": [ "\"timeSlider\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2029,7 +2029,7 @@ "tags": [], "label": "controlGroupStateBuilder", "description": [], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2067,7 +2067,7 @@ }, ", controlId?: string | undefined) => Promise" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2097,7 +2097,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2118,7 +2118,7 @@ "text": "DefaultDataControlState" } ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2133,7 +2133,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2169,7 +2169,7 @@ "OptionsListControlState", ", controlId?: string | undefined) => void" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2199,7 +2199,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2214,7 +2214,7 @@ "signature": [ "OptionsListControlState" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2229,7 +2229,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2265,7 +2265,7 @@ "RangesliderControlState", ", controlId?: string | undefined) => void" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2295,7 +2295,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2310,7 +2310,7 @@ "signature": [ "RangesliderControlState" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2325,7 +2325,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2359,7 +2359,7 @@ }, ">>, controlId?: string | undefined) => void" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2389,7 +2389,7 @@ }, ">>" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2404,7 +2404,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/public/control_group/utils/control_group_state_builder.ts", + "path": "src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2433,7 +2433,7 @@ ") => ", "SerializableControlGroupState" ], - "path": "src/plugins/controls/server/control_group/control_group_persistence.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2447,7 +2447,7 @@ "signature": [ "ControlGroupSavedObjectState" ], - "path": "src/plugins/controls/server/control_group/control_group_persistence.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2473,7 +2473,7 @@ "text": "ControlGroupTelemetry" } ], - "path": "src/plugins/controls/server/control_group/control_group_telemetry.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2487,7 +2487,7 @@ "signature": [ "Record" ], - "path": "src/plugins/controls/server/control_group/control_group_telemetry.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2515,7 +2515,7 @@ ") => ", "ControlGroupSavedObjectState" ], - "path": "src/plugins/controls/server/control_group/control_group_persistence.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2535,7 +2535,7 @@ "text": "SerializableRecord" } ], - "path": "src/plugins/controls/server/control_group/control_group_persistence.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2553,7 +2553,7 @@ "tags": [], "label": "ControlGroupTelemetry", "description": [], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2564,7 +2564,7 @@ "tags": [], "label": "total", "description": [], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2578,7 +2578,7 @@ "signature": [ "{ [key: string]: number; }" ], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2592,7 +2592,7 @@ "signature": [ "{ [key: string]: number; }" ], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2606,7 +2606,7 @@ "signature": [ "{ [key: string]: number; }" ], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2620,7 +2620,7 @@ "signature": [ "{ [key: string]: { total: number; details: { [key: string]: number; }; }; }" ], - "path": "src/plugins/controls/server/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/server/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2645,7 +2645,7 @@ "description": [ "\n----------------------------------------------------------------\nControl group state\n----------------------------------------------------------------" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2659,7 +2659,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2673,7 +2673,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2687,7 +2687,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2702,7 +2702,7 @@ "FieldFilterPredicate", " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2726,7 +2726,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2740,7 +2740,7 @@ "signature": [ "\"NONE\" | \"HIERARCHICAL\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2754,7 +2754,7 @@ "signature": [ "\"oneLine\" | \"twoLine\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2765,7 +2765,7 @@ "tags": [], "label": "autoApplySelections", "description": [], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2786,7 +2786,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2807,7 +2807,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2828,7 +2828,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2868,7 +2868,7 @@ }, ">, \"initialChildControlState\">" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2890,7 +2890,7 @@ }, " & { type: string; order: number; } & { id?: string | undefined; })[]" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2916,7 +2916,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2938,7 +2938,7 @@ }, "" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false } @@ -2952,7 +2952,7 @@ "tags": [], "label": "DefaultControlState", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2966,7 +2966,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2987,7 +2987,7 @@ }, " | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3018,7 +3018,7 @@ "text": "DefaultControlState" } ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3029,7 +3029,7 @@ "tags": [], "label": "dataViewId", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3040,7 +3040,7 @@ "tags": [], "label": "fieldName", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3054,7 +3054,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3085,7 +3085,7 @@ "text": "SerializableRecord" } ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3099,7 +3099,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3113,7 +3113,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3127,7 +3127,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3141,7 +3141,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3172,7 +3172,7 @@ "text": "DefaultControlState" } ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3183,7 +3183,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3197,7 +3197,7 @@ "signature": [ "{ id: string; } & ControlStateType" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -3217,7 +3217,7 @@ "signature": [ "\"control_group\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3232,7 +3232,7 @@ "signature": [ "\"NONE\" | \"HIERARCHICAL\"" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3247,7 +3247,7 @@ "signature": [ "\"oneLine\" | \"twoLine\"" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3262,7 +3262,7 @@ "signature": [ "State & { type: string; order: number; }" ], - "path": "src/plugins/controls/common/control_group/types.ts", + "path": "src/platform/plugins/shared/controls/common/control_group/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3277,7 +3277,7 @@ "signature": [ "\"small\" | \"medium\" | \"large\"" ], - "path": "src/plugins/controls/common/types.ts", + "path": "src/platform/plugins/shared/controls/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3292,7 +3292,7 @@ "signature": [ "true" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3307,7 +3307,7 @@ "signature": [ "\"NONE\" | \"HIERARCHICAL\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3319,7 +3319,7 @@ "tags": [], "label": "DEFAULT_CONTROL_GROW", "description": [], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3334,7 +3334,7 @@ "signature": [ "\"oneLine\" | \"twoLine\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3349,7 +3349,7 @@ "signature": [ "\"small\" | \"medium\" | \"large\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3364,7 +3364,7 @@ "signature": [ "\"optionsListControl\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3379,7 +3379,7 @@ "signature": [ "\"rangeSliderControl\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3394,7 +3394,7 @@ "signature": [ "\"timeSlider\"" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3411,7 +3411,7 @@ "signature": [ "{ readonly NONE: \"NONE\"; readonly HIERARCHICAL: \"HIERARCHICAL\"; }" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3426,7 +3426,7 @@ "signature": [ "{ readonly ONE_LINE: \"oneLine\"; readonly TWO_LINE: \"twoLine\"; }" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3441,7 +3441,7 @@ "signature": [ "{ readonly SMALL: \"small\"; readonly MEDIUM: \"medium\"; readonly LARGE: \"large\"; }" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3456,7 +3456,7 @@ "signature": [ "{ readonly ignoreFilters: false; readonly ignoreQuery: false; readonly ignoreTimerange: false; readonly ignoreValidations: false; }" ], - "path": "src/plugins/controls/common/constants.ts", + "path": "src/platform/plugins/shared/controls/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/controls.mdx b/api_docs/controls.mdx index b9f01e918f96c..fba2a21ab8674 100644 --- a/api_docs/controls.mdx +++ b/api_docs/controls.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/controls title: "controls" image: https://source.unsplash.com/400x175/?github description: API docs for the controls plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'controls'] --- import controlsObj from './controls.devdocs.json'; diff --git a/api_docs/custom_integrations.devdocs.json b/api_docs/custom_integrations.devdocs.json index c48f949b14037..1755d56d52051 100644 --- a/api_docs/custom_integrations.devdocs.json +++ b/api_docs/custom_integrations.devdocs.json @@ -31,7 +31,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/public/services/find.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/services/find.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -52,7 +52,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/public/services/find.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/services/find.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -67,7 +67,7 @@ "signature": [ "FindParams" ], - "path": "src/plugins/custom_integrations/public/services/find.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/services/find.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -88,7 +88,7 @@ "Props", ") => React.JSX.Element | null>" ], - "path": "src/plugins/custom_integrations/public/components/index.tsx", + "path": "src/platform/plugins/shared/custom_integrations/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -122,7 +122,7 @@ "signature": [ "

(Component: React.ComponentType

, fallback?: React.ReactElement> | null) => React.ForwardRefExoticComponent & React.RefAttributes>" ], - "path": "src/plugins/custom_integrations/public/components/index.tsx", + "path": "src/platform/plugins/shared/custom_integrations/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -138,7 +138,7 @@ "signature": [ "React.ComponentType

" ], - "path": "src/plugins/custom_integrations/public/components/index.tsx", + "path": "src/platform/plugins/shared/custom_integrations/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -155,7 +155,7 @@ "signature": [ "React.ReactElement> | null" ], - "path": "src/plugins/custom_integrations/public/components/index.tsx", + "path": "src/platform/plugins/shared/custom_integrations/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -176,7 +176,7 @@ "tags": [], "label": "CustomIntegrationsSetup", "description": [], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -198,7 +198,7 @@ }, "[]>" ], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -222,7 +222,7 @@ }, "[]>" ], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -239,7 +239,7 @@ "tags": [], "label": "CustomIntegrationsStart", "description": [], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -253,7 +253,7 @@ "signature": [ "React.FunctionComponent<{ children?: React.ReactNode; }>" ], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -298,7 +298,7 @@ "signature": [ "{ [x: string]: React.FC<{}>; }" ], - "path": "src/plugins/custom_integrations/public/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -320,7 +320,7 @@ "description": [ "\nA definition of a dataintegration, which can be registered with Kibana." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -331,7 +331,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -342,7 +342,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -353,7 +353,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -367,7 +367,7 @@ "signature": [ "\"ui_link\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -378,7 +378,7 @@ "tags": [], "label": "uiInternalPath", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -392,7 +392,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -403,7 +403,7 @@ "tags": [], "label": "isBeta", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -424,7 +424,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -438,7 +438,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -452,7 +452,7 @@ "signature": [ "\"search\" | \"other\" | \"beats\" | \"language_clients\" | \"sample_data\" | \"tests\" | \"tutorial\" | \"placeholders\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -466,7 +466,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -488,7 +488,7 @@ "signature": [ "string" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -502,7 +502,7 @@ "tags": [], "label": "CustomIntegrationsPluginSetup", "description": [], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -524,7 +524,7 @@ }, ", \"type\">) => void" ], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -546,7 +546,7 @@ }, ", \"type\">" ], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -572,7 +572,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -589,7 +589,7 @@ "tags": [], "label": "CustomIntegrationsPluginStart", "description": [], - "path": "src/plugins/custom_integrations/server/types.ts", + "path": "src/platform/plugins/shared/custom_integrations/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -610,7 +610,7 @@ "description": [ "\nA definition of a dataintegration, which can be registered with Kibana." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -621,7 +621,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -632,7 +632,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -643,7 +643,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -657,7 +657,7 @@ "signature": [ "\"ui_link\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -668,7 +668,7 @@ "tags": [], "label": "uiInternalPath", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -682,7 +682,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -693,7 +693,7 @@ "tags": [], "label": "isBeta", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -714,7 +714,7 @@ }, "[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -728,7 +728,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -742,7 +742,7 @@ "signature": [ "\"search\" | \"other\" | \"beats\" | \"language_clients\" | \"sample_data\" | \"tests\" | \"tutorial\" | \"placeholders\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -756,7 +756,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -772,7 +772,7 @@ "description": [ "\nAn icon representing an Integration." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -783,7 +783,7 @@ "tags": [], "label": "src", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -797,7 +797,7 @@ "signature": [ "\"svg\" | \"eui\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -813,7 +813,7 @@ "description": [ "\nAn object containing the id of an `IntegrationCategory` and the count of all Integrations in that category." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -824,7 +824,7 @@ "tags": [], "label": "count", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -835,7 +835,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -857,7 +857,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -874,7 +874,7 @@ "signature": [ "string" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -889,7 +889,7 @@ "signature": [ "\"customIntegrations\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -904,7 +904,7 @@ "signature": [ "\"customIntegrations\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -916,7 +916,7 @@ "tags": [], "label": "ROUTES_APPEND_CUSTOM_INTEGRATIONS", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -928,7 +928,7 @@ "tags": [], "label": "ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -945,7 +945,7 @@ "signature": [ "(\"search\" | \"other\" | \"beats\" | \"language_clients\" | \"sample_data\" | \"tests\" | \"tutorial\" | \"placeholders\")[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -962,7 +962,7 @@ "signature": [ "\"search\" | \"other\" | \"beats\" | \"language_clients\" | \"sample_data\" | \"tests\" | \"tutorial\" | \"placeholders\"" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -976,7 +976,7 @@ "tags": [], "label": "FEATURED_INTEGRATIONS_BY_CATEGORY", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -990,7 +990,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1004,7 +1004,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1020,7 +1020,7 @@ "description": [ "\nA map of category names and their corresponding titles." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1031,7 +1031,7 @@ "tags": [], "label": "advanced_analytics_ueba", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1042,7 +1042,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1053,7 +1053,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1066,7 +1066,7 @@ "tags": [], "label": "analytics_engine", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1077,7 +1077,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1088,7 +1088,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1101,7 +1101,7 @@ "tags": [], "label": "application_observability", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1112,7 +1112,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1123,7 +1123,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1136,7 +1136,7 @@ "tags": [], "label": "auditd", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1147,7 +1147,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1158,7 +1158,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1171,7 +1171,7 @@ "tags": [], "label": "authentication", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1182,7 +1182,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1193,7 +1193,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1206,7 +1206,7 @@ "tags": [], "label": "aws", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1217,7 +1217,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1231,7 +1231,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1244,7 +1244,7 @@ "tags": [], "label": "azure", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1255,7 +1255,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1269,7 +1269,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1282,7 +1282,7 @@ "tags": [], "label": "big_data", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1293,7 +1293,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1304,7 +1304,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1317,7 +1317,7 @@ "tags": [], "label": "cdn_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1328,7 +1328,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1339,7 +1339,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1352,7 +1352,7 @@ "tags": [], "label": "cloud", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1363,7 +1363,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1377,7 +1377,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1390,7 +1390,7 @@ "tags": [], "label": "config_management", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1401,7 +1401,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1415,7 +1415,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1428,7 +1428,7 @@ "tags": [], "label": "connector", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1439,7 +1439,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1450,7 +1450,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1463,7 +1463,7 @@ "tags": [], "label": "connector_client", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1474,7 +1474,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1485,7 +1485,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1498,7 +1498,7 @@ "tags": [], "label": "containers", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1509,7 +1509,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1523,7 +1523,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1536,7 +1536,7 @@ "tags": [], "label": "crawler", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1547,7 +1547,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1558,7 +1558,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1571,7 +1571,7 @@ "tags": [], "label": "credential_management", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1582,7 +1582,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1593,7 +1593,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1606,7 +1606,7 @@ "tags": [], "label": "crm", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1617,7 +1617,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1631,7 +1631,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1644,7 +1644,7 @@ "tags": [], "label": "custom", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1655,7 +1655,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1669,7 +1669,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1682,7 +1682,7 @@ "tags": [], "label": "custom_logs", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1693,7 +1693,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1704,7 +1704,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1717,7 +1717,7 @@ "tags": [], "label": "database_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1728,7 +1728,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1739,7 +1739,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1752,7 +1752,7 @@ "tags": [], "label": "datastore", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1763,7 +1763,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1777,7 +1777,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1790,7 +1790,7 @@ "tags": [], "label": "dns_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1801,7 +1801,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1812,7 +1812,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1825,7 +1825,7 @@ "tags": [], "label": "edr_xdr", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1836,7 +1836,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1847,7 +1847,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1860,7 +1860,7 @@ "tags": [], "label": "cloudsecurity_cdr", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1871,7 +1871,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1882,7 +1882,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1895,7 +1895,7 @@ "tags": [], "label": "elasticsearch_sdk", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1906,7 +1906,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1920,7 +1920,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1933,7 +1933,7 @@ "tags": [], "label": "elastic_stack", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1944,7 +1944,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1958,7 +1958,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -1971,7 +1971,7 @@ "tags": [], "label": "email_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1982,7 +1982,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -1993,7 +1993,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2006,7 +2006,7 @@ "tags": [], "label": "firewall_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2017,7 +2017,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2028,7 +2028,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2041,7 +2041,7 @@ "tags": [], "label": "google_cloud", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2052,7 +2052,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2066,7 +2066,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2079,7 +2079,7 @@ "tags": [], "label": "iam", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2090,7 +2090,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2101,7 +2101,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2114,7 +2114,7 @@ "tags": [], "label": "ids_ips", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2125,7 +2125,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2136,7 +2136,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2149,7 +2149,7 @@ "tags": [], "label": "infrastructure", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2160,7 +2160,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2174,7 +2174,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2187,7 +2187,7 @@ "tags": [], "label": "java_observability", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2198,7 +2198,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2209,7 +2209,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2222,7 +2222,7 @@ "tags": [], "label": "kubernetes", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2233,7 +2233,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2244,7 +2244,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2257,7 +2257,7 @@ "tags": [], "label": "language_client", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2268,7 +2268,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2279,7 +2279,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2292,7 +2292,7 @@ "tags": [], "label": "languages", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2303,7 +2303,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2317,7 +2317,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2330,7 +2330,7 @@ "tags": [], "label": "load_balancer", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2341,7 +2341,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2352,7 +2352,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2365,7 +2365,7 @@ "tags": [], "label": "message_queue", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2376,7 +2376,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2387,7 +2387,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2400,7 +2400,7 @@ "tags": [], "label": "monitoring", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2411,7 +2411,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2422,7 +2422,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2435,7 +2435,7 @@ "tags": [], "label": "native_search", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2446,7 +2446,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2457,7 +2457,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2470,7 +2470,7 @@ "tags": [], "label": "network", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2481,7 +2481,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2495,7 +2495,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2508,7 +2508,7 @@ "tags": [], "label": "network_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2519,7 +2519,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2530,7 +2530,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2543,7 +2543,7 @@ "tags": [], "label": "notification", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2554,7 +2554,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2565,7 +2565,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2578,7 +2578,7 @@ "tags": [], "label": "observability", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2589,7 +2589,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2603,7 +2603,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2616,7 +2616,7 @@ "tags": [], "label": "os_system", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2627,7 +2627,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2641,7 +2641,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2654,7 +2654,7 @@ "tags": [], "label": "process_manager", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2665,7 +2665,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2676,7 +2676,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2689,7 +2689,7 @@ "tags": [], "label": "productivity", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2700,7 +2700,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2714,7 +2714,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2727,7 +2727,7 @@ "tags": [], "label": "productivity_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2738,7 +2738,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2749,7 +2749,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2762,7 +2762,7 @@ "tags": [], "label": "proxy_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2773,7 +2773,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2784,7 +2784,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2797,7 +2797,7 @@ "tags": [], "label": "sdk_search", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2808,7 +2808,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2819,7 +2819,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2832,7 +2832,7 @@ "tags": [], "label": "search", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2843,7 +2843,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2857,7 +2857,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2870,7 +2870,7 @@ "tags": [], "label": "security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2881,7 +2881,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2895,7 +2895,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2908,7 +2908,7 @@ "tags": [], "label": "stream_processing", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2919,7 +2919,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2930,7 +2930,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2943,7 +2943,7 @@ "tags": [], "label": "support", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2954,7 +2954,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -2968,7 +2968,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -2981,7 +2981,7 @@ "tags": [], "label": "threat_intel", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2992,7 +2992,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3003,7 +3003,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3016,7 +3016,7 @@ "tags": [], "label": "ticketing", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3027,7 +3027,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3041,7 +3041,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3054,7 +3054,7 @@ "tags": [], "label": "version_control", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3065,7 +3065,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3079,7 +3079,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3092,7 +3092,7 @@ "tags": [], "label": "virtualization", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3103,7 +3103,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3114,7 +3114,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3127,7 +3127,7 @@ "tags": [], "label": "vpn_security", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3138,7 +3138,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3149,7 +3149,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3162,7 +3162,7 @@ "tags": [], "label": "vulnerability_management", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3173,7 +3173,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3184,7 +3184,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3197,7 +3197,7 @@ "tags": [], "label": "web", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3208,7 +3208,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3219,7 +3219,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3232,7 +3232,7 @@ "tags": [], "label": "web_application_firewall", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3243,7 +3243,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3254,7 +3254,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3267,7 +3267,7 @@ "tags": [], "label": "websphere", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3278,7 +3278,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3289,7 +3289,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3302,7 +3302,7 @@ "tags": [], "label": "workplace_search_content_source", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3313,7 +3313,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3324,7 +3324,7 @@ "tags": [], "label": "parent_id", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3339,7 +3339,7 @@ "description": [ "// Kibana added" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3350,7 +3350,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3364,7 +3364,7 @@ "signature": [ "undefined" ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } @@ -3382,7 +3382,7 @@ "description": [ "\nA map of shipper names and their corresponding titles." ], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3393,7 +3393,7 @@ "tags": [], "label": "beats", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3404,7 +3404,7 @@ "tags": [], "label": "search", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3415,7 +3415,7 @@ "tags": [], "label": "language_clients", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3426,7 +3426,7 @@ "tags": [], "label": "other", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3437,7 +3437,7 @@ "tags": [], "label": "sample_data", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3448,7 +3448,7 @@ "tags": [], "label": "tests", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3459,7 +3459,7 @@ "tags": [], "label": "tutorial", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false }, @@ -3470,7 +3470,7 @@ "tags": [], "label": "placeholders", "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", + "path": "src/platform/plugins/shared/custom_integrations/common/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 616b12ae57dac..6ca95bfe729f1 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/customIntegrations title: "customIntegrations" image: https://source.unsplash.com/400x175/?github description: API docs for the customIntegrations plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'customIntegrations'] --- import customIntegrationsObj from './custom_integrations.devdocs.json'; diff --git a/api_docs/dashboard.devdocs.json b/api_docs/dashboard.devdocs.json index d1c2604329eec..a87c20026cbcf 100644 --- a/api_docs/dashboard.devdocs.json +++ b/api_docs/dashboard.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "(stateObj: Record) => Record" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/locator.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "Record" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/locator.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -46,7 +46,7 @@ "signature": [ "(id: string | undefined, editMode: boolean | undefined) => string" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -75,7 +75,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -96,7 +96,7 @@ "DashboardListingProps", ") => React.JSX.Element" ], - "path": "src/plugins/dashboard/public/dashboard_listing/index.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -110,7 +110,7 @@ "signature": [ "DashboardListingProps" ], - "path": "src/plugins/dashboard/public/dashboard_listing/index.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -131,7 +131,7 @@ "DashboardTopNavProps", ") => React.JSX.Element" ], - "path": "src/plugins/dashboard/public/dashboard_top_nav/index.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -145,7 +145,7 @@ "signature": [ "DashboardTopNavProps" ], - "path": "src/plugins/dashboard/public/dashboard_top_nav/index.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -236,7 +236,7 @@ }, ">" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -306,7 +306,7 @@ }, ">>>" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -327,7 +327,7 @@ "text": "DashboardDrilldownOptions" } ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -348,7 +348,7 @@ "DashboardRendererProps", ") => React.JSX.Element" ], - "path": "src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -362,7 +362,7 @@ "signature": [ "DashboardRendererProps" ], - "path": "src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -380,7 +380,7 @@ "tags": [], "label": "DashboardCreationOptions", "description": [], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -396,7 +396,7 @@ "DashboardState", ">) | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -420,7 +420,7 @@ }, " | undefined) | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -436,7 +436,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -476,7 +476,7 @@ }, ">; } | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -490,7 +490,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -504,7 +504,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -526,7 +526,7 @@ }, "; } | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -542,7 +542,7 @@ "LoadDashboardReturn", ") => \"valid\" | \"invalid\" | \"redirected\") | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -556,7 +556,7 @@ "signature": [ "LoadDashboardReturn" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -574,7 +574,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -588,7 +588,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false }, @@ -610,7 +610,7 @@ }, ") | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -624,7 +624,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -642,7 +642,7 @@ "tags": [], "label": "DashboardFeatureFlagConfig", "description": [], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -653,7 +653,7 @@ "tags": [], "label": "allowByValueEmbeddables", "description": [], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false } @@ -677,7 +677,7 @@ }, "" ], - "path": "src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -693,7 +693,7 @@ "PanelPlacementSettings", ">" ], - "path": "src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -707,7 +707,7 @@ "signature": [ "InputType" ], - "path": "src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -722,7 +722,7 @@ "signature": [ "AttributesType | undefined" ], - "path": "src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -740,7 +740,7 @@ "tags": [], "label": "SearchDashboardsResponse", "description": [], - "path": "src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", + "path": "src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -751,7 +751,7 @@ "tags": [], "label": "total", "description": [], - "path": "src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", + "path": "src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", "deprecated": false, "trackAdoption": false }, @@ -765,7 +765,7 @@ "signature": [ "Readonly<{ error?: Readonly<{ metadata?: Readonly<{} & {}> | undefined; } & { error: string; message: string; statusCode: number; }> | undefined; version?: string | undefined; namespaces?: string[] | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; managed?: boolean | undefined; originId?: string | undefined; } & { id: string; type: string; attributes: Readonly<{} & { title: string; description: string; timeRestore: boolean; }>; references: Readonly<{} & { id: string; type: string; name: string; }>[]; }>[]" ], - "path": "src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", + "path": "src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts", "deprecated": false, "trackAdoption": false } @@ -781,7 +781,7 @@ "tags": [], "label": "PanelPlacementStrategy", "description": [], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -798,7 +798,7 @@ "signature": [ "\"dashboards\"" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -813,7 +813,7 @@ "signature": [ "\"dashboard\"" ], - "path": "src/plugins/dashboard/public/dashboard_container/index.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -828,7 +828,7 @@ "signature": [ "48" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1258,7 +1258,7 @@ }, ">; }" ], - "path": "src/plugins/dashboard/public/dashboard_api/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1288,7 +1288,7 @@ }, ">" ], - "path": "src/plugins/dashboard/public/dashboard_app/locator/locator.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1345,7 +1345,7 @@ }, ") | undefined; }" ], - "path": "src/plugins/dashboard/public/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1360,7 +1360,7 @@ "signature": [ "\"dashboard\"" ], - "path": "src/plugins/dashboard/public/dashboard_constants.ts", + "path": "src/platform/plugins/shared/dashboard/public/dashboard_constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1374,7 +1374,7 @@ "tags": [], "label": "DashboardSetup", "description": [], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1395,7 +1395,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false } @@ -1410,7 +1410,7 @@ "tags": [], "label": "DashboardStart", "description": [], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1431,7 +1431,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -1451,7 +1451,7 @@ "text": "DashboardFeatureFlagConfig" } ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -1467,7 +1467,7 @@ "FindDashboardsService", ">" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1485,7 +1485,7 @@ "GetPanelPlacementSettings", ") => void" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1499,7 +1499,7 @@ "signature": [ "string" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1515,7 +1515,7 @@ "GetPanelPlacementSettings", "" ], - "path": "src/plugins/dashboard/public/plugin.tsx", + "path": "src/platform/plugins/shared/dashboard/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1602,7 +1602,7 @@ "DashboardPanel", "[]; }" ], - "path": "src/plugins/dashboard/server/content_management/v3/types.ts", + "path": "src/platform/plugins/shared/dashboard/server/content_management/v3/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1617,7 +1617,7 @@ "signature": [ "{ readonly version?: number | undefined; readonly timeRestore?: boolean | undefined; readonly refreshInterval?: Readonly<{ section?: number | undefined; display?: string | undefined; } & { value: number; pause: boolean; }> | undefined; readonly hits?: number | undefined; readonly timeFrom?: string | undefined; readonly timeTo?: string | undefined; readonly controlGroupInput?: Readonly<{ chainingSystem?: string | undefined; panelsJSON?: string | undefined; controlStyle?: string | undefined; ignoreParentSettingsJSON?: string | undefined; showApplySelections?: boolean | undefined; } & {}> | undefined; readonly optionsJSON?: string | undefined; readonly title: string; readonly description: string; readonly kibanaSavedObjectMeta: Readonly<{ searchSourceJSON?: string | undefined; } & {}>; readonly panelsJSON: string; }" ], - "path": "src/plugins/dashboard/server/dashboard_saved_object/schema/v2/types.ts", + "path": "src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1632,7 +1632,7 @@ "signature": [ "\"/api/dashboards/dashboard\"" ], - "path": "src/plugins/dashboard/server/api/constants.ts", + "path": "src/platform/plugins/shared/dashboard/server/api/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1646,7 +1646,7 @@ "tags": [], "label": "DashboardPluginSetup", "description": [], - "path": "src/plugins/dashboard/server/types.ts", + "path": "src/platform/plugins/shared/dashboard/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1660,7 +1660,7 @@ "tags": [], "label": "DashboardPluginStart", "description": [], - "path": "src/plugins/dashboard/server/types.ts", + "path": "src/platform/plugins/shared/dashboard/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1689,7 +1689,9 @@ }, ", removeLegacyVersion?: boolean | undefined) => { panelRefName?: string | undefined; id?: string | undefined; title?: string | undefined; type: string; gridData: ", "GridData", - "; panelIndex: string; panelConfig: _.Omit & { id: string; }, \"id\" | \"title\" | \"savedObjectId\">; version?: string | undefined; }[]" ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1719,7 +1721,7 @@ "text": "DashboardPanelMap" } ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1734,7 +1736,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1762,7 +1764,7 @@ "text": "DashboardPanelMap" } ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1777,7 +1779,7 @@ "DashboardPanel", "[] | undefined" ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1828,7 +1830,7 @@ }, "[]; }" ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1848,7 +1850,7 @@ "text": "EmbeddablePersistableStateService" } ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1898,7 +1900,7 @@ "text": "EmbeddableStateWithType" } ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1918,7 +1920,7 @@ "text": "EmbeddablePersistableStateService" } ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1948,7 +1950,7 @@ ") => ", "DashboardAttributesAndReferences" ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1962,7 +1964,7 @@ "signature": [ "DashboardAttributesAndReferences" ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1983,7 +1985,7 @@ "text": "InjectExtractDeps" } ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2036,7 +2038,7 @@ }, "[]; }" ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2056,7 +2058,7 @@ "text": "DashboardPanelMap" } ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2078,7 +2080,7 @@ }, "[] | undefined" ], - "path": "src/plugins/dashboard/common/lib/dashboard_panel_converters.ts", + "path": "src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2114,7 +2116,7 @@ "text": "DashboardAttributes" } ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2128,7 +2130,7 @@ "signature": [ "DashboardAttributesAndReferences" ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2149,7 +2151,7 @@ "text": "InjectExtractDeps" } ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2184,7 +2186,7 @@ }, "[]" ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2198,7 +2200,7 @@ "signature": [ "string" ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2220,7 +2222,7 @@ }, "[]" ], - "path": "src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2238,7 +2240,7 @@ "tags": [], "label": "DashboardCapabilities", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2249,7 +2251,7 @@ "tags": [], "label": "showWriteControls", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2260,7 +2262,7 @@ "tags": [], "label": "saveQuery", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2271,7 +2273,7 @@ "tags": [], "label": "createNew", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2282,7 +2284,7 @@ "tags": [], "label": "show", "description": [], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2296,7 +2298,7 @@ "signature": [ "[key: string]: boolean" ], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -2328,7 +2330,7 @@ }, ", \"viewMode\">" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2342,7 +2344,7 @@ "signature": [ "{ query: string | { [key: string]: any; }; language: string; }" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2363,7 +2365,7 @@ }, "[]" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2374,7 +2376,7 @@ "tags": [], "label": "timeRestore", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2395,7 +2397,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2409,7 +2411,7 @@ "signature": [ "[number, number] | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2430,7 +2432,7 @@ }, " | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2441,7 +2443,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2455,7 +2457,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2469,7 +2471,7 @@ "signature": [ "\"edit\" | \"view\" | \"print\" | \"preview\"" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2483,7 +2485,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2505,7 +2507,7 @@ }, " | undefined; }" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2516,7 +2518,7 @@ "tags": [], "label": "hidePanelTitles", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2527,7 +2529,7 @@ "tags": [], "label": "syncTooltips", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2538,7 +2540,7 @@ "tags": [], "label": "useMargins", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2549,7 +2551,7 @@ "tags": [], "label": "syncColors", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2560,7 +2562,7 @@ "tags": [], "label": "syncCursor", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2580,7 +2582,7 @@ "text": "DashboardPanelMap" } ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false } @@ -2594,7 +2596,7 @@ "tags": [], "label": "DashboardPanelMap", "description": [], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2624,7 +2626,7 @@ }, ">" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false } @@ -2656,7 +2658,7 @@ }, "" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2670,7 +2672,7 @@ "signature": [ "Omit, \"i\"> & { readonly i: string; }" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2684,7 +2686,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2700,7 +2702,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2723,7 +2725,7 @@ }, "[] | undefined" ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false } @@ -2737,7 +2739,7 @@ "tags": [], "label": "InjectExtractDeps", "description": [], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2766,7 +2768,7 @@ }, ">" ], - "path": "src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts", "deprecated": false, "trackAdoption": false } @@ -2792,7 +2794,7 @@ "text": "SavedObjectEmbeddableInput" } ], - "path": "src/plugins/dashboard/common/dashboard_container/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2867,7 +2869,7 @@ "DashboardPanel", "[] | undefined; }" ], - "path": "src/plugins/dashboard/common/types.ts", + "path": "src/platform/plugins/shared/dashboard/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2881,7 +2883,7 @@ "tags": [], "label": "UI_SETTINGS", "description": [], - "path": "src/plugins/dashboard/common/index.ts", + "path": "src/platform/plugins/shared/dashboard/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2892,7 +2894,7 @@ "tags": [], "label": "ENABLE_LABS_UI", "description": [], - "path": "src/plugins/dashboard/common/index.ts", + "path": "src/platform/plugins/shared/dashboard/common/index.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index ce70a2406e9ba..c90f9b18b2c6b 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboard title: "dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboard plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboard'] --- import dashboardObj from './dashboard.devdocs.json'; diff --git a/api_docs/dashboard_enhanced.devdocs.json b/api_docs/dashboard_enhanced.devdocs.json index e983a159cfcf2..cea5cf0e0b3a6 100644 --- a/api_docs/dashboard_enhanced.devdocs.json +++ b/api_docs/dashboard_enhanced.devdocs.json @@ -43,7 +43,7 @@ }, ">" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -77,7 +77,7 @@ "text": "Params" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -92,7 +92,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false }, @@ -106,7 +106,7 @@ "signature": [ "() => string[]" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -132,7 +132,7 @@ "KibanaLocation", ">" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -152,7 +152,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -167,7 +167,7 @@ "signature": [ "Context" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -182,7 +182,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -200,7 +200,7 @@ "signature": [ "100" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false }, @@ -214,7 +214,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -230,7 +230,7 @@ "signature": [ "\"dashboardApp\"" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false }, @@ -268,7 +268,7 @@ }, ">>" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -313,7 +313,7 @@ "signature": [ "() => { useCurrentFilters: boolean; useCurrentDateRange: boolean; openInNewTab: boolean; dashboardId: string; }" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -344,7 +344,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -364,7 +364,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -390,7 +390,7 @@ }, ", context: Context) => Promise" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -410,7 +410,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -425,7 +425,7 @@ "signature": [ "Context" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -451,7 +451,7 @@ }, ", context: Context) => Promise" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -471,7 +471,7 @@ "text": "DashboardDrilldownConfig" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -486,7 +486,7 @@ "signature": [ "Context" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -519,7 +519,7 @@ }, ">" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false } @@ -536,7 +536,7 @@ "tags": [], "label": "Params", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -582,7 +582,7 @@ }, ">" ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -598,7 +598,7 @@ "tags": [], "label": "SetupDependencies", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -618,7 +618,7 @@ "text": "SetupContract" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -638,7 +638,7 @@ "text": "EmbeddableSetup" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -686,7 +686,7 @@ }, ") => void; }" ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -700,7 +700,7 @@ "tags": [], "label": "StartDependencies", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -720,7 +720,7 @@ "text": "StartContract" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -740,7 +740,7 @@ "text": "DataPublicPluginStart" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -760,7 +760,7 @@ "text": "EmbeddableStart" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -800,7 +800,7 @@ }, ">): void; }" ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -820,7 +820,7 @@ "text": "DashboardStart" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -847,7 +847,7 @@ "text": "DashboardDrilldownOptions" } ], - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -861,7 +861,7 @@ "tags": [], "label": "SetupContract", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -875,7 +875,7 @@ "tags": [], "label": "StartContract", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -894,7 +894,7 @@ "tags": [], "label": "SetupDependencies", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -914,7 +914,7 @@ "text": "UiActionsEnhancedServerSetup" } ], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -928,7 +928,7 @@ "tags": [], "label": "StartDependencies", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -942,7 +942,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -960,7 +960,7 @@ "tags": [], "label": "SetupContract", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -974,7 +974,7 @@ "tags": [], "label": "StartContract", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1019,7 +1019,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1030,7 +1030,7 @@ "tags": [], "label": "{\n drilldownId,\n}", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1041,7 +1041,7 @@ "tags": [], "label": "drilldownId", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false } @@ -1084,7 +1084,7 @@ "text": "SerializedEvent" } ], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1095,7 +1095,7 @@ "tags": [], "label": "{\n drilldownId,\n}", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1106,7 +1106,7 @@ "tags": [], "label": "drilldownId", "description": [], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts", "deprecated": false, "trackAdoption": false } @@ -1137,7 +1137,7 @@ "text": "DashboardDrilldownOptions" } ], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1149,12 +1149,12 @@ "tags": [], "label": "EMBEDDABLE_TO_DASHBOARD_DRILLDOWN", "description": [ - "\nNOTE: DO NOT CHANGE THIS STRING WITHOUT CAREFUL CONSIDERATOIN, BECAUSE IT IS\nSTORED IN SAVED OBJECTS.\n\nAlso temporary dashboard drilldown migration code inside embeddable plugin relies on it\nx-pack/plugins/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts" + "\nNOTE: DO NOT CHANGE THIS STRING WITHOUT CAREFUL CONSIDERATOIN, BECAUSE IT IS\nSTORED IN SAVED OBJECTS.\n\nAlso temporary dashboard drilldown migration code inside embeddable plugin relies on it\nx-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts" ], "signature": [ "\"DASHBOARD_TO_DASHBOARD_DRILLDOWN\"" ], - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 446d7803b67d2..de025ace9706a 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dashboardEnhanced title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the dashboardEnhanced plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dashboardEnhanced'] --- import dashboardEnhancedObj from './dashboard_enhanced.devdocs.json'; diff --git a/api_docs/data.devdocs.json b/api_docs/data.devdocs.json index 43325e817928c..5f9ea281e43c5 100644 --- a/api_docs/data.devdocs.json +++ b/api_docs/data.devdocs.json @@ -3917,11 +3917,11 @@ }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts" } ], "children": [ @@ -8089,18 +8089,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -8114,16 +8102,16 @@ "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "alerting", @@ -8134,24 +8122,16 @@ "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { "plugin": "osquery", @@ -8241,6 +8221,26 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" @@ -11746,15 +11746,15 @@ }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + "path": "src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx" }, { "plugin": "securitySolution", @@ -12326,11 +12326,11 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -18861,11 +18861,11 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -24654,18 +24654,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -24679,16 +24667,16 @@ "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "alerting", @@ -24699,24 +24687,16 @@ "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { "plugin": "osquery", @@ -24806,6 +24786,26 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 692507eb404b5..2accab4441131 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data title: "data" image: https://source.unsplash.com/400x175/?github description: API docs for the data plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data'] --- import dataObj from './data.devdocs.json'; diff --git a/api_docs/data_quality.mdx b/api_docs/data_quality.mdx index 214cff3a502aa..ab2729a0e6b31 100644 --- a/api_docs/data_quality.mdx +++ b/api_docs/data_quality.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataQuality title: "dataQuality" image: https://source.unsplash.com/400x175/?github description: API docs for the dataQuality plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataQuality'] --- import dataQualityObj from './data_quality.devdocs.json'; diff --git a/api_docs/data_query.devdocs.json b/api_docs/data_query.devdocs.json index fede5071491b0..1bd0c6dfebfdc 100644 --- a/api_docs/data_query.devdocs.json +++ b/api_docs/data_query.devdocs.json @@ -2158,11 +2158,11 @@ "references": [ { "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/url_state.ts" + "path": "x-pack/platform/plugins/private/monitoring/public/url_state.ts" }, { "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/url_state.ts" + "path": "x-pack/platform/plugins/private/monitoring/public/url_state.ts" } ], "returnComment": [], diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 6cf86b8cdc49a..94548824d484a 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-query title: "data.query" image: https://source.unsplash.com/400x175/?github description: API docs for the data.query plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query'] --- import dataQueryObj from './data_query.devdocs.json'; diff --git a/api_docs/data_search.devdocs.json b/api_docs/data_search.devdocs.json index 30bf89694ff0c..d919ab68e2b08 100644 --- a/api_docs/data_search.devdocs.json +++ b/api_docs/data_search.devdocs.json @@ -10465,11 +10465,11 @@ }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts" }, { "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + "path": "src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts" } ], "children": [ diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index d88981206dd3e..eacde08fdd44b 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/data-search title: "data.search" image: https://source.unsplash.com/400x175/?github description: API docs for the data.search plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.search'] --- import dataSearchObj from './data_search.devdocs.json'; diff --git a/api_docs/data_usage.mdx b/api_docs/data_usage.mdx index 8cb61f3d5c630..d1e110b91237a 100644 --- a/api_docs/data_usage.mdx +++ b/api_docs/data_usage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataUsage title: "dataUsage" image: https://source.unsplash.com/400x175/?github description: API docs for the dataUsage plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataUsage'] --- import dataUsageObj from './data_usage.devdocs.json'; diff --git a/api_docs/data_view_editor.mdx b/api_docs/data_view_editor.mdx index 208d6b7837c62..d8cfe68eb18f0 100644 --- a/api_docs/data_view_editor.mdx +++ b/api_docs/data_view_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewEditor title: "dataViewEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewEditor plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewEditor'] --- import dataViewEditorObj from './data_view_editor.devdocs.json'; diff --git a/api_docs/data_view_field_editor.mdx b/api_docs/data_view_field_editor.mdx index 1ad390ff11bdd..94c5ed0fcbdc4 100644 --- a/api_docs/data_view_field_editor.mdx +++ b/api_docs/data_view_field_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewFieldEditor title: "dataViewFieldEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewFieldEditor plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewFieldEditor'] --- import dataViewFieldEditorObj from './data_view_field_editor.devdocs.json'; diff --git a/api_docs/data_view_management.mdx b/api_docs/data_view_management.mdx index 3516ffd546ec6..8965895837abb 100644 --- a/api_docs/data_view_management.mdx +++ b/api_docs/data_view_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViewManagement title: "dataViewManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViewManagement plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViewManagement'] --- import dataViewManagementObj from './data_view_management.devdocs.json'; diff --git a/api_docs/data_views.devdocs.json b/api_docs/data_views.devdocs.json index 028f75ffeaca0..9fdf683875300 100644 --- a/api_docs/data_views.devdocs.json +++ b/api_docs/data_views.devdocs.json @@ -89,11 +89,11 @@ "references": [ { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -7963,11 +7963,11 @@ "references": [ { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -12148,7 +12148,9 @@ "\nA record of capabilities (aggregations) for an index rollup job" ], "signature": [ - "[index: string]: { aggs?: _.Dictionary<", + "[index: string]: { aggs?: ", + "Dictionary", + "<", { "pluginId": "dataViews", "scope": "common", @@ -13974,10 +13976,6 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "data", - "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" - }, { "plugin": "data", "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts" @@ -13991,12 +13989,16 @@ "path": "src/plugins/data/common/search/tabify/response_writer.ts" }, { - "plugin": "@kbn/search-errors", - "path": "packages/kbn-search-errors/src/painless_error.tsx" + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" }, { "plugin": "data", - "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" + }, + { + "plugin": "@kbn/search-errors", + "path": "packages/kbn-search-errors/src/painless_error.tsx" }, { "plugin": "savedObjectsManagement", @@ -14018,6 +14020,10 @@ "plugin": "unifiedSearch", "path": "src/plugins/unified_search/public/dataview_picker/change_dataview.tsx" }, + { + "plugin": "controls", + "path": "src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts" + }, { "plugin": "@kbn/unified-field-list", "path": "packages/kbn-unified-field-list/src/services/field_stats/load_field_stats.ts" @@ -14030,10 +14036,6 @@ "plugin": "@kbn/unified-field-list", "path": "packages/kbn-unified-field-list/src/hooks/use_existing_fields.ts" }, - { - "plugin": "controls", - "path": "src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts" - }, { "plugin": "lens", "path": "x-pack/plugins/lens/public/data_views_service/loader.ts" @@ -14054,10 +14056,6 @@ "plugin": "dataVisualizer", "path": "x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/hooks/use_data_visualizer_grid_data.ts" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/datasource/datasource_component.js" - }, { "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" @@ -14142,10 +14140,6 @@ "plugin": "@kbn/ml-data-view-utils", "path": "x-pack/platform/packages/private/ml/data_view_utils/actions/data_view_handler.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" @@ -14195,13 +14189,17 @@ "path": "x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/series_editor/columns/filter_value_btn.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" }, { "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/public/applications/analytics/utils/find_or_create_data_view.test.ts" }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js" + }, { "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_term_form.tsx" @@ -14226,6 +14224,10 @@ "plugin": "timelines", "path": "x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/index.ts" }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, { "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" @@ -14318,14 +14320,6 @@ "plugin": "eventAnnotationListing", "path": "src/plugins/event_annotation_listing/public/components/table_list.tsx" }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" - }, { "plugin": "visDefaultEditor", "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" @@ -14338,10 +14332,6 @@ "plugin": "visDefaultEditor", "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" - }, { "plugin": "visTypeTimelion", "path": "src/plugins/vis_types/timelion/public/helpers/arg_value_suggestions.ts" @@ -14421,6 +14411,18 @@ { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts" } ] }, @@ -16486,11 +16488,11 @@ "references": [ { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx" } ], "returnComment": [], @@ -26044,18 +26046,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -26069,16 +26059,16 @@ "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "alerting", @@ -26089,24 +26079,16 @@ "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { "plugin": "osquery", @@ -26196,6 +26178,26 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx index a386583b9e6cb..a47400fda9de5 100644 --- a/api_docs/data_views.mdx +++ b/api_docs/data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataViews title: "dataViews" image: https://source.unsplash.com/400x175/?github description: API docs for the dataViews plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] --- import dataViewsObj from './data_views.devdocs.json'; diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index b794814779c9a..8a528899c63a4 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/dataVisualizer title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github description: API docs for the dataVisualizer plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataVisualizer'] --- import dataVisualizerObj from './data_visualizer.devdocs.json'; diff --git a/api_docs/dataset_quality.mdx b/api_docs/dataset_quality.mdx index 55ae0cbf515b7..e0817c161b953 100644 --- a/api_docs/dataset_quality.mdx +++ b/api_docs/dataset_quality.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/datasetQuality title: "datasetQuality" image: https://source.unsplash.com/400x175/?github description: API docs for the datasetQuality plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'datasetQuality'] --- import datasetQualityObj from './dataset_quality.devdocs.json'; diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index b399b94b8ff31..21abdde54194d 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByApi slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -17,13 +17,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Referencing plugin(s) | Remove By | | ---------------|-----------|-----------| | | ml, stackAlerts | - | -| | data, @kbn/search-errors, savedObjectsManagement, unifiedSearch, @kbn/unified-field-list, controls, lens, @kbn/lens-embeddable-utils, triggersActionsUi, dataVisualizer, canvas, ml, enterpriseSearch, @kbn/ml-data-view-utils, fleet, graph, stackAlerts, upgradeAssistant, exploratoryView, maps, transform, securitySolution, timelines, visTypeTimeseries, uptime, ux, dataViewManagement, eventAnnotationListing, inputControlVis, visDefaultEditor, visTypeTimelion, visTypeVega | - | +| | data, @kbn/search-errors, savedObjectsManagement, unifiedSearch, controls, @kbn/unified-field-list, lens, @kbn/lens-embeddable-utils, triggersActionsUi, dataVisualizer, ml, enterpriseSearch, @kbn/ml-data-view-utils, graph, stackAlerts, upgradeAssistant, exploratoryView, fleet, canvas, transform, securitySolution, timelines, maps, visTypeTimeseries, uptime, ux, dataViewManagement, eventAnnotationListing, visDefaultEditor, visTypeTimelion, visTypeVega, inputControlVis | - | | | ml, securitySolution | - | | | actions, ml, savedObjectsTagging, enterpriseSearch | - | -| | @kbn/core-http-router-server-internal, @kbn/core-http-server-internal, @kbn/core-metrics-server-internal, @kbn/core-status-server-internal, @kbn/core-i18n-server-internal, @kbn/core-rendering-server-internal, @kbn/core-capabilities-server-internal, @kbn/core-apps-server-internal, usageCollection, taskManager, security, monitoringCollection, files, banners, telemetry, cloudFullStory, customBranding, enterpriseSearch, securitySolution, @kbn/test-suites-xpack, interactiveSetup, mockIdpPlugin, spaces, ml | - | -| | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core, visualizations, aiops, dataVisualizer, dashboardEnhanced, ml, graph, lens, securitySolution, eventAnnotation | - | -| | @kbn/core, savedObjects, visualizations, canvas, graph, ml | - | -| | @kbn/core-saved-objects-base-server-internal, @kbn/core-saved-objects-migration-server-internal, @kbn/core-saved-objects-server-internal, @kbn/core-ui-settings-server-internal, @kbn/core-usage-data-server-internal, taskManager, dataViews, spaces, share, actions, data, alerting, dashboard, @kbn/core-saved-objects-migration-server-mocks, savedSearch, canvas, lens, cases, ml, fleet, graph, maps, apmDataAccess, apm, lists, securitySolution, visualizations, infra, slo, synthetics, uptime, cloudSecurityPosture, eventAnnotation, links, savedObjectsManagement, @kbn/core-test-helpers-so-type-serializer, @kbn/core-saved-objects-api-server-internal | - | +| | @kbn/core-http-router-server-internal, @kbn/core-http-server-internal, @kbn/core-metrics-server-internal, @kbn/core-status-server-internal, @kbn/core-i18n-server-internal, @kbn/core-rendering-server-internal, @kbn/core-capabilities-server-internal, @kbn/core, usageCollection, taskManager, security, monitoringCollection, banners, files, telemetry, cloudFullStory, customBranding, enterpriseSearch, securitySolution, @kbn/test-suites-xpack, interactiveSetup, mockIdpPlugin, spaces, ml | - | +| | @kbn/core-saved-objects-browser-internal, @kbn/core, visualizations, aiops, dataVisualizer, ml, graph, lens, dashboardEnhanced, securitySolution, eventAnnotation, @kbn/core-saved-objects-browser-mocks | - | +| | @kbn/core, savedObjects, visualizations, graph, canvas, ml | - | +| | @kbn/core-saved-objects-base-server-internal, @kbn/core-saved-objects-migration-server-internal, @kbn/core-saved-objects-server-internal, @kbn/core-ui-settings-server-internal, @kbn/core-usage-data-server-internal, taskManager, spaces, actions, @kbn/core-saved-objects-migration-server-mocks, dataViews, share, data, alerting, dashboard, lens, cases, ml, graph, savedSearch, apmDataAccess, fleet, apm, canvas, maps, lists, securitySolution, visualizations, infra, slo, synthetics, uptime, cloudSecurityPosture, eventAnnotation, savedObjectsManagement, links, @kbn/core-test-helpers-so-type-serializer, @kbn/core-saved-objects-api-server-internal | - | | | stackAlerts, alerting, securitySolution, inputControlVis | - | | | graph, stackAlerts, inputControlVis, securitySolution | - | | | dataVisualizer, stackAlerts, expressionPartitionVis | - | @@ -34,8 +34,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | ruleRegistry, securitySolution, slo | - | | | security, actions, alerting, ruleRegistry, files, cases, fleet, securitySolution | - | | | alerting, securitySolution | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, fleet, graph, alerting, osquery, securitySolution, lists | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, fleet, graph, alerting, osquery, securitySolution, lists | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, graph, fleet, alerting, osquery, securitySolution, lists | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, graph, fleet, alerting, osquery, securitySolution, lists | - | | | alerting, securitySolution | - | | | securitySolution | - | | | securitySolution, synthetics, cloudDefend | - | @@ -47,10 +47,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/securitysolution-data-table, securitySolution | - | | | securitySolution | - | | | securitySolution | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, fleet, graph, alerting, osquery, securitySolution, lists | - | -| | @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, @kbn/core, @kbn/alerting-types, alerting, actions, savedSearch, canvas, enterpriseSearch, taskManager, securitySolution, @kbn/core-saved-objects-server-internal, @kbn/core-saved-objects-api-server | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core-saved-objects-browser-mocks, @kbn/core, savedObjectsTagging, home, canvas, savedObjectsTaggingOss, upgradeAssistant, securitySolution, lists, savedObjectsManagement, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-ui-settings-server-internal | - | -| | @kbn/core-saved-objects-migration-server-internal, dataViews, actions, data, alerting, dashboard, savedSearch, canvas, lens, cases, savedObjectsTagging, graph, maps, lists, securitySolution, visualizations, @kbn/core-test-helpers-so-type-serializer | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-import-export-server-internal, @kbn/core-saved-objects-server-internal, graph, fleet, alerting, osquery, securitySolution, lists | - | +| | @kbn/core-saved-objects-common, @kbn/core-saved-objects-server, @kbn/core, actions, @kbn/alerting-types, alerting, enterpriseSearch, savedSearch, taskManager, canvas, securitySolution, @kbn/core-saved-objects-server-internal, @kbn/core-saved-objects-api-server | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-api-server, @kbn/core, home, savedObjectsTagging, canvas, @kbn/core-saved-objects-browser-mocks, @kbn/core-saved-objects-import-export-server-internal, savedObjectsTaggingOss, upgradeAssistant, securitySolution, lists, savedObjectsManagement, @kbn/core-ui-settings-server-internal | - | +| | @kbn/core-saved-objects-migration-server-internal, actions, dataViews, data, alerting, dashboard, lens, cases, graph, savedSearch, savedObjectsTagging, canvas, maps, lists, securitySolution, visualizations, @kbn/core-test-helpers-so-type-serializer | - | | | integrationAssistant, @kbn/ecs-data-quality-dashboard, securitySolution, observabilityAIAssistantApp | - | | | security, cloudLinks, securitySolution, cases | - | | | security, cases, searchPlayground, securitySolution | - | @@ -68,12 +68,12 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | securitySolution | - | | | @kbn/monaco, securitySolution | - | | | cloudSecurityPosture, securitySolution | - | -| | alerting, observabilityAIAssistant, fleet, serverlessSearch, upgradeAssistant, entityManager, transform, synthetics, cloudSecurityPosture, security | - | +| | alerting, observabilityAIAssistant, serverlessSearch, upgradeAssistant, fleet, entityManager, transform, synthetics, cloudSecurityPosture, security | - | | | actions, alerting | - | | | monitoring | - | -| | monitoring, observabilityShared | - | -| | @kbn/core-saved-objects-api-browser, @kbn/core, savedObjectsManagement, savedObjects, visualizations, savedObjectsTagging, eventAnnotation, lens, maps, graph, dashboard, kibanaUtils, expressions, data, savedObjectsTaggingOss, embeddable, uiActionsEnhanced, controls, canvas, dashboardEnhanced, globalSearchProviders | - | -| | @kbn/core-saved-objects-browser, @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core, home, visualizations, lens, visTypeTimeseries | - | +| | observabilityShared, monitoring | - | +| | @kbn/core-saved-objects-api-browser, @kbn/core, savedObjectsManagement, savedObjects, visualizations, savedObjectsTagging, eventAnnotation, lens, maps, graph, dashboard, kibanaUtils, expressions, data, savedObjectsTaggingOss, embeddable, uiActionsEnhanced, controls, globalSearchProviders, canvas, dashboardEnhanced | - | +| | @kbn/core-saved-objects-browser, @kbn/core-saved-objects-browser-internal, @kbn/core, home, visualizations, lens, visTypeTimeseries, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core-saved-objects-browser-mocks, home, @kbn/core-saved-objects-browser-internal | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, visualizations | - | @@ -94,27 +94,27 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | -| | @kbn/core-saved-objects-browser-internal, @kbn/core, spaces, savedSearch, visualizations, lens, cases, maps, canvas, graph | - | +| | @kbn/core-saved-objects-browser-internal, @kbn/core, spaces, cases, savedSearch, visualizations, lens, maps, graph, canvas | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal, @kbn/core | - | | | @kbn/core-saved-objects-browser-internal | - | -| | @kbn/core-saved-objects-browser-internal, @kbn/core-saved-objects-browser-mocks, @kbn/core-lifecycle-browser, @kbn/core, visualizations, exploratoryView, transform | - | -| | @kbn/core-saved-objects-browser-mocks, @kbn/core-root-browser-internal | - | +| | @kbn/core-lifecycle-browser, @kbn/core-saved-objects-browser-internal, @kbn/core, visualizations, exploratoryView, transform, @kbn/core-saved-objects-browser-mocks | - | +| | @kbn/core-root-browser-internal, @kbn/core-saved-objects-browser-mocks | - | | | @kbn/core-saved-objects-api-server-internal | - | | | @kbn/core-saved-objects-api-server-internal | - | | | @kbn/core-saved-objects-api-server-internal, canvas | - | | | @kbn/core-saved-objects-api-server-internal, @kbn/core-saved-objects-migration-server-internal, spaces, data, dashboard, savedSearch, visualizations, cloudSecurityPosture, @kbn/core-test-helpers-so-type-serializer | - | -| | fleet, exploratoryView, osquery, synthetics | - | -| | @kbn/security-plugin-types-server, telemetry, fleet, profiling, @kbn/security-authorization-core, security | - | -| | @kbn/core-application-browser-internal, @kbn/core-application-browser-mocks, management, fleet, security, assetInventory, kibanaOverview, @kbn/core | - | | | graph, visTypeTimeseries, dataViewManagement, dataViews | - | | | graph, visTypeTimeseries, dataViewManagement, dataViews | - | | | graph, visTypeTimeseries, dataViewManagement | - | | | visualizations, graph | - | +| | exploratoryView, fleet, osquery, synthetics | - | +| | @kbn/security-plugin-types-server, telemetry, fleet, profiling, @kbn/security-authorization-core, security | - | +| | @kbn/core, @kbn/core-application-browser-mocks, management, fleet, security, kibanaOverview | - | | | kubernetesSecurity, osquery, threatIntelligence | - | -| | @kbn/core-plugins-browser-internal, @kbn/core-root-browser-internal, home, unifiedSearch, visualizations, fileUpload, dashboardEnhanced, transform, discover, dataVisualizer | - | +| | @kbn/core-plugins-browser-internal, @kbn/core-root-browser-internal, home, unifiedSearch, visualizations, fileUpload, transform, dashboardEnhanced, discover, dataVisualizer | - | | | dataViews, maps | - | | | dataViews, dataViewManagement | - | | | dataViews, dataViewManagement | - | @@ -131,6 +131,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | unifiedSearch | - | | | unifiedSearch | - | | | @kbn/core, lens | - | +| | enterpriseSearch | - | +| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, enterpriseSearch, observabilityOnboarding, console | - | | | canvas | - | | | canvas | - | | | canvas | - | @@ -141,8 +143,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | canvas | - | | | canvas | - | | | canvas | - | -| | enterpriseSearch | - | -| | @kbn/core-elasticsearch-server-internal, @kbn/core-plugins-server-internal, enterpriseSearch, observabilityOnboarding, console | - | | | uiActionsEnhanced | - | | | visTypeGauge | - | | | visTypePie | - | @@ -154,8 +154,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | indexLifecycleManagement | - | | | dashboard | - | | | dashboard | - | -| | @kbn/reporting-public, discover | - | -| | discover, @kbn/management-settings-field-definition | - | +| | discover, @kbn/reporting-public | - | +| | @kbn/management-settings-field-definition, discover | - | | | @kbn/content-management-table-list-view, filesManagement | - | | | @kbn/core | - | | | @kbn/core | - | @@ -169,10 +169,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | reporting | - | | | reporting | - | | | @kbn/reporting-export-types-pdf | - | -| | security, aiops, licenseManagement, ml, logstash, crossClusterReplication, painlessLab, watcher, searchprofiler, slo | 8.8.0 | +| | security, aiops, licenseManagement, ml, crossClusterReplication, logstash, painlessLab, watcher, searchprofiler, slo | 8.8.0 | | | spaces, security, actions, alerting, ml, graph, upgradeAssistant, remoteClusters, indexLifecycleManagement, painlessLab, rollup, snapshotRestore, transform, aiops, osquery, securitySolution, searchprofiler | 8.8.0 | -| | fleet, apm, security, securitySolution | 8.8.0 | -| | fleet, apm, security, securitySolution | 8.8.0 | +| | apm, security, fleet, securitySolution | 8.8.0 | +| | apm, security, fleet, securitySolution | 8.8.0 | | | spaces, @kbn/security-authorization-core, security, alerting, cases, @kbn/security-role-management-model | 8.8.0 | | | presentationUtil, visualizations, lens, dashboard, discover, graph, links | 8.8.0 | | | security, @kbn/security-role-management-model | 8.8.0 | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index aaceca125b600..e89c0af346944 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsByPlugin slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin description: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -32,7 +32,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [mocks.ts](https://github.com/elastic/kibana/tree/main/src/core/public/mocks.ts#:~:text=appBasePath) | - | +| | [app_container.tsx](https://github.com/elastic/kibana/tree/main/src/core/packages/application/browser-internal/src/ui/app_container.tsx#:~:text=appBasePath), [mocks.ts](https://github.com/elastic/kibana/tree/main/src/core/public/mocks.ts#:~:text=appBasePath) | - | +| | [bundles_route.ts](https://github.com/elastic/kibana/tree/main/src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts#:~:text=authRequired), [core_app.ts](https://github.com/elastic/kibana/tree/main/src/core/packages/apps/server-internal/src/core_app.ts#:~:text=authRequired), [core_app.ts](https://github.com/elastic/kibana/tree/main/src/core/packages/apps/server-internal/src/core_app.ts#:~:text=authRequired) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=SavedObjectsClientContract) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=SimpleSavedObject) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/src/core/public/index.ts#:~:text=SavedObjectsCreateOptions) | - | @@ -59,14 +60,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] -## @kbn/core-application-browser-internal - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [app_container.tsx](https://github.com/elastic/kibana/tree/main/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx#:~:text=appBasePath) | - | - - - ## @kbn/core-application-browser-mocks | Deprecated API | Reference location(s) | Remove By | @@ -75,14 +68,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] -## @kbn/core-apps-server-internal - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [bundles_route.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts#:~:text=authRequired), [core_app.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-server-internal/src/core_app.ts#:~:text=authRequired), [core_app.ts](https://github.com/elastic/kibana/tree/main/packages/core/apps/core-apps-server-internal/src/core_app.ts#:~:text=authRequired) | - | - - - ## @kbn/core-capabilities-server-internal | Deprecated API | Reference location(s) | Remove By | @@ -567,7 +552,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/lib/license_state.test.ts#:~:text=license%24), [license_state.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/lib/license_state.test.ts#:~:text=license%24) | 8.8.0 | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=authz) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=index) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes)+ 20 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes), [update.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/update/update.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts#:~:text=SavedObjectAttributes), [create.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/application/connector/methods/create/create.ts#:~:text=SavedObjectAttributes)+ 20 more | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/saved_objects/index.ts#:~:text=migrations) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=audit), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/actions/server/plugin.ts#:~:text=audit) | - | @@ -607,7 +592,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client_factory.ts#:~:text=authc), [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=authc), [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client_factory.ts#:~:text=authc), [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=authc), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/plugin.ts#:~:text=authc) | - | | | [task.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/usage/task.ts#:~:text=index) | - | | | [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion), [retrieve_migrated_legacy_actions.mock.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts#:~:text=migrationVersion) | - | -| | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes)+ 14 more | - | +| | [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [rule.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/common/rule.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [migrations.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [inject_references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/types.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts#:~:text=SavedObjectAttributes)+ 14 more | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/index.ts#:~:text=migrations) | - | | | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/saved_objects/index.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | | | [rules_client_factory.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/alerting/server/rules_client_factory.ts#:~:text=audit) | - | @@ -632,14 +617,6 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] -## assetInventory - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/security/plugins/asset_inventory/public/application.tsx#:~:text=appBasePath) | - | - - - ## banners | Deprecated API | Reference location(s) | Remove By | @@ -652,25 +629,25 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [datasource_component.js](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/datasource/datasource_component.js#:~:text=title) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | -| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | -| | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | -| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getTypes), [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/application.tsx#:~:text=getTypes), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getTypes) | - | -| | [markdown.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [markdown.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/types/state.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/types/state.ts#:~:text=Render), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/functions/plot/index.ts#:~:text=Render), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/functions/plot/index.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/functions/pie.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/functions/pie.ts#:~:text=Render), [table.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts#:~:text=Render), [table.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts#:~:text=Render)+ 2 more | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | -| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | -| | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | -| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getTypes), [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/application.tsx#:~:text=getTypes), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/functions/functions.ts#:~:text=getTypes) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | -| | [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject) | - | -| | [workpad_route_context.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/workpad_route_context.ts#:~:text=migrationVersion) | - | -| | [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [has_workpads.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts#:~:text=SavedObjectAttributes), [has_workpads.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes)+ 2 more | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=SavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts#:~:text=SavedObject), [use_upload_workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts#:~:text=SavedObject), [use_upload_workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts#:~:text=SavedObject) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes) | - | -| | [saved_lens.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=SavedObjectReference), [saved_lens.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=SavedObjectReference), [saved_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts#:~:text=SavedObjectReference), [saved_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts#:~:text=SavedObjectReference), [saved_search.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts#:~:text=SavedObjectReference), [saved_search.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts#:~:text=SavedObjectReference), [saved_visualization.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts#:~:text=SavedObjectReference), [saved_visualization.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts#:~:text=SavedObjectReference), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=SavedObjectReference), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=SavedObjectReference) | - | -| | [workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/workpad.ts#:~:text=migrations), [custom_element.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/custom_element.ts#:~:text=migrations), [workpad_template.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/workpad_template.ts#:~:text=migrations) | - | -| | [workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/workpad.ts#:~:text=convertToMultiNamespaceTypeVersion), [custom_element.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/canvas/server/saved_objects/custom_element.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [datasource_component.js](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js#:~:text=title) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | +| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | +| | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | +| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts#:~:text=getTypes), [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/application.tsx#:~:text=getTypes), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getTypes) | - | +| | [markdown.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [markdown.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/types/state.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/types/state.ts#:~:text=Render), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts#:~:text=Render), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/functions/pie.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/functions/pie.ts#:~:text=Render), [table.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts#:~:text=Render), [table.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts#:~:text=Render)+ 2 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | +| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | +| | [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getFunctions), [functions.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts#:~:text=getFunctions) | - | +| | [setup_expressions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts#:~:text=getTypes), [application.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/application.tsx#:~:text=getTypes), [functions.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts#:~:text=getTypes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [filters.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/common/functions/filters.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context) | - | +| | [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=ResolvedSimpleSavedObject) | - | +| | [workpad_route_context.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts#:~:text=migrationVersion) | - | +| | [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [has_workpads.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts#:~:text=SavedObjectAttributes), [has_workpads.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes), [find.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts#:~:text=SavedObjectAttributes)+ 2 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts#:~:text=SavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=SavedObject), [canvas_workpad_service.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts#:~:text=SavedObject), [use_upload_workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts#:~:text=SavedObject), [use_upload_workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts#:~:text=SavedObject) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts#:~:text=SavedObjectAttributes) | - | +| | [saved_lens.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=SavedObjectReference), [saved_lens.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=SavedObjectReference), [saved_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts#:~:text=SavedObjectReference), [saved_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts#:~:text=SavedObjectReference), [saved_search.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts#:~:text=SavedObjectReference), [saved_search.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts#:~:text=SavedObjectReference), [saved_visualization.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts#:~:text=SavedObjectReference), [saved_visualization.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts#:~:text=SavedObjectReference), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=SavedObjectReference), [embeddable.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts#:~:text=SavedObjectReference) | - | +| | [workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts#:~:text=migrations), [custom_element.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts#:~:text=migrations), [workpad_template.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts#:~:text=migrations) | - | +| | [workpad.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts#:~:text=convertToMultiNamespaceTypeVersion), [custom_element.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | @@ -737,8 +714,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [options_list_fetch_cache.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts#:~:text=title) | - | -| | [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [time_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/controls/server/time_slider/time_slider_persistable_state.ts#:~:text=SavedObjectReference)+ 2 more | - | +| | [options_list_fetch_cache.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts#:~:text=title) | - | +| | [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [control_group_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [options_list_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [range_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts#:~:text=SavedObjectReference), [time_slider_persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts#:~:text=SavedObjectReference)+ 2 more | - | @@ -762,14 +739,14 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | -| | [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/common/bwc/types.ts#:~:text=SavedObjectReference), [types.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/common/bwc/types.ts#:~:text=SavedObjectReference) | - | -| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=migrations) | - | -| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=schemas) | - | -| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | -| | [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms) | - | -| | [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=HasLegacyLibraryTransforms) | - | -| | [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=HasLibraryTransforms), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=HasLibraryTransforms), [unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx#:~:text=HasLibraryTransforms), [unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx#:~:text=HasLibraryTransforms) | - | +| | [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | +| | [types.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/common/bwc/types.ts#:~:text=SavedObjectReference), [types.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/common/bwc/types.ts#:~:text=SavedObjectReference) | - | +| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=migrations) | - | +| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=schemas) | - | +| | [dashboard_saved_object.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=apiHasLegacyLibraryTransforms) | - | +| | [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=HasLegacyLibraryTransforms), [legacy_unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx#:~:text=HasLegacyLibraryTransforms) | - | +| | [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=HasLibraryTransforms), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=HasLibraryTransforms), [unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx#:~:text=HasLibraryTransforms), [unlink_from_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx#:~:text=HasLibraryTransforms) | - | @@ -777,11 +754,11 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=savedObjects), [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=savedObjects) | - | -| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=find) | - | -| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=get) | - | -| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=SimpleSavedObject), [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=SimpleSavedObject) | - | -| | [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference), [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference), [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference) | - | +| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=savedObjects), [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=savedObjects) | - | +| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=find) | - | +| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=get) | - | +| | [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=SimpleSavedObject), [collect_config_container.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx#:~:text=SimpleSavedObject) | - | +| | [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference), [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference), [dashboard_drilldown_persistable_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts#:~:text=SavedObjectReference) | - | @@ -789,7 +766,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [get_display_value.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/public/query/filter_manager/lib/get_display_value.ts#:~:text=title), [get_search_params.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/search_source/fetch/get_search_params.ts#:~:text=title), [inspector_stats.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts#:~:text=title), [response_writer.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/tabify/response_writer.ts#:~:text=title), [field.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/param_types/field.ts#:~:text=title), [agg_config.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=title), [_terms_other_bucket_helper.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts#:~:text=title), [multi_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts#:~:text=title), [multi_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts#:~:text=title), [rare_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/rare_terms.test.ts#:~:text=title)+ 3 more | - | +| | [get_search_params.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/search_source/fetch/get_search_params.ts#:~:text=title), [inspector_stats.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/search_source/inspect/inspector_stats.ts#:~:text=title), [response_writer.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/tabify/response_writer.ts#:~:text=title), [field.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/param_types/field.ts#:~:text=title), [get_display_value.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/public/query/filter_manager/lib/get_display_value.ts#:~:text=title), [agg_config.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=title), [_terms_other_bucket_helper.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts#:~:text=title), [multi_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts#:~:text=title), [multi_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/multi_terms.test.ts#:~:text=title), [rare_terms.test.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/search/aggs/buckets/rare_terms.test.ts#:~:text=title)+ 3 more | - | | | [data_table.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx#:~:text=executeTriggerActions), [data_table.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx#:~:text=executeTriggerActions) | - | | | [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/filters/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/filters/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/filters/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/persistable_state.ts#:~:text=SavedObjectReference), [persistable_state.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/common/query/persistable_state.ts#:~:text=SavedObjectReference) | - | | | [query.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/server/saved_objects/query.ts#:~:text=migrations), [search_telemetry.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/server/saved_objects/search_telemetry.ts#:~:text=migrations), [search_session.ts](https://github.com/elastic/kibana/tree/main/src/plugins/data/server/search/saved_objects/search_session.ts#:~:text=migrations) | - | @@ -860,7 +837,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/plugins/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference) | - | +| | [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [migrate_base_input.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference), [inject.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/embeddable/common/lib/inject.ts#:~:text=SavedObjectReference) | - | @@ -941,7 +918,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [kibana_services.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/file_upload/public/kibana_services.ts#:~:text=savedObjects) | - | +| | [kibana_services.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/file_upload/public/kibana_services.ts#:~:text=savedObjects) | - | @@ -966,18 +943,18 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion) | - | -| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion)+ 6 more | - | -| | [query_bar.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=title) | - | -| | [use_get_logs_discover_link.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx#:~:text=indexPatternId) | - | -| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | -| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | -| | [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/api_keys/security.ts#:~:text=authc), [transform_api_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts#:~:text=authc), [fleet_server_policies_enrollment_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts#:~:text=authc), [handlers.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/routes/setup/handlers.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/api_keys/security.ts#:~:text=authc), [transform_api_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts#:~:text=authc), [fleet_server_policies_enrollment_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts#:~:text=authc)+ 4 more | - | -| | [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/security/security.ts#:~:text=get)+ 18 more | - | -| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | - | -| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion)+ 6 more | - | -| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/saved_objects/index.ts#:~:text=migrations) | - | -| | [audit_logging.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/audit_logging.ts#:~:text=audit), [audit_logging.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/audit_logging.ts#:~:text=audit) | - | +| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion) | - | +| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion)+ 6 more | - | +| | [query_bar.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=title) | - | +| | [use_get_logs_discover_link.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx#:~:text=indexPatternId) | - | +| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| | [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts#:~:text=authc), [transform_api_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts#:~:text=authc), [fleet_server_policies_enrollment_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts#:~:text=authc), [handlers.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [handlers.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts#:~:text=authc), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts#:~:text=authc), [transform_api_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts#:~:text=authc), [fleet_server_policies_enrollment_keys.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts#:~:text=authc)+ 4 more | - | +| | [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get), [security.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts#:~:text=get)+ 18 more | - | +| | [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/public/applications/integrations/index.tsx#:~:text=appBasePath) | - | +| | [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [get.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts#:~:text=migrationVersion), [install.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion), [install.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts#:~:text=migrationVersion)+ 6 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations), [index.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts#:~:text=migrations) | - | +| | [audit_logging.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts#:~:text=audit), [audit_logging.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts#:~:text=audit) | - | @@ -1054,10 +1031,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=indexPatterns), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=indexPatterns), [controls_tab.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx#:~:text=indexPatterns) | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=title), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=title), [get_index_pattern_mock.ts](https://github.com/elastic/kibana/tree/main/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts#:~:text=title) | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts#:~:text=indexPatterns), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts#:~:text=indexPatterns), [controls_tab.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx#:~:text=indexPatterns) | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts#:~:text=title), [range_control_factory.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts#:~:text=title), [get_index_pattern_mock.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts#:~:text=title) | - | @@ -1138,8 +1115,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | -| | [links.ts](https://github.com/elastic/kibana/tree/main/src/plugins/links/server/saved_objects/links.ts#:~:text=migrations) | - | +| | [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | +| | [links.ts](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/server/saved_objects/links.ts#:~:text=migrations) | - | @@ -1164,7 +1141,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/logstash/public/plugin.ts#:~:text=license%24) | 8.8.0 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/logstash/public/plugin.ts#:~:text=license%24) | 8.8.0 | @@ -1180,16 +1157,16 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | -| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | -| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | -| | [es_tooltip_property.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts#:~:text=title) | - | -| | [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable), [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable), [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable) | - | -| | [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject) | - | -| | [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=SavedObjectReference), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=SavedObjectReference), [save_to_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts#:~:text=SavedObjectReference), [save_to_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/common/migrations/references.ts#:~:text=SavedObjectReference) | - | -| | [setup_saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts#:~:text=migrations) | - | -| | [setup_saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/react_embeddable/types.ts#:~:text=HasLibraryTransforms), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/react_embeddable/types.ts#:~:text=HasLibraryTransforms), [library_transforms.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/react_embeddable/library_transforms.ts#:~:text=HasLibraryTransforms), [library_transforms.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/maps/public/react_embeddable/library_transforms.ts#:~:text=HasLibraryTransforms) | - | +| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | +| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | +| | [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit), [es_search_source.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=flattenHit) | - | +| | [es_tooltip_property.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts#:~:text=title) | - | +| | [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable), [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable), [is_legacy_map.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts#:~:text=VisualizeEmbeddable) | - | +| | [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=ResolvedSimpleSavedObject) | - | +| | [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=SavedObjectReference), [load_from_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts#:~:text=SavedObjectReference), [save_to_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts#:~:text=SavedObjectReference), [save_to_library.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference), [references.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/common/migrations/references.ts#:~:text=SavedObjectReference) | - | +| | [setup_saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts#:~:text=migrations) | - | +| | [setup_saved_objects.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts#:~:text=convertToMultiNamespaceTypeVersion) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts#:~:text=HasLibraryTransforms), [types.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts#:~:text=HasLibraryTransforms), [library_transforms.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts#:~:text=HasLibraryTransforms), [library_transforms.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts#:~:text=HasLibraryTransforms) | - | @@ -1222,8 +1199,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl), [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl) | - | -| | [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint), [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint) | - | +| | [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl), [url_state.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/public/url_state.ts#:~:text=syncQueryStateWithUrl) | - | +| | [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint), [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint) | - | @@ -1231,7 +1208,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [get_metrics_by_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts#:~:text=authRequired), [get_metrics.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts#:~:text=authRequired) | - | +| | [get_metrics_by_type.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts#:~:text=authRequired), [get_metrics.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts#:~:text=authRequired) | - | @@ -1271,7 +1248,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint), [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint) | - | +| | [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint), [header_menu_portal.tsx](https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx#:~:text=toMountPoint) | - | @@ -1301,7 +1278,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | +| | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index a4ca61d0e01ad..f6549e7fd71bb 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -7,7 +7,7 @@ id: kibDevDocsDeprecationsDueByTeam slug: /kibana-dev-docs/api-meta/deprecations-due-by-team title: Deprecated APIs due to be removed, by team description: Lists the teams that are referencing deprecated APIs with a remove by date. -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -16,8 +16,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | -| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | +| fleet | | [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode), [agent_policy_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts#:~:text=mode) | 8.8.0 | @@ -50,7 +50,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| presentationUtil | | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/plugins/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | +| presentationUtil | | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [add_to_library_action.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal), [save_to_library.tsx](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/links/public/content_management/save_to_library.tsx#:~:text=SavedObjectSaveModal) | 8.8.0 | @@ -88,7 +88,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Plugin | Deprecated API | Reference location(s) | Remove By | | --------|-------|-----------|-----------| -| logstash | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/logstash/public/plugin.ts#:~:text=license%24) | 8.8.0 | +| logstash | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/logstash/public/plugin.ts#:~:text=license%24) | 8.8.0 | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 91231dd48fa52..3cfed3c691b73 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/devTools title: "devTools" image: https://source.unsplash.com/400x175/?github description: API docs for the devTools plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'devTools'] --- import devToolsObj from './dev_tools.devdocs.json'; diff --git a/api_docs/discover.devdocs.json b/api_docs/discover.devdocs.json index fe9734b3de457..4dd98469394fc 100644 --- a/api_docs/discover.devdocs.json +++ b/api_docs/discover.devdocs.json @@ -840,13 +840,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "src/plugins/discover/public/build_services.ts", "deprecated": false, @@ -1090,13 +1084,7 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | undefined" ], "path": "src/plugins/discover/public/build_services.ts", @@ -1145,7 +1133,7 @@ }, " | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -3384,13 +3372,7 @@ "text": "DiscoverServices" }, ">; scopedHistory: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; customizationCallbacks: ", { "pluginId": "discover", @@ -4730,14 +4712,14 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx" - }, { "plugin": "exploratoryView", "path": "x-pack/solutions/observability/plugins/exploratory_view/public/components/shared/exploratory_view/hooks/use_discover_link.tsx" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx" + }, { "plugin": "osquery", "path": "x-pack/platform/plugins/shared/osquery/public/packs/pack_queries_status_table.tsx" diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 4e321e1d92711..50464159156ec 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discover title: "discover" image: https://source.unsplash.com/400x175/?github description: API docs for the discover plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discover'] --- import discoverObj from './discover.devdocs.json'; diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index 1bd1da49497e4..f9515eabb128e 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverEnhanced title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverEnhanced plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverEnhanced'] --- import discoverEnhancedObj from './discover_enhanced.devdocs.json'; diff --git a/api_docs/discover_shared.mdx b/api_docs/discover_shared.mdx index ee9ab893c7c41..ef7c59247d73d 100644 --- a/api_docs/discover_shared.mdx +++ b/api_docs/discover_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/discoverShared title: "discoverShared" image: https://source.unsplash.com/400x175/?github description: API docs for the discoverShared plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'discoverShared'] --- import discoverSharedObj from './discover_shared.devdocs.json'; diff --git a/api_docs/ecs_data_quality_dashboard.mdx b/api_docs/ecs_data_quality_dashboard.mdx index 8dd727f0926aa..4ae0c6cfe20ba 100644 --- a/api_docs/ecs_data_quality_dashboard.mdx +++ b/api_docs/ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ecsDataQualityDashboard title: "ecsDataQualityDashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the ecsDataQualityDashboard plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ecsDataQualityDashboard'] --- import ecsDataQualityDashboardObj from './ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/elastic_assistant.devdocs.json b/api_docs/elastic_assistant.devdocs.json index 32dc636af1e75..4695c885b9256 100644 --- a/api_docs/elastic_assistant.devdocs.json +++ b/api_docs/elastic_assistant.devdocs.json @@ -1685,7 +1685,7 @@ "section": "def-server.KibanaRequest", "text": "KibanaRequest" }, - " | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; } | { subAction: \"invokeAI\" | \"invokeStream\"; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; endpointIds: string[]; insightType: \"incompatible_antivirus\" | \"noisy_process_tree\"; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }, any>" + " | undefined; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; } | { subAction: \"invokeAI\" | \"invokeStream\"; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; endpointIds: string[]; insightType: \"incompatible_antivirus\" | \"noisy_process_tree\"; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }, any>" ], "path": "x-pack/solutions/security/plugins/elastic_assistant/server/types.ts", "deprecated": false, @@ -1713,13 +1713,7 @@ "label": "telemetry", "description": [], "signature": [ - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", " | undefined" ], "path": "x-pack/solutions/security/plugins/elastic_assistant/server/types.ts", diff --git a/api_docs/elastic_assistant.mdx b/api_docs/elastic_assistant.mdx index 0a59c45e3f7dc..d8e45fba86520 100644 --- a/api_docs/elastic_assistant.mdx +++ b/api_docs/elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/elasticAssistant title: "elasticAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the elasticAssistant plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'elasticAssistant'] --- import elasticAssistantObj from './elastic_assistant.devdocs.json'; diff --git a/api_docs/embeddable.devdocs.json b/api_docs/embeddable.devdocs.json index b1ff29181380d..d5a2d3a3eb310 100644 --- a/api_docs/embeddable.devdocs.json +++ b/api_docs/embeddable.devdocs.json @@ -27,7 +27,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -38,7 +38,7 @@ "tags": [], "label": "runtimeId", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -49,7 +49,7 @@ "tags": [], "label": "runtimeId", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -60,7 +60,7 @@ "tags": [], "label": "deferEmbeddableLoad", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -71,7 +71,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -82,7 +82,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -96,7 +96,7 @@ "signature": [ "Error | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -110,7 +110,7 @@ "signature": [ "TEmbeddableOutput" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -124,7 +124,7 @@ "signature": [ "TEmbeddableInput" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -144,7 +144,7 @@ "text": "RenderCompleteDispatcher" } ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -155,7 +155,7 @@ "tags": [], "label": "destroyed", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -169,7 +169,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -183,7 +183,7 @@ "signature": [ "TEmbeddableInput" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -198,7 +198,7 @@ "signature": [ "TEmbeddableOutput" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -216,7 +216,7 @@ "signature": [ "() => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -232,7 +232,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -250,7 +250,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -270,7 +270,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -288,7 +288,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -306,7 +306,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -322,7 +322,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -338,7 +338,7 @@ "signature": [ "(lastExplicitInput: Partial) => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -352,7 +352,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -370,7 +370,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -386,7 +386,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -402,7 +402,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -418,7 +418,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -434,7 +434,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -450,7 +450,7 @@ "signature": [ "(changes: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -464,7 +464,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -482,7 +482,7 @@ "signature": [ "(el: HTMLElement) => void | TNode" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -496,7 +496,7 @@ "signature": [ "HTMLElement" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -526,7 +526,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -546,7 +546,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -562,7 +562,7 @@ "signature": [ "() => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -580,7 +580,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -596,7 +596,7 @@ "signature": [ "(outputChanges: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -610,7 +610,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -630,7 +630,7 @@ "signature": [ "(e: Error) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -646,7 +646,7 @@ "signature": [ "Error" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -664,7 +664,7 @@ "signature": [ "() => string[]" ], - "path": "src/plugins/embeddable/public/lib/embeddables/embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -682,7 +682,7 @@ "description": [ "\nA wrapper around the session storage which provides strongly typed helper methods\nfor common incoming and outgoing states used by the embeddable infrastructure.\n" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -693,7 +693,7 @@ "tags": [], "label": "isTransferInProgress", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -707,7 +707,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -720,16 +720,10 @@ "description": [], "signature": [ "(appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined) => Promise" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -745,7 +739,7 @@ "Observable", "" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -759,16 +753,10 @@ "description": [], "signature": [ "ReadonlyMap | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -790,7 +778,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -810,7 +798,7 @@ "signature": [ "(appId: string) => string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -826,7 +814,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -854,7 +842,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -870,7 +858,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -887,7 +875,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -907,7 +895,7 @@ "signature": [ "(appId?: string | undefined) => void" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -923,7 +911,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -951,7 +939,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -967,7 +955,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -984,7 +972,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1012,7 +1000,7 @@ }, "; } | undefined) => Promise" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1026,7 +1014,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1038,7 +1026,7 @@ "tags": [], "label": "options", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1052,7 +1040,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -1066,7 +1054,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -1080,7 +1068,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -1100,7 +1088,7 @@ "text": "EmbeddableEditorState" } ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false } @@ -1129,7 +1117,7 @@ }, "; } | undefined) => Promise" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1143,7 +1131,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1155,7 +1143,7 @@ "tags": [], "label": "options", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1169,7 +1157,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false }, @@ -1189,7 +1177,7 @@ "text": "EmbeddablePackageState" } ], - "path": "src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts", "deprecated": false, "trackAdoption": false } @@ -1242,7 +1230,7 @@ }, ", React.ReactNode>" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1256,7 +1244,7 @@ "signature": [ "\"error\"" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -1270,7 +1258,7 @@ "signature": [ "string | Error" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false }, @@ -1284,7 +1272,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1298,7 +1286,7 @@ "signature": [ "string | Error" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1319,7 +1307,7 @@ "text": "EmbeddableInput" } ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1337,7 +1325,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1353,7 +1341,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1379,7 +1367,7 @@ }, " extends Error" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1390,7 +1378,7 @@ "tags": [], "label": "code", "description": [], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false }, @@ -1404,7 +1392,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1430,7 +1418,7 @@ }, " extends Error" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1441,7 +1429,7 @@ "tags": [], "label": "code", "description": [], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false }, @@ -1455,7 +1443,7 @@ "signature": [ "any" ], - "path": "src/plugins/embeddable/public/lib/errors.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/errors.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1508,7 +1496,7 @@ }, ", any>>" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1522,7 +1510,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1556,7 +1544,7 @@ "text": "MultiValueClickContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1576,7 +1564,7 @@ "text": "ChartActionContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1610,7 +1598,7 @@ "text": "RangeSelectContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1630,7 +1618,7 @@ "text": "ChartActionContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1664,7 +1652,7 @@ "text": "RowClickContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1684,7 +1672,7 @@ "text": "ChartActionContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1718,7 +1706,7 @@ "text": "ValueClickContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1738,7 +1726,7 @@ "text": "ChartActionContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1772,7 +1760,7 @@ "text": "OverlayRef" } ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1783,7 +1771,7 @@ "tags": [], "label": "{\n container,\n onClose,\n}", "description": [], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1803,7 +1791,7 @@ "text": "CanAddNewPanel" } ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false }, @@ -1817,7 +1805,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1889,7 +1877,7 @@ }, ") => void) | undefined; }) => React.JSX.Element" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1900,7 +1888,7 @@ "tags": [], "label": "{\n type,\n maybeId,\n getParentApi,\n panelProps,\n onAnyStateChange,\n onApiAvailable,\n hidePanelChrome,\n}", "description": [], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1911,7 +1899,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -1925,7 +1913,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -1939,7 +1927,7 @@ "signature": [ "() => ParentApi" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1955,7 +1943,7 @@ "signature": [ "((api: Api) => void) | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1969,7 +1957,7 @@ "signature": [ "Api" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1995,7 +1983,7 @@ }, ", \"showShadow\" | \"showBorder\" | \"showBadges\" | \"showNotifications\" | \"hideLoader\" | \"hideHeader\" | \"hideInspector\" | \"getActions\" | \"setDragHandles\"> | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -2009,7 +1997,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false }, @@ -2033,7 +2021,7 @@ }, ") => void) | undefined" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2054,7 +2042,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2094,7 +2082,7 @@ }, ">[]" ], - "path": "src/plugins/embeddable/public/add_from_library/registry.ts", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2164,7 +2152,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2189,7 +2177,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": true, "trackAdoption": false, "references": [], @@ -2204,7 +2192,7 @@ "signature": [ "T" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -2220,7 +2208,7 @@ "description": [ "\nA state package that contains information an editor will need to create or edit an embeddable then redirect back." ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2231,7 +2219,7 @@ "tags": [], "label": "originatingApp", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2245,7 +2233,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2259,7 +2247,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2273,7 +2261,7 @@ "signature": [ "object | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2289,7 +2277,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false } @@ -2303,7 +2291,7 @@ "tags": [], "label": "EmbeddableOutput", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2317,7 +2305,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2331,7 +2319,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2352,7 +2340,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2366,7 +2354,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2380,7 +2368,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2394,7 +2382,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2408,7 +2396,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2422,7 +2410,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2436,7 +2424,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2450,7 +2438,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2464,7 +2452,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2478,7 +2466,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2492,7 +2480,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2506,7 +2494,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false } @@ -2522,7 +2510,7 @@ "description": [ "\nA state package that contains all fields necessary to create or update an embeddable by reference or by value in a container." ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2533,7 +2521,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2549,7 +2537,7 @@ "signature": [ "object" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2563,7 +2551,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2577,7 +2565,7 @@ "signature": [ "{ width?: number | undefined; height?: number | undefined; } | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2593,7 +2581,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/state_transfer/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts", "deprecated": false, "trackAdoption": false } @@ -2625,7 +2613,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/public/enhancements/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/enhancements/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2636,7 +2624,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/enhancements/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/enhancements/types.ts", "deprecated": false, "trackAdoption": false } @@ -2660,7 +2648,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2673,7 +2661,7 @@ "description": [ "\nThe type of embeddable, this is what will be used to take a serialized\nembeddable and find the correct factory for which to create an instance of it." ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2686,7 +2674,7 @@ "description": [ "\nA unique identifier for this embeddable. Mainly only used by containers to map their\nPanel States to a child embeddable instance." ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2699,7 +2687,7 @@ "description": [ "\nIf set to true, defer embeddable load tells the container that this embeddable\ntype isn't completely loaded when the constructor returns. This embeddable\nwill have to manually call setChildLoaded on its parent when all of its initial\noutput is finalized. For instance, after loading a saved object." ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2715,7 +2703,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2731,7 +2719,7 @@ "signature": [ "object | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2747,7 +2735,7 @@ "signature": [ "Error | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false }, @@ -2763,7 +2751,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2781,7 +2769,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2799,7 +2787,7 @@ "signature": [ "() => Readonly>" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2817,7 +2805,7 @@ "signature": [ "() => Readonly>" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2835,7 +2823,7 @@ "signature": [ "() => Readonly" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2853,7 +2841,7 @@ "signature": [ "(changes: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2867,7 +2855,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2887,7 +2875,7 @@ "signature": [ "(changes: Partial) => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2901,7 +2889,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2923,7 +2911,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2943,7 +2931,7 @@ "Observable", ">" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2961,7 +2949,7 @@ "signature": [ "() => string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2979,7 +2967,7 @@ "signature": [ "() => string | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2997,7 +2985,7 @@ "signature": [ "(domNode: HTMLElement | Element) => void | N" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3011,7 +2999,7 @@ "signature": [ "HTMLElement | Element" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3041,7 +3029,7 @@ }, ", domNode: HTMLElement | Element) => N | (() => void)) | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3061,7 +3049,7 @@ "text": "ErrorLike" } ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3076,7 +3064,7 @@ "signature": [ "HTMLElement | Element" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3098,7 +3086,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3126,7 +3114,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3146,7 +3134,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3164,7 +3152,7 @@ "signature": [ "() => string[]" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3182,7 +3170,7 @@ "signature": [ "(lastInput: Partial) => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3196,7 +3184,7 @@ "signature": [ "Partial" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3214,7 +3202,7 @@ "signature": [ "() => Promise" ], - "path": "src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3230,7 +3218,7 @@ "tags": [], "label": "PropertySpec", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3241,7 +3229,7 @@ "tags": [], "label": "displayName", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3252,7 +3240,7 @@ "tags": [], "label": "accessPath", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3263,7 +3251,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3274,7 +3262,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3288,7 +3276,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/embeddable/public/lib/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/types.ts", "deprecated": false, "trackAdoption": false } @@ -3314,7 +3302,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3327,7 +3315,7 @@ "description": [ "\nA unique key for the type of this embeddable. The React Embeddable Renderer will use this type\nto find this factory." ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3359,7 +3347,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3380,7 +3368,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3420,7 +3408,7 @@ "SetReactEmbeddableApiRegistration", ") => Api, lastSavedRuntimeState: RuntimeState) => Promise<{ Component: React.FC<{}>; api: Api; }>" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3434,7 +3422,7 @@ "signature": [ "RuntimeState" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3467,7 +3455,7 @@ }, "" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3482,7 +3470,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3497,7 +3485,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3514,7 +3502,7 @@ "SetReactEmbeddableApiRegistration", ") => Api" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3529,7 +3517,7 @@ "signature": [ "RuntimeState" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3549,7 +3537,7 @@ "tags": [], "label": "ViewMode", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3566,7 +3554,7 @@ "signature": [ "\"CELL_VALUE_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3597,7 +3585,7 @@ }, " | undefined; }[]; }" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3642,7 +3630,7 @@ "text": "RowClickContext" } ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3657,7 +3645,7 @@ "signature": [ "\"CONTEXT_MENU_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3696,7 +3684,7 @@ }, " | undefined; }" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3711,7 +3699,7 @@ "signature": [ "\"MULTI_VALUE_CLICK_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3750,7 +3738,7 @@ }, " | undefined; }[]; timeFieldName?: string | undefined; negate?: boolean | undefined; }; }" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3765,7 +3753,7 @@ "signature": [ "\"PANEL_BADGE_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3780,7 +3768,7 @@ "signature": [ "\"PANEL_HOVER_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3795,7 +3783,7 @@ "signature": [ "\"PANEL_NOTIFICATION_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3826,7 +3814,7 @@ }, "; column: number; range: number[]; timeFieldName?: string | undefined; }; }" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3841,7 +3829,7 @@ "signature": [ "\"SELECT_RANGE_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3856,7 +3844,7 @@ "signature": [ "\"VALUE_CLICK_TRIGGER\"" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3887,7 +3875,7 @@ }, ", \"columns\" | \"rows\">; column: number; row: number; value: any; }[]; timeFieldName?: string | undefined; negate?: boolean | undefined; }; }" ], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3901,7 +3889,7 @@ "tags": [], "label": "cellValueTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3912,7 +3900,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -3923,7 +3911,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -3934,7 +3922,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -3948,7 +3936,7 @@ "tags": [], "label": "COMMON_EMBEDDABLE_GROUPING", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3959,7 +3947,7 @@ "tags": [], "label": "annotation", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3970,7 +3958,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -3984,7 +3972,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3997,7 +3985,7 @@ "tags": [], "label": "order", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -4010,7 +3998,7 @@ "tags": [], "label": "other", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4021,7 +4009,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -4035,7 +4023,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4051,7 +4039,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4064,7 +4052,7 @@ "tags": [], "label": "order", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -4077,7 +4065,7 @@ "tags": [], "label": "legacy", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4088,7 +4076,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false }, @@ -4102,7 +4090,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4115,7 +4103,7 @@ "tags": [], "label": "order", "description": [], - "path": "src/plugins/embeddable/public/lib/embeddables/common/constants.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -4131,7 +4119,7 @@ "tags": [], "label": "contextMenuTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4142,7 +4130,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -4153,7 +4141,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -4164,7 +4152,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -4178,7 +4166,7 @@ "tags": [], "label": "panelBadgeTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4189,7 +4177,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -4200,7 +4188,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -4211,7 +4199,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -4225,7 +4213,7 @@ "tags": [], "label": "panelHoverTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4236,7 +4224,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -4247,7 +4235,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -4258,7 +4246,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -4272,7 +4260,7 @@ "tags": [], "label": "panelNotificationTrigger", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4283,7 +4271,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -4294,7 +4282,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false }, @@ -4305,7 +4293,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/embeddable/public/lib/triggers/triggers.ts", + "path": "src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts", "deprecated": false, "trackAdoption": false } @@ -4320,7 +4308,7 @@ "tags": [], "label": "EmbeddableSetup", "description": [], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4394,7 +4382,7 @@ }, ") => string) | undefined; }) => void" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4459,7 +4447,7 @@ }, ") => string) | undefined; }" ], - "path": "src/plugins/embeddable/public/add_from_library/registry.ts", + "path": "src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts", "deprecated": false, "trackAdoption": false } @@ -4501,7 +4489,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4513,7 +4501,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts", "deprecated": false, "trackAdoption": false }, @@ -4535,7 +4523,7 @@ }, ">" ], - "path": "src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts", + "path": "src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4571,7 +4559,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -4606,7 +4594,7 @@ }, ">" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4651,7 +4639,7 @@ }, ">" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4680,7 +4668,7 @@ "text": "EmbeddableStateTransfer" } ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4701,7 +4689,7 @@ }, " | undefined" ], - "path": "src/plugins/embeddable/public/types.ts", + "path": "src/platform/plugins/shared/embeddable/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4743,7 +4731,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4754,7 +4742,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -4786,7 +4774,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/server/types.ts", + "path": "src/platform/plugins/shared/embeddable/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4797,7 +4785,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/server/types.ts", + "path": "src/platform/plugins/shared/embeddable/server/types.ts", "deprecated": false, "trackAdoption": false } @@ -4841,7 +4829,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4871,7 +4859,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4900,7 +4888,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4934,7 +4922,7 @@ }, ">) => void" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4963,7 +4951,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4988,7 +4976,7 @@ "text": "MigrateFunctionsObject" } ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5023,7 +5011,7 @@ }, ">" ], - "path": "src/plugins/embeddable/server/plugin.ts", + "path": "src/platform/plugins/shared/embeddable/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -5059,7 +5047,7 @@ }, ") => boolean" ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5087,7 +5075,7 @@ "text": "SavedObjectEmbeddableInput" } ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5105,7 +5093,7 @@ "tags": [], "label": "CommonEmbeddableStartContract", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5135,7 +5123,7 @@ }, "> & { isContainerType: boolean; }) | undefined" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5149,7 +5137,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5183,7 +5171,7 @@ }, ">" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5197,7 +5185,7 @@ "signature": [ "string" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5233,7 +5221,7 @@ }, "

>" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5244,7 +5232,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -5268,7 +5256,7 @@ }, "" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5279,7 +5267,7 @@ "tags": [], "label": "type", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -5293,7 +5281,7 @@ "signature": [ "Partial & { id: string; }" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -5324,7 +5312,7 @@ "text": "EmbeddableInput" } ], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5335,7 +5323,7 @@ "tags": [], "label": "savedObjectId", "description": [], - "path": "src/plugins/embeddable/common/lib/saved_object_embeddable.ts", + "path": "src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts", "deprecated": false, "trackAdoption": false } @@ -5351,7 +5339,7 @@ "tags": [], "label": "ViewMode", "description": [], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5392,7 +5380,7 @@ }, " | undefined; }" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5422,7 +5410,7 @@ }, ">" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -5444,7 +5432,7 @@ }, " & { type: string; }" ], - "path": "src/plugins/embeddable/common/types.ts", + "path": "src/platform/plugins/shared/embeddable/common/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 4b570d622bccb..d6ebd0fc50e48 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddable title: "embeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddable plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddable'] --- import embeddableObj from './embeddable.devdocs.json'; diff --git a/api_docs/embeddable_enhanced.devdocs.json b/api_docs/embeddable_enhanced.devdocs.json index c8578b855fb38..6b38cb44c2857 100644 --- a/api_docs/embeddable_enhanced.devdocs.json +++ b/api_docs/embeddable_enhanced.devdocs.json @@ -45,7 +45,7 @@ }, "; } | undefined>; }>>" ], - "path": "x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -59,7 +59,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -77,7 +77,7 @@ "tags": [], "label": "SetupDependencies", "description": [], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -97,7 +97,7 @@ "text": "EmbeddableSetup" } ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -117,7 +117,7 @@ "text": "SetupContract" } ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -131,7 +131,7 @@ "tags": [], "label": "StartDependencies", "description": [], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -151,7 +151,7 @@ "text": "EmbeddableStart" } ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -171,7 +171,7 @@ "text": "StartContract" } ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -223,7 +223,7 @@ }, "; } | undefined> | undefined; }" ], - "path": "x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -237,7 +237,7 @@ "tags": [], "label": "SetupContract", "description": [], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -251,7 +251,7 @@ "tags": [], "label": "StartContract", "description": [], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -268,7 +268,7 @@ ") => ", "ReactEmbeddableDynamicActionsApi" ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -282,7 +282,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -297,7 +297,7 @@ "signature": [ "() => string | undefined" ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -312,7 +312,7 @@ "signature": [ "DynamicActionsSerializedState" ], - "path": "x-pack/plugins/embeddable_enhanced/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index be4f272e87431..16daa043892d6 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/embeddableEnhanced title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the embeddableEnhanced plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'embeddableEnhanced'] --- import embeddableEnhancedObj from './embeddable_enhanced.devdocs.json'; diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index ad8a1795db027..0bbbe7d95047e 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/encryptedSavedObjects title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the encryptedSavedObjects plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'encryptedSavedObjects'] --- import encryptedSavedObjectsObj from './encrypted_saved_objects.devdocs.json'; diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 5b909385f50c2..bb3a1ada95682 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/enterpriseSearch title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the enterpriseSearch plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'enterpriseSearch'] --- import enterpriseSearchObj from './enterprise_search.devdocs.json'; diff --git a/api_docs/entities_data_access.mdx b/api_docs/entities_data_access.mdx index fa5bf7f99162a..e8fcb60011a06 100644 --- a/api_docs/entities_data_access.mdx +++ b/api_docs/entities_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/entitiesDataAccess title: "entitiesDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the entitiesDataAccess plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'entitiesDataAccess'] --- import entitiesDataAccessObj from './entities_data_access.devdocs.json'; diff --git a/api_docs/entity_manager.mdx b/api_docs/entity_manager.mdx index c3dd86b405911..bc100338f42ba 100644 --- a/api_docs/entity_manager.mdx +++ b/api_docs/entity_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/entityManager title: "entityManager" image: https://source.unsplash.com/400x175/?github description: API docs for the entityManager plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'entityManager'] --- import entityManagerObj from './entity_manager.devdocs.json'; diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index 71caffcc59dc4..1fce6dc0b9d90 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esUiShared title: "esUiShared" image: https://source.unsplash.com/400x175/?github description: API docs for the esUiShared plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esUiShared'] --- import esUiSharedObj from './es_ui_shared.devdocs.json'; diff --git a/api_docs/esql.mdx b/api_docs/esql.mdx index d6e91d400abc3..e213b9446f9ea 100644 --- a/api_docs/esql.mdx +++ b/api_docs/esql.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esql title: "esql" image: https://source.unsplash.com/400x175/?github description: API docs for the esql plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esql'] --- import esqlObj from './esql.devdocs.json'; diff --git a/api_docs/esql_data_grid.mdx b/api_docs/esql_data_grid.mdx index 51af3ea26eb3a..b7aeaa46787f9 100644 --- a/api_docs/esql_data_grid.mdx +++ b/api_docs/esql_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/esqlDataGrid title: "esqlDataGrid" image: https://source.unsplash.com/400x175/?github description: API docs for the esqlDataGrid plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'esqlDataGrid'] --- import esqlDataGridObj from './esql_data_grid.devdocs.json'; diff --git a/api_docs/event_annotation.mdx b/api_docs/event_annotation.mdx index 0c54debe2a889..6e466ed0e3024 100644 --- a/api_docs/event_annotation.mdx +++ b/api_docs/event_annotation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotation title: "eventAnnotation" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotation plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotation'] --- import eventAnnotationObj from './event_annotation.devdocs.json'; diff --git a/api_docs/event_annotation_listing.mdx b/api_docs/event_annotation_listing.mdx index 1dae7742f24b3..f7055d1791eaf 100644 --- a/api_docs/event_annotation_listing.mdx +++ b/api_docs/event_annotation_listing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventAnnotationListing title: "eventAnnotationListing" image: https://source.unsplash.com/400x175/?github description: API docs for the eventAnnotationListing plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventAnnotationListing'] --- import eventAnnotationListingObj from './event_annotation_listing.devdocs.json'; diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 03129d7db6674..3bbc2356b645e 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/eventLog title: "eventLog" image: https://source.unsplash.com/400x175/?github description: API docs for the eventLog plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'eventLog'] --- import eventLogObj from './event_log.devdocs.json'; diff --git a/api_docs/exploratory_view.devdocs.json b/api_docs/exploratory_view.devdocs.json index 3aed42a57a9a9..2b59138f91fdd 100644 --- a/api_docs/exploratory_view.devdocs.json +++ b/api_docs/exploratory_view.devdocs.json @@ -1159,23 +1159,11 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], "path": "x-pack/solutions/observability/plugins/exploratory_view/public/plugin.ts", diff --git a/api_docs/exploratory_view.mdx b/api_docs/exploratory_view.mdx index 7da9e02775d6d..1a60841b16f01 100644 --- a/api_docs/exploratory_view.mdx +++ b/api_docs/exploratory_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/exploratoryView title: "exploratoryView" image: https://source.unsplash.com/400x175/?github description: API docs for the exploratoryView plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'exploratoryView'] --- import exploratoryViewObj from './exploratory_view.devdocs.json'; diff --git a/api_docs/expression_error.devdocs.json b/api_docs/expression_error.devdocs.json index dba511e558d27..7cb2fd38a46d5 100644 --- a/api_docs/expression_error.devdocs.json +++ b/api_docs/expression_error.devdocs.json @@ -29,7 +29,7 @@ }, "" ], - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -49,7 +49,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -86,7 +86,7 @@ "ErrorRendererConfig", ">" ], - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -106,7 +106,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -141,7 +141,7 @@ }, "" ], - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -161,7 +161,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -198,7 +198,7 @@ "ErrorRendererConfig", ">" ], - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -218,7 +218,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_error/public/expression_renderers/error_renderer.tsx", + "path": "src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -237,7 +237,7 @@ "signature": [ "React.LazyExoticComponent<({ payload }: { payload: unknown; }) => React.JSX.Element>" ], - "path": "src/plugins/expression_error/public/components/index.ts", + "path": "src/platform/plugins/shared/expression_error/public/components/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -271,7 +271,7 @@ "Props", ">>" ], - "path": "src/plugins/expression_error/public/components/index.ts", + "path": "src/platform/plugins/shared/expression_error/public/components/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -308,7 +308,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_error/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_error/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -339,7 +339,7 @@ "signature": [ "\"JSON\"" ], - "path": "src/plugins/expression_error/common/constants.ts", + "path": "src/platform/plugins/shared/expression_error/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -354,7 +354,7 @@ "signature": [ "\"expressionError\"" ], - "path": "src/plugins/expression_error/common/constants.ts", + "path": "src/platform/plugins/shared/expression_error/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -369,7 +369,7 @@ "signature": [ "\"expressionError\"" ], - "path": "src/plugins/expression_error/common/constants.ts", + "path": "src/platform/plugins/shared/expression_error/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index 183c54de12bd3..14160cd8ec5ad 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionError title: "expressionError" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionError plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionError'] --- import expressionErrorObj from './expression_error.devdocs.json'; diff --git a/api_docs/expression_gauge.mdx b/api_docs/expression_gauge.mdx index c52ada151e8f4..583a14dae0de9 100644 --- a/api_docs/expression_gauge.mdx +++ b/api_docs/expression_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionGauge title: "expressionGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionGauge plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionGauge'] --- import expressionGaugeObj from './expression_gauge.devdocs.json'; diff --git a/api_docs/expression_heatmap.mdx b/api_docs/expression_heatmap.mdx index 4dcdc96a60443..15387b18ebd8f 100644 --- a/api_docs/expression_heatmap.mdx +++ b/api_docs/expression_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionHeatmap title: "expressionHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionHeatmap plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionHeatmap'] --- import expressionHeatmapObj from './expression_heatmap.devdocs.json'; diff --git a/api_docs/expression_image.devdocs.json b/api_docs/expression_image.devdocs.json index 3fc201e165956..36c2b8c410a48 100644 --- a/api_docs/expression_image.devdocs.json +++ b/api_docs/expression_image.devdocs.json @@ -37,7 +37,7 @@ }, ">" ], - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,7 +100,7 @@ }, ">" ], - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -120,7 +120,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_image/public/expression_renderers/image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -144,7 +144,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_image/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_image/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -168,7 +168,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_image/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_image/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -186,7 +186,7 @@ "tags": [], "label": "ImageRendererConfig", "description": [], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -200,7 +200,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -221,7 +221,7 @@ }, " | null" ], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -235,7 +235,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -246,7 +246,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -257,7 +257,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -271,7 +271,7 @@ "tags": [], "label": "Return", "description": [], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -285,7 +285,7 @@ "signature": [ "\"image\"" ], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -296,7 +296,7 @@ "tags": [], "label": "mode", "description": [], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -307,7 +307,7 @@ "tags": [], "label": "dataurl", "description": [], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -323,7 +323,7 @@ "tags": [], "label": "ImageMode", "description": [], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -340,7 +340,7 @@ "signature": [ "\"`base64`\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -355,7 +355,7 @@ "signature": [ "\"_context_\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -402,7 +402,7 @@ }, ">>" ], - "path": "src/plugins/expression_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -419,7 +419,7 @@ "signature": [ "\"right\" | \"top\" | \"bottom\" | \"left\"" ], - "path": "src/plugins/expression_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -434,7 +434,7 @@ "signature": [ "\"expressionImage\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -449,7 +449,7 @@ "signature": [ "\"expressionImage\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -464,7 +464,7 @@ "signature": [ "\"URL\"" ], - "path": "src/plugins/expression_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 1c230f566f580..034559d655e71 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionImage title: "expressionImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionImage plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionImage'] --- import expressionImageObj from './expression_image.devdocs.json'; diff --git a/api_docs/expression_legacy_metric_vis.mdx b/api_docs/expression_legacy_metric_vis.mdx index 01f9065222434..4a42d55deda68 100644 --- a/api_docs/expression_legacy_metric_vis.mdx +++ b/api_docs/expression_legacy_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionLegacyMetricVis title: "expressionLegacyMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionLegacyMetricVis plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionLegacyMetricVis'] --- import expressionLegacyMetricVisObj from './expression_legacy_metric_vis.devdocs.json'; diff --git a/api_docs/expression_metric.devdocs.json b/api_docs/expression_metric.devdocs.json index a5d21f7749884..e6d60d3aa1b5c 100644 --- a/api_docs/expression_metric.devdocs.json +++ b/api_docs/expression_metric.devdocs.json @@ -37,7 +37,7 @@ }, ">" ], - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", + "path": "src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", + "path": "src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,7 +100,7 @@ }, ">" ], - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", + "path": "src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -120,7 +120,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx", + "path": "src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -144,7 +144,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_metric/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_metric/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -168,7 +168,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_metric/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_metric/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -220,7 +220,7 @@ }, "; metricFormat: string; }; }; }" ], - "path": "src/plugins/expression_metric/common/expression_functions/metric_function.ts", + "path": "src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -236,7 +236,7 @@ "tags": [], "label": "Arguments", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -247,7 +247,7 @@ "tags": [], "label": "label", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -267,7 +267,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -278,7 +278,7 @@ "tags": [], "label": "metricFormat", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -298,7 +298,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -312,7 +312,7 @@ "tags": [], "label": "MetricRendererConfig", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -325,7 +325,7 @@ "description": [ "The text to display under the metric" ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -347,7 +347,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -363,7 +363,7 @@ "signature": [ "string | number | null" ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -385,7 +385,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -398,7 +398,7 @@ "description": [ "NumeralJS format string" ], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -412,7 +412,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -423,7 +423,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -434,7 +434,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_metric/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -454,7 +454,7 @@ "signature": [ "\"CSS\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -525,7 +525,7 @@ }, ">>" ], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -542,7 +542,7 @@ "signature": [ "\"`font-family`\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -557,7 +557,7 @@ "signature": [ "\"`font-weight`\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -579,7 +579,7 @@ }, "[]" ], - "path": "src/plugins/expression_metric/common/expression_functions/index.ts", + "path": "src/platform/plugins/shared/expression_metric/common/expression_functions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -594,7 +594,7 @@ "signature": [ "string | number | null" ], - "path": "src/plugins/expression_metric/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -609,7 +609,7 @@ "signature": [ "\"Numeral pattern\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -624,7 +624,7 @@ "signature": [ "\"expressionMetric\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -639,7 +639,7 @@ "signature": [ "\"expressionMetric\"" ], - "path": "src/plugins/expression_metric/common/constants.ts", + "path": "src/platform/plugins/shared/expression_metric/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 597da36501111..1a67010b7530a 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetric title: "expressionMetric" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetric plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetric'] --- import expressionMetricObj from './expression_metric.devdocs.json'; diff --git a/api_docs/expression_metric_vis.mdx b/api_docs/expression_metric_vis.mdx index b29a2e23de57e..a68cd7c4c2aef 100644 --- a/api_docs/expression_metric_vis.mdx +++ b/api_docs/expression_metric_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionMetricVis title: "expressionMetricVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionMetricVis plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionMetricVis'] --- import expressionMetricVisObj from './expression_metric_vis.devdocs.json'; diff --git a/api_docs/expression_partition_vis.mdx b/api_docs/expression_partition_vis.mdx index bdfeac1d02fd3..d7abd1fd15b70 100644 --- a/api_docs/expression_partition_vis.mdx +++ b/api_docs/expression_partition_vis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionPartitionVis title: "expressionPartitionVis" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionPartitionVis plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionPartitionVis'] --- import expressionPartitionVisObj from './expression_partition_vis.devdocs.json'; diff --git a/api_docs/expression_repeat_image.devdocs.json b/api_docs/expression_repeat_image.devdocs.json index 65a50ddeb3880..f9cfa54e40900 100644 --- a/api_docs/expression_repeat_image.devdocs.json +++ b/api_docs/expression_repeat_image.devdocs.json @@ -37,7 +37,7 @@ }, ">" ], - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -57,7 +57,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,7 +100,7 @@ }, ">" ], - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -120,7 +120,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -144,7 +144,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_repeat_image/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -168,7 +168,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_repeat_image/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -188,7 +188,7 @@ "signature": [ "() => { name: \"repeatImage\"; aliases: never[]; type: \"render\"; inputTypes: \"number\"[]; help: string; args: { emptyImage: { types: (\"string\" | \"null\")[]; help: string; default: null; }; image: { types: (\"string\" | \"null\")[]; help: string; default: null; }; max: { types: (\"number\" | \"null\")[]; help: string; default: number; }; size: { types: \"number\"[]; default: number; help: string; }; }; fn: (count: number, args: Arguments) => Promise<{ type: \"render\"; as: string; value: { image: string | null; emptyImage: string | null; size: number; max: number | null; count: number; }; }>; }" ], - "path": "src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -204,7 +204,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -215,7 +215,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -226,7 +226,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -240,7 +240,7 @@ "tags": [], "label": "RepeatImageRendererConfig", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -251,7 +251,7 @@ "tags": [], "label": "max", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -262,7 +262,7 @@ "tags": [], "label": "count", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -273,7 +273,7 @@ "tags": [], "label": "emptyImage", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -284,7 +284,7 @@ "tags": [], "label": "image", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -295,7 +295,7 @@ "tags": [], "label": "size", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -309,7 +309,7 @@ "tags": [], "label": "Return", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -320,7 +320,7 @@ "tags": [], "label": "count", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -331,7 +331,7 @@ "tags": [], "label": "image", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -342,7 +342,7 @@ "tags": [], "label": "size", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -353,7 +353,7 @@ "tags": [], "label": "max", "description": [], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -367,7 +367,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -387,7 +387,7 @@ "signature": [ "\"`base64`\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -402,7 +402,7 @@ "signature": [ "\"_context_\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -449,7 +449,7 @@ }, ">>" ], - "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -473,7 +473,7 @@ }, "[]" ], - "path": "src/plugins/expression_repeat_image/common/expression_functions/index.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/expression_functions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -488,7 +488,7 @@ "signature": [ "\"right\" | \"top\" | \"bottom\" | \"left\"" ], - "path": "src/plugins/expression_repeat_image/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -503,7 +503,7 @@ "signature": [ "\"expressionRepeatImage\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -518,7 +518,7 @@ "signature": [ "\"expressionRepeatImage\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -533,7 +533,7 @@ "signature": [ "\"URL\"" ], - "path": "src/plugins/expression_repeat_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_repeat_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 297e1bd7084b0..c29d35b517f87 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRepeatImage title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRepeatImage plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRepeatImage'] --- import expressionRepeatImageObj from './expression_repeat_image.devdocs.json'; diff --git a/api_docs/expression_reveal_image.devdocs.json b/api_docs/expression_reveal_image.devdocs.json index cdda11e92d9f2..5d8e0e7fd2aad 100644 --- a/api_docs/expression_reveal_image.devdocs.json +++ b/api_docs/expression_reveal_image.devdocs.json @@ -31,7 +31,7 @@ "RevealImageRendererConfig", ">" ], - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -51,7 +51,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -88,7 +88,7 @@ "RevealImageRendererConfig", ">" ], - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -108,7 +108,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", + "path": "src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -132,7 +132,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_reveal_image/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -156,7 +156,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_reveal_image/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -180,7 +180,7 @@ "Origin", "; percent: number; }; }>; }" ], - "path": "src/plugins/expression_reveal_image/common/expression_functions/reveal_image_function.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image_function.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -201,7 +201,7 @@ "signature": [ "\"`base64`\"" ], - "path": "src/plugins/expression_reveal_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -217,7 +217,7 @@ "ExpressionRevealImageFunction", "[]" ], - "path": "src/plugins/expression_reveal_image/common/expression_functions/index.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/expression_functions/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -232,7 +232,7 @@ "signature": [ "\"expressionRevealImage\"" ], - "path": "src/plugins/expression_reveal_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -247,7 +247,7 @@ "signature": [ "\"expressionRevealImage\"" ], - "path": "src/plugins/expression_reveal_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -262,7 +262,7 @@ "signature": [ "\"URL\"" ], - "path": "src/plugins/expression_reveal_image/common/constants.ts", + "path": "src/platform/plugins/shared/expression_reveal_image/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 4318579722be4..9f1f57d607106 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionRevealImage title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionRevealImage plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionRevealImage'] --- import expressionRevealImageObj from './expression_reveal_image.devdocs.json'; diff --git a/api_docs/expression_shape.devdocs.json b/api_docs/expression_shape.devdocs.json index f1790eef4a61b..de61172343334 100644 --- a/api_docs/expression_shape.devdocs.json +++ b/api_docs/expression_shape.devdocs.json @@ -20,7 +20,7 @@ "text": "SvgConfig" } ], - "path": "src/plugins/expression_shape/public/components/reusable/utils.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/utils.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -61,7 +61,7 @@ }, ">" ], - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -81,7 +81,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -124,7 +124,7 @@ }, ">" ], - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -144,7 +144,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -179,7 +179,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/public/components/progress/progress_drawer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/progress/progress_drawer.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -235,7 +235,7 @@ }, ">" ], - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -255,7 +255,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -290,7 +290,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/public/components/shape/shape_drawer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/shape_drawer.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -346,7 +346,7 @@ }, ">" ], - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -366,7 +366,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -384,7 +384,7 @@ "tags": [], "label": "CircleParams", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -398,7 +398,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -412,7 +412,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -426,7 +426,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -440,7 +440,7 @@ "tags": [], "label": "Dimensions", "description": [], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -451,7 +451,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false }, @@ -462,7 +462,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false } @@ -476,7 +476,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -487,7 +487,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -498,7 +498,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -522,7 +522,7 @@ }, " extends Arguments" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -536,7 +536,7 @@ "signature": [ "\"shape\"" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -550,7 +550,7 @@ "tags": [], "label": "ParentNodeParams", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -561,7 +561,7 @@ "tags": [], "label": "borderOffset", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -572,7 +572,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -583,7 +583,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -597,7 +597,7 @@ "tags": [], "label": "PathParams", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -611,7 +611,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -625,7 +625,7 @@ "signature": [ "\"square\" | \"inherit\" | \"butt\" | \"round\" | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -639,7 +639,7 @@ "tags": [], "label": "PolygonParams", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -653,7 +653,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -667,7 +667,7 @@ "signature": [ "\"inherit\" | \"round\" | \"miter\" | \"bevel\" | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -681,7 +681,7 @@ "tags": [], "label": "ProgressArguments", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -692,7 +692,7 @@ "tags": [], "label": "barColor", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -703,7 +703,7 @@ "tags": [], "label": "barWeight", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -723,7 +723,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -737,7 +737,7 @@ "signature": [ "string | boolean" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -748,7 +748,7 @@ "tags": [], "label": "max", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -768,7 +768,7 @@ "text": "Progress" } ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -779,7 +779,7 @@ "tags": [], "label": "valueColor", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -790,7 +790,7 @@ "tags": [], "label": "valueWeight", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -804,7 +804,7 @@ "tags": [], "label": "RectParams", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -818,7 +818,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -832,7 +832,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -846,7 +846,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -860,7 +860,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -874,7 +874,7 @@ "tags": [], "label": "ShapeAttributes", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -888,7 +888,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -902,7 +902,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -916,7 +916,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -930,7 +930,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -951,7 +951,7 @@ }, " | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -965,7 +965,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -979,7 +979,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -1010,7 +1010,7 @@ "text": "ShapeRendererConfig" } ], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1024,7 +1024,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1040,7 +1040,7 @@ "signature": [ "HTMLElement" ], - "path": "src/plugins/expression_shape/public/components/shape/types.ts", + "path": "src/platform/plugins/shared/expression_shape/public/components/shape/types.ts", "deprecated": false, "trackAdoption": false } @@ -1054,7 +1054,7 @@ "tags": [], "label": "ShapeContentAttributes", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1068,7 +1068,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1082,7 +1082,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1096,7 +1096,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1110,7 +1110,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1124,7 +1124,7 @@ "signature": [ "string | number | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -1138,7 +1138,7 @@ "tags": [], "label": "ShapeRef", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1159,7 +1159,7 @@ "text": "SvgConfig" } ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1175,7 +1175,7 @@ "tags": [], "label": "ShapeRendererConfig", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1186,7 +1186,7 @@ "tags": [], "label": "border", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1197,7 +1197,7 @@ "tags": [], "label": "borderWidth", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1217,7 +1217,7 @@ "text": "Shape" } ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1228,7 +1228,7 @@ "tags": [], "label": "fill", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1239,7 +1239,7 @@ "tags": [], "label": "maintainAspect", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -1253,7 +1253,7 @@ "tags": [], "label": "SvgConfig", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1274,7 +1274,7 @@ }, " | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1294,7 +1294,7 @@ "text": "ViewBoxParams" } ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1323,7 +1323,7 @@ }, " & Readonly<{}> & { ref?: React.RefObject | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false }, @@ -1344,7 +1344,7 @@ }, " | undefined" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false } @@ -1358,7 +1358,7 @@ "tags": [], "label": "ViewBoxParams", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1369,7 +1369,7 @@ "tags": [], "label": "minX", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1380,7 +1380,7 @@ "tags": [], "label": "minY", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1391,7 +1391,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -1402,7 +1402,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -1418,7 +1418,7 @@ "tags": [], "label": "Progress", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1430,7 +1430,7 @@ "tags": [], "label": "Shape", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1442,7 +1442,7 @@ "tags": [], "label": "SvgElementTypes", "description": [], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1507,7 +1507,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1556,7 +1556,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1573,7 +1573,7 @@ "signature": [ "\"right\" | \"top\" | \"bottom\" | \"left\"" ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1595,7 +1595,7 @@ }, " & { value: number; }" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1617,7 +1617,7 @@ }, " & { value: number; }" ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1672,7 +1672,7 @@ }, " | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1743,7 +1743,7 @@ }, " | undefined; } & Readonly<{}> & { ref?: React.RefObject | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1790,7 +1790,7 @@ }, " | undefined; } & Readonly<{}> & { ref?: React.RefObject | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1821,7 +1821,7 @@ }, "; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/shape_factory.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/shape_factory.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1866,7 +1866,7 @@ "text": "PolygonParams" } ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1881,7 +1881,7 @@ "signature": [ "Partial & { x?: string | number | undefined; y?: string | number | undefined; textAnchor?: string | undefined; dominantBaseline?: string | number | undefined; dx?: string | number | undefined; dy?: string | number | undefined; } & { style?: React.CSSProperties | undefined; } & { ref?: React.RefObject | undefined; }" ], - "path": "src/plugins/expression_shape/public/components/reusable/types.tsx", + "path": "src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1898,7 +1898,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_shape/public/plugin.ts", + "path": "src/platform/plugins/shared/expression_shape/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -1922,7 +1922,7 @@ "signature": [ "void" ], - "path": "src/plugins/expression_shape/server/plugin.ts", + "path": "src/platform/plugins/shared/expression_shape/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -1950,7 +1950,7 @@ }, "[]" ], - "path": "src/plugins/expression_shape/common/lib/available_shapes.ts", + "path": "src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1975,7 +1975,7 @@ }, "[]" ], - "path": "src/plugins/expression_shape/common/lib/available_shapes.ts", + "path": "src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1991,7 +1991,7 @@ "tags": [], "label": "NodeDimensions", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2002,7 +2002,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2013,7 +2013,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -2037,7 +2037,7 @@ }, " extends Arguments" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2051,7 +2051,7 @@ "signature": [ "\"shape\"" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -2065,7 +2065,7 @@ "tags": [], "label": "ParentNodeParams", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2076,7 +2076,7 @@ "tags": [], "label": "borderOffset", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2087,7 +2087,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2098,7 +2098,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -2112,7 +2112,7 @@ "tags": [], "label": "ProgressArguments", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2123,7 +2123,7 @@ "tags": [], "label": "barColor", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2134,7 +2134,7 @@ "tags": [], "label": "barWeight", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2154,7 +2154,7 @@ "text": "ExpressionTypeStyle" } ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2168,7 +2168,7 @@ "signature": [ "string | boolean" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2179,7 +2179,7 @@ "tags": [], "label": "max", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2199,7 +2199,7 @@ "text": "Progress" } ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2210,7 +2210,7 @@ "tags": [], "label": "valueColor", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false }, @@ -2221,7 +2221,7 @@ "tags": [], "label": "valueWeight", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false } @@ -2235,7 +2235,7 @@ "tags": [], "label": "ShapeRendererConfig", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2246,7 +2246,7 @@ "tags": [], "label": "border", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2257,7 +2257,7 @@ "tags": [], "label": "borderWidth", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2277,7 +2277,7 @@ "text": "Shape" } ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2288,7 +2288,7 @@ "tags": [], "label": "fill", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2299,7 +2299,7 @@ "tags": [], "label": "maintainAspect", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -2313,7 +2313,7 @@ "tags": [], "label": "ViewBoxParams", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2324,7 +2324,7 @@ "tags": [], "label": "minX", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2335,7 +2335,7 @@ "tags": [], "label": "minY", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2346,7 +2346,7 @@ "tags": [], "label": "width", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false }, @@ -2357,7 +2357,7 @@ "tags": [], "label": "height", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false } @@ -2373,7 +2373,7 @@ "tags": [], "label": "Progress", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2385,7 +2385,7 @@ "tags": [], "label": "Shape", "description": [], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2402,7 +2402,7 @@ "signature": [ "\"`false`\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2417,7 +2417,7 @@ "signature": [ "\"`true`\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2432,7 +2432,7 @@ "signature": [ "\"CSS\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2495,7 +2495,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2544,7 +2544,7 @@ }, ">>" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2561,7 +2561,7 @@ "signature": [ "\"`font-family`\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2576,7 +2576,7 @@ "signature": [ "\"`font-weight`\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2591,7 +2591,7 @@ "signature": [ "\"right\" | \"top\" | \"bottom\" | \"left\"" ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2606,7 +2606,7 @@ "signature": [ "\"expressionShape\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2621,7 +2621,7 @@ "signature": [ "\"expressionShape\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2643,7 +2643,7 @@ }, " & { value: number; }" ], - "path": "src/plugins/expression_shape/common/types/expression_functions.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2665,7 +2665,7 @@ }, " & { value: number; }" ], - "path": "src/plugins/expression_shape/common/types/expression_renderers.ts", + "path": "src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2680,7 +2680,7 @@ "signature": [ "\"SVG\"" ], - "path": "src/plugins/expression_shape/common/constants.ts", + "path": "src/platform/plugins/shared/expression_shape/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 64e56019df5df..170619ae4d01f 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionShape title: "expressionShape" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionShape plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionShape'] --- import expressionShapeObj from './expression_shape.devdocs.json'; diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index d64105445b312..38b038fd8dbe2 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionTagcloud title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionTagcloud plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionTagcloud'] --- import expressionTagcloudObj from './expression_tagcloud.devdocs.json'; diff --git a/api_docs/expression_x_y.mdx b/api_docs/expression_x_y.mdx index 6c714fdeebbc5..4848065e1c7f4 100644 --- a/api_docs/expression_x_y.mdx +++ b/api_docs/expression_x_y.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressionXY title: "expressionXY" image: https://source.unsplash.com/400x175/?github description: API docs for the expressionXY plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressionXY'] --- import expressionXYObj from './expression_x_y.devdocs.json'; diff --git a/api_docs/expressions.devdocs.json b/api_docs/expressions.devdocs.json index 5ca47f1114d56..95cf04ba5e9f1 100644 --- a/api_docs/expressions.devdocs.json +++ b/api_docs/expressions.devdocs.json @@ -8665,31 +8665,31 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/common/functions/filters.ts" + "path": "x-pack/platform/plugins/private/canvas/common/functions/filters.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" } ] } @@ -13023,7 +13023,7 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/setup_expressions.ts" + "path": "x-pack/platform/plugins/private/canvas/public/setup_expressions.ts" } ], "children": [ @@ -13088,15 +13088,15 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts" } ], "children": [ @@ -13146,15 +13146,15 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/setup_expressions.ts" + "path": "x-pack/platform/plugins/private/canvas/public/setup_expressions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/application.tsx" + "path": "x-pack/platform/plugins/private/canvas/public/application.tsx" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" } ], "children": [], @@ -20142,31 +20142,31 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/common/functions/filters.ts" + "path": "x-pack/platform/plugins/private/canvas/common/functions/filters.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" } ] } @@ -33208,31 +33208,31 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/common/functions/filters.ts" + "path": "x-pack/platform/plugins/private/canvas/common/functions/filters.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts" } ] } @@ -34121,7 +34121,7 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/setup_expressions.ts" + "path": "x-pack/platform/plugins/private/canvas/public/setup_expressions.ts" } ], "children": [ @@ -34186,15 +34186,15 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts" } ], "children": [ @@ -34244,15 +34244,15 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/setup_expressions.ts" + "path": "x-pack/platform/plugins/private/canvas/public/setup_expressions.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/application.tsx" + "path": "x-pack/platform/plugins/private/canvas/public/application.tsx" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" } ], "children": [], @@ -38233,51 +38233,51 @@ "references": [ { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/types/state.ts" + "path": "x-pack/platform/plugins/private/canvas/types/state.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/types/state.ts" + "path": "x-pack/platform/plugins/private/canvas/types/state.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/functions/plot/index.ts" + "path": "x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/functions/plot/index.ts" + "path": "x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/functions/pie.ts" + "path": "x-pack/platform/plugins/private/canvas/public/functions/pie.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/functions/pie.ts" + "path": "x-pack/platform/plugins/private/canvas/public/functions/pie.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts" } ], "initialIsOpen": false @@ -39782,7 +39782,9 @@ "section": "def-common.SerializedDatatable", "text": "SerializedDatatable" }, - ") => { rows: _.Dictionary[]; type: \"datatable\"; columns: ", + ") => { rows: ", + "Dictionary", + "[]; type: \"datatable\"; columns: ", { "pluginId": "expressions", "scope": "common", diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index b897076de3b40..cfa9d2c9d52bd 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/expressions title: "expressions" image: https://source.unsplash.com/400x175/?github description: API docs for the expressions plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'expressions'] --- import expressionsObj from './expressions.devdocs.json'; diff --git a/api_docs/features.devdocs.json b/api_docs/features.devdocs.json index afc982a1c2d43..4f7ddaa252709 100644 --- a/api_docs/features.devdocs.json +++ b/api_docs/features.devdocs.json @@ -681,13 +681,7 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - } + "AppCategory" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -2877,13 +2871,7 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - } + "AppCategory" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, @@ -4502,13 +4490,7 @@ "\nThe category for this feature.\nThis will be used to organize the list of features for display within the\nSpaces and Roles management screens." ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - } + "AppCategory" ], "path": "x-pack/plugins/features/common/kibana_feature.ts", "deprecated": false, diff --git a/api_docs/features.mdx b/api_docs/features.mdx index 1c879a80fa8dd..5af2e8e52e8a6 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/features title: "features" image: https://source.unsplash.com/400x175/?github description: API docs for the features plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'features'] --- import featuresObj from './features.devdocs.json'; diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 13d415fa3ec28..be138282fe04f 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldFormats title: "fieldFormats" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldFormats plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldFormats'] --- import fieldFormatsObj from './field_formats.devdocs.json'; diff --git a/api_docs/fields_metadata.mdx b/api_docs/fields_metadata.mdx index afa40973bae7c..e45f1e27b7024 100644 --- a/api_docs/fields_metadata.mdx +++ b/api_docs/fields_metadata.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fieldsMetadata title: "fieldsMetadata" image: https://source.unsplash.com/400x175/?github description: API docs for the fieldsMetadata plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fieldsMetadata'] --- import fieldsMetadataObj from './fields_metadata.devdocs.json'; diff --git a/api_docs/file_upload.devdocs.json b/api_docs/file_upload.devdocs.json index 10bc57a634795..23fda3d12201a 100644 --- a/api_docs/file_upload.devdocs.json +++ b/api_docs/file_upload.devdocs.json @@ -20,7 +20,7 @@ " extends ", "Importer" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -34,7 +34,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -48,7 +48,7 @@ "signature": [ "ImportFactoryOptions" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -70,7 +70,7 @@ "ImportDocMessage", ">" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -84,7 +84,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -99,7 +99,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -114,7 +114,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/message_importer.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -135,7 +135,7 @@ "tags": [], "label": "FileUploadComponentProps", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -146,7 +146,7 @@ "tags": [], "label": "isIndexingTriggered", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false }, @@ -160,7 +160,7 @@ "signature": [ "(geojsonFile: GeoJSON.FeatureCollection, name: string, previewCoverage: number) => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -174,7 +174,7 @@ "signature": [ "GeoJSON.FeatureCollection" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -189,7 +189,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -204,7 +204,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -222,7 +222,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -238,7 +238,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -254,7 +254,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -278,7 +278,7 @@ }, ") => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -298,7 +298,7 @@ "text": "FileUploadGeoResults" } ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -316,7 +316,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -332,7 +332,7 @@ "tags": [], "label": "FileUploadGeoResults", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -343,7 +343,7 @@ "tags": [], "label": "indexPatternId", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false }, @@ -354,7 +354,7 @@ "tags": [], "label": "geoFieldName", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false }, @@ -383,7 +383,7 @@ }, ".GEO_SHAPE" ], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false }, @@ -394,7 +394,7 @@ "tags": [], "label": "docCount", "description": [], - "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts", "deprecated": false, "trackAdoption": false } @@ -408,7 +408,7 @@ "tags": [], "label": "IImporter", "description": [], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -422,7 +422,7 @@ "signature": [ "(data: ArrayBuffer) => { success: boolean; }" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -436,7 +436,7 @@ "signature": [ "ArrayBuffer" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -468,7 +468,7 @@ "ImportResponse", ">" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -482,7 +482,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -497,7 +497,7 @@ "signature": [ "IndicesIndexSettings" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -512,7 +512,7 @@ "signature": [ "MappingTypeMapping" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -534,7 +534,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -554,7 +554,7 @@ "ImportResults", ">" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -568,7 +568,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -583,7 +583,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -598,7 +598,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -613,7 +613,7 @@ "signature": [ "(progress: number) => void" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -631,7 +631,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -647,7 +647,7 @@ "signature": [ "() => string | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -663,7 +663,7 @@ "signature": [ "() => string | undefined" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -679,7 +679,7 @@ "signature": [ "() => Promise<{ start: number | null; end: number | null; }>" ], - "path": "x-pack/plugins/file_upload/public/importer/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/importer/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -695,7 +695,7 @@ "tags": [], "label": "Props", "description": [], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -706,7 +706,7 @@ "tags": [], "label": "indexName", "description": [], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false }, @@ -720,7 +720,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false }, @@ -734,7 +734,7 @@ "signature": [ "(name: string, error?: string | undefined) => void" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -748,7 +748,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -763,7 +763,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -781,7 +781,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -797,7 +797,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx", + "path": "x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -820,7 +820,7 @@ "signature": [ "FileUploadStartApi" ], - "path": "x-pack/plugins/file_upload/public/plugin.ts", + "path": "x-pack/platform/plugins/private/file_upload/public/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -846,7 +846,7 @@ "tags": [], "label": "AnalysisResult", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -866,7 +866,7 @@ "text": "FindFileStructureResponse" } ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -881,7 +881,7 @@ "FormattedOverrides", " | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -895,7 +895,7 @@ "tags": [], "label": "FindFileStructureErrorResponse", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -909,7 +909,7 @@ "signature": [ "{ statusCode: number; error: string; message: string; attributes?: ErrorAttribute | undefined; }" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -920,7 +920,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -934,7 +934,7 @@ "tags": [], "label": "FindFileStructureResponse", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -945,7 +945,7 @@ "tags": [], "label": "charset", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -956,7 +956,7 @@ "tags": [], "label": "has_header_row", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -967,7 +967,7 @@ "tags": [], "label": "has_byte_order_marker", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -978,7 +978,7 @@ "tags": [], "label": "format", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -992,7 +992,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1006,7 +1006,7 @@ "signature": [ "{ [fieldName: string]: { count: number; cardinality: number; top_hits: { count: number; value: any; }[]; mean_value?: number | undefined; median_value?: number | undefined; max_value?: number | undefined; min_value?: number | undefined; earliest?: string | undefined; latest?: string | undefined; }; }" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1017,7 +1017,7 @@ "tags": [], "label": "sample_start", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1028,7 +1028,7 @@ "tags": [], "label": "num_messages_analyzed", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1306,7 +1306,7 @@ }, ".HISTOGRAM; format?: string | undefined; }; }; }" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1326,7 +1326,7 @@ "text": "IngestPipeline" } ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1337,7 +1337,7 @@ "tags": [], "label": "quote", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1348,7 +1348,7 @@ "tags": [], "label": "delimiter", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1359,7 +1359,7 @@ "tags": [], "label": "need_client_timezone", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1370,7 +1370,7 @@ "tags": [], "label": "num_lines_analyzed", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1384,7 +1384,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1398,7 +1398,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1412,7 +1412,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1426,7 +1426,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1440,7 +1440,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1454,7 +1454,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1468,7 +1468,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1482,7 +1482,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1496,7 +1496,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1510,7 +1510,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -1524,7 +1524,7 @@ "tags": [], "label": "IngestPipeline", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1535,7 +1535,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1549,7 +1549,7 @@ "signature": [ "any[]" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1563,7 +1563,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1577,7 +1577,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -1591,7 +1591,7 @@ "tags": [], "label": "InputOverrides", "description": [], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1605,7 +1605,7 @@ "signature": [ "[key: string]: string | undefined" ], - "path": "x-pack/plugins/file_upload/common/types.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/types.ts", "deprecated": false, "trackAdoption": false } @@ -1625,7 +1625,7 @@ "signature": [ "100000" ], - "path": "x-pack/plugins/file_upload/common/constants.ts", + "path": "x-pack/platform/plugins/private/file_upload/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index 221e81a16808a..98f688db3c18e 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fileUpload title: "fileUpload" image: https://source.unsplash.com/400x175/?github description: API docs for the fileUpload plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fileUpload'] --- import fileUploadObj from './file_upload.devdocs.json'; diff --git a/api_docs/files.mdx b/api_docs/files.mdx index 6a87c4fed29ac..aba3c3479da34 100644 --- a/api_docs/files.mdx +++ b/api_docs/files.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/files title: "files" image: https://source.unsplash.com/400x175/?github description: API docs for the files plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'files'] --- import filesObj from './files.devdocs.json'; diff --git a/api_docs/files_management.mdx b/api_docs/files_management.mdx index 676a72f40d6eb..a7a28319fd80c 100644 --- a/api_docs/files_management.mdx +++ b/api_docs/files_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/filesManagement title: "filesManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the filesManagement plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'filesManagement'] --- import filesManagementObj from './files_management.devdocs.json'; diff --git a/api_docs/fleet.devdocs.json b/api_docs/fleet.devdocs.json index 2f0eca2ba5609..dec5b28cb026e 100644 --- a/api_docs/fleet.devdocs.json +++ b/api_docs/fleet.devdocs.json @@ -12,10 +12,10 @@ "description": [], "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/public/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -40,7 +40,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "text": "CustomAssetsAccordionProps" } ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -87,7 +87,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -123,7 +123,7 @@ "EuiIconProps", ", \"type\">) => React.JSX.Element" ], - "path": "x-pack/plugins/fleet/public/components/package_icon.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/package_icon.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -140,7 +140,7 @@ "EuiIconProps", ", \"type\">" ], - "path": "x-pack/plugins/fleet/public/components/package_icon.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/package_icon.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -158,10 +158,10 @@ "description": [], "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/public/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -186,7 +186,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -206,7 +206,7 @@ "text": "PackagePolicyEditorDatastreamMappingsProps" } ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -233,7 +233,7 @@ }, ") => React.JSX.Element | null" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -253,7 +253,7 @@ "text": "PackagePolicyEditorDatastreamPipelinesProps" } ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -272,7 +272,7 @@ "signature": [ "(packageInfo: T) => string" ], - "path": "x-pack/plugins/fleet/public/services/pkg_key_from_package_info.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/services/pkg_key_from_package_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -286,7 +286,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/fleet/public/services/pkg_key_from_package_info.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/services/pkg_key_from_package_info.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -306,7 +306,7 @@ "description": [ "\nSupported routing state for the agent policy details page routes with deploy agents action" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -321,16 +321,10 @@ ], "signature": [ "[appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined] | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false } @@ -344,7 +338,7 @@ "tags": [], "label": "AgentEnrollmentFlyoutFinalStepExtension", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -355,7 +349,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -369,7 +363,7 @@ "signature": [ "\"agent-enrollment-flyout\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -380,7 +374,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -394,7 +388,7 @@ "signature": [ "React.ComponentClass<{}, any> | React.FunctionComponent<{}>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -410,7 +404,7 @@ "description": [ "\nSupported routing state for the agent policy details page routes with deploy agents action" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -425,16 +419,10 @@ ], "signature": [ "[appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined] | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false } @@ -448,7 +436,7 @@ "tags": [], "label": "CategoryFacet", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -459,7 +447,7 @@ "tags": [], "label": "count", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false }, @@ -470,7 +458,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false }, @@ -481,7 +469,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false }, @@ -495,7 +483,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false }, @@ -509,7 +497,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx", "deprecated": false, "trackAdoption": false } @@ -525,7 +513,7 @@ "description": [ "\nSupported routing state for the create package policy page routes" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -540,16 +528,10 @@ ], "signature": [ "[appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined] | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false }, @@ -564,16 +546,10 @@ ], "signature": [ "[appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined] | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false }, @@ -589,7 +565,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false }, @@ -621,7 +597,7 @@ }, " | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false } @@ -635,7 +611,7 @@ "tags": [], "label": "CustomAssetsAccordionProps", "description": [], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -649,7 +625,7 @@ "signature": [ "{ name: string; url: string; description: string; }[]" ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false }, @@ -663,7 +639,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false }, @@ -677,7 +653,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx", "deprecated": false, "trackAdoption": false } @@ -691,7 +667,7 @@ "tags": [], "label": "DynamicPagePathValues", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -705,7 +681,7 @@ "signature": [ "[key: string]: string | boolean" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false } @@ -738,7 +714,7 @@ ",", "FleetStartDeps" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -758,7 +734,7 @@ "text": "Storage" } ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -798,7 +774,7 @@ }, ">): void; }" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -818,7 +794,7 @@ "text": "DashboardStart" } ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -839,7 +815,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -869,7 +845,7 @@ }, ") | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -890,7 +866,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -911,7 +887,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -931,7 +907,7 @@ "text": "FleetAuthz" } ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -952,7 +928,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -966,7 +942,7 @@ "tags": [], "label": "GetPackagesResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -987,7 +963,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -1001,7 +977,7 @@ "tags": [], "label": "InputFieldProps", "description": [], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1021,7 +997,7 @@ "text": "RegistryVarsEntry" } ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1035,7 +1011,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1049,7 +1025,7 @@ "signature": [ "(newValue: any) => void" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1063,7 +1039,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1081,7 +1057,7 @@ "signature": [ "string[] | null | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1095,7 +1071,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1109,7 +1085,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1123,7 +1099,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1137,7 +1113,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1152,7 +1128,7 @@ "DataStream", "[] | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false }, @@ -1166,7 +1142,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx", "deprecated": false, "trackAdoption": false } @@ -1180,7 +1156,7 @@ "tags": [], "label": "IntegrationCardItem", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1194,7 +1170,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1205,7 +1181,7 @@ "tags": [], "label": "description", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1219,7 +1195,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1233,7 +1209,7 @@ "signature": [ "React.ReactNode[] | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1247,7 +1223,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1277,7 +1253,7 @@ }, ")[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1288,7 +1264,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1303,7 +1279,7 @@ "EpmPackageInstallStatus", " | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1314,7 +1290,7 @@ "tags": [], "label": "integration", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1328,7 +1304,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1342,7 +1318,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1356,7 +1332,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1370,7 +1346,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1384,7 +1360,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1398,7 +1374,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1409,7 +1385,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1423,7 +1399,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1440,7 +1416,7 @@ "IntegrationCardReleaseLabel", " | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1454,7 +1430,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1468,7 +1444,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1479,7 +1455,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1493,7 +1469,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1504,7 +1480,7 @@ "tags": [], "label": "url", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1515,7 +1491,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false }, @@ -1529,7 +1505,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx", "deprecated": false, "trackAdoption": false } @@ -1543,7 +1519,7 @@ "tags": [], "label": "IntegrationsAppBrowseRouteState", "description": [], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1556,7 +1532,7 @@ "description": [ "The agent policy that we are browsing integrations for" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false }, @@ -1572,7 +1548,7 @@ "signature": [ "\"installed\" | \"updates_available\" | undefined" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false } @@ -1586,7 +1562,7 @@ "tags": [], "label": "NewPackagePolicy", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1600,7 +1576,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1611,7 +1587,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1625,7 +1601,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1639,7 +1615,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1650,7 +1626,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1664,7 +1640,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1680,7 +1656,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -1732,7 +1708,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1746,7 +1722,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1767,7 +1743,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1788,7 +1764,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1809,7 +1785,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1823,7 +1799,7 @@ "signature": [ "{ [key: string]: any; privileges?: { cluster?: string[] | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1837,7 +1813,7 @@ "signature": [ "{ inputs?: { [key: string]: any; } | undefined; } | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -1851,7 +1827,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -1867,7 +1843,7 @@ "description": [ "Extension point registration contract for Integration details Assets view" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1878,7 +1854,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -1892,7 +1868,7 @@ "signature": [ "\"package-detail-assets\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -1914,7 +1890,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1947,7 +1923,7 @@ "description": [ "Extension point registration contract for Integration details Custom view" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1958,7 +1934,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -1972,7 +1948,7 @@ "signature": [ "\"package-detail-custom\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -1994,7 +1970,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2025,7 +2001,7 @@ "tags": [], "label": "PackageCustomExtensionComponentProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2038,7 +2014,7 @@ "description": [ "The package key value that should be used used for URLs" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2099,7 +2075,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -2113,7 +2089,7 @@ "tags": [], "label": "PackageGenericErrorsListProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2130,7 +2106,7 @@ "FleetServerAgentComponentUnit", "[]" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -2144,7 +2120,7 @@ "tags": [], "label": "PackageListGridProps", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2158,7 +2134,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2172,7 +2148,7 @@ "signature": [ "React.ReactNode | React.ReactNode[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2186,7 +2162,7 @@ "signature": [ "Record | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2207,7 +2183,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2218,7 +2194,7 @@ "tags": [], "label": "searchTerm", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2232,7 +2208,7 @@ "signature": [ "(search: string) => void" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2246,7 +2222,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2261,7 +2237,7 @@ "tags": [], "label": "selectedCategory", "description": [], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2275,7 +2251,7 @@ "signature": [ "(category: string) => void" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2289,7 +2265,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2314,7 +2290,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2330,7 +2306,7 @@ "IntegrationsURLParameters", ") => void" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2344,7 +2320,7 @@ "signature": [ "IntegrationsURLParameters" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2364,7 +2340,7 @@ "IntegrationsURLParameters", ") => void" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2378,7 +2354,7 @@ "signature": [ "IntegrationsURLParameters" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2396,7 +2372,7 @@ "signature": [ "JSX.Element | null | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2410,7 +2386,7 @@ "signature": [ "\"m\" | \"s\" | \"l\" | \"xs\" | \"xl\" | \"xxl\" | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2424,7 +2400,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2438,7 +2414,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2459,7 +2435,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2473,7 +2449,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2487,7 +2463,7 @@ "signature": [ "((c: string | undefined) => void) | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2501,7 +2477,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2519,7 +2495,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2533,7 +2509,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2547,7 +2523,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2561,7 +2537,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2575,7 +2551,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2589,7 +2565,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx", "deprecated": false, "trackAdoption": false } @@ -2605,7 +2581,7 @@ "description": [ "Extension point registration contract for Integration Policy Create views" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2616,7 +2592,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2630,7 +2606,7 @@ "signature": [ "\"package-policy-create\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2652,7 +2628,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2683,7 +2659,7 @@ "tags": [], "label": "PackagePolicyCreateExtensionComponentProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2705,7 +2681,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2729,7 +2705,7 @@ }, "; }) => void" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2740,7 +2716,7 @@ "tags": [], "label": "opts", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2753,7 +2729,7 @@ "description": [ "is current form state is valid" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2775,7 +2751,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -2796,7 +2772,7 @@ "description": [ "Extension point registration contract for Integration Policy Create views in multi-step onboarding" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2807,7 +2783,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2821,7 +2797,7 @@ "signature": [ "\"package-policy-create-multi-step\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2843,7 +2819,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2876,7 +2852,7 @@ "description": [ "Extension point registration contract for Integration Policy Edit views" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2887,7 +2863,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2901,7 +2877,7 @@ "signature": [ "\"package-policy-edit\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2915,7 +2891,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -2937,7 +2913,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2968,7 +2944,7 @@ "tags": [], "label": "PackagePolicyEditExtensionComponentProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2990,7 +2966,7 @@ "text": "PackagePolicy" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3012,7 +2988,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3036,7 +3012,7 @@ }, ">; }) => void" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3047,7 +3023,7 @@ "tags": [], "label": "opts", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3060,7 +3036,7 @@ "description": [ "is current form state is valid" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3100,7 +3076,7 @@ }, " | undefined; elasticsearch?: { [key: string]: any; privileges?: { cluster?: string[] | undefined; } | undefined; } | undefined; overrides?: { inputs?: { [key: string]: any; } | undefined; } | null | undefined; supports_agentless?: boolean | null | undefined; }" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -3119,7 +3095,7 @@ "tags": [], "label": "PackagePolicyEditorDatastreamMappingsProps", "description": [], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3180,7 +3156,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false }, @@ -3194,7 +3170,7 @@ "signature": [ "{ id?: string | undefined; data_stream: { dataset: string; type: string; }; }" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false }, @@ -3208,7 +3184,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx", "deprecated": false, "trackAdoption": false } @@ -3222,7 +3198,7 @@ "tags": [], "label": "PackagePolicyEditorDatastreamPipelinesProps", "description": [], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3283,7 +3259,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false }, @@ -3297,7 +3273,7 @@ "signature": [ "{ id?: string | undefined; data_stream: { dataset: string; type: string; }; }" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false }, @@ -3311,7 +3287,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx", "deprecated": false, "trackAdoption": false } @@ -3327,7 +3303,7 @@ "description": [ "Extension point registration contract for Integration Policy Edit tabs views" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3338,7 +3314,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3352,7 +3328,7 @@ "signature": [ "\"package-policy-edit-tabs\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3374,7 +3350,7 @@ }, ">; }[]" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -3388,7 +3364,7 @@ "tags": [], "label": "PackagePolicyResponseExtension", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3399,7 +3375,7 @@ "tags": [], "label": "package", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3413,7 +3389,7 @@ "signature": [ "\"package-policy-response\"" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3435,7 +3411,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3466,7 +3442,7 @@ "tags": [], "label": "PackagePolicyResponseExtensionComponentProps", "description": [], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3488,7 +3464,7 @@ "text": "Agent" } ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -3504,7 +3480,7 @@ "signature": [ "((val: boolean) => void) | undefined" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3518,7 +3494,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3538,7 +3514,7 @@ "description": [ "Internal storage for registered UI Extension Points" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3560,7 +3536,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -3576,7 +3552,7 @@ "tags": [], "label": "KibanaSavedObjectType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3588,7 +3564,7 @@ "tags": [], "label": "SetupTechnology", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/setup_technology.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/setup_technology.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3629,7 +3605,7 @@ "text": "CreatePackagePolicyRouteState" } ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3688,7 +3664,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3703,7 +3679,7 @@ "signature": [ "{ prereleaseIntegrationsEnabled: boolean; }" ], - "path": "x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx", + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx", "deprecated": false, "trackAdoption": false } @@ -3722,7 +3698,7 @@ "signature": [ "\"showAddAgentHelp\" | \"openEnrollmentFlyout\"" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3739,7 +3715,7 @@ "signature": [ "boolean | { renameKey?: string | undefined; policyIdAsValue?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/public/types/intra_app_route_state.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3756,7 +3732,7 @@ "signature": [ "React.ComponentClass<{}, any> | React.FunctionComponent<{}>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3789,7 +3765,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3822,7 +3798,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3855,7 +3831,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3872,7 +3848,7 @@ "signature": [ "React.ComponentClass<{}, any> | React.FunctionComponent<{}>" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3905,7 +3881,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3938,7 +3914,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4025,7 +4001,7 @@ " | ", "PliAuthBlockExtension" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4050,7 +4026,7 @@ }, ") => void" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4135,7 +4111,7 @@ " | ", "PliAuthBlockExtension" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -4151,7 +4127,7 @@ "tags": [], "label": "EPM_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4162,7 +4138,7 @@ "tags": [], "label": "BULK_INSTALL_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4173,7 +4149,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4184,7 +4160,7 @@ "tags": [], "label": "INSTALLED_LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4195,7 +4171,7 @@ "tags": [], "label": "LIMITED_LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4206,7 +4182,7 @@ "tags": [], "label": "INFO_WITHOUT_VERSION_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4217,7 +4193,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4228,7 +4204,7 @@ "tags": [], "label": "DATA_STREAMS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4239,7 +4215,7 @@ "tags": [], "label": "INSTALL_FROM_REGISTRY_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4250,7 +4226,7 @@ "tags": [], "label": "INSTALL_BY_UPLOAD_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4261,7 +4237,7 @@ "tags": [], "label": "CUSTOM_INTEGRATIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4272,7 +4248,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4283,7 +4259,7 @@ "tags": [], "label": "INSTALL_KIBANA_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4294,7 +4270,7 @@ "tags": [], "label": "DELETE_KIBANA_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4305,7 +4281,7 @@ "tags": [], "label": "FILEPATH_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4316,7 +4292,7 @@ "tags": [], "label": "CATEGORIES_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4327,7 +4303,7 @@ "tags": [], "label": "VERIFICATION_KEY_ID", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4338,7 +4314,7 @@ "tags": [], "label": "STATS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4349,7 +4325,7 @@ "tags": [], "label": "BULK_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4360,7 +4336,7 @@ "tags": [], "label": "INPUTS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -4371,7 +4347,7 @@ "tags": [], "label": "REAUTHORIZE_TRANSFORMS", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -4388,7 +4364,7 @@ "signature": [ "{ readonly Installed: \"installed\"; readonly Installing: \"installing\"; readonly InstallFailed: \"install_failed\"; readonly NotInstalled: \"not_installed\"; }" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4400,7 +4376,7 @@ "tags": [], "label": "pagePathGetters", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4414,7 +4390,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4430,7 +4406,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4446,7 +4422,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4462,7 +4438,7 @@ "signature": [ "({ searchTerm, category, subCategory, }: { searchTerm?: string | undefined; category?: string | undefined; subCategory?: string | undefined; }) => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4473,7 +4449,7 @@ "tags": [], "label": "{\n searchTerm,\n category,\n subCategory,\n }", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4487,7 +4463,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false }, @@ -4501,7 +4477,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false }, @@ -4515,7 +4491,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false } @@ -4534,7 +4510,7 @@ "signature": [ "({ query, category }: { query?: string | undefined; category?: string | undefined; }) => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4545,7 +4521,7 @@ "tags": [], "label": "{ query, category }", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4559,7 +4535,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false }, @@ -4573,7 +4549,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false } @@ -4592,7 +4568,7 @@ "signature": [ "({ query, category, }: { query?: string | undefined; category?: string | undefined; }) => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4603,7 +4579,7 @@ "tags": [], "label": "{\n query,\n category,\n }", "description": [], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4617,7 +4593,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false }, @@ -4631,7 +4607,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false } @@ -4650,7 +4626,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4674,7 +4650,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4694,7 +4670,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4720,7 +4696,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4740,7 +4716,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4766,7 +4742,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4786,7 +4762,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4812,7 +4788,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4832,7 +4808,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4858,7 +4834,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4878,7 +4854,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4904,7 +4880,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4924,7 +4900,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4950,7 +4926,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4970,7 +4946,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4996,7 +4972,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5016,7 +4992,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5044,7 +5020,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5064,7 +5040,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5092,7 +5068,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5112,7 +5088,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5130,7 +5106,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5146,7 +5122,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5170,7 +5146,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5190,7 +5166,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5216,7 +5192,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5236,7 +5212,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5262,7 +5238,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5282,7 +5258,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5308,7 +5284,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5328,7 +5304,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5354,7 +5330,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5374,7 +5350,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5400,7 +5376,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5420,7 +5396,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5446,7 +5422,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5466,7 +5442,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5492,7 +5468,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5512,7 +5488,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5530,7 +5506,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5546,7 +5522,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5562,7 +5538,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5578,7 +5554,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5602,7 +5578,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5622,7 +5598,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5640,7 +5616,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5656,7 +5632,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5680,7 +5656,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5700,7 +5676,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5726,7 +5702,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5746,7 +5722,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5772,7 +5748,7 @@ }, ") => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5792,7 +5768,7 @@ "text": "DynamicPagePathValues" } ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5810,7 +5786,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5826,7 +5802,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5842,7 +5818,7 @@ "signature": [ "() => [string, string]" ], - "path": "x-pack/plugins/fleet/public/constants/page_paths.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5859,7 +5835,7 @@ "tags": [], "label": "FleetSetup", "description": [], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -5875,7 +5851,7 @@ "description": [ "\nDescribes public Fleet plugin contract returned at the `start` stage." ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5897,7 +5873,7 @@ "text": "FleetAuthz" } ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -5911,7 +5887,7 @@ "signature": [ "FleetConfigType" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -5933,7 +5909,7 @@ }, ") => void" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6018,7 +5994,7 @@ " | ", "PliAuthBlockExtension" ], - "path": "x-pack/plugins/fleet/public/types/ui_extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts", "deprecated": false, "trackAdoption": false } @@ -6034,7 +6010,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6076,7 +6052,7 @@ "RequestError", ">>; }; }" ], - "path": "x-pack/plugins/fleet/public/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/public/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -6106,7 +6082,7 @@ "FleetNotFoundError", "<{ agentId: string; }>" ], - "path": "x-pack/plugins/fleet/server/errors/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/errors/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6131,7 +6107,7 @@ "FleetError", "" ], - "path": "x-pack/plugins/fleet/server/errors/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/errors/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6154,7 +6130,7 @@ }, " extends Error" ], - "path": "x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6168,7 +6144,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6182,7 +6158,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6215,7 +6191,7 @@ "MappingRuntimeFields", ">" ], - "path": "x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6236,7 +6212,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6251,7 +6227,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6270,7 +6246,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/registry/registry_url.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6295,7 +6271,7 @@ }, ", \"decodedSha256\" | \"identifier\">>({ identifier, decodedSha256, }: T) => string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/mappings.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/mappings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6309,7 +6285,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/mappings.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/mappings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6329,7 +6305,7 @@ "description": [ "\nA client for interacting with data about an Agent\n" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6353,7 +6329,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6367,7 +6343,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6395,7 +6371,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6409,7 +6385,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6421,7 +6397,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6435,7 +6411,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false } @@ -6456,7 +6432,7 @@ "signature": [ "(agentId: string) => Promise<\"error\" | \"offline\" | \"online\" | \"inactive\" | \"degraded\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\">" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6470,7 +6446,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6490,7 +6466,7 @@ "signature": [ "(agentPolicyId?: string | undefined, filterKuery?: string | undefined) => Promise<{ events: number; online: number; error: number; offline: number; other: number; updating: number; inactive: number; unenrolled: number; all: number; active: number; }>" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6504,7 +6480,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6519,7 +6495,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6553,7 +6529,7 @@ "AggregationsAggregate", "> | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6571,7 +6547,7 @@ "SortResults", " | undefined; pitId?: string | undefined; getStatusSummary?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -6591,7 +6567,7 @@ "signature": [ "(includeCurrentVersion?: boolean | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6605,7 +6581,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6625,7 +6601,7 @@ "signature": [ "(includeCurrentVersion?: boolean | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6639,7 +6615,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6659,7 +6635,7 @@ "signature": [ "(includeCurrentVersion?: boolean | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6673,7 +6649,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -6693,7 +6669,7 @@ "description": [ "\nService that provides exported function that return information about EPM packages" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6723,7 +6699,7 @@ }, " | null>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6744,7 +6720,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6755,7 +6731,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6766,7 +6742,7 @@ "tags": [], "label": "withPackagePolicies", "description": [], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -6806,7 +6782,7 @@ }, "[]; total: number; page: number; perPage: number; }>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6827,7 +6803,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6849,7 +6825,7 @@ }, " | undefined; withAgentCount?: boolean | undefined; spaceId?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -6889,7 +6865,7 @@ }, " | null>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6910,7 +6886,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6921,7 +6897,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -6943,7 +6919,7 @@ }, " | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -6975,7 +6951,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -6996,7 +6972,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -7010,7 +6986,7 @@ "signature": [ "(string | { id: string; spaceId?: string | undefined; })[]" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -7024,7 +7000,7 @@ "signature": [ "{ fields?: string[] | undefined; withPackagePolicies?: boolean | undefined; ignoreMissing?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -7064,7 +7040,7 @@ }, "; }[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -7085,7 +7061,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -7111,7 +7087,7 @@ "FetchAllAgentPolicyIdsOptions", ") => Promise>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -7132,7 +7108,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -7154,7 +7130,7 @@ }, ", \"perPage\" | \"kuery\"> & { spaceId?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -7188,7 +7164,7 @@ }, "[]>>" ], - "path": "x-pack/plugins/fleet/server/services/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/index.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -7209,7 +7185,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -7231,7 +7207,7 @@ }, ", \"perPage\" | \"sortField\" | \"sortOrder\" | \"kuery\"> & { fields?: string[] | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -7249,7 +7225,7 @@ "description": [ "\nA service for interacting with Agent data. See {@link AgentClient} for more information.\n" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7280,7 +7256,7 @@ "text": "AgentClient" } ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7301,7 +7277,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7328,7 +7304,7 @@ "text": "AgentClient" } ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7342,7 +7318,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7368,7 +7344,7 @@ "text": "AgentClient" } ], - "path": "x-pack/plugins/fleet/server/services/agents/agent_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts", "deprecated": false, "trackAdoption": false } @@ -7393,7 +7369,7 @@ " extends ", "NewArtifact" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7404,7 +7380,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7415,7 +7391,7 @@ "tags": [], "label": "created", "description": [], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false } @@ -7431,7 +7407,7 @@ "description": [ "\nThe interface exposed out of Fleet's Artifact service via the client class" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7453,7 +7429,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7467,7 +7443,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7495,7 +7471,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7509,7 +7485,7 @@ "signature": [ "ArtifactsClientCreateOptions" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7537,7 +7513,7 @@ }, "[] | undefined; errors?: Error[] | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7552,7 +7528,7 @@ "ArtifactsClientCreateOptions", "[]" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7570,7 +7546,7 @@ "signature": [ "(id: string) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7584,7 +7560,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7602,7 +7578,7 @@ "signature": [ "(ids: string[]) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7616,7 +7592,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7658,7 +7634,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7679,7 +7655,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7699,7 +7675,7 @@ "ArtifactEncodedMetadata", ">" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7713,7 +7689,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7731,7 +7707,7 @@ "signature": [ "(content: string) => string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7745,7 +7721,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -7773,7 +7749,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7788,7 +7764,7 @@ "FetchAllArtifactsOptions", " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -7806,7 +7782,7 @@ "tags": [], "label": "FleetFile", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7817,7 +7793,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7828,7 +7804,7 @@ "tags": [], "label": "actionId", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7842,7 +7818,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7853,7 +7829,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7867,7 +7843,7 @@ "signature": [ "\"AWAITING_UPLOAD\" | \"UPLOADING\" | \"READY\" | \"UPLOAD_ERROR\" | \"DELETED\"" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7878,7 +7854,7 @@ "tags": [], "label": "mimeType", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7889,7 +7865,7 @@ "tags": [], "label": "size", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7900,7 +7876,7 @@ "tags": [], "label": "sha256", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7911,7 +7887,7 @@ "tags": [], "label": "created", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false } @@ -7925,7 +7901,7 @@ "tags": [], "label": "FleetFileUpdatableFields", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7939,7 +7915,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false }, @@ -7950,7 +7926,7 @@ "tags": [], "label": "actionId", "description": [], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false } @@ -7966,7 +7942,7 @@ "description": [ "\nInterface for files that were created by a host and consumed in kibana" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7982,7 +7958,7 @@ "signature": [ "(fileId: string) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7996,7 +7972,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8018,7 +7994,7 @@ "Readable", "; fileName: string; mimeType?: string | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8032,7 +8008,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8060,7 +8036,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8074,7 +8050,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8092,7 +8068,7 @@ "tags": [], "label": "FleetSetupDeps", "description": [], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8112,7 +8088,7 @@ "text": "SecurityPluginSetup" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8133,7 +8109,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8153,7 +8129,7 @@ "text": "EncryptedSavedObjectsPluginSetup" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8174,7 +8150,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8195,7 +8171,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8216,7 +8192,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8237,7 +8213,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8257,7 +8233,7 @@ "text": "TaskManagerSetupContract" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -8277,7 +8253,7 @@ "text": "FieldsMetadataServerSetup" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false } @@ -8310,7 +8286,7 @@ "text": "FleetFromHostFileClientInterface" } ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8342,7 +8318,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8362,7 +8338,7 @@ "text": "HapiReadableStream" } ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8377,7 +8353,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8397,7 +8373,7 @@ "signature": [ "(fileId: string) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8411,7 +8387,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8447,7 +8423,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8461,7 +8437,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8484,7 +8460,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8515,7 +8491,7 @@ " extends ", "Readable" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8529,7 +8505,7 @@ "signature": [ "{ filename: string; headers: Record; }" ], - "path": "x-pack/plugins/fleet/server/services/files/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/files/types.ts", "deprecated": false, "trackAdoption": false } @@ -8543,7 +8519,7 @@ "tags": [], "label": "MessageSigningServiceInterface", "description": [], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8554,7 +8530,7 @@ "tags": [], "label": "isEncryptionAvailable", "description": [], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8568,7 +8544,7 @@ "signature": [ "(providedPassphrase?: string | undefined) => Promise<{ privateKey: string; publicKey: string; passphrase: string; }>" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8582,7 +8558,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -8600,7 +8576,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8616,7 +8592,7 @@ "signature": [ "(message: Record | Buffer) => Promise<{ data: Buffer; signature: string; }>" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8630,7 +8606,7 @@ "signature": [ "Record | Buffer" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8648,7 +8624,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/server/services/security/message_signing_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -8664,7 +8640,7 @@ "tags": [], "label": "PackageClient", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8686,7 +8662,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8700,7 +8676,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -8720,7 +8696,7 @@ "EnsurePackageResult", ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8731,7 +8707,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8742,7 +8718,7 @@ "tags": [], "label": "pkgName", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8756,7 +8732,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8770,7 +8746,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8784,7 +8760,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -8811,7 +8787,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8822,7 +8798,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8833,7 +8809,7 @@ "tags": [], "label": "pkgName", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8847,7 +8823,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8861,7 +8837,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8875,7 +8851,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -8904,7 +8880,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8915,7 +8891,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -8926,7 +8902,7 @@ "tags": [], "label": "pkgName", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8940,7 +8916,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8954,7 +8930,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8968,7 +8944,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -8983,7 +8959,7 @@ "CustomPackageDatasetConfiguration", "[]" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -9020,7 +8996,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9034,7 +9010,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9050,7 +9026,7 @@ "FetchFindLatestPackageOptions", " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9084,7 +9060,7 @@ }, "; paths: string[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9104,7 +9080,7 @@ "text": "BundledPackage" } ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9136,7 +9112,7 @@ "PackageVerificationResult", " | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9150,7 +9126,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9165,7 +9141,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9180,7 +9156,7 @@ "signature": [ "{ ignoreUnverified?: boolean | undefined; useStreaming?: boolean | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9206,7 +9182,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9220,7 +9196,7 @@ "signature": [ "{ packageName: string; datasetName?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9235,7 +9211,7 @@ "signature": [ "{ excludedFieldsAssets?: string[] | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9261,7 +9237,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9275,7 +9251,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9290,7 +9266,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9316,7 +9292,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9327,7 +9303,7 @@ "tags": [], "label": "params", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9341,7 +9317,7 @@ "signature": [ "false | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9355,7 +9331,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9369,7 +9345,7 @@ "signature": [ "false | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -9388,7 +9364,7 @@ "signature": [ "(pkgName: string, pkgVersion?: string | undefined, prerelease?: false | undefined, ignoreUnverified?: boolean | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9402,7 +9378,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9417,7 +9393,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9432,7 +9408,7 @@ "signature": [ "false | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9447,7 +9423,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9481,7 +9457,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9501,7 +9477,7 @@ "text": "InstallablePackage" } ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9516,7 +9492,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9534,7 +9510,7 @@ "tags": [], "label": "PackagePolicyClient", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9614,7 +9590,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9634,7 +9610,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9655,7 +9631,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9676,7 +9652,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9688,7 +9664,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9702,7 +9678,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9716,7 +9692,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9737,7 +9713,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9752,7 +9728,7 @@ "HTTPAuthorizationHeader", " | null | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9766,7 +9742,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9780,7 +9756,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9794,7 +9770,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9808,7 +9784,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9822,7 +9798,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -9843,7 +9819,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -9866,7 +9842,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9888,7 +9864,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -9924,7 +9900,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -9944,7 +9920,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -9959,7 +9935,7 @@ "signature": [ "NewPackagePolicyWithId" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10029,7 +10005,7 @@ }, " | undefined; }[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10049,7 +10025,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10070,7 +10046,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10086,7 +10062,7 @@ "NewPackagePolicyWithId", "[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10098,7 +10074,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10119,7 +10095,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10133,7 +10109,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10147,7 +10123,7 @@ "signature": [ "true | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10162,7 +10138,7 @@ "HTTPAuthorizationHeader", " | null | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10176,7 +10152,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -10245,7 +10221,7 @@ }, "; }[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10265,7 +10241,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10286,7 +10262,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10308,7 +10284,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10320,7 +10296,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10341,7 +10317,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10355,7 +10331,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10369,7 +10345,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -10385,7 +10361,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -10419,7 +10395,7 @@ }, " | null>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10439,7 +10415,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10454,7 +10430,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10488,7 +10464,7 @@ }, "[]>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10508,7 +10484,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10523,7 +10499,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10557,7 +10533,7 @@ }, "[] | null>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10577,7 +10553,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10592,7 +10568,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10604,7 +10580,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10618,7 +10594,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -10669,7 +10645,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10689,7 +10665,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10711,7 +10687,7 @@ }, " & { spaceId?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10753,7 +10729,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10773,7 +10749,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10794,7 +10770,7 @@ "text": "ListWithKuery" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10852,7 +10828,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10872,7 +10848,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10893,7 +10869,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10908,7 +10884,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10929,7 +10905,7 @@ "text": "UpdatePackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -10941,7 +10917,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -10962,7 +10938,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10976,7 +10952,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -10990,7 +10966,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -11006,7 +10982,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11072,7 +11048,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11092,7 +11068,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11113,7 +11089,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11128,7 +11104,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11140,7 +11116,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11161,7 +11137,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11175,7 +11151,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11189,7 +11165,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11203,7 +11179,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -11226,7 +11202,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11248,7 +11224,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11306,7 +11282,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11326,7 +11302,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11347,7 +11323,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11362,7 +11338,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11374,7 +11350,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11395,7 +11371,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11409,7 +11385,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -11432,7 +11408,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11447,7 +11423,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11489,7 +11465,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11509,7 +11485,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11524,7 +11500,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11546,7 +11522,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11561,7 +11537,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11603,7 +11579,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11623,7 +11599,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11644,7 +11620,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11686,7 +11662,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11706,7 +11682,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11721,7 +11697,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11733,7 +11709,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11754,7 +11730,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false }, @@ -11768,7 +11744,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -11823,7 +11799,7 @@ "RunExternalCallbacksPackagePolicyResponse", ">" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -11837,7 +11813,7 @@ "signature": [ "A" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11853,7 +11829,7 @@ "RunExternalCallbacksPackagePolicyArgument", "" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11874,7 +11850,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11895,7 +11871,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -11917,7 +11893,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11939,7 +11915,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -11991,7 +11967,7 @@ }, " | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12005,7 +11981,7 @@ "signature": [ "DeletePackagePoliciesResponse" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12026,7 +12002,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12047,7 +12023,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12069,7 +12045,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12091,7 +12067,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12149,7 +12125,7 @@ }, " | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12169,7 +12145,7 @@ "text": "PostDeletePackagePoliciesResponse" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12190,7 +12166,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12211,7 +12187,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12233,7 +12209,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12255,7 +12231,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12299,7 +12275,7 @@ "ExperimentalDataStreamFeature", "[]; }>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12319,7 +12295,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12334,7 +12310,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12362,7 +12338,7 @@ }, ", outputId: string, options?: { force?: boolean | undefined; } | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12382,7 +12358,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12397,7 +12373,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12409,7 +12385,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12423,7 +12399,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false } @@ -12454,7 +12430,7 @@ "PackagePolicyClientFetchAllItemIdsOptions", " | undefined) => Promise>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12474,7 +12450,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12490,7 +12466,7 @@ "PackagePolicyClientFetchAllItemIdsOptions", " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12528,7 +12504,7 @@ }, "[]>>" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12548,7 +12524,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12564,7 +12540,7 @@ "PackagePolicyClientFetchAllItemsOptions", " | undefined" ], - "path": "x-pack/plugins/fleet/server/services/package_policy_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -12582,7 +12558,7 @@ "tags": [], "label": "PackageService", "description": [], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12611,7 +12587,7 @@ "text": "PackageClient" } ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -12632,7 +12608,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -12656,7 +12632,7 @@ "text": "PackageClient" } ], - "path": "x-pack/plugins/fleet/server/services/epm/package_service.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts", "deprecated": false, "trackAdoption": false } @@ -12694,7 +12670,7 @@ " | ", "ExternalCallbackAgentPolicyPostUpdate" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -12709,7 +12685,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/server/config.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -12724,7 +12700,7 @@ "signature": [ "Pick, \"page\" | \"perPage\" | \"sortOrder\" | \"kuery\"> & { sortField?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -12787,7 +12763,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -12808,7 +12784,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -12828,7 +12804,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -14096,7 +14072,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -14117,7 +14093,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -14138,7 +14114,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -14189,7 +14165,7 @@ }, " | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -14211,7 +14187,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -14231,7 +14207,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -15499,7 +15475,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -15520,7 +15496,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -15541,7 +15517,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -15606,7 +15582,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -15627,7 +15603,7 @@ "text": "PackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -15647,7 +15623,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -16915,7 +16891,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -16936,7 +16912,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -16957,7 +16933,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -17016,7 +16992,7 @@ }, " | undefined) => Promise" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -17040,7 +17016,7 @@ }, " | undefined; policy_id?: string | null | undefined; policy_ids?: string[] | undefined; output_id?: string | undefined; statusCode?: number | undefined; body?: { message: string; } | undefined; }>" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -17060,7 +17036,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -18328,7 +18304,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -18349,7 +18325,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -18370,7 +18346,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -18435,7 +18411,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -18456,7 +18432,7 @@ "text": "UpdatePackagePolicy" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -18476,7 +18452,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -19744,7 +19720,7 @@ "default", "; }" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -19765,7 +19741,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false }, @@ -19786,7 +19762,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/server/types/extensions.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/types/extensions.ts", "deprecated": false, "trackAdoption": false } @@ -19805,7 +19781,7 @@ "signature": [ "void" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "setup", @@ -19820,7 +19796,7 @@ "description": [ "\nDescribes public Fleet plugin contract returned at the `startup` stage." ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19836,7 +19812,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -19868,7 +19844,7 @@ }, ">; }" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19888,7 +19864,7 @@ "text": "PackageService" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19908,7 +19884,7 @@ "text": "AgentService" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19930,7 +19906,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19950,7 +19926,7 @@ "text": "AgentPolicyServiceInterface" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -19974,7 +19950,7 @@ }, ") => void" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -19994,7 +19970,7 @@ "text": "ExternalCallback" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20021,7 +19997,7 @@ "text": "ArtifactsClientInterface" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20035,7 +20011,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20071,7 +20047,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -20091,7 +20067,7 @@ "text": "MessageSigningServiceInterface" } ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -20105,7 +20081,7 @@ "signature": [ "UninstallTokenServiceInterface" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -20120,7 +20096,7 @@ "(packageName: string) => ", "FleetActionsClientInterface" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20134,7 +20110,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20152,7 +20128,7 @@ "signature": [ "(spaceId: string, pkgName: string, tagName: string) => string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20166,7 +20142,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20181,7 +20157,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20196,7 +20172,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20226,7 +20202,7 @@ "OutputClientInterface", ">" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20247,7 +20223,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/server/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20275,7 +20251,7 @@ "signature": [ "(integrationName: string, forHostDelivery?: boolean) => string" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20289,7 +20265,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20304,7 +20280,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20325,7 +20301,7 @@ "signature": [ "(integrationName: string, forHostDelivery?: boolean) => string" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20339,7 +20315,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20354,7 +20330,7 @@ "signature": [ "boolean" ], - "path": "x-pack/plugins/fleet/common/services/file_storage.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20373,7 +20349,7 @@ "signature": [ "(sortField: string, sortOrder: \"asc\" | \"desc\") => Record[]" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20387,7 +20363,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20402,7 +20378,7 @@ "signature": [ "\"asc\" | \"desc\"" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20421,7 +20397,7 @@ "signature": [ "(dataset: string, allowBlank: boolean | undefined) => { valid: boolean; error?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20435,7 +20411,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20450,7 +20426,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -20469,7 +20445,7 @@ "signature": [ "(namespace: string, allowBlankNamespace: boolean | undefined, allowedNamespacePrefixes: string[] | undefined) => { valid: boolean; error?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20483,7 +20459,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20498,7 +20474,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -20513,7 +20489,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -20532,7 +20508,7 @@ "signature": [ "(kuery: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20546,7 +20522,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/agent_utils.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -20574,7 +20550,7 @@ }, " extends AgentBase" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20585,7 +20561,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20599,7 +20575,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20613,7 +20589,7 @@ "signature": [ "{ id: string; retired_at: string; }[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20628,7 +20604,7 @@ "OutputMap", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20642,7 +20618,7 @@ "signature": [ "\"error\" | \"offline\" | \"online\" | \"inactive\" | \"degraded\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20656,7 +20632,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20670,7 +20646,7 @@ "signature": [ "(string | number | null)[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -20685,7 +20661,7 @@ "AgentMetrics", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false } @@ -20699,7 +20675,7 @@ "tags": [], "label": "AgentMetadata", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20713,7 +20689,7 @@ "signature": [ "[x: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false } @@ -20745,7 +20721,7 @@ }, ", \"id\">" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20756,7 +20732,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20770,7 +20746,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20784,7 +20760,7 @@ "signature": [ "\"active\" | \"inactive\"" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20805,7 +20781,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20816,7 +20792,7 @@ "tags": [], "label": "is_managed", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20827,7 +20803,7 @@ "tags": [], "label": "updated_at", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20838,7 +20814,7 @@ "tags": [], "label": "updated_by", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20849,7 +20825,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20863,7 +20839,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20877,7 +20853,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20888,7 +20864,7 @@ "tags": [], "label": "is_protected", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -20902,7 +20878,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -20916,7 +20892,7 @@ "tags": [], "label": "AssetParts", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -20927,7 +20903,7 @@ "tags": [], "label": "pkgkey", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -20941,7 +20917,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -20955,7 +20931,7 @@ "signature": [ "\"kibana\" | \"elasticsearch\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -20992,7 +20968,7 @@ "text": "DocAssetType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21003,7 +20979,7 @@ "tags": [], "label": "file", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21017,7 +20993,7 @@ "tags": [], "label": "AssetSOObject", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21028,7 +21004,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21056,7 +21032,7 @@ "text": "ElasticsearchAssetType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21070,7 +21046,7 @@ "tags": [], "label": "BulkInstallPackageInfo", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21081,7 +21057,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21092,7 +21068,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21112,7 +21088,7 @@ "text": "InstallResult" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21126,7 +21102,7 @@ "tags": [], "label": "BulkInstallPackagesResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21156,7 +21132,7 @@ }, ")[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21170,7 +21146,7 @@ "tags": [], "label": "BundledPackage", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21181,7 +21157,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21192,7 +21168,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21206,7 +21182,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -21222,7 +21198,7 @@ "tags": [], "label": "CheckPermissionsResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/app.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21236,7 +21212,7 @@ "signature": [ "\"MISSING_SECURITY\" | \"MISSING_PRIVILEGES\" | \"MISSING_FLEET_SERVER_SETUP_PRIVILEGES\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/app.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts", "deprecated": false, "trackAdoption": false }, @@ -21247,7 +21223,7 @@ "tags": [], "label": "success", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/app.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts", "deprecated": false, "trackAdoption": false } @@ -21261,7 +21237,7 @@ "tags": [], "label": "CopyAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21281,7 +21257,7 @@ "text": "AgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21295,7 +21271,7 @@ "tags": [], "label": "CreateAgentPolicyRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21315,7 +21291,7 @@ "text": "NewAgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21329,7 +21305,7 @@ "tags": [], "label": "CreateAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21349,7 +21325,7 @@ "text": "AgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21363,7 +21339,7 @@ "tags": [], "label": "CreatePackagePolicyRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21384,7 +21360,7 @@ }, " & { force?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21398,7 +21374,7 @@ "tags": [], "label": "CreatePackagePolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21418,7 +21394,7 @@ "text": "PackagePolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21432,7 +21408,7 @@ "tags": [], "label": "DefaultPackagesInstallationError", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21446,7 +21422,7 @@ "signature": [ "\"unknown\" | \"update\" | \"reinstall\" | \"reupdate\" | \"rollback\" | \"install\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21460,7 +21436,7 @@ "signature": [ "Error" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21474,7 +21450,7 @@ "tags": [], "label": "DeleteAgentPolicyRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21488,7 +21464,7 @@ "signature": [ "{ agentPolicyId: string; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21502,7 +21478,7 @@ "tags": [], "label": "DeleteAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21513,7 +21489,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -21524,7 +21500,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21538,7 +21514,7 @@ "tags": [], "label": "DeletePackagePoliciesRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21552,7 +21528,7 @@ "signature": [ "{ packagePolicyIds: string[]; force?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -21566,7 +21542,7 @@ "tags": [], "label": "EpmPackageAdditions", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21577,7 +21553,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21588,7 +21564,7 @@ "tags": [], "label": "latestVersion", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21618,7 +21594,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21632,7 +21608,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21646,7 +21622,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21660,7 +21636,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21674,7 +21650,7 @@ "tags": [], "label": "EsAssetReference", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21685,7 +21661,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21705,7 +21681,7 @@ "text": "ElasticsearchAssetType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -21719,7 +21695,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -21733,7 +21709,7 @@ "tags": [], "label": "FleetAuthz", "description": [], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21747,7 +21723,7 @@ "signature": [ "{ all: boolean; setup: boolean; readEnrollmentTokens: boolean; readAgentPolicies: boolean; allAgentPolicies: boolean; readAgents: boolean; allAgents: boolean; readSettings: boolean; allSettings: boolean; addAgents: boolean; addFleetServers: boolean; }" ], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false }, @@ -21761,7 +21737,7 @@ "signature": [ "{ readPackageInfo: boolean; readInstalledPackages: boolean; installPackages: boolean; upgradePackages: boolean; removePackages: boolean; uploadPackages: boolean; readPackageSettings: boolean; writePackageSettings: boolean; readIntegrationPolicies: boolean; writeIntegrationPolicies: boolean; }" ], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false }, @@ -21775,7 +21751,7 @@ "signature": [ "{ [packageName: string]: { actions: { [key: string]: { executePackageAction: boolean; }; }; }; } | undefined" ], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false }, @@ -21789,7 +21765,7 @@ "signature": [ "{ actions: { crudEndpointExceptions: boolean; showEndpointExceptions: boolean; }; } | undefined" ], - "path": "x-pack/plugins/fleet/common/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/authz.ts", "deprecated": false, "trackAdoption": false } @@ -21803,7 +21779,7 @@ "tags": [], "label": "FleetErrorResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/error.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21814,7 +21790,7 @@ "tags": [], "label": "message", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/error.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts", "deprecated": false, "trackAdoption": false }, @@ -21825,7 +21801,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/error.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts", "deprecated": false, "trackAdoption": false }, @@ -21839,7 +21815,7 @@ "signature": [ "{ type?: \"verification_failed\" | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/error.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts", "deprecated": false, "trackAdoption": false } @@ -21855,7 +21831,7 @@ "description": [ "\nAn Elastic Agent that has enrolled into Fleet" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -21871,7 +21847,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21887,7 +21863,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21903,7 +21879,7 @@ "signature": [ "\"EPHEMERAL\" | \"PERMANENT\" | \"TEMPORARY\"" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21916,7 +21892,7 @@ "description": [ "\nActive flag" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21929,7 +21905,7 @@ "description": [ "\nDate/time the Elastic Agent enrolled" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21945,7 +21921,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21961,7 +21937,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21977,7 +21953,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -21993,7 +21969,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22010,7 +21986,7 @@ "AgentUpgradeDetails", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22024,7 +22000,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22045,7 +22021,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22068,7 +22044,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22090,7 +22066,7 @@ "text": "AgentMetadata" } ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22106,7 +22082,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22122,7 +22098,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22138,7 +22114,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22154,7 +22130,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22170,7 +22146,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22186,7 +22162,7 @@ "signature": [ "\"error\" | \"online\" | \"degraded\" | \"updating\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22202,7 +22178,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22218,7 +22194,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22234,7 +22210,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22250,7 +22226,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22266,7 +22242,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22282,7 +22258,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22298,7 +22274,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22314,7 +22290,7 @@ "signature": [ "{ id: string; retired_at: string; }[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22331,7 +22307,7 @@ "FleetServerAgentComponent", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22348,7 +22324,7 @@ "OutputMap", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22365,7 +22341,7 @@ "UnhealthyReason", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22381,7 +22357,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false } @@ -22397,7 +22373,7 @@ "description": [ "\nAn Elastic Agent metadata" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22410,7 +22386,7 @@ "description": [ "\nThe unique identifier for the Elastic Agent" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22423,7 +22399,7 @@ "description": [ "\nThe version of the Elastic Agent" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false }, @@ -22437,7 +22413,7 @@ "signature": [ "[k: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false } @@ -22451,7 +22427,7 @@ "tags": [], "label": "FullAgentPolicy", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22462,7 +22438,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22476,7 +22452,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22498,7 +22474,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22520,7 +22496,7 @@ }, "; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22543,7 +22519,7 @@ }, "; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22564,7 +22540,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22578,7 +22554,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22594,7 +22570,7 @@ "FullAgentPolicyMonitoring", "; download: { sourceURI: string; }; features: Record; protection?: { enabled: boolean; uninstall_token_hash: string; signing_key: string; } | undefined; logging?: { level?: string | undefined; to_files?: boolean | undefined; files?: { rotateeverybytes?: number | undefined; keepfiles?: number | undefined; interval?: string | undefined; } | undefined; } | undefined; limits?: { go_max_procs?: number | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22609,7 +22585,7 @@ "PolicySecretReference", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22623,7 +22599,7 @@ "signature": [ "{ data: string; signature: string; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22637,7 +22613,7 @@ "tags": [], "label": "FullAgentPolicyInput", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22648,7 +22624,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22659,7 +22635,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22670,7 +22646,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22681,7 +22657,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22695,7 +22671,7 @@ "signature": [ "{ namespace: string; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22706,7 +22682,7 @@ "tags": [], "label": "use_output", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22717,7 +22693,7 @@ "tags": [], "label": "package_policy_id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22739,7 +22715,7 @@ }, ", \"version\" | \"name\"> | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22760,7 +22736,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22775,7 +22751,7 @@ "FullAgentPolicyAddFields", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22789,7 +22765,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22803,7 +22779,7 @@ "tags": [], "label": "FullAgentPolicyInputStream", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22814,7 +22790,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22828,7 +22804,7 @@ "signature": [ "{ dataset: string; type?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22842,7 +22818,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22856,7 +22832,7 @@ "tags": [], "label": "FullAgentPolicyKibanaConfig", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22870,7 +22846,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22881,7 +22857,7 @@ "tags": [], "label": "protocol", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -22895,7 +22871,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22909,7 +22885,7 @@ "tags": [], "label": "GetAgentPoliciesRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22930,7 +22906,7 @@ }, " & { noAgentCount?: boolean | undefined; withAgentCount?: boolean | undefined; full?: boolean | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -22970,7 +22946,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22984,7 +22960,7 @@ "signature": [ "Record<\"error\" | \"offline\" | \"online\" | \"inactive\" | \"degraded\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\", number> | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false } @@ -22998,7 +22974,7 @@ "tags": [], "label": "GetAgentStatusResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23012,7 +22988,7 @@ "signature": [ "{ events: number; online: number; error: number; offline: number; other: number; updating: number; inactive: number; unenrolled: number; all: number; active: number; }" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false } @@ -23026,7 +23002,7 @@ "tags": [], "label": "GetBulkAssetsResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23048,7 +23024,7 @@ }, " & { appLink?: string | undefined; })[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23062,7 +23038,7 @@ "tags": [], "label": "GetFullAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23082,7 +23058,7 @@ "text": "FullAgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -23096,7 +23072,7 @@ "tags": [], "label": "GetInfoResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23157,7 +23133,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23172,7 +23148,7 @@ "PackageMetadata", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23186,7 +23162,7 @@ "tags": [], "label": "GetOneAgentPolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23206,7 +23182,7 @@ "text": "AgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -23220,7 +23196,7 @@ "tags": [], "label": "GetOneAgentResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23240,7 +23216,7 @@ "text": "Agent" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts", "deprecated": false, "trackAdoption": false } @@ -23254,7 +23230,7 @@ "tags": [], "label": "GetOnePackagePolicyResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23274,7 +23250,7 @@ "text": "PackagePolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -23288,7 +23264,7 @@ "tags": [], "label": "GetPackagePoliciesRequest", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23308,7 +23284,7 @@ "text": "ListWithKuery" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -23322,7 +23298,7 @@ "tags": [], "label": "GetPackagesResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23343,7 +23319,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23357,7 +23333,7 @@ "tags": [], "label": "IBulkInstallPackageHTTPError", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23368,7 +23344,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23379,7 +23355,7 @@ "tags": [], "label": "statusCode", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23393,7 +23369,7 @@ "signature": [ "string | Error" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23407,7 +23383,7 @@ "tags": [], "label": "Installation", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23428,7 +23404,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23450,7 +23426,7 @@ }, "[]> | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23471,7 +23447,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23492,7 +23468,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23506,7 +23482,7 @@ "signature": [ "{ [x: string]: string; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23517,7 +23493,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23528,7 +23504,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23542,7 +23518,7 @@ "signature": [ "\"installing\" | \"installed\" | \"install_failed\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23553,7 +23529,7 @@ "tags": [], "label": "install_version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23564,7 +23540,7 @@ "tags": [], "label": "install_started_at", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23578,7 +23554,7 @@ "signature": [ "\"custom\" | \"upload\" | \"registry\" | \"bundled\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23592,7 +23568,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23606,7 +23582,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23620,7 +23596,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23634,7 +23610,7 @@ "signature": [ "\"unknown\" | \"verified\" | \"unverified\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23648,7 +23624,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23663,7 +23639,7 @@ "ExperimentalDataStreamFeature", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23677,7 +23653,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23691,7 +23667,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23706,7 +23682,7 @@ "InstallFailedAttempt", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23721,7 +23697,7 @@ "InstallLatestExecutedState", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23735,7 +23711,7 @@ "tags": [], "label": "InstallResult", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23756,7 +23732,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23771,7 +23747,7 @@ "InstallResultStatus", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23785,7 +23761,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23799,7 +23775,7 @@ "signature": [ "\"unknown\" | \"update\" | \"reinstall\" | \"reupdate\" | \"rollback\" | \"install\"" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23814,7 +23790,7 @@ "InstallSource", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23828,7 +23804,7 @@ "tags": [], "label": "KibanaAssetReference", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23839,7 +23815,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23853,7 +23829,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -23873,7 +23849,7 @@ "text": "KibanaSavedObjectType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -23897,7 +23873,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23911,7 +23887,7 @@ "signature": [ "T[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -23922,7 +23898,7 @@ "tags": [], "label": "total", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -23933,7 +23909,7 @@ "tags": [], "label": "page", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -23944,7 +23920,7 @@ "tags": [], "label": "perPage", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false } @@ -23975,7 +23951,7 @@ "text": "HttpFetchQuery" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23989,7 +23965,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24003,7 +23979,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24017,7 +23993,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24031,7 +24007,7 @@ "signature": [ "\"asc\" | \"desc\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24045,7 +24021,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false }, @@ -24059,7 +24035,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/common.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts", "deprecated": false, "trackAdoption": false } @@ -24073,7 +24049,7 @@ "tags": [], "label": "NewAgentPolicy", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24087,7 +24063,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24098,7 +24074,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24109,7 +24085,7 @@ "tags": [], "label": "namespace", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24123,7 +24099,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24137,7 +24113,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24151,7 +24127,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24165,7 +24141,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24179,7 +24155,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24193,7 +24169,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24207,7 +24183,7 @@ "signature": [ "(\"metrics\" | \"traces\" | \"logs\")[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24221,7 +24197,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24235,7 +24211,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24249,7 +24225,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24263,7 +24239,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24277,7 +24253,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24291,7 +24267,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24305,7 +24281,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24319,7 +24295,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24333,7 +24309,7 @@ "signature": [ "{ name: string; enabled: boolean; }[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24347,7 +24323,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24361,7 +24337,7 @@ "signature": [ "{ [key: string]: any; } | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24375,7 +24351,7 @@ "signature": [ "{ [key: string]: any; } | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24389,7 +24365,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24403,7 +24379,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24418,7 +24394,7 @@ "GlobalDataTag", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24432,7 +24408,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24446,7 +24422,7 @@ "signature": [ "{ enabled?: boolean | undefined; host?: string | undefined; port?: number | undefined; buffer?: { enabled: boolean; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24460,7 +24436,7 @@ "signature": [ "{ limit?: { interval?: string | undefined; burst?: number | undefined; } | undefined; uploader?: { max_retries?: number | undefined; init_dur?: string | undefined; max_dur?: string | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false } @@ -24474,7 +24450,7 @@ "tags": [], "label": "NewPackagePolicy", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24488,7 +24464,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24499,7 +24475,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24513,7 +24489,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24527,7 +24503,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24538,7 +24514,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24552,7 +24528,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24568,7 +24544,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -24620,7 +24596,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24634,7 +24610,7 @@ "signature": [ "string | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24655,7 +24631,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24676,7 +24652,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24697,7 +24673,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24711,7 +24687,7 @@ "signature": [ "{ [key: string]: any; privileges?: { cluster?: string[] | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24725,7 +24701,7 @@ "signature": [ "{ inputs?: { [key: string]: any; } | undefined; } | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24739,7 +24715,7 @@ "signature": [ "boolean | null | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -24753,7 +24729,7 @@ "tags": [], "label": "NewPackagePolicyInput", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24767,7 +24743,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24778,7 +24754,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24792,7 +24768,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24803,7 +24779,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24817,7 +24793,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24838,7 +24814,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24859,7 +24835,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24880,7 +24856,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -24894,7 +24870,7 @@ "tags": [], "label": "NewPackagePolicyInputStream", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -24908,7 +24884,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24919,7 +24895,7 @@ "tags": [], "label": "enabled", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24933,7 +24909,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24947,7 +24923,7 @@ "signature": [ "{ dataset: string; type: string; elasticsearch?: { dynamic_dataset?: boolean | undefined; dynamic_namespace?: boolean | undefined; privileges?: { indices?: string[] | undefined; } | undefined; index_mode?: string | undefined; source_mode?: string | undefined; } | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24962,7 +24938,7 @@ "RegistryRelease", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -24983,7 +24959,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25004,7 +24980,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25018,7 +24994,7 @@ "tags": [], "label": "PackageAssetReference", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25029,7 +25005,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -25043,7 +25019,7 @@ "signature": [ "\"epm-packages-assets\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -25075,7 +25051,7 @@ }, ", \"inputs\">" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25086,7 +25062,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25100,7 +25076,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25121,7 +25097,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25135,7 +25111,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25149,7 +25125,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25160,7 +25136,7 @@ "tags": [], "label": "revision", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25175,7 +25151,7 @@ "PolicySecretReference", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25186,7 +25162,7 @@ "tags": [], "label": "updated_at", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25197,7 +25173,7 @@ "tags": [], "label": "updated_by", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25208,7 +25184,7 @@ "tags": [], "label": "created_at", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25219,7 +25195,7 @@ "tags": [], "label": "created_by", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25233,7 +25209,7 @@ "tags": [], "label": "PackagePolicyConfigRecordEntry", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25247,7 +25223,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25261,7 +25237,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25275,7 +25251,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25307,7 +25283,7 @@ }, ", \"streams\">" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25328,7 +25304,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25342,7 +25318,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25373,7 +25349,7 @@ "text": "NewPackagePolicyInputStream" } ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25384,7 +25360,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25398,7 +25374,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25412,7 +25388,7 @@ "tags": [], "label": "PackagePolicyPackage", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25423,7 +25399,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25434,7 +25410,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25445,7 +25421,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25460,7 +25436,7 @@ "ExperimentalDataStreamFeature", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -25474,7 +25450,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -25488,7 +25464,7 @@ "tags": [], "label": "PackageSpecConditions", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25502,7 +25478,7 @@ "signature": [ "{ version?: string | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25516,7 +25492,7 @@ "signature": [ "{ subscription?: string | undefined; capabilities?: string[] | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false } @@ -25530,7 +25506,7 @@ "tags": [], "label": "PackageSpecIcon", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25541,7 +25517,7 @@ "tags": [], "label": "src", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25555,7 +25531,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25569,7 +25545,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25583,7 +25559,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25597,7 +25573,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false } @@ -25611,7 +25587,7 @@ "tags": [], "label": "PackageSpecManifest", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25625,7 +25601,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25636,7 +25612,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25647,7 +25623,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25661,7 +25637,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25672,7 +25648,7 @@ "tags": [], "label": "version", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25686,7 +25662,7 @@ "signature": [ "\"basic\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25700,7 +25676,7 @@ "signature": [ "{ license: string; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25715,7 +25691,7 @@ "PackageSpecPackageType", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25729,7 +25705,7 @@ "signature": [ "\"experimental\" | \"beta\" | \"ga\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25751,7 +25727,7 @@ }, " | undefined)[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25772,7 +25748,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25793,7 +25769,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25814,7 +25790,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25828,7 +25804,7 @@ "signature": [ "\"all\" | \"combined_policy\" | \"individual_policies\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25849,7 +25825,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25870,7 +25846,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25884,7 +25860,7 @@ "signature": [ "{ github?: string | undefined; type?: \"elastic\" | \"partner\" | \"community\" | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25906,7 +25882,7 @@ }, ", \"index_template.settings\" | \"index_template.mappings\" | \"index_template.data_stream\"> | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25920,7 +25896,7 @@ "signature": [ "{ privileges?: { root?: boolean | undefined; } | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25935,7 +25911,7 @@ "PackageSpecTags", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25949,7 +25925,7 @@ "signature": [ "{ fields?: { name: string; }[] | undefined; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false } @@ -25963,7 +25939,7 @@ "tags": [], "label": "PackageSpecScreenshot", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -25974,7 +25950,7 @@ "tags": [], "label": "src", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25985,7 +25961,7 @@ "tags": [], "label": "title", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -25999,7 +25975,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -26013,7 +25989,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false }, @@ -26027,7 +26003,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false } @@ -26041,7 +26017,7 @@ "tags": [], "label": "PostFleetSetupResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26052,7 +26028,7 @@ "tags": [], "label": "isInitialized", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -26066,7 +26042,7 @@ "signature": [ "{ name: string; message: string; }[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts", "deprecated": false, "trackAdoption": false } @@ -26080,7 +26056,7 @@ "tags": [], "label": "RegistryDataStream", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26094,7 +26070,7 @@ "signature": [ "[key: string]: any" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26105,7 +26081,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.type]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26119,7 +26095,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26133,7 +26109,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26144,7 +26120,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.dataset]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26155,7 +26131,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.title]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26169,7 +26145,7 @@ "signature": [ "\"experimental\" | \"beta\" | \"ga\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26190,7 +26166,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26201,7 +26177,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.package]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26212,7 +26188,7 @@ "tags": [], "label": "[RegistryDataStreamKeys.path]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26226,7 +26202,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26247,7 +26223,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26261,7 +26237,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26276,7 +26252,7 @@ "RegistryDataStreamRoutingRules", "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26291,7 +26267,7 @@ "RegistryDataStreamLifecycle", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26306,7 +26282,7 @@ "RegistryDataStreamLifecycle", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26321,7 +26297,7 @@ "RegistryAgent", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26335,7 +26311,7 @@ "tags": [], "label": "RegistryDataStreamPrivileges", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26349,7 +26325,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26363,7 +26339,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26377,7 +26353,7 @@ "tags": [], "label": "RegistryElasticsearch", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26398,7 +26374,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26413,7 +26389,7 @@ "IndicesIndexSettings", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26428,7 +26404,7 @@ "MappingTypeMapping", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26443,7 +26419,7 @@ "RegistryDataStreamProperties", " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26457,7 +26433,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26471,7 +26447,7 @@ "signature": [ "\"default\" | \"synthetic\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26485,7 +26461,7 @@ "signature": [ "\"time_series\" | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26499,7 +26475,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26513,7 +26489,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26544,7 +26520,7 @@ "text": "PackageSpecIcon" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26555,7 +26531,7 @@ "tags": [], "label": "path", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26569,7 +26545,7 @@ "tags": [], "label": "RegistryInput", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26580,7 +26556,7 @@ "tags": [], "label": "[RegistryInputKeys.type]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26591,7 +26567,7 @@ "tags": [], "label": "[RegistryInputKeys.title]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26602,7 +26578,7 @@ "tags": [], "label": "[RegistryInputKeys.description]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26616,7 +26592,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26630,7 +26606,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26651,7 +26627,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26672,7 +26648,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26686,7 +26662,7 @@ "tags": [], "label": "RegistryStream", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26697,7 +26673,7 @@ "tags": [], "label": "[RegistryStreamKeys.input]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26708,7 +26684,7 @@ "tags": [], "label": "[RegistryStreamKeys.title]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26722,7 +26698,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26736,7 +26712,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26757,7 +26733,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26768,7 +26744,7 @@ "tags": [], "label": "[RegistryStreamKeys.template_path]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26782,7 +26758,7 @@ "tags": [], "label": "RegistryVarsEntry", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26793,7 +26769,7 @@ "tags": [], "label": "[RegistryVarsEntryKeys.name]", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26807,7 +26783,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26821,7 +26797,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26835,7 +26811,7 @@ "signature": [ "\"string\" | \"text\" | \"integer\" | \"password\" | \"select\" | \"textarea\" | \"bool\" | \"yaml\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26849,7 +26825,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26863,7 +26839,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26877,7 +26853,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26891,7 +26867,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26905,7 +26881,7 @@ "signature": [ "{ value: string; text: string; }[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26919,7 +26895,7 @@ "signature": [ "string | boolean | string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26933,7 +26909,7 @@ "signature": [ "{ [key: string]: { default: string | string[]; }; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26947,7 +26923,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -26961,7 +26937,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -26975,7 +26951,7 @@ "tags": [], "label": "SimpleSOAssetType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -26986,7 +26962,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -27014,7 +26990,7 @@ "text": "ElasticsearchAssetType" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -27028,7 +27004,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false }, @@ -27042,7 +27018,7 @@ "signature": [ "{ service?: string | undefined; title?: string | undefined; description?: string | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false } @@ -27073,7 +27049,7 @@ "text": "NewPackagePolicy" } ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27087,7 +27063,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -27101,7 +27077,7 @@ "tags": [], "label": "UpgradePackagePolicyBaseResponse", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27115,7 +27091,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27129,7 +27105,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27143,7 +27119,7 @@ "signature": [ "{ message: string; } | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -27174,7 +27150,7 @@ "text": "UpgradePackagePolicyBaseResponse" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27185,7 +27161,7 @@ "tags": [], "label": "hasErrors", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27215,7 +27191,7 @@ }, "] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27237,7 +27213,7 @@ }, "[]] | undefined" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -27268,7 +27244,7 @@ "text": "UpgradePackagePolicyBaseResponse" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27279,7 +27255,7 @@ "tags": [], "label": "id", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -27290,7 +27266,7 @@ "tags": [], "label": "success", "description": [], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false } @@ -27306,7 +27282,7 @@ "tags": [], "label": "ElasticsearchAssetType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27318,7 +27294,7 @@ "tags": [], "label": "KibanaAssetType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27330,7 +27306,7 @@ "tags": [], "label": "KibanaSavedObjectType", "description": [], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27347,7 +27323,7 @@ "signature": [ "\".fleet-actions\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27362,7 +27338,7 @@ "signature": [ "\".fleet-actions-results\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27377,7 +27353,7 @@ "signature": [ "\".fleet-policies\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27392,7 +27368,7 @@ "signature": [ "\"fleet-agent-policies\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27407,7 +27383,7 @@ "signature": [ "30000" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27422,7 +27398,7 @@ "signature": [ "\".fleet-agents\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27437,7 +27413,7 @@ "signature": [ "\"fleet-agents\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27452,7 +27428,7 @@ "signature": [ "\"error\" | \"offline\" | \"online\" | \"inactive\" | \"degraded\" | \"enrolling\" | \"unenrolling\" | \"unenrolled\" | \"updating\"" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27482,7 +27458,7 @@ }, ", \"internal\" | \"elasticsearch\" | \"data_streams\" | \"assets\" | \"readme\">" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27511,7 +27487,7 @@ "text": "KibanaAssetReference" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27526,7 +27502,7 @@ "signature": [ "\"epm-packages-assets\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27557,7 +27533,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27581,7 +27557,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27605,7 +27581,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27620,7 +27596,7 @@ "signature": [ "(\"search\" | \"map\" | \"index\" | \"transform\" | \"tag\" | \"dashboard\" | \"index-pattern\" | \"ingest_pipeline\" | \"lens\" | \"visualization\" | \"ml-module\" | \"security-rule\" | \"csp-rule-template\" | \"osquery-pack-asset\" | \"osquery-saved-query\" | \"index_template\" | \"component_template\" | \"ilm_policy\" | \"data_stream_ilm_policy\" | \"ml_model\")[]" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27635,7 +27611,7 @@ "signature": [ "\"license\" | \"notice\" | \"doc\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27657,7 +27633,7 @@ }, " & { errors?: { key: string | undefined; message: string; }[] | undefined; missingVars?: string[] | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27687,7 +27663,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27758,7 +27734,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27773,7 +27749,7 @@ "signature": [ "\"apm\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27788,7 +27764,7 @@ "signature": [ "\"cloud_defend\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27803,7 +27779,7 @@ "signature": [ "\"vuln_mgmt\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27818,7 +27794,7 @@ "signature": [ "\"cspm\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27833,7 +27809,7 @@ "signature": [ "\"kspm\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27848,7 +27824,7 @@ "signature": [ "\"cloud_security_posture\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27863,7 +27839,7 @@ "signature": [ "\"elastic_agent\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27878,7 +27854,7 @@ "signature": [ "\"endpoint\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27893,7 +27869,7 @@ "signature": [ "\"fleet-enrollment-api-keys\"" ], - "path": "x-pack/plugins/fleet/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27908,7 +27884,7 @@ "signature": [ "\"kubernetes\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27923,7 +27899,7 @@ "signature": [ "\".fleet-artifacts\"" ], - "path": "x-pack/plugins/fleet/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27938,7 +27914,7 @@ "signature": [ "\"fleet_server\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27953,7 +27929,7 @@ "signature": [ "\"synthetics\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27968,7 +27944,7 @@ "signature": [ "\"system\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -27983,7 +27959,7 @@ "signature": [ "\"STARTING\" | \"CONFIGURING\" | \"HEALTHY\" | \"DEGRADED\" | \"FAILED\" | \"STOPPING\" | \"STOPPED\"" ], - "path": "x-pack/plugins/fleet/common/types/models/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28006,7 +27982,7 @@ }, ", \"type\" | \"hosts\" | \"ca_sha256\"> & { [key: string]: any; proxy_url?: string | undefined; proxy_headers?: any; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28023,7 +27999,7 @@ "SecurityRoleDescriptor", "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28053,7 +28029,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28074,7 +28050,7 @@ "text": "AgentPolicy" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28104,7 +28080,7 @@ }, ">" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28158,7 +28134,7 @@ }, "" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28187,7 +28163,7 @@ "text": "ArchivePackage" } ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28206,7 +28182,7 @@ "InstallationInfo", " | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28221,7 +28197,7 @@ "signature": [ "T & { status: \"install_failed\"; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28240,7 +28216,7 @@ "InstallationInfo", " | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28255,7 +28231,7 @@ "signature": [ "T & { status: undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28270,7 +28246,7 @@ "signature": [ "\"integrations\"" ], - "path": "x-pack/plugins/fleet/common/constants/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28300,7 +28276,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28411,7 +28387,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28426,7 +28402,7 @@ "signature": [ "\"ingest-agent-policies\"" ], - "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28441,7 +28417,7 @@ "signature": [ "\"ingest-package-policies\"" ], - "path": "x-pack/plugins/fleet/common/constants/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28456,7 +28432,7 @@ "signature": [ "\"fleet-message-signing-keys\"" ], - "path": "x-pack/plugins/fleet/common/constants/message_signing_keys.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/message_signing_keys.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28477,7 +28453,7 @@ " | ", "KafkaOutput" ], - "path": "x-pack/plugins/fleet/common/types/models/output.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/output.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28492,7 +28468,7 @@ "signature": [ "T & { status: \"not_installed\"; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28514,7 +28490,7 @@ }, " & { id: string; }" ], - "path": "x-pack/plugins/fleet/common/types/models/output.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/output.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28529,7 +28505,7 @@ "signature": [ "\"ingest-outputs\"" ], - "path": "x-pack/plugins/fleet/common/constants/output.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/output.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28541,7 +28517,7 @@ "tags": [], "label": "PACKAGE_POLICY_API_ROOT", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28603,7 +28579,7 @@ }, ">>" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28625,7 +28601,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28659,7 +28635,7 @@ "InstallationInfo", " | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28682,7 +28658,7 @@ }, "; }" ], - "path": "x-pack/plugins/fleet/common/types/models/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28697,7 +28673,7 @@ "signature": [ "\"epm-packages\"" ], - "path": "x-pack/plugins/fleet/common/constants/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28712,7 +28688,7 @@ "signature": [ "\"connector\" | \"monitoring\" | \"security\" | \"observability\" | \"infrastructure\" | \"kubernetes\" | \"cloud\" | \"custom\" | \"advanced_analytics_ueba\" | \"analytics_engine\" | \"application_observability\" | \"auditd\" | \"authentication\" | \"aws\" | \"azure\" | \"big_data\" | \"cdn_security\" | \"config_management\" | \"connector_client\" | \"containers\" | \"crawler\" | \"credential_management\" | \"crm\" | \"custom_logs\" | \"database_security\" | \"datastore\" | \"dns_security\" | \"edr_xdr\" | \"cloudsecurity_cdr\" | \"elasticsearch_sdk\" | \"elastic_stack\" | \"email_security\" | \"firewall_security\" | \"google_cloud\" | \"iam\" | \"ids_ips\" | \"java_observability\" | \"language_client\" | \"languages\" | \"load_balancer\" | \"message_queue\" | \"native_search\" | \"network\" | \"network_security\" | \"notification\" | \"os_system\" | \"process_manager\" | \"productivity\" | \"productivity_security\" | \"proxy_security\" | \"sdk_search\" | \"stream_processing\" | \"support\" | \"threat_intel\" | \"ticketing\" | \"version_control\" | \"virtualization\" | \"vpn_security\" | \"vulnerability_management\" | \"web\" | \"web_application_firewall\" | \"websphere\" | \"workplace_search_content_source\" | \"app_search\" | \"enterprise_search\" | \"workplace_search\"" ], - "path": "x-pack/plugins/fleet/common/types/models/package_spec.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28727,7 +28703,7 @@ "signature": [ "\"fleet\"" ], - "path": "x-pack/plugins/fleet/common/constants/plugin.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28750,7 +28726,7 @@ }, " | undefined; policy_id?: string | null | undefined; policy_ids?: string[] | undefined; output_id?: string | undefined; statusCode?: number | undefined; body?: { message: string; } | undefined; }[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28765,7 +28741,7 @@ "signature": [ "\"fleet-preconfiguration-deletion-record\"" ], - "path": "x-pack/plugins/fleet/common/constants/preconfiguration.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/preconfiguration.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28780,7 +28756,7 @@ "signature": [ "\"metrics\" | \"logs\"" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28802,7 +28778,7 @@ }, " & Partial & RegistryAdditionalProperties & RegistryOverridePropertyValue" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28819,7 +28795,7 @@ " | ", "RegistryPolicyInputOnlyTemplate" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28876,7 +28852,7 @@ }, "[] | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28888,7 +28864,7 @@ "tags": [], "label": "SETUP_API_ROUTE", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28903,7 +28879,7 @@ "signature": [ "10000" ], - "path": "x-pack/plugins/fleet/common/constants/index.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28926,7 +28902,7 @@ }, "[] | undefined; }" ], - "path": "x-pack/plugins/fleet/common/types/models/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28941,7 +28917,7 @@ "signature": [ "\"fleet-uninstall-tokens\"" ], - "path": "x-pack/plugins/fleet/common/constants/uninstall_token.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/uninstall_token.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28962,7 +28938,7 @@ "text": "CreatePackagePolicyResponse" } ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28984,7 +28960,7 @@ }, "[]" ], - "path": "x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -28998,7 +28974,7 @@ "tags": [], "label": "AGENT_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29009,7 +28985,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29020,7 +28996,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29031,7 +29007,7 @@ "tags": [], "label": "UPDATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29042,7 +29018,7 @@ "tags": [], "label": "BULK_UPDATE_AGENT_TAGS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29053,7 +29029,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29064,7 +29040,7 @@ "tags": [], "label": "CHECKIN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29075,7 +29051,7 @@ "tags": [], "label": "ACKS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29086,7 +29062,7 @@ "tags": [], "label": "ACTIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29097,7 +29073,7 @@ "tags": [], "label": "CANCEL_ACTIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29108,7 +29084,7 @@ "tags": [], "label": "UNENROLL_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29119,7 +29095,7 @@ "tags": [], "label": "BULK_UNENROLL_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29130,7 +29106,7 @@ "tags": [], "label": "REASSIGN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29141,7 +29117,7 @@ "tags": [], "label": "BULK_REASSIGN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29152,7 +29128,7 @@ "tags": [], "label": "REQUEST_DIAGNOSTICS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29163,7 +29139,7 @@ "tags": [], "label": "BULK_REQUEST_DIAGNOSTICS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29174,7 +29150,7 @@ "tags": [], "label": "AVAILABLE_VERSIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29185,7 +29161,7 @@ "tags": [], "label": "STATUS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29196,7 +29172,7 @@ "tags": [], "label": "DATA_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29207,7 +29183,7 @@ "tags": [], "label": "UPGRADE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29218,7 +29194,7 @@ "tags": [], "label": "BULK_UPGRADE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29229,7 +29205,7 @@ "tags": [], "label": "ACTION_STATUS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29240,7 +29216,7 @@ "tags": [], "label": "LIST_TAGS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29251,7 +29227,7 @@ "tags": [], "label": "LIST_UPLOADS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29262,7 +29238,7 @@ "tags": [], "label": "GET_UPLOAD_FILE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29273,7 +29249,7 @@ "tags": [], "label": "DELETE_UPLOAD_FILE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -29287,7 +29263,7 @@ "tags": [], "label": "AGENT_POLICY_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29298,7 +29274,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29309,7 +29285,7 @@ "tags": [], "label": "BULK_GET_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29320,7 +29296,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29331,7 +29307,7 @@ "tags": [], "label": "CREATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29342,7 +29318,7 @@ "tags": [], "label": "UPDATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29353,7 +29329,7 @@ "tags": [], "label": "COPY_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29364,7 +29340,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29375,7 +29351,7 @@ "tags": [], "label": "FULL_INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29386,7 +29362,7 @@ "tags": [], "label": "FULL_INFO_DOWNLOAD_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29397,7 +29373,7 @@ "tags": [], "label": "LIST_OUTPUTS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -29408,7 +29384,7 @@ "tags": [], "label": "INFO_OUTPUTS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -29422,7 +29398,7 @@ "tags": [], "label": "agentPolicyRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29436,7 +29412,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29452,7 +29428,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29468,7 +29444,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29482,7 +29458,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29500,7 +29476,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29516,7 +29492,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29530,7 +29506,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29548,7 +29524,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29562,7 +29538,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29580,7 +29556,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29596,7 +29572,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29610,7 +29586,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29628,7 +29604,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29642,7 +29618,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29660,7 +29636,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29676,7 +29652,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29692,7 +29668,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29706,7 +29682,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29724,7 +29700,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29740,7 +29716,7 @@ "signature": [ "(agentPolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29754,7 +29730,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29772,7 +29748,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29791,7 +29767,7 @@ "signature": [ "{ readonly Active: \"active\"; readonly Inactive: \"inactive\"; }" ], - "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -29803,7 +29779,7 @@ "tags": [], "label": "agentRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29817,7 +29793,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29831,7 +29807,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29849,7 +29825,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29863,7 +29839,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29881,7 +29857,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29897,7 +29873,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29911,7 +29887,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29929,7 +29905,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29945,7 +29921,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -29959,7 +29935,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -29977,7 +29953,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -29993,7 +29969,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30007,7 +29983,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30025,7 +30001,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30041,7 +30017,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30057,7 +30033,7 @@ "signature": [ "(actionId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30071,7 +30047,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30089,7 +30065,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30105,7 +30081,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30121,7 +30097,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30137,7 +30113,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30151,7 +30127,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30169,7 +30145,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30185,7 +30161,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30201,7 +30177,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30215,7 +30191,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30233,7 +30209,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30249,7 +30225,7 @@ "signature": [ "(agentId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30263,7 +30239,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30281,7 +30257,7 @@ "signature": [ "(fileId: string, fileName: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30295,7 +30271,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30310,7 +30286,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30328,7 +30304,7 @@ "signature": [ "(fileId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30342,7 +30318,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30360,7 +30336,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30376,7 +30352,7 @@ "tags": [], "label": "AGENTS_SETUP_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30387,7 +30363,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30398,7 +30374,7 @@ "tags": [], "label": "CREATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30412,7 +30388,7 @@ "tags": [], "label": "API_VERSIONS", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30423,7 +30399,7 @@ "tags": [], "label": "public", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30434,7 +30410,7 @@ "tags": [], "label": "v1", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30447,7 +30423,7 @@ "tags": [], "label": "internal", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30458,7 +30434,7 @@ "tags": [], "label": "v1", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30474,7 +30450,7 @@ "tags": [], "label": "APP_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30485,7 +30461,7 @@ "tags": [], "label": "HEALTH_CHECK_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30496,7 +30472,7 @@ "tags": [], "label": "CHECK_PERMISSIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30507,7 +30483,7 @@ "tags": [], "label": "GENERATE_SERVICE_TOKEN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30518,7 +30494,7 @@ "tags": [], "label": "AGENT_POLICIES_SPACES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30532,7 +30508,7 @@ "tags": [], "label": "appRoutesService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30546,7 +30522,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30562,7 +30538,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30578,7 +30554,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30594,7 +30570,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30613,7 +30589,7 @@ "signature": [ "{ readonly ELASTIC_AGENT_OVERVIEW: \"elastic_agent-a148dc70-6b3c-11ed-98de-67bdecd21824\"; readonly ELASTIC_AGENT_AGENT_INFO: \"elastic_agent-0600ffa0-6b5e-11ed-98de-67bdecd21824\"; readonly ELASTIC_AGENT_AGENT_METRICS: \"elastic_agent-f47f18cc-9c7d-4278-b2ea-a6dee816d395\"; readonly ELASTIC_AGENT_INTEGRATIONS: \"elastic_agent-1a4e7280-6b5e-11ed-98de-67bdecd21824\"; }" ], - "path": "x-pack/plugins/fleet/common/constants/locators.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/locators.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -30625,14 +30601,14 @@ "tags": [], "label": "ENDPOINT_PRIVILEGES", "description": [ - "\ndefines endpoint package privileges\nthe key is the name of the packagePrivilege (ie. 'readSecuritySolution')\nthe value object is for mapping kibana privileges and capabilities\nsee x-pack/plugins/fleet/server/services/security/security.ts for example of how object values are used" + "\ndefines endpoint package privileges\nthe key is the name of the packagePrivilege (ie. 'readSecuritySolution')\nthe value object is for mapping kibana privileges and capabilities\nsee x-pack/platform/plugins/shared/fleet/server/services/security/security.ts for example of how object values are used" ], "signature": [ "{ [x: string]: ", "PrivilegeMapObject", "; }" ], - "path": "x-pack/plugins/fleet/common/constants/authz.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/authz.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -30644,7 +30620,7 @@ "tags": [], "label": "EPM_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30655,7 +30631,7 @@ "tags": [], "label": "BULK_INSTALL_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30666,7 +30642,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30677,7 +30653,7 @@ "tags": [], "label": "INSTALLED_LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30688,7 +30664,7 @@ "tags": [], "label": "LIMITED_LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30699,7 +30675,7 @@ "tags": [], "label": "INFO_WITHOUT_VERSION_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30710,7 +30686,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30721,7 +30697,7 @@ "tags": [], "label": "DATA_STREAMS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30732,7 +30708,7 @@ "tags": [], "label": "INSTALL_FROM_REGISTRY_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30743,7 +30719,7 @@ "tags": [], "label": "INSTALL_BY_UPLOAD_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30754,7 +30730,7 @@ "tags": [], "label": "CUSTOM_INTEGRATIONS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30765,7 +30741,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30776,7 +30752,7 @@ "tags": [], "label": "INSTALL_KIBANA_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30787,7 +30763,7 @@ "tags": [], "label": "DELETE_KIBANA_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30798,7 +30774,7 @@ "tags": [], "label": "FILEPATH_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30809,7 +30785,7 @@ "tags": [], "label": "CATEGORIES_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30820,7 +30796,7 @@ "tags": [], "label": "VERIFICATION_KEY_ID", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30831,7 +30807,7 @@ "tags": [], "label": "STATS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30842,7 +30818,7 @@ "tags": [], "label": "BULK_ASSETS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30853,7 +30829,7 @@ "tags": [], "label": "INPUTS_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -30864,7 +30840,7 @@ "tags": [], "label": "REAUTHORIZE_TRANSFORMS", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -30878,7 +30854,7 @@ "tags": [], "label": "epmRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30892,7 +30868,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30908,7 +30884,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30924,7 +30900,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30940,7 +30916,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -30956,7 +30932,7 @@ "signature": [ "(pkgName: string, pkgVersion?: string | undefined) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -30970,7 +30946,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -30985,7 +30961,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31003,7 +30979,7 @@ "signature": [ "(pkgName: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31017,7 +30993,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31035,7 +31011,7 @@ "signature": [ "(filePath: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31049,7 +31025,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31067,7 +31043,7 @@ "signature": [ "(pkgName: string, pkgVersion?: string | undefined) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31081,7 +31057,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31096,7 +31072,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31114,7 +31090,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31130,7 +31106,7 @@ "signature": [ "(pkgName: string, pkgVersion?: string | undefined) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31144,7 +31120,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31159,7 +31135,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -31177,7 +31153,7 @@ "signature": [ "(pkgName: string, pkgVersion: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31191,7 +31167,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31206,7 +31182,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31224,7 +31200,7 @@ "signature": [ "(pkgName: string, pkgVersion: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31238,7 +31214,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31253,7 +31229,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31271,7 +31247,7 @@ "signature": [ "(pkgName: string, pkgVersion: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31285,7 +31261,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31300,7 +31276,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31318,7 +31294,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31334,7 +31310,7 @@ "signature": [ "(pkgName: string, pkgVersion: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31348,7 +31324,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31363,7 +31339,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31384,7 +31360,7 @@ "signature": [ "readonly [\"STARTING\", \"CONFIGURING\", \"HEALTHY\", \"DEGRADED\", \"FAILED\", \"STOPPING\", \"STOPPED\"]" ], - "path": "x-pack/plugins/fleet/common/constants/agent.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/agent.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -31396,7 +31372,7 @@ "tags": [], "label": "fleetSetupRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31410,7 +31386,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31426,7 +31402,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31445,7 +31421,7 @@ "signature": [ "RegExp" ], - "path": "x-pack/plugins/fleet/common/services/is_valid_namespace.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -31457,7 +31433,7 @@ "tags": [], "label": "PACKAGE_POLICY_API_ROUTES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31468,7 +31444,7 @@ "tags": [], "label": "LIST_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31479,7 +31455,7 @@ "tags": [], "label": "BULK_GET_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31490,7 +31466,7 @@ "tags": [], "label": "INFO_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31501,7 +31477,7 @@ "tags": [], "label": "CREATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31512,7 +31488,7 @@ "tags": [], "label": "UPDATE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31523,7 +31499,7 @@ "tags": [], "label": "DELETE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31534,7 +31510,7 @@ "tags": [], "label": "UPGRADE_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31545,7 +31521,7 @@ "tags": [], "label": "DRYRUN_PATTERN", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false }, @@ -31556,7 +31532,7 @@ "tags": [], "label": "ORPHANED_INTEGRATION_POLICIES", "description": [], - "path": "x-pack/plugins/fleet/common/constants/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/constants/routes.ts", "deprecated": false, "trackAdoption": false } @@ -31570,7 +31546,7 @@ "tags": [], "label": "packagePolicyRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31584,7 +31560,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31600,7 +31576,7 @@ "signature": [ "(packagePolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31614,7 +31590,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31632,7 +31608,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31648,7 +31624,7 @@ "signature": [ "(packagePolicyId: string) => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31662,7 +31638,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -31680,7 +31656,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31696,7 +31672,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31712,7 +31688,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31728,7 +31704,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -31744,7 +31720,7 @@ "tags": [], "label": "setupRouteService", "description": [], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31758,7 +31734,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/fleet/common/services/routes.ts", + "path": "x-pack/platform/plugins/shared/fleet/common/services/routes.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 3fc57da88c820..026d7fafb41b1 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/fleet title: "fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the fleet plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'fleet'] --- import fleetObj from './fleet.devdocs.json'; diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 94b9ad8bc886b..597e103e7054a 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/globalSearch title: "globalSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the globalSearch plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'globalSearch'] --- import globalSearchObj from './global_search.devdocs.json'; diff --git a/api_docs/guided_onboarding.mdx b/api_docs/guided_onboarding.mdx index 3d2c347af05f6..68c76eb74c2ef 100644 --- a/api_docs/guided_onboarding.mdx +++ b/api_docs/guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/guidedOnboarding title: "guidedOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the guidedOnboarding plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'guidedOnboarding'] --- import guidedOnboardingObj from './guided_onboarding.devdocs.json'; diff --git a/api_docs/home.mdx b/api_docs/home.mdx index 3176ea2385b88..9efca7d67a41a 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/home title: "home" image: https://source.unsplash.com/400x175/?github description: API docs for the home plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'home'] --- import homeObj from './home.devdocs.json'; diff --git a/api_docs/image_embeddable.mdx b/api_docs/image_embeddable.mdx index e3b759747b3a6..08b1aebf42f9d 100644 --- a/api_docs/image_embeddable.mdx +++ b/api_docs/image_embeddable.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/imageEmbeddable title: "imageEmbeddable" image: https://source.unsplash.com/400x175/?github description: API docs for the imageEmbeddable plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'imageEmbeddable'] --- import imageEmbeddableObj from './image_embeddable.devdocs.json'; diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index ce339d60a3370..a573cc548cf15 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexLifecycleManagement title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexLifecycleManagement plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexLifecycleManagement'] --- import indexLifecycleManagementObj from './index_lifecycle_management.devdocs.json'; diff --git a/api_docs/index_management.devdocs.json b/api_docs/index_management.devdocs.json index 569cdfff5a4cc..cdd62b5fd5b26 100644 --- a/api_docs/index_management.devdocs.json +++ b/api_docs/index_management.devdocs.json @@ -568,13 +568,7 @@ "description": [], "signature": [ "(deps: { history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; }) => React.FC<", { "pluginId": "@kbn/index-management-shared-types", @@ -608,13 +602,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts", @@ -635,13 +623,7 @@ "description": [], "signature": [ "(deps: { history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; }) => React.FC<", { "pluginId": "@kbn/index-management-shared-types", @@ -675,13 +657,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts", diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index cb03176f66237..6355f59f5d533 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/indexManagement title: "indexManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the indexManagement plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'indexManagement'] --- import indexManagementObj from './index_management.devdocs.json'; diff --git a/api_docs/inference.devdocs.json b/api_docs/inference.devdocs.json index b3822ffd09352..7d0d7cca9c425 100644 --- a/api_docs/inference.devdocs.json +++ b/api_docs/inference.devdocs.json @@ -200,7 +200,13 @@ "description": [], "signature": [ "() => Promise<", - "InferenceConnector", + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnector", + "text": "InferenceConnector" + }, "[]>" ], "path": "x-pack/platform/plugins/shared/inference/public/types.ts", @@ -417,7 +423,13 @@ ], "signature": [ "(id: string) => Promise<", - "InferenceConnector", + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnector", + "text": "InferenceConnector" + }, ">" ], "path": "x-pack/platform/plugins/shared/inference/server/inference_client/types.ts", @@ -610,7 +622,13 @@ ], "signature": [ "(id: string) => Promise<", - "InferenceConnector", + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnector", + "text": "InferenceConnector" + }, ">" ], "path": "x-pack/platform/plugins/shared/inference/server/inference_client/types.ts", @@ -961,7 +979,13 @@ "label": "connectors", "description": [], "signature": [ - "InferenceConnector", + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnector", + "text": "InferenceConnector" + }, "[]" ], "path": "x-pack/platform/plugins/shared/inference/common/http_apis.ts", diff --git a/api_docs/inference.mdx b/api_docs/inference.mdx index da41bfbd4cbc0..60fe112232de4 100644 --- a/api_docs/inference.mdx +++ b/api_docs/inference.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inference title: "inference" image: https://source.unsplash.com/400x175/?github description: API docs for the inference plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inference'] --- import inferenceObj from './inference.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 40 | 0 | 28 | 6 | +| 40 | 0 | 28 | 5 | ## Client diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index c09d554350c3b..71a36512ab121 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/infra title: "infra" image: https://source.unsplash.com/400x175/?github description: API docs for the infra plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'infra'] --- import infraObj from './infra.devdocs.json'; diff --git a/api_docs/ingest_pipelines.mdx b/api_docs/ingest_pipelines.mdx index 45f8e8e955e73..17c8349bbbef6 100644 --- a/api_docs/ingest_pipelines.mdx +++ b/api_docs/ingest_pipelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ingestPipelines title: "ingestPipelines" image: https://source.unsplash.com/400x175/?github description: API docs for the ingestPipelines plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ingestPipelines'] --- import ingestPipelinesObj from './ingest_pipelines.devdocs.json'; diff --git a/api_docs/inspector.devdocs.json b/api_docs/inspector.devdocs.json index 42a5c59e20578..018a0cc483935 100644 --- a/api_docs/inspector.devdocs.json +++ b/api_docs/inspector.devdocs.json @@ -43,7 +43,7 @@ }, ", object, object>" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -58,7 +58,7 @@ "InspectorViewRegistry", " | undefined" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false }, @@ -72,7 +72,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ }, "" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -129,7 +129,7 @@ "InspectorViewRegistry", "; }; }" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -150,7 +150,7 @@ }, "" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -210,7 +210,7 @@ }, "; }" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -230,7 +230,7 @@ "text": "CoreStart" } ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -245,7 +245,7 @@ "signature": [ "InspectorPluginStartDeps" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -263,7 +263,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -294,7 +294,7 @@ " extends ", "events" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -308,7 +308,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -337,7 +337,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -353,7 +353,7 @@ "signature": [ "string" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -370,7 +370,7 @@ "signature": [ "RequestParams" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -387,7 +387,7 @@ "signature": [ "number" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -407,7 +407,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -423,7 +423,7 @@ "signature": [ "(id: string) => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -437,7 +437,7 @@ "signature": [ "string" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -463,7 +463,7 @@ }, "[]" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -481,7 +481,7 @@ "description": [ "\nAn API to specify information about a specific request that will be logged.\nCreate a new instance to log a request using {@link RequestAdapter#start}." ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -495,7 +495,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -515,7 +515,7 @@ "text": "Request" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -530,7 +530,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -555,7 +555,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -569,7 +569,7 @@ "signature": [ "object" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -602,7 +602,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -622,7 +622,7 @@ "text": "RequestStatistics" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -650,7 +650,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -670,7 +670,7 @@ "text": "RequestStatus" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -685,7 +685,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -705,7 +705,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -719,7 +719,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -739,7 +739,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -753,7 +753,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -783,7 +783,7 @@ "text": "HasInspectorAdapters" } ], - "path": "src/plugins/inspector/public/adapters/has_inspector_adapters.ts", + "path": "src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -797,7 +797,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/inspector/public/adapters/has_inspector_adapters.ts", + "path": "src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -817,7 +817,7 @@ "description": [ "\nThe interface that the adapters used to open an inspector have to fullfill." ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -838,7 +838,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false }, @@ -852,7 +852,7 @@ "signature": [ "[key: string]: any" ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false } @@ -866,7 +866,7 @@ "tags": [], "label": "HasInspectorAdapters", "description": [], - "path": "src/plugins/inspector/public/adapters/has_inspector_adapters.ts", + "path": "src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -888,7 +888,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/public/adapters/has_inspector_adapters.ts", + "path": "src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -909,7 +909,7 @@ "description": [ "\nOptions that can be specified when opening the inspector." ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -923,7 +923,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -937,7 +937,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -955,7 +955,7 @@ "description": [ "\nAn object describing an inspector view." ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1001,7 +1001,7 @@ }, ">>" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1015,7 +1015,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1029,7 +1029,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1051,7 +1051,7 @@ }, ") => boolean) | undefined" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1071,7 +1071,7 @@ "text": "Adapters" } ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1086,7 +1086,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -1112,7 +1112,7 @@ }, "" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1128,7 +1128,7 @@ "signature": [ "TAdapters" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1141,7 +1141,7 @@ "description": [ "\nThe title that the inspector is currently using e.g. a visualization name." ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1157,7 +1157,7 @@ "signature": [ "unknown" ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -1182,7 +1182,7 @@ " extends ", "RequestParams" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1193,7 +1193,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1204,7 +1204,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1218,7 +1218,7 @@ "signature": [ "object | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1233,7 +1233,7 @@ "Response", " | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1244,7 +1244,7 @@ "tags": [], "label": "startTime", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1265,7 +1265,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1285,7 +1285,7 @@ "text": "RequestStatus" } ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1299,7 +1299,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -1313,7 +1313,7 @@ "tags": [], "label": "RequestStatistic", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1324,7 +1324,7 @@ "tags": [], "label": "label", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1338,7 +1338,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1352,7 +1352,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -1366,7 +1366,7 @@ "tags": [], "label": "RequestStatistics", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1387,7 +1387,7 @@ "text": "RequestStatistic" } ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -1405,7 +1405,7 @@ "description": [ "\nThe status a request can have." ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1428,7 +1428,7 @@ "text": "OverlayRef" } ], - "path": "src/plugins/inspector/public/types.ts", + "path": "src/platform/plugins/shared/inspector/public/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1442,7 +1442,7 @@ "tags": [], "label": "Setup", "description": [], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1464,7 +1464,7 @@ }, ") => void" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1485,7 +1485,7 @@ "text": "InspectorViewDescription" } ], - "path": "src/plugins/inspector/public/view_registry.ts", + "path": "src/platform/plugins/shared/inspector/public/view_registry.ts", "deprecated": false, "trackAdoption": false } @@ -1503,7 +1503,7 @@ "InspectorViewRegistry", "; }" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false } @@ -1518,7 +1518,7 @@ "tags": [], "label": "Start", "description": [], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1542,7 +1542,7 @@ }, " | undefined) => boolean" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1565,7 +1565,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1613,7 +1613,7 @@ "text": "OverlayRef" } ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1635,7 +1635,7 @@ "text": "Adapters" } ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1659,7 +1659,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/public/plugin.tsx", + "path": "src/platform/plugins/shared/inspector/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1706,7 +1706,7 @@ " extends ", "events" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1720,7 +1720,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1749,7 +1749,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1765,7 +1765,7 @@ "signature": [ "string" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1782,7 +1782,7 @@ "signature": [ "RequestParams" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1799,7 +1799,7 @@ "signature": [ "number" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1819,7 +1819,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1835,7 +1835,7 @@ "signature": [ "(id: string) => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1849,7 +1849,7 @@ "signature": [ "string" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1875,7 +1875,7 @@ }, "[]" ], - "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1893,7 +1893,7 @@ "description": [ "\nAn API to specify information about a specific request that will be logged.\nCreate a new instance to log a request using {@link RequestAdapter#start}." ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1907,7 +1907,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1927,7 +1927,7 @@ "text": "Request" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1942,7 +1942,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1967,7 +1967,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1981,7 +1981,7 @@ "signature": [ "object" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2014,7 +2014,7 @@ "text": "RequestResponder" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2034,7 +2034,7 @@ "text": "RequestStatistics" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2062,7 +2062,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2082,7 +2082,7 @@ "text": "RequestStatus" } ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2097,7 +2097,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2117,7 +2117,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2131,7 +2131,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2151,7 +2151,7 @@ "Response", ") => void" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2165,7 +2165,7 @@ "signature": [ "Response" ], - "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2188,7 +2188,7 @@ "description": [ "\nThe interface that the adapters used to open an inspector have to fullfill." ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2209,7 +2209,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2223,7 +2223,7 @@ "signature": [ "[key: string]: any" ], - "path": "src/plugins/inspector/common/adapters/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/types.ts", "deprecated": false, "trackAdoption": false } @@ -2248,7 +2248,7 @@ " extends ", "RequestParams" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2259,7 +2259,7 @@ "tags": [], "label": "id", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2270,7 +2270,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2284,7 +2284,7 @@ "signature": [ "object | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2299,7 +2299,7 @@ "Response", " | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2310,7 +2310,7 @@ "tags": [], "label": "startTime", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2331,7 +2331,7 @@ }, " | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2351,7 +2351,7 @@ "text": "RequestStatus" } ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2365,7 +2365,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -2379,7 +2379,7 @@ "tags": [], "label": "RequestStatistic", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2390,7 +2390,7 @@ "tags": [], "label": "label", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2404,7 +2404,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2418,7 +2418,7 @@ "signature": [ "any" ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -2432,7 +2432,7 @@ "tags": [], "label": "RequestStatistics", "description": [], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2453,7 +2453,7 @@ "text": "RequestStatistic" } ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false } @@ -2471,7 +2471,7 @@ "description": [ "\nThe status a request can have." ], - "path": "src/plugins/inspector/common/adapters/request/types.ts", + "path": "src/platform/plugins/shared/inspector/common/adapters/request/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index e3752dde6f56e..1fa4a3066ca2a 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inspector title: "inspector" image: https://source.unsplash.com/400x175/?github description: API docs for the inspector plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inspector'] --- import inspectorObj from './inspector.devdocs.json'; diff --git a/api_docs/integration_assistant.mdx b/api_docs/integration_assistant.mdx index 472b4780a960d..d7715d78394fb 100644 --- a/api_docs/integration_assistant.mdx +++ b/api_docs/integration_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/integrationAssistant title: "integrationAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the integrationAssistant plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'integrationAssistant'] --- import integrationAssistantObj from './integration_assistant.devdocs.json'; diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 73eec57b8fd06..1dd3678bed6ac 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/interactiveSetup title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github description: API docs for the interactiveSetup plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'interactiveSetup'] --- import interactiveSetupObj from './interactive_setup.devdocs.json'; diff --git a/api_docs/inventory.mdx b/api_docs/inventory.mdx index 5cf43745a3015..a1a3064b20f10 100644 --- a/api_docs/inventory.mdx +++ b/api_docs/inventory.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/inventory title: "inventory" image: https://source.unsplash.com/400x175/?github description: API docs for the inventory plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'inventory'] --- import inventoryObj from './inventory.devdocs.json'; diff --git a/api_docs/investigate.mdx b/api_docs/investigate.mdx index 3d9a6d8665eae..3d3cc4877488a 100644 --- a/api_docs/investigate.mdx +++ b/api_docs/investigate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/investigate title: "investigate" image: https://source.unsplash.com/400x175/?github description: API docs for the investigate plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'investigate'] --- import investigateObj from './investigate.devdocs.json'; diff --git a/api_docs/investigate_app.mdx b/api_docs/investigate_app.mdx index 4c4ea403b9c6f..9d501e675b1ad 100644 --- a/api_docs/investigate_app.mdx +++ b/api_docs/investigate_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/investigateApp title: "investigateApp" image: https://source.unsplash.com/400x175/?github description: API docs for the investigateApp plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'investigateApp'] --- import investigateAppObj from './investigate_app.devdocs.json'; diff --git a/api_docs/kbn_actions_types.mdx b/api_docs/kbn_actions_types.mdx index 1174eda1f685b..80792f0bc897a 100644 --- a/api_docs/kbn_actions_types.mdx +++ b/api_docs/kbn_actions_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-actions-types title: "@kbn/actions-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/actions-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/actions-types'] --- import kbnActionsTypesObj from './kbn_actions_types.devdocs.json'; diff --git a/api_docs/kbn_ai_assistant.mdx b/api_docs/kbn_ai_assistant.mdx index edb2907600e0c..3e1a9fc9584a0 100644 --- a/api_docs/kbn_ai_assistant.mdx +++ b/api_docs/kbn_ai_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ai-assistant title: "@kbn/ai-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ai-assistant plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ai-assistant'] --- import kbnAiAssistantObj from './kbn_ai_assistant.devdocs.json'; diff --git a/api_docs/kbn_ai_assistant_common.mdx b/api_docs/kbn_ai_assistant_common.mdx index 152c159879560..f947e228252d7 100644 --- a/api_docs/kbn_ai_assistant_common.mdx +++ b/api_docs/kbn_ai_assistant_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ai-assistant-common title: "@kbn/ai-assistant-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ai-assistant-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ai-assistant-common'] --- import kbnAiAssistantCommonObj from './kbn_ai_assistant_common.devdocs.json'; diff --git a/api_docs/kbn_ai_assistant_icon.mdx b/api_docs/kbn_ai_assistant_icon.mdx index 9355045c41f12..700a805220fe3 100644 --- a/api_docs/kbn_ai_assistant_icon.mdx +++ b/api_docs/kbn_ai_assistant_icon.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ai-assistant-icon title: "@kbn/ai-assistant-icon" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ai-assistant-icon plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ai-assistant-icon'] --- import kbnAiAssistantIconObj from './kbn_ai_assistant_icon.devdocs.json'; diff --git a/api_docs/kbn_aiops_components.mdx b/api_docs/kbn_aiops_components.mdx index de7329bd41c70..5e759601c56a8 100644 --- a/api_docs/kbn_aiops_components.mdx +++ b/api_docs/kbn_aiops_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-components title: "@kbn/aiops-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-components'] --- import kbnAiopsComponentsObj from './kbn_aiops_components.devdocs.json'; diff --git a/api_docs/kbn_aiops_log_pattern_analysis.mdx b/api_docs/kbn_aiops_log_pattern_analysis.mdx index dbd6265bd7d39..7b74f22499525 100644 --- a/api_docs/kbn_aiops_log_pattern_analysis.mdx +++ b/api_docs/kbn_aiops_log_pattern_analysis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-log-pattern-analysis title: "@kbn/aiops-log-pattern-analysis" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-log-pattern-analysis plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-log-pattern-analysis'] --- import kbnAiopsLogPatternAnalysisObj from './kbn_aiops_log_pattern_analysis.devdocs.json'; diff --git a/api_docs/kbn_aiops_log_rate_analysis.mdx b/api_docs/kbn_aiops_log_rate_analysis.mdx index da2b660f416e6..c919e5674c6d5 100644 --- a/api_docs/kbn_aiops_log_rate_analysis.mdx +++ b/api_docs/kbn_aiops_log_rate_analysis.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-aiops-log-rate-analysis title: "@kbn/aiops-log-rate-analysis" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/aiops-log-rate-analysis plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/aiops-log-rate-analysis'] --- import kbnAiopsLogRateAnalysisObj from './kbn_aiops_log_rate_analysis.devdocs.json'; diff --git a/api_docs/kbn_alerting_api_integration_helpers.mdx b/api_docs/kbn_alerting_api_integration_helpers.mdx index edc9c12de5374..e976d82530697 100644 --- a/api_docs/kbn_alerting_api_integration_helpers.mdx +++ b/api_docs/kbn_alerting_api_integration_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-api-integration-helpers title: "@kbn/alerting-api-integration-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-api-integration-helpers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-api-integration-helpers'] --- import kbnAlertingApiIntegrationHelpersObj from './kbn_alerting_api_integration_helpers.devdocs.json'; diff --git a/api_docs/kbn_alerting_comparators.mdx b/api_docs/kbn_alerting_comparators.mdx index 55e94b50e2dea..be018c3f1454e 100644 --- a/api_docs/kbn_alerting_comparators.mdx +++ b/api_docs/kbn_alerting_comparators.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-comparators title: "@kbn/alerting-comparators" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-comparators plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-comparators'] --- import kbnAlertingComparatorsObj from './kbn_alerting_comparators.devdocs.json'; diff --git a/api_docs/kbn_alerting_state_types.mdx b/api_docs/kbn_alerting_state_types.mdx index 2a56c4b820c97..8164bb3cbce4a 100644 --- a/api_docs/kbn_alerting_state_types.mdx +++ b/api_docs/kbn_alerting_state_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-state-types title: "@kbn/alerting-state-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-state-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-state-types'] --- import kbnAlertingStateTypesObj from './kbn_alerting_state_types.devdocs.json'; diff --git a/api_docs/kbn_alerting_types.mdx b/api_docs/kbn_alerting_types.mdx index ce1819817fa78..1949ab31ad1d6 100644 --- a/api_docs/kbn_alerting_types.mdx +++ b/api_docs/kbn_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerting-types title: "@kbn/alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerting-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerting-types'] --- import kbnAlertingTypesObj from './kbn_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_alerts_as_data_utils.mdx b/api_docs/kbn_alerts_as_data_utils.mdx index 8e1ad36523c4e..ff8d782be516f 100644 --- a/api_docs/kbn_alerts_as_data_utils.mdx +++ b/api_docs/kbn_alerts_as_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-as-data-utils title: "@kbn/alerts-as-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-as-data-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-as-data-utils'] --- import kbnAlertsAsDataUtilsObj from './kbn_alerts_as_data_utils.devdocs.json'; diff --git a/api_docs/kbn_alerts_grouping.mdx b/api_docs/kbn_alerts_grouping.mdx index 00879218963a1..95acd96856922 100644 --- a/api_docs/kbn_alerts_grouping.mdx +++ b/api_docs/kbn_alerts_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-grouping title: "@kbn/alerts-grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-grouping plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-grouping'] --- import kbnAlertsGroupingObj from './kbn_alerts_grouping.devdocs.json'; diff --git a/api_docs/kbn_alerts_ui_shared.devdocs.json b/api_docs/kbn_alerts_ui_shared.devdocs.json index 7a503c08980f5..8e2766a358f30 100644 --- a/api_docs/kbn_alerts_ui_shared.devdocs.json +++ b/api_docs/kbn_alerts_ui_shared.devdocs.json @@ -3333,7 +3333,7 @@ "text": "ControlGroupRendererProps" } ], - "path": "src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", + "path": "src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_alerts_ui_shared.mdx b/api_docs/kbn_alerts_ui_shared.mdx index 4ee1f57f05454..b08609633f480 100644 --- a/api_docs/kbn_alerts_ui_shared.mdx +++ b/api_docs/kbn_alerts_ui_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-alerts-ui-shared title: "@kbn/alerts-ui-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/alerts-ui-shared plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts-ui-shared'] --- import kbnAlertsUiSharedObj from './kbn_alerts_ui_shared.devdocs.json'; diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx index 335d312ef242d..af03d529b472a 100644 --- a/api_docs/kbn_analytics.mdx +++ b/api_docs/kbn_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics title: "@kbn/analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] --- import kbnAnalyticsObj from './kbn_analytics.devdocs.json'; diff --git a/api_docs/kbn_analytics_collection_utils.mdx b/api_docs/kbn_analytics_collection_utils.mdx index 0f516268602d7..dcb80cf44312d 100644 --- a/api_docs/kbn_analytics_collection_utils.mdx +++ b/api_docs/kbn_analytics_collection_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-analytics-collection-utils title: "@kbn/analytics-collection-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/analytics-collection-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics-collection-utils'] --- import kbnAnalyticsCollectionUtilsObj from './kbn_analytics_collection_utils.devdocs.json'; diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx index 8bc052254ec24..bfad565aeea00 100644 --- a/api_docs/kbn_apm_config_loader.mdx +++ b/api_docs/kbn_apm_config_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-config-loader title: "@kbn/apm-config-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-config-loader plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] --- import kbnApmConfigLoaderObj from './kbn_apm_config_loader.devdocs.json'; diff --git a/api_docs/kbn_apm_data_view.mdx b/api_docs/kbn_apm_data_view.mdx index fb051978f767c..84e44eaedcfcd 100644 --- a/api_docs/kbn_apm_data_view.mdx +++ b/api_docs/kbn_apm_data_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-data-view title: "@kbn/apm-data-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-data-view plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-data-view'] --- import kbnApmDataViewObj from './kbn_apm_data_view.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace.mdx b/api_docs/kbn_apm_synthtrace.mdx index 1fd4be6589dbb..2f9b858ecef55 100644 --- a/api_docs/kbn_apm_synthtrace.mdx +++ b/api_docs/kbn_apm_synthtrace.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace title: "@kbn/apm-synthtrace" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace'] --- import kbnApmSynthtraceObj from './kbn_apm_synthtrace.devdocs.json'; diff --git a/api_docs/kbn_apm_synthtrace_client.devdocs.json b/api_docs/kbn_apm_synthtrace_client.devdocs.json index 9b1507d45eaf4..678a9207e54a6 100644 --- a/api_docs/kbn_apm_synthtrace_client.devdocs.json +++ b/api_docs/kbn_apm_synthtrace_client.devdocs.json @@ -2648,7 +2648,7 @@ "label": "type", "description": [], "signature": [ - "\"unknown\" | \"cell\" | \"unavailable\" | \"wifi\" | \"wired\"" + "\"unknown\" | \"cell\" | \"unavailable\" | \"wired\" | \"wifi\"" ], "path": "packages/kbn-apm-synthtrace-client/src/lib/apm/mobile_device.ts", "deprecated": false, diff --git a/api_docs/kbn_apm_synthtrace_client.mdx b/api_docs/kbn_apm_synthtrace_client.mdx index ed3398de79077..8885cb8a39005 100644 --- a/api_docs/kbn_apm_synthtrace_client.mdx +++ b/api_docs/kbn_apm_synthtrace_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-synthtrace-client title: "@kbn/apm-synthtrace-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-synthtrace-client plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-synthtrace-client'] --- import kbnApmSynthtraceClientObj from './kbn_apm_synthtrace_client.devdocs.json'; diff --git a/api_docs/kbn_apm_types.mdx b/api_docs/kbn_apm_types.mdx index 3c17b4956960d..a28dea2bd8385 100644 --- a/api_docs/kbn_apm_types.mdx +++ b/api_docs/kbn_apm_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-types title: "@kbn/apm-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-types'] --- import kbnApmTypesObj from './kbn_apm_types.devdocs.json'; diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx index 29d9260127d1d..91a845741bf65 100644 --- a/api_docs/kbn_apm_utils.mdx +++ b/api_docs/kbn_apm_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-apm-utils title: "@kbn/apm-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/apm-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] --- import kbnApmUtilsObj from './kbn_apm_utils.devdocs.json'; diff --git a/api_docs/kbn_avc_banner.mdx b/api_docs/kbn_avc_banner.mdx index e923930b87787..20a9928466b51 100644 --- a/api_docs/kbn_avc_banner.mdx +++ b/api_docs/kbn_avc_banner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-avc-banner title: "@kbn/avc-banner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/avc-banner plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/avc-banner'] --- import kbnAvcBannerObj from './kbn_avc_banner.devdocs.json'; diff --git a/api_docs/kbn_axe_config.mdx b/api_docs/kbn_axe_config.mdx index 28b610fa20e1b..3c765187cde3a 100644 --- a/api_docs/kbn_axe_config.mdx +++ b/api_docs/kbn_axe_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-axe-config title: "@kbn/axe-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/axe-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/axe-config'] --- import kbnAxeConfigObj from './kbn_axe_config.devdocs.json'; diff --git a/api_docs/kbn_calculate_auto.mdx b/api_docs/kbn_calculate_auto.mdx index 436ceaf684322..ca8eb3fa6279e 100644 --- a/api_docs/kbn_calculate_auto.mdx +++ b/api_docs/kbn_calculate_auto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-calculate-auto title: "@kbn/calculate-auto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/calculate-auto plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-auto'] --- import kbnCalculateAutoObj from './kbn_calculate_auto.devdocs.json'; diff --git a/api_docs/kbn_calculate_width_from_char_count.mdx b/api_docs/kbn_calculate_width_from_char_count.mdx index 17a091efbd6b4..c980e386230a6 100644 --- a/api_docs/kbn_calculate_width_from_char_count.mdx +++ b/api_docs/kbn_calculate_width_from_char_count.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-calculate-width-from-char-count title: "@kbn/calculate-width-from-char-count" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/calculate-width-from-char-count plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/calculate-width-from-char-count'] --- import kbnCalculateWidthFromCharCountObj from './kbn_calculate_width_from_char_count.devdocs.json'; diff --git a/api_docs/kbn_cases_components.mdx b/api_docs/kbn_cases_components.mdx index 6f34875b175ec..d8c496a6bb5fa 100644 --- a/api_docs/kbn_cases_components.mdx +++ b/api_docs/kbn_cases_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cases-components title: "@kbn/cases-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cases-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cases-components'] --- import kbnCasesComponentsObj from './kbn_cases_components.devdocs.json'; diff --git a/api_docs/kbn_cbor.mdx b/api_docs/kbn_cbor.mdx index 0a2c5167278ca..4cf02f3d6c4e5 100644 --- a/api_docs/kbn_cbor.mdx +++ b/api_docs/kbn_cbor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cbor title: "@kbn/cbor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cbor plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cbor'] --- import kbnCborObj from './kbn_cbor.devdocs.json'; diff --git a/api_docs/kbn_cell_actions.mdx b/api_docs/kbn_cell_actions.mdx index 043f1738a6234..36ccb3c20d3ad 100644 --- a/api_docs/kbn_cell_actions.mdx +++ b/api_docs/kbn_cell_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cell-actions title: "@kbn/cell-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cell-actions plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cell-actions'] --- import kbnCellActionsObj from './kbn_cell_actions.devdocs.json'; diff --git a/api_docs/kbn_chart_expressions_common.mdx b/api_docs/kbn_chart_expressions_common.mdx index bdc395db63bb1..f457e53fa3f72 100644 --- a/api_docs/kbn_chart_expressions_common.mdx +++ b/api_docs/kbn_chart_expressions_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-expressions-common title: "@kbn/chart-expressions-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-expressions-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-expressions-common'] --- import kbnChartExpressionsCommonObj from './kbn_chart_expressions_common.devdocs.json'; diff --git a/api_docs/kbn_chart_icons.mdx b/api_docs/kbn_chart_icons.mdx index 06dcd82336179..e26b0ea23a56a 100644 --- a/api_docs/kbn_chart_icons.mdx +++ b/api_docs/kbn_chart_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-chart-icons title: "@kbn/chart-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/chart-icons plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/chart-icons'] --- import kbnChartIconsObj from './kbn_chart_icons.devdocs.json'; diff --git a/api_docs/kbn_charts_theme.mdx b/api_docs/kbn_charts_theme.mdx index d5893a5647b7d..cad3611ce36f9 100644 --- a/api_docs/kbn_charts_theme.mdx +++ b/api_docs/kbn_charts_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-charts-theme title: "@kbn/charts-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/charts-theme plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/charts-theme'] --- import kbnChartsThemeObj from './kbn_charts_theme.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_core.mdx b/api_docs/kbn_ci_stats_core.mdx index fda49ea5775f0..f49acaa2a98ed 100644 --- a/api_docs/kbn_ci_stats_core.mdx +++ b/api_docs/kbn_ci_stats_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-core title: "@kbn/ci-stats-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-core plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-core'] --- import kbnCiStatsCoreObj from './kbn_ci_stats_core.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_performance_metrics.mdx b/api_docs/kbn_ci_stats_performance_metrics.mdx index 5692fa4897584..48f73010602b6 100644 --- a/api_docs/kbn_ci_stats_performance_metrics.mdx +++ b/api_docs/kbn_ci_stats_performance_metrics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-performance-metrics title: "@kbn/ci-stats-performance-metrics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-performance-metrics plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-performance-metrics'] --- import kbnCiStatsPerformanceMetricsObj from './kbn_ci_stats_performance_metrics.devdocs.json'; diff --git a/api_docs/kbn_ci_stats_reporter.mdx b/api_docs/kbn_ci_stats_reporter.mdx index 9d37567497756..8a2e8af428eba 100644 --- a/api_docs/kbn_ci_stats_reporter.mdx +++ b/api_docs/kbn_ci_stats_reporter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ci-stats-reporter title: "@kbn/ci-stats-reporter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ci-stats-reporter plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ci-stats-reporter'] --- import kbnCiStatsReporterObj from './kbn_ci_stats_reporter.devdocs.json'; diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx index 6d4adb6932444..2192a63e89020 100644 --- a/api_docs/kbn_cli_dev_mode.mdx +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cli-dev-mode title: "@kbn/cli-dev-mode" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cli-dev-mode plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] --- import kbnCliDevModeObj from './kbn_cli_dev_mode.devdocs.json'; diff --git a/api_docs/kbn_cloud_security_posture.mdx b/api_docs/kbn_cloud_security_posture.mdx index 5338d93a63a1a..a9fc3d4fc5e6e 100644 --- a/api_docs/kbn_cloud_security_posture.mdx +++ b/api_docs/kbn_cloud_security_posture.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cloud-security-posture title: "@kbn/cloud-security-posture" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cloud-security-posture plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cloud-security-posture'] --- import kbnCloudSecurityPostureObj from './kbn_cloud_security_posture.devdocs.json'; diff --git a/api_docs/kbn_cloud_security_posture_common.mdx b/api_docs/kbn_cloud_security_posture_common.mdx index 94d72eb490db1..7d387c535026b 100644 --- a/api_docs/kbn_cloud_security_posture_common.mdx +++ b/api_docs/kbn_cloud_security_posture_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cloud-security-posture-common title: "@kbn/cloud-security-posture-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cloud-security-posture-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cloud-security-posture-common'] --- import kbnCloudSecurityPostureCommonObj from './kbn_cloud_security_posture_common.devdocs.json'; diff --git a/api_docs/kbn_cloud_security_posture_graph.devdocs.json b/api_docs/kbn_cloud_security_posture_graph.devdocs.json index 6dcfe6b1b174b..91ec8393ddde3 100644 --- a/api_docs/kbn_cloud_security_posture_graph.devdocs.json +++ b/api_docs/kbn_cloud_security_posture_graph.devdocs.json @@ -15,7 +15,7 @@ "\nGraph component renders a graph visualization using ReactFlow.\nIt takes nodes and edges as input and provides interactive controls\nfor panning, zooming, and manipulating the graph.\n" ], "signature": [ - "({ nodes, edges, interactive, isLocked, ...rest }: ", + "React.NamedExoticComponent<", { "pluginId": "@kbn/cloud-security-posture-graph", "scope": "public", @@ -23,37 +23,32 @@ "section": "def-public.GraphProps", "text": "GraphProps" }, - ") => React.JSX.Element" + ">" ], "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx", "deprecated": false, "trackAdoption": false, + "returnComment": [ + "The rendered Graph component." + ], "children": [ { "parentPluginId": "@kbn/cloud-security-posture-graph", "id": "def-public.Graph.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], - "label": "{\n nodes,\n edges,\n interactive,\n isLocked = false,\n ...rest\n}", - "description": [], + "label": "props", + "description": [ + "- The properties for the Graph component." + ], "signature": [ - { - "pluginId": "@kbn/cloud-security-posture-graph", - "scope": "public", - "docId": "kibKbnCloudSecurityPostureGraphPluginApi", - "section": "def-public.GraphProps", - "text": "GraphProps" - } + "P" ], - "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph/graph.tsx", + "path": "node_modules/@types/react/ts5.0/index.d.ts", "deprecated": false, - "trackAdoption": false, - "isRequired": true + "trackAdoption": false } ], - "returnComment": [ - "The rendered Graph component." - ], "initialIsOpen": false }, { @@ -66,7 +61,7 @@ "\nGraph investigation view allows the user to expand nodes and view related entities." ], "signature": [ - "React.FunctionComponent" + "React.NamedExoticComponent" ], "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/graph_investigation/graph_investigation.tsx", "deprecated": false, @@ -86,20 +81,6 @@ "path": "node_modules/@types/react/ts5.0/index.d.ts", "deprecated": false, "trackAdoption": false - }, - { - "parentPluginId": "@kbn/cloud-security-posture-graph", - "id": "def-public.GraphInvestigation.$2", - "type": "Any", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "any" - ], - "path": "node_modules/@types/react/ts5.0/index.d.ts", - "deprecated": false, - "trackAdoption": false } ], "initialIsOpen": false @@ -139,6 +120,53 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/cloud-security-posture-graph", + "id": "def-public.isEntityNode", + "type": "Function", + "tags": [], + "label": "isEntityNode", + "description": [], + "signature": [ + "(node: ", + { + "pluginId": "@kbn/cloud-security-posture-graph", + "scope": "public", + "docId": "kibKbnCloudSecurityPostureGraphPluginApi", + "section": "def-public.NodeViewModel", + "text": "NodeViewModel" + }, + ") => boolean" + ], + "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/cloud-security-posture-graph", + "id": "def-public.isEntityNode.$1", + "type": "CompoundType", + "tags": [], + "label": "node", + "description": [], + "signature": [ + { + "pluginId": "@kbn/cloud-security-posture-graph", + "scope": "public", + "docId": "kibKbnCloudSecurityPostureGraphPluginApi", + "section": "def-public.NodeViewModel", + "text": "NodeViewModel" + } + ], + "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/index.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/cloud-security-posture-graph", "id": "def-public.useFetchGraphData", @@ -450,6 +478,21 @@ "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/cloud-security-posture-graph", + "id": "def-public.LabelNodeViewModel.nodeClick", + "type": "Function", + "tags": [], + "label": "nodeClick", + "description": [], + "signature": [ + "NodeClickCallback", + " | undefined" + ], + "path": "x-pack/solutions/security/packages/kbn-cloud-security-posture/graph/src/components/types.ts", + "deprecated": false, + "trackAdoption": false } ], "initialIsOpen": false diff --git a/api_docs/kbn_cloud_security_posture_graph.mdx b/api_docs/kbn_cloud_security_posture_graph.mdx index f9af4c49f1387..ef1eba9bcbbfc 100644 --- a/api_docs/kbn_cloud_security_posture_graph.mdx +++ b/api_docs/kbn_cloud_security_posture_graph.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cloud-security-posture-graph title: "@kbn/cloud-security-posture-graph" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cloud-security-posture-graph plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cloud-security-posture-graph'] --- import kbnCloudSecurityPostureGraphObj from './kbn_cloud_security_posture_graph.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 25 | 0 | 16 | 6 | +| 27 | 0 | 18 | 6 | ## Client diff --git a/api_docs/kbn_code_editor.mdx b/api_docs/kbn_code_editor.mdx index cb33493fcb4d0..9d82552f19945 100644 --- a/api_docs/kbn_code_editor.mdx +++ b/api_docs/kbn_code_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor title: "@kbn/code-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor'] --- import kbnCodeEditorObj from './kbn_code_editor.devdocs.json'; diff --git a/api_docs/kbn_code_editor_mock.mdx b/api_docs/kbn_code_editor_mock.mdx index 24d0ab7cdcde5..b2ade30de6294 100644 --- a/api_docs/kbn_code_editor_mock.mdx +++ b/api_docs/kbn_code_editor_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-editor-mock title: "@kbn/code-editor-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-editor-mock plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-editor-mock'] --- import kbnCodeEditorMockObj from './kbn_code_editor_mock.devdocs.json'; diff --git a/api_docs/kbn_code_owners.devdocs.json b/api_docs/kbn_code_owners.devdocs.json index c017220858247..7a034a7b75993 100644 --- a/api_docs/kbn_code_owners.devdocs.json +++ b/api_docs/kbn_code_owners.devdocs.json @@ -19,6 +19,45 @@ "common": { "classes": [], "functions": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.findAreaForCodeOwner", + "type": "Function", + "tags": [], + "label": "findAreaForCodeOwner", + "description": [ + "\nFind what area a code owner belongs to\n" + ], + "signature": [ + "(owner: string) => \"search\" | \"security\" | \"observability\" | \"platform\" | undefined" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.findAreaForCodeOwner.$1", + "type": "string", + "tags": [], + "label": "owner", + "description": [ + "Owner to find an area name" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [ + "The code owner area if a match for the given owner is found" + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/code-owners", "id": "def-common.findCodeOwnersEntryForPath", @@ -28,7 +67,7 @@ ], "label": "findCodeOwnersEntryForPath", "description": [ - "\nGet a list of matching code owners for a given path\n\nTip:\n If you're making a lot of calls to this function, fetch the code owner paths once using\n `getCodeOwnersEntries` and pass it in the `getCodeOwnersEntries` parameter to speed up your queries..\n" + "\nGet a list of matching code owners for a given path\n\nTip:\n If you're making a lot of calls to this function, fetch the code owner paths once using\n `getCodeOwnersEntries` and pass it in the `getCodeOwnersEntries` parameter to speed up your queries.\n" ], "signature": [ "(searchPath: string, codeOwnersEntries: ", @@ -252,6 +291,20 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CodeOwnersEntry.areas", + "type": "Array", + "tags": [], + "label": "areas", + "description": [], + "signature": [ + "(\"search\" | \"security\" | \"observability\" | \"platform\")[]" + ], + "path": "packages/kbn-code-owners/src/code_owners.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "@kbn/code-owners", "id": "def-common.CodeOwnersEntry.comment", @@ -271,7 +324,113 @@ } ], "enums": [], - "misc": [], - "objects": [] + "misc": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CodeOwnerArea", + "type": "Type", + "tags": [], + "label": "CodeOwnerArea", + "description": [], + "signature": [ + "\"search\" | \"security\" | \"observability\" | \"platform\"" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS", + "type": "Object", + "tags": [], + "label": "CODE_OWNER_AREA_MAPPINGS", + "description": [ + "\nArea mappings for code owners" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS.platform", + "type": "Array", + "tags": [], + "label": "platform", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS.search", + "type": "Array", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS.observability", + "type": "Array", + "tags": [], + "label": "observability", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREA_MAPPINGS.security", + "type": "Array", + "tags": [], + "label": "security", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/code-owners", + "id": "def-common.CODE_OWNER_AREAS", + "type": "Object", + "tags": [], + "label": "CODE_OWNER_AREAS", + "description": [ + "\nCode owner area names" + ], + "signature": [ + "readonly [\"platform\", \"search\", \"observability\", \"security\"]" + ], + "path": "packages/kbn-code-owners/src/code_owner_areas.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ] } } \ No newline at end of file diff --git a/api_docs/kbn_code_owners.mdx b/api_docs/kbn_code_owners.mdx index 4c5ae22f822ac..aa7b2781e8fba 100644 --- a/api_docs/kbn_code_owners.mdx +++ b/api_docs/kbn_code_owners.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-code-owners title: "@kbn/code-owners" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/code-owners plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/code-owners'] --- import kbnCodeOwnersObj from './kbn_code_owners.devdocs.json'; @@ -21,13 +21,19 @@ Contact [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) for | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 12 | 0 | 5 | 0 | +| 22 | 0 | 11 | 0 | ## Common +### Objects + + ### Functions ### Interfaces +### Consts, variables and types + + diff --git a/api_docs/kbn_coloring.mdx b/api_docs/kbn_coloring.mdx index 2ee002e2829e1..92d6cfe461c46 100644 --- a/api_docs/kbn_coloring.mdx +++ b/api_docs/kbn_coloring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-coloring title: "@kbn/coloring" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/coloring plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/coloring'] --- import kbnColoringObj from './kbn_coloring.devdocs.json'; diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx index e920d1eef70cc..6364e7774c359 100644 --- a/api_docs/kbn_config.mdx +++ b/api_docs/kbn_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config title: "@kbn/config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] --- import kbnConfigObj from './kbn_config.devdocs.json'; diff --git a/api_docs/kbn_config_mocks.mdx b/api_docs/kbn_config_mocks.mdx index 399fc05adfe2a..cc7a8f4aeb06f 100644 --- a/api_docs/kbn_config_mocks.mdx +++ b/api_docs/kbn_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-mocks title: "@kbn/config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-mocks'] --- import kbnConfigMocksObj from './kbn_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx index 9bf5a8181986f..644d56445d641 100644 --- a/api_docs/kbn_config_schema.mdx +++ b/api_docs/kbn_config_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-config-schema title: "@kbn/config-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/config-schema plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] --- import kbnConfigSchemaObj from './kbn_config_schema.devdocs.json'; diff --git a/api_docs/kbn_content_management_content_editor.mdx b/api_docs/kbn_content_management_content_editor.mdx index 34324978dcf7f..be04a77557587 100644 --- a/api_docs/kbn_content_management_content_editor.mdx +++ b/api_docs/kbn_content_management_content_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-editor title: "@kbn/content-management-content-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-editor plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-editor'] --- import kbnContentManagementContentEditorObj from './kbn_content_management_content_editor.devdocs.json'; diff --git a/api_docs/kbn_content_management_content_insights_public.mdx b/api_docs/kbn_content_management_content_insights_public.mdx index 5deefb8409571..41a6256a80b1d 100644 --- a/api_docs/kbn_content_management_content_insights_public.mdx +++ b/api_docs/kbn_content_management_content_insights_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-insights-public title: "@kbn/content-management-content-insights-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-insights-public plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-insights-public'] --- import kbnContentManagementContentInsightsPublicObj from './kbn_content_management_content_insights_public.devdocs.json'; diff --git a/api_docs/kbn_content_management_content_insights_server.mdx b/api_docs/kbn_content_management_content_insights_server.mdx index a6611db9e7ab7..fd246feba6f81 100644 --- a/api_docs/kbn_content_management_content_insights_server.mdx +++ b/api_docs/kbn_content_management_content_insights_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-content-insights-server title: "@kbn/content-management-content-insights-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-content-insights-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-content-insights-server'] --- import kbnContentManagementContentInsightsServerObj from './kbn_content_management_content_insights_server.devdocs.json'; diff --git a/api_docs/kbn_content_management_favorites_common.mdx b/api_docs/kbn_content_management_favorites_common.mdx index 300acefce8e92..b18e58ee33624 100644 --- a/api_docs/kbn_content_management_favorites_common.mdx +++ b/api_docs/kbn_content_management_favorites_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-favorites-common title: "@kbn/content-management-favorites-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-favorites-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-favorites-common'] --- import kbnContentManagementFavoritesCommonObj from './kbn_content_management_favorites_common.devdocs.json'; diff --git a/api_docs/kbn_content_management_favorites_public.mdx b/api_docs/kbn_content_management_favorites_public.mdx index 1006263ca0620..5411374d310ca 100644 --- a/api_docs/kbn_content_management_favorites_public.mdx +++ b/api_docs/kbn_content_management_favorites_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-favorites-public title: "@kbn/content-management-favorites-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-favorites-public plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-favorites-public'] --- import kbnContentManagementFavoritesPublicObj from './kbn_content_management_favorites_public.devdocs.json'; diff --git a/api_docs/kbn_content_management_favorites_server.mdx b/api_docs/kbn_content_management_favorites_server.mdx index 020a4d47c34ea..cd60e44cf175c 100644 --- a/api_docs/kbn_content_management_favorites_server.mdx +++ b/api_docs/kbn_content_management_favorites_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-favorites-server title: "@kbn/content-management-favorites-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-favorites-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-favorites-server'] --- import kbnContentManagementFavoritesServerObj from './kbn_content_management_favorites_server.devdocs.json'; diff --git a/api_docs/kbn_content_management_tabbed_table_list_view.mdx b/api_docs/kbn_content_management_tabbed_table_list_view.mdx index 22c136117608f..5842916b70b53 100644 --- a/api_docs/kbn_content_management_tabbed_table_list_view.mdx +++ b/api_docs/kbn_content_management_tabbed_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-tabbed-table-list-view title: "@kbn/content-management-tabbed-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-tabbed-table-list-view plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-tabbed-table-list-view'] --- import kbnContentManagementTabbedTableListViewObj from './kbn_content_management_tabbed_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view.mdx b/api_docs/kbn_content_management_table_list_view.mdx index 9bee9fd32629c..1fda4cc51137b 100644 --- a/api_docs/kbn_content_management_table_list_view.mdx +++ b/api_docs/kbn_content_management_table_list_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view title: "@kbn/content-management-table-list-view" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view'] --- import kbnContentManagementTableListViewObj from './kbn_content_management_table_list_view.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_common.mdx b/api_docs/kbn_content_management_table_list_view_common.mdx index d8295b30b60b3..43f4dcf96beb6 100644 --- a/api_docs/kbn_content_management_table_list_view_common.mdx +++ b/api_docs/kbn_content_management_table_list_view_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-common title: "@kbn/content-management-table-list-view-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-common'] --- import kbnContentManagementTableListViewCommonObj from './kbn_content_management_table_list_view_common.devdocs.json'; diff --git a/api_docs/kbn_content_management_table_list_view_table.mdx b/api_docs/kbn_content_management_table_list_view_table.mdx index cb971a03c242a..9e0475169d3a6 100644 --- a/api_docs/kbn_content_management_table_list_view_table.mdx +++ b/api_docs/kbn_content_management_table_list_view_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-table-list-view-table title: "@kbn/content-management-table-list-view-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-table-list-view-table plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-table-list-view-table'] --- import kbnContentManagementTableListViewTableObj from './kbn_content_management_table_list_view_table.devdocs.json'; diff --git a/api_docs/kbn_content_management_user_profiles.mdx b/api_docs/kbn_content_management_user_profiles.mdx index f803a3fba8a6a..de835fe810e34 100644 --- a/api_docs/kbn_content_management_user_profiles.mdx +++ b/api_docs/kbn_content_management_user_profiles.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-user-profiles title: "@kbn/content-management-user-profiles" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-user-profiles plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-user-profiles'] --- import kbnContentManagementUserProfilesObj from './kbn_content_management_user_profiles.devdocs.json'; diff --git a/api_docs/kbn_content_management_utils.mdx b/api_docs/kbn_content_management_utils.mdx index 676066efe4f70..ed6b7727cbf9d 100644 --- a/api_docs/kbn_content_management_utils.mdx +++ b/api_docs/kbn_content_management_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-content-management-utils title: "@kbn/content-management-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/content-management-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/content-management-utils'] --- import kbnContentManagementUtilsObj from './kbn_content_management_utils.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser.devdocs.json b/api_docs/kbn_core_analytics_browser.devdocs.json index 8754eaa2360d9..216d7ebd47572 100644 --- a/api_docs/kbn_core_analytics_browser.devdocs.json +++ b/api_docs/kbn_core_analytics_browser.devdocs.json @@ -479,40 +479,40 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/ebt-tools", - "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" + "plugin": "@kbn/core-notifications-browser-internal", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" + "plugin": "@kbn/core-notifications-browser-internal", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + "plugin": "@kbn/ebt-tools", + "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-notifications-browser-internal", - "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-notifications-browser-internal", - "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-root-browser-internal", @@ -547,33 +547,49 @@ "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-root-server-internal", "path": "packages/core/root/core-root-server-internal/src/events/kibana_started.ts" }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/lib/action_executor.ts" + }, { "plugin": "@kbn/cloud", "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" @@ -622,22 +638,6 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/public/analytics/event_tracker.ts" }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.ts" - }, { "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/utils/recall/recall_and_score.ts" @@ -648,7 +648,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts" }, { "plugin": "discover", @@ -659,48 +659,48 @@ "path": "src/plugins/discover/public/services/discover_ebt_manager.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" + "plugin": "globalSearchBar", + "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "globalSearchBar", + "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/usage/event_tracker.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "searchPlayground", + "path": "x-pack/plugins/search_playground/server/routes.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "globalSearchBar", - "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "globalSearchBar", - "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/usage/event_tracker.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "apm", @@ -1487,76 +1487,76 @@ "path": "x-pack/plugins/actions/server/lib/action_executor.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts" } ], "children": [ @@ -1773,40 +1773,40 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-chrome-browser-internal", @@ -1841,37 +1841,37 @@ "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { "plugin": "cloud", "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/public/analytics/register_analytics_context.ts" - }, { "plugin": "licensing", "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/analytics/register_analytics_context.ts" + }, { "plugin": "security", "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" @@ -1949,16 +1949,16 @@ "path": "src/plugins/discover/public/services/discover_ebt_manager.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { "plugin": "@kbn/core-chrome-browser-internal", @@ -2001,44 +2001,44 @@ "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.ts" } ], "children": [ @@ -2353,7 +2353,7 @@ "description": [ "\nAPI exposed through `window.__kbnAnalytics`" ], - "path": "packages/core/analytics/core-analytics-browser/src/types.ts", + "path": "src/core/packages/analytics/browser/src/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2369,7 +2369,7 @@ "signature": [ "() => Promise" ], - "path": "packages/core/analytics/core-analytics-browser/src/types.ts", + "path": "src/core/packages/analytics/browser/src/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2976,7 +2976,7 @@ "ContextProviderOpts", ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "packages/core/analytics/core-analytics-browser/src/types.ts", + "path": "src/core/packages/analytics/browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2999,7 +2999,7 @@ "TelemetryCounter", ">; }" ], - "path": "packages/core/analytics/core-analytics-browser/src/types.ts", + "path": "src/core/packages/analytics/browser/src/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_analytics_browser.mdx b/api_docs/kbn_core_analytics_browser.mdx index 8fc76d78947c1..e3b07657bec0b 100644 --- a/api_docs/kbn_core_analytics_browser.mdx +++ b/api_docs/kbn_core_analytics_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser title: "@kbn/core-analytics-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser'] --- import kbnCoreAnalyticsBrowserObj from './kbn_core_analytics_browser.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_browser_internal.devdocs.json b/api_docs/kbn_core_analytics_browser_internal.devdocs.json index 22b8438d56dac..680449676b651 100644 --- a/api_docs/kbn_core_analytics_browser_internal.devdocs.json +++ b/api_docs/kbn_core_analytics_browser_internal.devdocs.json @@ -9,7 +9,7 @@ "tags": [], "label": "AnalyticsService", "description": [], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23,7 +23,7 @@ "signature": [ "any" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37,7 +37,7 @@ "signature": [ "CoreContext" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -56,15 +56,9 @@ "({ injectedMetadata }: ", "AnalyticsServiceSetupDeps", ") => ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - } + "AnalyticsServiceSetup" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -78,7 +72,7 @@ "signature": [ "AnalyticsServiceSetupDeps" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -95,15 +89,9 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - } + "AnalyticsServiceStart" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -119,7 +107,7 @@ "signature": [ "() => Promise" ], - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/kbn_core_analytics_browser_internal.mdx b/api_docs/kbn_core_analytics_browser_internal.mdx index 7dc99ae4c235d..25c01b1529357 100644 --- a/api_docs/kbn_core_analytics_browser_internal.mdx +++ b/api_docs/kbn_core_analytics_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-internal title: "@kbn/core-analytics-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-internal'] --- import kbnCoreAnalyticsBrowserInternalObj from './kbn_core_analytics_browser_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 7 | 0 | 7 | 1 | +| 7 | 0 | 7 | 0 | ## Client diff --git a/api_docs/kbn_core_analytics_browser_mocks.devdocs.json b/api_docs/kbn_core_analytics_browser_mocks.devdocs.json index 64028214822e2..a856ac2b9d963 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_analytics_browser_mocks.devdocs.json @@ -43,13 +43,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", ">" ], "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts", @@ -67,13 +61,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ">" ], "path": "packages/core/analytics/core-analytics-browser-mocks/src/analytics_service.mock.ts", diff --git a/api_docs/kbn_core_analytics_browser_mocks.mdx b/api_docs/kbn_core_analytics_browser_mocks.mdx index cc61e457bf6fb..20734943b2a55 100644 --- a/api_docs/kbn_core_analytics_browser_mocks.mdx +++ b/api_docs/kbn_core_analytics_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-browser-mocks title: "@kbn/core-analytics-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-browser-mocks'] --- import kbnCoreAnalyticsBrowserMocksObj from './kbn_core_analytics_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server.devdocs.json b/api_docs/kbn_core_analytics_server.devdocs.json index 19962075b2601..1c51f49637243 100644 --- a/api_docs/kbn_core_analytics_server.devdocs.json +++ b/api_docs/kbn_core_analytics_server.devdocs.json @@ -487,40 +487,40 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/ebt-tools", - "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" + "plugin": "@kbn/core-notifications-browser-internal", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts" + "plugin": "@kbn/core-notifications-browser-internal", + "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + "plugin": "@kbn/ebt-tools", + "path": "packages/kbn-ebt-tools/src/performance_metric_events/helpers.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-notifications-browser-internal", - "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-notifications-browser-internal", - "path": "packages/core/notifications/core-notifications-browser-internal/src/toasts/telemetry/event_reporter.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-root-browser-internal", @@ -555,33 +555,49 @@ "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-root-server-internal", "path": "packages/core/root/core-root-server-internal/src/events/kibana_started.ts" }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/lib/action_executor.ts" + }, { "plugin": "@kbn/cloud", "path": "packages/cloud/connection_details/kibana/kibana_connection_details_provider.tsx" @@ -630,22 +646,6 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/public/analytics/event_tracker.ts" }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/analytics/analytics_service.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/lib/action_executor.ts" - }, { "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/utils/recall/recall_and_score.ts" @@ -656,7 +656,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts" }, { "plugin": "discover", @@ -667,48 +667,48 @@ "path": "src/plugins/discover/public/services/discover_ebt_manager.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" + "plugin": "globalSearchBar", + "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "globalSearchBar", + "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/usage/event_tracker.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "searchPlayground", + "path": "x-pack/plugins/search_playground/server/routes.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/public/services/telemetry/service.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "globalSearchBar", - "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "globalSearchBar", - "path": "x-pack/plugins/global_search_bar/public/telemetry/event_reporter.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/usage/event_tracker.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { - "plugin": "searchPlayground", - "path": "x-pack/plugins/search_playground/server/routes.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts" }, { "plugin": "apm", @@ -1495,76 +1495,76 @@ "path": "x-pack/plugins/actions/server/lib/action_executor.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_clicks.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts" } ], "children": [ @@ -1781,40 +1781,40 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts" + "plugin": "@kbn/core-execution-context-browser-internal", + "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-execution-context-browser-internal", - "path": "packages/core/execution-context/core-execution-context-browser-internal/src/execution_context_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.ts" }, { "plugin": "@kbn/core-chrome-browser-internal", @@ -1849,37 +1849,37 @@ "path": "packages/core/plugins/core-plugins-server-internal/src/plugin_context.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts" }, { "plugin": "cloud", "path": "x-pack/plugins/cloud/common/register_cloud_deployment_id_analytics_context.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/public/analytics/register_analytics_context.ts" - }, { "plugin": "licensing", "path": "x-pack/plugins/licensing/common/register_analytics_context_provider.ts" }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/public/analytics/register_analytics_context.ts" + }, { "plugin": "security", "path": "x-pack/plugins/security/public/analytics/register_user_context.ts" @@ -1957,16 +1957,16 @@ "path": "src/plugins/discover/public/services/discover_ebt_manager.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts" }, { "plugin": "@kbn/core-chrome-browser-internal", @@ -2009,44 +2009,44 @@ "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-browser-internal", - "path": "packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.ts" }, { - "plugin": "@kbn/core-analytics-server-internal", - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.test.ts" } ], "children": [ @@ -2950,7 +2950,7 @@ "ContextProviderOpts", ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", + "path": "src/core/packages/analytics/server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2983,7 +2983,7 @@ "ContextProviderOpts", ") => void; removeContextProvider: (contextProviderName: string) => void; }" ], - "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", + "path": "src/core/packages/analytics/server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3006,7 +3006,7 @@ "TelemetryCounter", ">; }" ], - "path": "packages/core/analytics/core-analytics-server/src/contracts.ts", + "path": "src/core/packages/analytics/server/src/contracts.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_analytics_server.mdx b/api_docs/kbn_core_analytics_server.mdx index f303cc15beb13..1dd895f06e38b 100644 --- a/api_docs/kbn_core_analytics_server.mdx +++ b/api_docs/kbn_core_analytics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server title: "@kbn/core-analytics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server'] --- import kbnCoreAnalyticsServerObj from './kbn_core_analytics_server.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_internal.devdocs.json b/api_docs/kbn_core_analytics_server_internal.devdocs.json index e12cd7a4e45f6..e2e81dfcbbcc6 100644 --- a/api_docs/kbn_core_analytics_server_internal.devdocs.json +++ b/api_docs/kbn_core_analytics_server_internal.devdocs.json @@ -17,7 +17,7 @@ "tags": [], "label": "AnalyticsService", "description": [], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -31,7 +31,7 @@ "signature": [ "any" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -45,7 +45,7 @@ "signature": [ "CoreContext" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,15 +62,9 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServicePreboot", - "text": "AnalyticsServicePreboot" - } + "AnalyticsServicePreboot" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -85,15 +79,9 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - } + "AnalyticsServiceSetup" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -108,15 +96,9 @@ "description": [], "signature": [ "() => ", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - } + "AnalyticsServiceStart" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -132,7 +114,7 @@ "signature": [ "() => Promise" ], - "path": "packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts", + "path": "src/core/packages/analytics/server-internal/src/analytics_service.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/kbn_core_analytics_server_internal.mdx b/api_docs/kbn_core_analytics_server_internal.mdx index 29b06f2d950ac..be37b6b9163b5 100644 --- a/api_docs/kbn_core_analytics_server_internal.mdx +++ b/api_docs/kbn_core_analytics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-internal title: "@kbn/core-analytics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-internal'] --- import kbnCoreAnalyticsServerInternalObj from './kbn_core_analytics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_analytics_server_mocks.devdocs.json b/api_docs/kbn_core_analytics_server_mocks.devdocs.json index 3b88c66575047..beb0ce1c497dd 100644 --- a/api_docs/kbn_core_analytics_server_mocks.devdocs.json +++ b/api_docs/kbn_core_analytics_server_mocks.devdocs.json @@ -51,13 +51,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServicePreboot", - "text": "AnalyticsServicePreboot" - }, + "AnalyticsServicePreboot", ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", @@ -75,13 +69,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", @@ -99,13 +87,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ">" ], "path": "packages/core/analytics/core-analytics-server-mocks/src/analytics_service.mock.ts", diff --git a/api_docs/kbn_core_analytics_server_mocks.mdx b/api_docs/kbn_core_analytics_server_mocks.mdx index 420d2a77b08e7..1135de02ba37e 100644 --- a/api_docs/kbn_core_analytics_server_mocks.mdx +++ b/api_docs/kbn_core_analytics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-analytics-server-mocks title: "@kbn/core-analytics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-analytics-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-analytics-server-mocks'] --- import kbnCoreAnalyticsServerMocksObj from './kbn_core_analytics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser.devdocs.json b/api_docs/kbn_core_application_browser.devdocs.json index 819f37d9483e0..de924f9283cad 100644 --- a/api_docs/kbn_core_application_browser.devdocs.json +++ b/api_docs/kbn_core_application_browser.devdocs.json @@ -12,23 +12,11 @@ "label": "App", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", " extends ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppNavOptions", - "text": "AppNavOptions" - } + "AppNavOptions" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +29,7 @@ "description": [ "\nThe unique identifier of the application.\n\nCan only be composed of alphanumeric characters, `-`, `:` and `_`" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -54,7 +42,7 @@ "description": [ "\nThe title of the application." ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -68,16 +56,10 @@ "\nThe category definition of the product\nSee {@link AppCategory}\nSee DEFAULT_APP_CATEGORIES for more reference" ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -91,16 +73,10 @@ "\nThe initial status of the application.\nDefaulting to `accessible`" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppStatus", - "text": "AppStatus" - }, + "AppStatus", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -117,16 +93,10 @@ "\nOptional list of locations where the app is visible.\n\nAccepts the following values:\n- \"globalSearch\": the link will appear in the global search bar\n- \"home\": the link will appear on the Kibana home page\n- \"kibanaOverview\": the link will appear in the Kibana overview page\n- \"sideNav\": the link will appear in the side navigation.\n Note: \"sideNav\" will be deprecated when we change the navigation to \"solutions\" style.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[] | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -142,7 +112,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -158,16 +128,10 @@ "signature": [ "Observable", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", "> | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -191,7 +155,7 @@ }, "> | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -207,7 +171,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -222,32 +186,14 @@ ], "signature": [ "(params: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", ") => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUnmount", - "text": "AppUnmount" - }, + "AppUnmount", " | Promise<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUnmount", - "text": "AppUnmount" - }, + "AppUnmount", ">" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -260,16 +206,10 @@ "label": "params", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", "" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -287,7 +227,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -303,7 +243,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -319,7 +259,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -333,16 +273,10 @@ "\nInput type for registering secondary in-app locations for an application.\n\nDeep links must include at least one of `path` or `deepLinks`. A deep link that does not have a `path`\nrepresents a topological level in the application's hierarchy, but does not have a destination URL that is\nuser-accessible.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[] | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -358,7 +292,7 @@ "description": [ "\nFactory provided when invoking a {@link AppLeaveHandler} to retrieve the {@link AppLeaveAction} to execute." ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -373,15 +307,9 @@ ], "signature": [ "(text: string, title?: string | undefined, callback?: (() => void) | undefined, confirmButtonText?: string | undefined, buttonColor?: \"text\" | \"warning\" | \"success\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | undefined) => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveConfirmAction", - "text": "AppLeaveConfirmAction" - } + "AppLeaveConfirmAction" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -397,7 +325,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -414,7 +342,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -431,7 +359,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -448,7 +376,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -465,7 +393,7 @@ "signature": [ "\"text\" | \"warning\" | \"success\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -484,15 +412,9 @@ ], "signature": [ "() => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveDefaultAction", - "text": "AppLeaveDefaultAction" - } + "AppLeaveDefaultAction" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -510,7 +432,7 @@ "description": [ "\nAction to return from a {@link AppLeaveHandler} to show a confirmation\nmessage when trying to leave an application.\n\nSee {@link AppLeaveActionFactory}\n" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -522,16 +444,10 @@ "label": "type", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveActionType", - "text": "AppLeaveActionType" - }, + "AppLeaveActionType", ".confirm" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -542,7 +458,7 @@ "tags": [], "label": "text", "description": [], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -556,7 +472,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -570,7 +486,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -584,7 +500,7 @@ "signature": [ "\"text\" | \"warning\" | \"success\" | \"primary\" | \"accent\" | \"accentSecondary\" | \"danger\" | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -598,7 +514,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -616,7 +532,7 @@ "description": [ "\nAction to return from a {@link AppLeaveHandler} to execute the default\nbehaviour when leaving the application.\n\nSee {@link AppLeaveActionFactory}\n" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -628,16 +544,10 @@ "label": "type", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveActionType", - "text": "AppLeaveActionType" - }, + "AppLeaveActionType", ".default" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false } @@ -651,7 +561,7 @@ "tags": [], "label": "ApplicationSetup", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -666,16 +576,10 @@ ], "signature": [ "(app: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", ") => void" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -689,16 +593,10 @@ "- an {@link App }" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", "" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -719,16 +617,10 @@ "(appUpdater$: ", "Observable", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">) => void" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -742,16 +634,10 @@ "signature": [ "Observable", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -769,7 +655,7 @@ "tags": [], "label": "ApplicationStart", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -785,7 +671,7 @@ "signature": [ "{ readonly [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; readonly navLinks: Readonly<{ [x: string]: boolean; }>; readonly management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; readonly catalogue: Readonly<{ [x: string]: boolean; }>; }" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -801,16 +687,10 @@ "signature": [ "Observable", ">" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -825,16 +705,10 @@ ], "signature": [ "(appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined) => Promise" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -850,7 +724,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -865,16 +739,10 @@ "- navigation options" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -893,16 +761,10 @@ ], "signature": [ "(url: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined) => Promise" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -918,7 +780,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -933,16 +795,10 @@ "- navigation options" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -962,7 +818,7 @@ "signature": [ "(appId: string) => boolean" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -978,7 +834,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1000,7 +856,7 @@ "signature": [ "(appId: string, options?: { path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined) => string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1014,7 +870,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1026,7 +882,7 @@ "tags": [], "label": "options", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1040,7 +896,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1054,7 +910,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1068,7 +924,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1090,7 +946,7 @@ "Observable", "" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1107,7 +963,7 @@ "Observable", "" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1122,16 +978,10 @@ "label": "AppMountParameters", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", "" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1147,7 +997,7 @@ "signature": [ "HTMLElement" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false }, @@ -1161,16 +1011,10 @@ "\nA scoped history instance for your application. Should be used to wire up\nyour applications Router.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false }, @@ -1185,13 +1029,13 @@ "description": [ "\nThe route path for configuring navigation to the application.\nThis string should not include the base path from HTTP.\n" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": true, "trackAdoption": false, "references": [ { - "plugin": "@kbn/core-application-browser-internal", - "path": "packages/core/application/core-application-browser-internal/src/ui/app_container.tsx" + "plugin": "@kbn/core", + "path": "src/core/packages/application/browser-internal/src/ui/app_container.tsx" }, { "plugin": "@kbn/core-application-browser-mocks", @@ -1203,16 +1047,12 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/integrations/index.tsx" + "path": "x-pack/platform/plugins/shared/fleet/public/applications/integrations/index.tsx" }, { "plugin": "security", "path": "x-pack/plugins/security/public/authentication/logout/logout_app.test.ts" }, - { - "plugin": "assetInventory", - "path": "x-pack/solutions/security/plugins/asset_inventory/public/application.tsx" - }, { "plugin": "kibanaOverview", "path": "src/plugins/kibana_overview/public/application.tsx" @@ -1234,16 +1074,10 @@ ], "signature": [ "(handler: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveHandler", - "text": "AppLeaveHandler" - }, + "AppLeaveHandler", ") => void" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1255,15 +1089,9 @@ "label": "handler", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveHandler", - "text": "AppLeaveHandler" - } + "AppLeaveHandler" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1291,7 +1119,7 @@ }, " | undefined) => void" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1312,7 +1140,7 @@ }, " | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1341,7 +1169,7 @@ }, ">" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -1357,7 +1185,7 @@ "description": [ "\nApp navigation menu options" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1373,7 +1201,7 @@ "signature": [ "number | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1389,7 +1217,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1405,7 +1233,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false }, @@ -1421,7 +1249,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -1437,7 +1265,7 @@ "description": [ "\nOptions for the {@link ApplicationStart.navigateToApp | navigateToApp API}" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1453,7 +1281,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1469,7 +1297,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1485,7 +1313,7 @@ "signature": [ "unknown" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1501,7 +1329,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1517,7 +1345,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1533,7 +1361,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1549,7 +1377,7 @@ "description": [ "\nOptions for the {@link ApplicationStart.navigateToUrl | navigateToUrl API}" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1565,7 +1393,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1581,7 +1409,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1597,7 +1425,7 @@ "signature": [ "unknown" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1614,18 +1442,12 @@ "\nA wrapper around a `History` instance that is scoped to a particular base path of the history stack. Behaves\nsimilarly to the `basename` option except that this wrapper hides any history stack entries from outside the scope\nof this base path.\n\nThis wrapper also allows Core and Plugins to share a single underlying global `History` instance without exposing\nthe history of other applications.\n\nThe {@link ScopedHistory.createSubHistory | createSubHistory} method is particularly useful for applications that\ncontain any number of \"sub-apps\" which should not have access to the main application's history or basePath.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " extends ", "History", "" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1640,16 +1462,10 @@ ], "signature": [ "(basePath: string) => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1665,7 +1481,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1687,7 +1503,7 @@ "LocationDescriptorObject", ", options?: { prependBasePath?: boolean | undefined; } | undefined) => string" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1702,7 +1518,7 @@ "LocationDescriptorObject", "" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1714,7 +1530,7 @@ "tags": [], "label": "options", "description": [], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1728,7 +1544,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser/src/scoped_history.ts", + "path": "src/core/packages/application/browser/src/scoped_history.ts", "deprecated": false, "trackAdoption": false } @@ -1751,7 +1567,7 @@ "description": [ "\nPossible type of actions on application leave.\n" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1765,7 +1581,7 @@ "description": [ "\nAccessibility status of an application.\n" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1783,48 +1599,18 @@ ], "signature": [ "{ id: Id; title: string; keywords?: string[] | undefined; visibleIn?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[] | undefined; category?: ", - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", " | undefined; } & ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppNavOptions", - "text": "AppNavOptions" - }, + "AppNavOptions", " & ({ path: string; deepLinks?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[] | undefined; } | { path?: string | undefined; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; })" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1841,7 +1627,7 @@ "signature": [ "\"home\" | \"kibanaOverview\" | \"globalSearch\" | \"sideNav\"" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1856,23 +1642,11 @@ "\nPossible actions to return from a {@link AppLeaveHandler}\n\nSee {@link AppLeaveConfirmAction} and {@link AppLeaveDefaultAction}\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveDefaultAction", - "text": "AppLeaveDefaultAction" - }, + "AppLeaveDefaultAction", " | ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveConfirmAction", - "text": "AppLeaveConfirmAction" - } + "AppLeaveConfirmAction" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1888,23 +1662,11 @@ ], "signature": [ "(factory: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveActionFactory", - "text": "AppLeaveActionFactory" - }, + "AppLeaveActionFactory", ", nextAppId?: string | undefined) => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveAction", - "text": "AppLeaveAction" - } + "AppLeaveAction" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1917,15 +1679,9 @@ "label": "factory", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveActionFactory", - "text": "AppLeaveActionFactory" - } + "AppLeaveActionFactory" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false }, @@ -1939,7 +1695,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-browser/src/app_leave.ts", + "path": "src/core/packages/application/browser/src/app_leave.ts", "deprecated": false, "trackAdoption": false } @@ -1957,32 +1713,14 @@ ], "signature": [ "(params: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", ") => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUnmount", - "text": "AppUnmount" - }, + "AppUnmount", " | Promise<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUnmount", - "text": "AppUnmount" - }, + "AppUnmount", ">" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "returnComment": [ @@ -1999,16 +1737,10 @@ "{@link AppMountParameters }" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", "" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false } @@ -2027,7 +1759,7 @@ "signature": [ "() => void" ], - "path": "packages/core/application/core-application-browser/src/app_mount.ts", + "path": "src/core/packages/application/browser/src/app_mount.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2045,32 +1777,14 @@ ], "signature": [ "{ status?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppStatus", - "text": "AppStatus" - }, + "AppStatus", " | undefined; tooltip?: string | undefined; visibleIn?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[] | undefined; deepLinks?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[] | undefined; defaultPath?: string | undefined; }" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2086,24 +1800,12 @@ ], "signature": [ "(app: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", ") => Partial<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdatableFields", - "text": "AppUpdatableFields" - }, + "AppUpdatableFields", "> | undefined" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -2116,16 +1818,10 @@ "label": "app", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", "" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false } @@ -2143,32 +1839,14 @@ ], "signature": [ "Omit<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", ", \"keywords\" | \"visibleIn\" | \"deepLinks\"> & { deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.PublicAppDeepLinkInfo", - "text": "PublicAppDeepLinkInfo" - }, + "PublicAppDeepLinkInfo", "[]; keywords: string[]; visibleIn: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]; }" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2184,40 +1862,16 @@ ], "signature": [ "Omit<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", ", \"keywords\" | \"visibleIn\" | \"deepLinks\" | \"mount\" | \"updater$\"> & { status: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppStatus", - "text": "AppStatus" - }, + "AppStatus", "; appRoute: string; keywords: string[]; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.PublicAppDeepLinkInfo", - "text": "PublicAppDeepLinkInfo" - }, + "PublicAppDeepLinkInfo", "[]; visibleIn: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]; }" ], - "path": "packages/core/application/core-application-browser/src/application.ts", + "path": "src/core/packages/application/browser/src/application.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_application_browser.mdx b/api_docs/kbn_core_application_browser.mdx index 625aaec8b9ff2..3dede5adcac4b 100644 --- a/api_docs/kbn_core_application_browser.mdx +++ b/api_docs/kbn_core_application_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser title: "@kbn/core-application-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser'] --- import kbnCoreApplicationBrowserObj from './kbn_core_application_browser.devdocs.json'; diff --git a/api_docs/kbn_core_application_browser_internal.devdocs.json b/api_docs/kbn_core_application_browser_internal.devdocs.json index 7f3eb7f1b4775..bbd8f35778a36 100644 --- a/api_docs/kbn_core_application_browser_internal.devdocs.json +++ b/api_docs/kbn_core_application_browser_internal.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "(appBasePath?: string, path?: string) => string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts", + "path": "src/core/packages/application/browser-internal/src/utils/append_app_path.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -27,7 +27,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts", + "path": "src/core/packages/application/browser-internal/src/utils/append_app_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -42,7 +42,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts", + "path": "src/core/packages/application/browser-internal/src/utils/append_app_path.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -60,23 +60,11 @@ "description": [], "signature": [ "(app: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", ") => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.PublicAppInfo", - "text": "PublicAppInfo" - } + "PublicAppInfo" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts", + "path": "src/core/packages/application/browser-internal/src/utils/get_app_info.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -88,16 +76,10 @@ "label": "app", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.App", - "text": "App" - }, + "App", "" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts", + "path": "src/core/packages/application/browser-internal/src/utils/get_app_info.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -125,18 +107,12 @@ "text": "IBasePath" }, ", apps: Map>, currentUrl?: string) => ", "ParsedAppUrl", " | undefined" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -150,7 +126,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -171,7 +147,7 @@ "text": "IBasePath" } ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -185,16 +161,10 @@ "description": [], "signature": [ "Map>" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -209,7 +179,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts", + "path": "src/core/packages/application/browser-internal/src/utils/parse_app_url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -230,7 +200,7 @@ "signature": [ "(url: string) => string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts", + "path": "src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -244,7 +214,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts", + "path": "src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -265,7 +235,7 @@ "signature": [ "(url: string, { trailing, leading, duplicates, }?: { trailing?: boolean | undefined; leading?: boolean | undefined; duplicates?: boolean | undefined; }) => string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -279,7 +249,7 @@ "signature": [ "string" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -291,7 +261,7 @@ "tags": [], "label": "{\n trailing = false,\n leading = false,\n duplicates = true,\n }", "description": [], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -305,7 +275,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false }, @@ -319,7 +289,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false }, @@ -333,7 +303,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts", + "path": "src/core/packages/application/browser-internal/src/utils/remove_slashes.ts", "deprecated": false, "trackAdoption": false } @@ -355,16 +325,10 @@ "label": "DEFAULT_APP_VISIBILITY", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/constants.ts", + "path": "src/core/packages/application/browser-internal/src/utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -377,16 +341,10 @@ "label": "DEFAULT_LINK_VISIBILITY", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]" ], - "path": "packages/core/application/core-application-browser-internal/src/utils/constants.ts", + "path": "src/core/packages/application/browser-internal/src/utils/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_application_browser_internal.mdx b/api_docs/kbn_core_application_browser_internal.mdx index 0ee151e985f09..54aec9694cdbc 100644 --- a/api_docs/kbn_core_application_browser_internal.mdx +++ b/api_docs/kbn_core_application_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-internal title: "@kbn/core-application-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-internal'] --- import kbnCoreApplicationBrowserInternalObj from './kbn_core_application_browser_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 20 | 0 | 17 | 3 | +| 20 | 0 | 17 | 0 | ## Client diff --git a/api_docs/kbn_core_application_browser_mocks.devdocs.json b/api_docs/kbn_core_application_browser_mocks.devdocs.json index d4e6deb84b26b..dc9a1e4c9f2e1 100644 --- a/api_docs/kbn_core_application_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_application_browser_mocks.devdocs.json @@ -15,13 +15,7 @@ "description": [], "signature": [ "{ createSubHistory: jest.MockInstance<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", ", [basePath: string], unknown>; createHref: jest.MockInstance, options?: { prependBasePath?: boolean | undefined; } | undefined], unknown>; length: number; action: ", @@ -41,13 +35,7 @@ ", [listener: ", "LocationListener", "], unknown>; } & ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "packages/core/application/core-application-browser-mocks/src/scoped_history.mock.ts", @@ -93,13 +81,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationSetup", - "text": "ApplicationSetup" - }, + "ApplicationSetup", ">" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -117,13 +99,7 @@ "description": [], "signature": [ "() => jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", ">" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -192,21 +168,9 @@ "description": [], "signature": [ "(parts?: Partial<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", ">) => ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppMountParameters", - "text": "AppMountParameters" - }, + "AppMountParameters", "" ], "path": "packages/core/application/core-application-browser-mocks/src/application_service.mock.ts", @@ -223,21 +187,9 @@ "description": [], "signature": [ "{ element?: HTMLElement | undefined; history?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | undefined; appBasePath?: string | undefined; onAppLeave?: ((handler: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppLeaveHandler", - "text": "AppLeaveHandler" - }, + "AppLeaveHandler", ") => void) | undefined; setHeaderActionMenu?: ((menuMount: ", { "pluginId": "@kbn/core-mount-utils-browser", diff --git a/api_docs/kbn_core_application_browser_mocks.mdx b/api_docs/kbn_core_application_browser_mocks.mdx index 065b74351bccc..6b715c447c776 100644 --- a/api_docs/kbn_core_application_browser_mocks.mdx +++ b/api_docs/kbn_core_application_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-browser-mocks title: "@kbn/core-application-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-browser-mocks'] --- import kbnCoreApplicationBrowserMocksObj from './kbn_core_application_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_application_common.devdocs.json b/api_docs/kbn_core_application_common.devdocs.json index ed1b43ca63003..54c7e83a93888 100644 --- a/api_docs/kbn_core_application_common.devdocs.json +++ b/api_docs/kbn_core_application_common.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "packages/core/application/core-application-common/src/global_app_style.tsx", + "path": "src/core/packages/application/common/src/global_app_style.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -47,7 +47,7 @@ "description": [ "\nA category definition for nav links to know where to sort them in the left hand nav" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -60,7 +60,7 @@ "description": [ "\nUnique identifier for the categories" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -73,7 +73,7 @@ "description": [ "\nLabel used for category name.\nAlso used as aria-label if one isn't set." ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -89,7 +89,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -105,7 +105,7 @@ "signature": [ "number | undefined" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false }, @@ -121,7 +121,7 @@ "signature": [ "string | undefined" ], - "path": "packages/core/application/core-application-common/src/app_category.ts", + "path": "src/core/packages/application/common/src/app_category.ts", "deprecated": false, "trackAdoption": false } @@ -143,7 +143,7 @@ "signature": [ "\"kbnAppWrapper\"" ], - "path": "packages/core/application/core-application-common/src/app_wrapper_class.ts", + "path": "src/core/packages/application/common/src/app_wrapper_class.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -159,16 +159,10 @@ "description": [], "signature": [ "{ [x: string]: ", - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", "; }" ], - "path": "packages/core/application/core-application-common/src/default_app_categories.ts", + "path": "src/core/packages/application/common/src/default_app_categories.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_application_common.mdx b/api_docs/kbn_core_application_common.mdx index 10d17a48673fd..c186b3c40ef84 100644 --- a/api_docs/kbn_core_application_common.mdx +++ b/api_docs/kbn_core_application_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-application-common title: "@kbn/core-application-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-application-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-application-common'] --- import kbnCoreApplicationCommonObj from './kbn_core_application_common.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_internal.devdocs.json b/api_docs/kbn_core_apps_browser_internal.devdocs.json index 60ccac935c152..e01ace9f3bd69 100644 --- a/api_docs/kbn_core_apps_browser_internal.devdocs.json +++ b/api_docs/kbn_core_apps_browser_internal.devdocs.json @@ -9,7 +9,7 @@ "tags": [], "label": "CoreAppsService", "description": [], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -23,7 +23,7 @@ "signature": [ "any" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -37,7 +37,7 @@ "signature": [ "CoreContext" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -54,16 +54,10 @@ "description": [], "signature": [ "({ application, http, injectedMetadata, notifications }: ", - { - "pluginId": "@kbn/core-apps-browser-internal", - "scope": "public", - "docId": "kibKbnCoreAppsBrowserInternalPluginApi", - "section": "def-public.CoreAppsServiceSetupDeps", - "text": "CoreAppsServiceSetupDeps" - }, + "CoreAppsServiceSetupDeps", ") => void" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -75,15 +69,9 @@ "label": "{ application, http, injectedMetadata, notifications }", "description": [], "signature": [ - { - "pluginId": "@kbn/core-apps-browser-internal", - "scope": "public", - "docId": "kibKbnCoreAppsBrowserInternalPluginApi", - "section": "def-public.CoreAppsServiceSetupDeps", - "text": "CoreAppsServiceSetupDeps" - } + "CoreAppsServiceSetupDeps" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -100,16 +88,10 @@ "description": [], "signature": [ "({ application, docLinks, http, notifications, uiSettings, ...startDeps }: ", - { - "pluginId": "@kbn/core-apps-browser-internal", - "scope": "public", - "docId": "kibKbnCoreAppsBrowserInternalPluginApi", - "section": "def-public.CoreAppsServiceStartDeps", - "text": "CoreAppsServiceStartDeps" - }, + "CoreAppsServiceStartDeps", ") => void" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -121,15 +103,9 @@ "label": "{\n application,\n docLinks,\n http,\n notifications,\n uiSettings,\n ...startDeps\n }", "description": [], "signature": [ - { - "pluginId": "@kbn/core-apps-browser-internal", - "scope": "public", - "docId": "kibKbnCoreAppsBrowserInternalPluginApi", - "section": "def-public.CoreAppsServiceStartDeps", - "text": "CoreAppsServiceStartDeps" - } + "CoreAppsServiceStartDeps" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -147,7 +123,7 @@ "signature": [ "() => void" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -166,7 +142,7 @@ "tags": [], "label": "CoreAppsServiceSetupDeps", "description": [], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -180,7 +156,7 @@ "signature": [ "InternalApplicationSetup" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -204,7 +180,7 @@ "InternalStaticAssets", "; }" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -218,7 +194,7 @@ "signature": [ "InternalInjectedMetadataSetup" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -238,7 +214,7 @@ "text": "NotificationsSetup" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false } @@ -252,7 +228,7 @@ "tags": [], "label": "CoreAppsServiceStartDeps", "description": [], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -266,7 +242,7 @@ "signature": [ "InternalApplicationStart" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -286,7 +262,7 @@ "text": "DocLinksStart" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -310,7 +286,7 @@ "InternalStaticAssets", "; }" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -330,7 +306,7 @@ "text": "NotificationsStart" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -350,7 +326,7 @@ "text": "IUiSettingsClient" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -370,7 +346,7 @@ "TelemetryCounter", ">; }" ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -390,7 +366,7 @@ "text": "I18nStart" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -410,7 +386,7 @@ "text": "ThemeServiceSetup" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false }, @@ -430,7 +406,7 @@ "text": "UserProfileService" } ], - "path": "packages/core/apps/core-apps-browser-internal/src/core_app.ts", + "path": "src/core/packages/apps/browser-internal/src/core_app.ts", "deprecated": false, "trackAdoption": false } @@ -452,7 +428,7 @@ "signature": [ "2000 | 25000" ], - "path": "packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx", + "path": "src/core/packages/apps/browser-internal/src/errors/url_overflow.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_apps_browser_internal.mdx b/api_docs/kbn_core_apps_browser_internal.mdx index 54c4dd1272735..9823ff4acde45 100644 --- a/api_docs/kbn_core_apps_browser_internal.mdx +++ b/api_docs/kbn_core_apps_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-internal title: "@kbn/core-apps-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-internal'] --- import kbnCoreAppsBrowserInternalObj from './kbn_core_apps_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_apps_browser_mocks.mdx b/api_docs/kbn_core_apps_browser_mocks.mdx index 361f7817ae604..9777ee54f1a12 100644 --- a/api_docs/kbn_core_apps_browser_mocks.mdx +++ b/api_docs/kbn_core_apps_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-browser-mocks title: "@kbn/core-apps-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-browser-mocks'] --- import kbnCoreAppsBrowserMocksObj from './kbn_core_apps_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_apps_server_internal.devdocs.json b/api_docs/kbn_core_apps_server_internal.devdocs.json index fa6f66f2ea6b7..d172aa3689b35 100644 --- a/api_docs/kbn_core_apps_server_internal.devdocs.json +++ b/api_docs/kbn_core_apps_server_internal.devdocs.json @@ -39,7 +39,7 @@ "FileHashCache", "; isDist: boolean; }) => void" ], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -68,7 +68,7 @@ }, ">" ], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -80,7 +80,7 @@ "tags": [], "label": "{\n publicPath,\n routePath,\n bundlesPath,\n fileHashCache,\n isDist,\n }", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -91,7 +91,7 @@ "tags": [], "label": "publicPath", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false }, @@ -102,7 +102,7 @@ "tags": [], "label": "routePath", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false }, @@ -113,7 +113,7 @@ "tags": [], "label": "bundlesPath", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false }, @@ -127,7 +127,7 @@ "signature": [ "FileHashCache" ], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false }, @@ -138,7 +138,7 @@ "tags": [], "label": "isDist", "description": [], - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts", "deprecated": false, "trackAdoption": false } @@ -162,7 +162,7 @@ "signature": [ "{ readonly allowDynamicConfigOverrides: boolean; }" ], - "path": "packages/core/apps/core-apps-server-internal/src/core_app_config.ts", + "path": "src/core/packages/apps/server-internal/src/core_app_config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_apps_server_internal.mdx b/api_docs/kbn_core_apps_server_internal.mdx index 5e0226c95f2ec..e02acef6df979 100644 --- a/api_docs/kbn_core_apps_server_internal.mdx +++ b/api_docs/kbn_core_apps_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-apps-server-internal title: "@kbn/core-apps-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-apps-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-apps-server-internal'] --- import kbnCoreAppsServerInternalObj from './kbn_core_apps_server_internal.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 9 | 0 | 9 | 1 | +| 9 | 0 | 9 | 0 | ## Server diff --git a/api_docs/kbn_core_base_browser_mocks.mdx b/api_docs/kbn_core_base_browser_mocks.mdx index d61a3c8ec9dc5..2337c4935e536 100644 --- a/api_docs/kbn_core_base_browser_mocks.mdx +++ b/api_docs/kbn_core_base_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-browser-mocks title: "@kbn/core-base-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-browser-mocks'] --- import kbnCoreBaseBrowserMocksObj from './kbn_core_base_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_base_common.devdocs.json b/api_docs/kbn_core_base_common.devdocs.json index 84b64fd98fd22..269512c2135a1 100644 --- a/api_docs/kbn_core_base_common.devdocs.json +++ b/api_docs/kbn_core_base_common.devdocs.json @@ -29,7 +29,7 @@ "description": [ "\nSmall container object used to expose information about discovered plugins that may\nor may not have been started." ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -42,7 +42,7 @@ "description": [ "\nIdentifier of the plugin." ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -58,7 +58,7 @@ "signature": [ "string | string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -72,15 +72,9 @@ "\nType of the plugin, defaults to `standard`." ], "signature": [ - { - "pluginId": "@kbn/core-base-common", - "scope": "common", - "docId": "kibKbnCoreBaseCommonPluginApi", - "section": "def-common.PluginType", - "text": "PluginType" - } + "PluginType" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -96,7 +90,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -112,7 +106,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -128,7 +122,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -144,7 +138,7 @@ "signature": [ "readonly string[]" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false }, @@ -160,7 +154,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false } @@ -176,7 +170,7 @@ "tags": [], "label": "PluginType", "description": [], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -193,7 +187,7 @@ "signature": [ "\"eui-global\"" ], - "path": "packages/core/base/core-base-common/src/eui.ts", + "path": "src/core/packages/base/common/src/eui.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -208,7 +202,7 @@ "signature": [ "\"eui-utilities\"" ], - "path": "packages/core/base/core-base-common/src/eui.ts", + "path": "src/core/packages/base/common/src/eui.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -225,7 +219,7 @@ "signature": [ "string" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -240,7 +234,7 @@ "signature": [ "symbol" ], - "path": "packages/core/base/core-base-common/src/plugins.ts", + "path": "src/core/packages/base/common/src/plugins.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_core_base_common.mdx b/api_docs/kbn_core_base_common.mdx index 6c3925274843a..60bea2b950dfa 100644 --- a/api_docs/kbn_core_base_common.mdx +++ b/api_docs/kbn_core_base_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-common title: "@kbn/core-base-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-common'] --- import kbnCoreBaseCommonObj from './kbn_core_base_common.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_internal.mdx b/api_docs/kbn_core_base_server_internal.mdx index 6e699db84337a..765bb79f31938 100644 --- a/api_docs/kbn_core_base_server_internal.mdx +++ b/api_docs/kbn_core_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-internal title: "@kbn/core-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-internal'] --- import kbnCoreBaseServerInternalObj from './kbn_core_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_base_server_mocks.mdx b/api_docs/kbn_core_base_server_mocks.mdx index 428f6a0eec777..b352b00dc0d80 100644 --- a/api_docs/kbn_core_base_server_mocks.mdx +++ b/api_docs/kbn_core_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-base-server-mocks title: "@kbn/core-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-base-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-base-server-mocks'] --- import kbnCoreBaseServerMocksObj from './kbn_core_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_browser_mocks.mdx b/api_docs/kbn_core_capabilities_browser_mocks.mdx index dc426342a0efd..f22bd66b50663 100644 --- a/api_docs/kbn_core_capabilities_browser_mocks.mdx +++ b/api_docs/kbn_core_capabilities_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-browser-mocks title: "@kbn/core-capabilities-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-browser-mocks'] --- import kbnCoreCapabilitiesBrowserMocksObj from './kbn_core_capabilities_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_common.mdx b/api_docs/kbn_core_capabilities_common.mdx index 5d9f2d55f90bb..a7b57455c6a1f 100644 --- a/api_docs/kbn_core_capabilities_common.mdx +++ b/api_docs/kbn_core_capabilities_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-common title: "@kbn/core-capabilities-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-common'] --- import kbnCoreCapabilitiesCommonObj from './kbn_core_capabilities_common.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server.mdx b/api_docs/kbn_core_capabilities_server.mdx index 1e12eac392f45..dc017ae25201f 100644 --- a/api_docs/kbn_core_capabilities_server.mdx +++ b/api_docs/kbn_core_capabilities_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server title: "@kbn/core-capabilities-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server'] --- import kbnCoreCapabilitiesServerObj from './kbn_core_capabilities_server.devdocs.json'; diff --git a/api_docs/kbn_core_capabilities_server_mocks.mdx b/api_docs/kbn_core_capabilities_server_mocks.mdx index 434c181ccefed..005dd68af0171 100644 --- a/api_docs/kbn_core_capabilities_server_mocks.mdx +++ b/api_docs/kbn_core_capabilities_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-capabilities-server-mocks title: "@kbn/core-capabilities-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-capabilities-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-capabilities-server-mocks'] --- import kbnCoreCapabilitiesServerMocksObj from './kbn_core_capabilities_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser.devdocs.json b/api_docs/kbn_core_chrome_browser.devdocs.json index d49b19f7ce26b..c7474841f2882 100644 --- a/api_docs/kbn_core_chrome_browser.devdocs.json +++ b/api_docs/kbn_core_chrome_browser.devdocs.json @@ -1156,13 +1156,7 @@ "\nThe category the app lives in" ], "signature": [ - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", " | undefined" ], "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", @@ -1284,13 +1278,7 @@ "\nList of locations where the nav link should be visible.\n\nAccepts the following values:\n- \"globalSearch\": the link will appear in the global search bar\n- \"home\": the link will appear on the Kibana home page\n- \"kibanaOverview\": the link will appear in the Kibana overview page\n- \"sideNav\": the link will appear in the side navigation.\n Note: \"sideNav\" will be deprecated when we change the navigation to \"solutions\" style.\n" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[]" ], "path": "packages/core/chrome/core-chrome-browser/src/nav_links.ts", @@ -3765,7 +3753,7 @@ "label": "AppDeepLinkId", "description": [], "signature": [ - "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" + "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:asset_inventory\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" ], "path": "packages/core/chrome/core-chrome-browser/src/project_navigation.ts", "deprecated": false, diff --git a/api_docs/kbn_core_chrome_browser.mdx b/api_docs/kbn_core_chrome_browser.mdx index 09dd009b34e6e..dc19320d5a36e 100644 --- a/api_docs/kbn_core_chrome_browser.mdx +++ b/api_docs/kbn_core_chrome_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser title: "@kbn/core-chrome-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser'] --- import kbnCoreChromeBrowserObj from './kbn_core_chrome_browser.devdocs.json'; diff --git a/api_docs/kbn_core_chrome_browser_mocks.mdx b/api_docs/kbn_core_chrome_browser_mocks.mdx index 1360648aa6a65..5a1f0b2abd345 100644 --- a/api_docs/kbn_core_chrome_browser_mocks.mdx +++ b/api_docs/kbn_core_chrome_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-chrome-browser-mocks title: "@kbn/core-chrome-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-chrome-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-chrome-browser-mocks'] --- import kbnCoreChromeBrowserMocksObj from './kbn_core_chrome_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_config_server_internal.mdx b/api_docs/kbn_core_config_server_internal.mdx index 927f74e095b5d..00c3cf7170558 100644 --- a/api_docs/kbn_core_config_server_internal.mdx +++ b/api_docs/kbn_core_config_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-config-server-internal title: "@kbn/core-config-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-config-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-config-server-internal'] --- import kbnCoreConfigServerInternalObj from './kbn_core_config_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser.mdx b/api_docs/kbn_core_custom_branding_browser.mdx index 278fcaf69b786..33281d88b28f3 100644 --- a/api_docs/kbn_core_custom_branding_browser.mdx +++ b/api_docs/kbn_core_custom_branding_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser title: "@kbn/core-custom-branding-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser'] --- import kbnCoreCustomBrandingBrowserObj from './kbn_core_custom_branding_browser.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_internal.mdx b/api_docs/kbn_core_custom_branding_browser_internal.mdx index 30531b4b85a00..48f86f27abd67 100644 --- a/api_docs/kbn_core_custom_branding_browser_internal.mdx +++ b/api_docs/kbn_core_custom_branding_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-internal title: "@kbn/core-custom-branding-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-internal'] --- import kbnCoreCustomBrandingBrowserInternalObj from './kbn_core_custom_branding_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_browser_mocks.mdx b/api_docs/kbn_core_custom_branding_browser_mocks.mdx index 39c3f7cd666ed..be1d2bbeab233 100644 --- a/api_docs/kbn_core_custom_branding_browser_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-browser-mocks title: "@kbn/core-custom-branding-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-browser-mocks'] --- import kbnCoreCustomBrandingBrowserMocksObj from './kbn_core_custom_branding_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_common.mdx b/api_docs/kbn_core_custom_branding_common.mdx index bfed72a9cf637..18ae6b707a6ec 100644 --- a/api_docs/kbn_core_custom_branding_common.mdx +++ b/api_docs/kbn_core_custom_branding_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-common title: "@kbn/core-custom-branding-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-common'] --- import kbnCoreCustomBrandingCommonObj from './kbn_core_custom_branding_common.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server.mdx b/api_docs/kbn_core_custom_branding_server.mdx index f919c6e19748d..785f21c435b43 100644 --- a/api_docs/kbn_core_custom_branding_server.mdx +++ b/api_docs/kbn_core_custom_branding_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server title: "@kbn/core-custom-branding-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server'] --- import kbnCoreCustomBrandingServerObj from './kbn_core_custom_branding_server.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_internal.mdx b/api_docs/kbn_core_custom_branding_server_internal.mdx index a834c5ab004ed..894f2f03be8e3 100644 --- a/api_docs/kbn_core_custom_branding_server_internal.mdx +++ b/api_docs/kbn_core_custom_branding_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-internal title: "@kbn/core-custom-branding-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-internal'] --- import kbnCoreCustomBrandingServerInternalObj from './kbn_core_custom_branding_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_custom_branding_server_mocks.mdx b/api_docs/kbn_core_custom_branding_server_mocks.mdx index e70010588d246..054adbdb27e66 100644 --- a/api_docs/kbn_core_custom_branding_server_mocks.mdx +++ b/api_docs/kbn_core_custom_branding_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-custom-branding-server-mocks title: "@kbn/core-custom-branding-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-custom-branding-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-custom-branding-server-mocks'] --- import kbnCoreCustomBrandingServerMocksObj from './kbn_core_custom_branding_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser.mdx b/api_docs/kbn_core_deprecations_browser.mdx index 99de80cccad29..efeb0bd21ed77 100644 --- a/api_docs/kbn_core_deprecations_browser.mdx +++ b/api_docs/kbn_core_deprecations_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser title: "@kbn/core-deprecations-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser'] --- import kbnCoreDeprecationsBrowserObj from './kbn_core_deprecations_browser.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_internal.mdx b/api_docs/kbn_core_deprecations_browser_internal.mdx index 8d9aa3ef041b2..ad683501de48d 100644 --- a/api_docs/kbn_core_deprecations_browser_internal.mdx +++ b/api_docs/kbn_core_deprecations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-internal title: "@kbn/core-deprecations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-internal'] --- import kbnCoreDeprecationsBrowserInternalObj from './kbn_core_deprecations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_browser_mocks.mdx b/api_docs/kbn_core_deprecations_browser_mocks.mdx index 2134c48b829ef..96fa7e3471360 100644 --- a/api_docs/kbn_core_deprecations_browser_mocks.mdx +++ b/api_docs/kbn_core_deprecations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-browser-mocks title: "@kbn/core-deprecations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-browser-mocks'] --- import kbnCoreDeprecationsBrowserMocksObj from './kbn_core_deprecations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_common.mdx b/api_docs/kbn_core_deprecations_common.mdx index cd309a5028f7e..d4391b9d77deb 100644 --- a/api_docs/kbn_core_deprecations_common.mdx +++ b/api_docs/kbn_core_deprecations_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-common title: "@kbn/core-deprecations-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-common'] --- import kbnCoreDeprecationsCommonObj from './kbn_core_deprecations_common.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server.mdx b/api_docs/kbn_core_deprecations_server.mdx index 597d858641bc0..9ab2b4ac2bb4c 100644 --- a/api_docs/kbn_core_deprecations_server.mdx +++ b/api_docs/kbn_core_deprecations_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server title: "@kbn/core-deprecations-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server'] --- import kbnCoreDeprecationsServerObj from './kbn_core_deprecations_server.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_internal.mdx b/api_docs/kbn_core_deprecations_server_internal.mdx index a1b142c1adeef..98d1af69d21d1 100644 --- a/api_docs/kbn_core_deprecations_server_internal.mdx +++ b/api_docs/kbn_core_deprecations_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-internal title: "@kbn/core-deprecations-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-internal'] --- import kbnCoreDeprecationsServerInternalObj from './kbn_core_deprecations_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_deprecations_server_mocks.mdx b/api_docs/kbn_core_deprecations_server_mocks.mdx index 7efda4ea0d938..8016e4de34ce4 100644 --- a/api_docs/kbn_core_deprecations_server_mocks.mdx +++ b/api_docs/kbn_core_deprecations_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-deprecations-server-mocks title: "@kbn/core-deprecations-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-deprecations-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-deprecations-server-mocks'] --- import kbnCoreDeprecationsServerMocksObj from './kbn_core_deprecations_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser.mdx b/api_docs/kbn_core_doc_links_browser.mdx index c442e75d5a9f7..b15cdb00c663c 100644 --- a/api_docs/kbn_core_doc_links_browser.mdx +++ b/api_docs/kbn_core_doc_links_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser title: "@kbn/core-doc-links-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser'] --- import kbnCoreDocLinksBrowserObj from './kbn_core_doc_links_browser.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_browser_mocks.mdx b/api_docs/kbn_core_doc_links_browser_mocks.mdx index 82754eab8a5a0..bf06f4035074b 100644 --- a/api_docs/kbn_core_doc_links_browser_mocks.mdx +++ b/api_docs/kbn_core_doc_links_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-browser-mocks title: "@kbn/core-doc-links-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-browser-mocks'] --- import kbnCoreDocLinksBrowserMocksObj from './kbn_core_doc_links_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server.mdx b/api_docs/kbn_core_doc_links_server.mdx index d62d2522dabb2..30ca1492c36d7 100644 --- a/api_docs/kbn_core_doc_links_server.mdx +++ b/api_docs/kbn_core_doc_links_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server title: "@kbn/core-doc-links-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server'] --- import kbnCoreDocLinksServerObj from './kbn_core_doc_links_server.devdocs.json'; diff --git a/api_docs/kbn_core_doc_links_server_mocks.mdx b/api_docs/kbn_core_doc_links_server_mocks.mdx index d34dba687bf39..e2d7a4497435d 100644 --- a/api_docs/kbn_core_doc_links_server_mocks.mdx +++ b/api_docs/kbn_core_doc_links_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-doc-links-server-mocks title: "@kbn/core-doc-links-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-doc-links-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-doc-links-server-mocks'] --- import kbnCoreDocLinksServerMocksObj from './kbn_core_doc_links_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx index 36d48610a563b..9a318dfb7cdb6 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-internal title: "@kbn/core-elasticsearch-client-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-internal'] --- import kbnCoreElasticsearchClientServerInternalObj from './kbn_core_elasticsearch_client_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx index c1e1eb7dee40f..5be1173949b09 100644 --- a/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_client_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-client-server-mocks title: "@kbn/core-elasticsearch-client-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-client-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-client-server-mocks'] --- import kbnCoreElasticsearchClientServerMocksObj from './kbn_core_elasticsearch_client_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server.mdx b/api_docs/kbn_core_elasticsearch_server.mdx index e086f3c90c4ed..f88bd9b3dd103 100644 --- a/api_docs/kbn_core_elasticsearch_server.mdx +++ b/api_docs/kbn_core_elasticsearch_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server title: "@kbn/core-elasticsearch-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server'] --- import kbnCoreElasticsearchServerObj from './kbn_core_elasticsearch_server.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_internal.mdx b/api_docs/kbn_core_elasticsearch_server_internal.mdx index ec73128e3d9a9..f28620716f48d 100644 --- a/api_docs/kbn_core_elasticsearch_server_internal.mdx +++ b/api_docs/kbn_core_elasticsearch_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-internal title: "@kbn/core-elasticsearch-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-internal'] --- import kbnCoreElasticsearchServerInternalObj from './kbn_core_elasticsearch_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_elasticsearch_server_mocks.mdx b/api_docs/kbn_core_elasticsearch_server_mocks.mdx index a1d3cd346d46d..c4ee68292f194 100644 --- a/api_docs/kbn_core_elasticsearch_server_mocks.mdx +++ b/api_docs/kbn_core_elasticsearch_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-elasticsearch-server-mocks title: "@kbn/core-elasticsearch-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-elasticsearch-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-elasticsearch-server-mocks'] --- import kbnCoreElasticsearchServerMocksObj from './kbn_core_elasticsearch_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_internal.mdx b/api_docs/kbn_core_environment_server_internal.mdx index 7f8b035254bf1..a3a01a795f1d6 100644 --- a/api_docs/kbn_core_environment_server_internal.mdx +++ b/api_docs/kbn_core_environment_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-internal title: "@kbn/core-environment-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-internal'] --- import kbnCoreEnvironmentServerInternalObj from './kbn_core_environment_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_environment_server_mocks.mdx b/api_docs/kbn_core_environment_server_mocks.mdx index a592f03fbb330..46e3c3a660c8f 100644 --- a/api_docs/kbn_core_environment_server_mocks.mdx +++ b/api_docs/kbn_core_environment_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-environment-server-mocks title: "@kbn/core-environment-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-environment-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-environment-server-mocks'] --- import kbnCoreEnvironmentServerMocksObj from './kbn_core_environment_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser.mdx b/api_docs/kbn_core_execution_context_browser.mdx index be003b6dde3f9..52af37b4f857d 100644 --- a/api_docs/kbn_core_execution_context_browser.mdx +++ b/api_docs/kbn_core_execution_context_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser title: "@kbn/core-execution-context-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser'] --- import kbnCoreExecutionContextBrowserObj from './kbn_core_execution_context_browser.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_internal.mdx b/api_docs/kbn_core_execution_context_browser_internal.mdx index 6ad18f55515f3..2e2ef1abe50da 100644 --- a/api_docs/kbn_core_execution_context_browser_internal.mdx +++ b/api_docs/kbn_core_execution_context_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-internal title: "@kbn/core-execution-context-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-internal'] --- import kbnCoreExecutionContextBrowserInternalObj from './kbn_core_execution_context_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_browser_mocks.mdx b/api_docs/kbn_core_execution_context_browser_mocks.mdx index b4e23fcf7060b..039c1059d944f 100644 --- a/api_docs/kbn_core_execution_context_browser_mocks.mdx +++ b/api_docs/kbn_core_execution_context_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-browser-mocks title: "@kbn/core-execution-context-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-browser-mocks'] --- import kbnCoreExecutionContextBrowserMocksObj from './kbn_core_execution_context_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_common.mdx b/api_docs/kbn_core_execution_context_common.mdx index 44e542fe129ec..c812053f64606 100644 --- a/api_docs/kbn_core_execution_context_common.mdx +++ b/api_docs/kbn_core_execution_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-common title: "@kbn/core-execution-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-common'] --- import kbnCoreExecutionContextCommonObj from './kbn_core_execution_context_common.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server.mdx b/api_docs/kbn_core_execution_context_server.mdx index 717e67543d58f..85fa72696e867 100644 --- a/api_docs/kbn_core_execution_context_server.mdx +++ b/api_docs/kbn_core_execution_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server title: "@kbn/core-execution-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server'] --- import kbnCoreExecutionContextServerObj from './kbn_core_execution_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_internal.mdx b/api_docs/kbn_core_execution_context_server_internal.mdx index a03e733a6ee8a..5f0668d57aa71 100644 --- a/api_docs/kbn_core_execution_context_server_internal.mdx +++ b/api_docs/kbn_core_execution_context_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-internal title: "@kbn/core-execution-context-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-internal'] --- import kbnCoreExecutionContextServerInternalObj from './kbn_core_execution_context_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_execution_context_server_mocks.mdx b/api_docs/kbn_core_execution_context_server_mocks.mdx index 2fe181c9fc44e..ce1dfdcfab806 100644 --- a/api_docs/kbn_core_execution_context_server_mocks.mdx +++ b/api_docs/kbn_core_execution_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-execution-context-server-mocks title: "@kbn/core-execution-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-execution-context-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-execution-context-server-mocks'] --- import kbnCoreExecutionContextServerMocksObj from './kbn_core_execution_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser.mdx b/api_docs/kbn_core_fatal_errors_browser.mdx index 85939ebf080cc..9ca7e90bf7714 100644 --- a/api_docs/kbn_core_fatal_errors_browser.mdx +++ b/api_docs/kbn_core_fatal_errors_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser title: "@kbn/core-fatal-errors-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser'] --- import kbnCoreFatalErrorsBrowserObj from './kbn_core_fatal_errors_browser.devdocs.json'; diff --git a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx index 48bb3e94a6658..ce6f0f1f5b06b 100644 --- a/api_docs/kbn_core_fatal_errors_browser_mocks.mdx +++ b/api_docs/kbn_core_fatal_errors_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-fatal-errors-browser-mocks title: "@kbn/core-fatal-errors-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-fatal-errors-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-fatal-errors-browser-mocks'] --- import kbnCoreFatalErrorsBrowserMocksObj from './kbn_core_fatal_errors_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_browser.mdx b/api_docs/kbn_core_feature_flags_browser.mdx index 7fa3366fde3a0..ed4b516474a0e 100644 --- a/api_docs/kbn_core_feature_flags_browser.mdx +++ b/api_docs/kbn_core_feature_flags_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-browser title: "@kbn/core-feature-flags-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-browser'] --- import kbnCoreFeatureFlagsBrowserObj from './kbn_core_feature_flags_browser.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_browser_internal.mdx b/api_docs/kbn_core_feature_flags_browser_internal.mdx index 25dd245097435..11bdc8263412c 100644 --- a/api_docs/kbn_core_feature_flags_browser_internal.mdx +++ b/api_docs/kbn_core_feature_flags_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-browser-internal title: "@kbn/core-feature-flags-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-browser-internal'] --- import kbnCoreFeatureFlagsBrowserInternalObj from './kbn_core_feature_flags_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_browser_mocks.mdx b/api_docs/kbn_core_feature_flags_browser_mocks.mdx index f83213a16c2db..caa212ff2013a 100644 --- a/api_docs/kbn_core_feature_flags_browser_mocks.mdx +++ b/api_docs/kbn_core_feature_flags_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-browser-mocks title: "@kbn/core-feature-flags-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-browser-mocks'] --- import kbnCoreFeatureFlagsBrowserMocksObj from './kbn_core_feature_flags_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_server.mdx b/api_docs/kbn_core_feature_flags_server.mdx index 5d7165def3647..15b9faa4cba8f 100644 --- a/api_docs/kbn_core_feature_flags_server.mdx +++ b/api_docs/kbn_core_feature_flags_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-server title: "@kbn/core-feature-flags-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-server'] --- import kbnCoreFeatureFlagsServerObj from './kbn_core_feature_flags_server.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_server_internal.mdx b/api_docs/kbn_core_feature_flags_server_internal.mdx index 95e23232de300..1292f1e33262a 100644 --- a/api_docs/kbn_core_feature_flags_server_internal.mdx +++ b/api_docs/kbn_core_feature_flags_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-server-internal title: "@kbn/core-feature-flags-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-server-internal'] --- import kbnCoreFeatureFlagsServerInternalObj from './kbn_core_feature_flags_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_feature_flags_server_mocks.mdx b/api_docs/kbn_core_feature_flags_server_mocks.mdx index 9d0fe7337ba19..80da77c38cbc8 100644 --- a/api_docs/kbn_core_feature_flags_server_mocks.mdx +++ b/api_docs/kbn_core_feature_flags_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-feature-flags-server-mocks title: "@kbn/core-feature-flags-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-feature-flags-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-feature-flags-server-mocks'] --- import kbnCoreFeatureFlagsServerMocksObj from './kbn_core_feature_flags_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser.mdx b/api_docs/kbn_core_http_browser.mdx index bd39f03d1778e..7f6106a0d5d9e 100644 --- a/api_docs/kbn_core_http_browser.mdx +++ b/api_docs/kbn_core_http_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser title: "@kbn/core-http-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser'] --- import kbnCoreHttpBrowserObj from './kbn_core_http_browser.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_internal.mdx b/api_docs/kbn_core_http_browser_internal.mdx index 1783cf3a78c5b..a5eec13edeb7a 100644 --- a/api_docs/kbn_core_http_browser_internal.mdx +++ b/api_docs/kbn_core_http_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-internal title: "@kbn/core-http-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-internal'] --- import kbnCoreHttpBrowserInternalObj from './kbn_core_http_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_browser_mocks.mdx b/api_docs/kbn_core_http_browser_mocks.mdx index d59456e45a92d..1d96d6e6908bb 100644 --- a/api_docs/kbn_core_http_browser_mocks.mdx +++ b/api_docs/kbn_core_http_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-browser-mocks title: "@kbn/core-http-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-browser-mocks'] --- import kbnCoreHttpBrowserMocksObj from './kbn_core_http_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_common.mdx b/api_docs/kbn_core_http_common.mdx index ba61cef0066a8..4cdc981da8ab4 100644 --- a/api_docs/kbn_core_http_common.mdx +++ b/api_docs/kbn_core_http_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-common title: "@kbn/core-http-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-common'] --- import kbnCoreHttpCommonObj from './kbn_core_http_common.devdocs.json'; diff --git a/api_docs/kbn_core_http_context_server_mocks.mdx b/api_docs/kbn_core_http_context_server_mocks.mdx index db76e849a0a58..0da464f9a4d6a 100644 --- a/api_docs/kbn_core_http_context_server_mocks.mdx +++ b/api_docs/kbn_core_http_context_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-context-server-mocks title: "@kbn/core-http-context-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-context-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-context-server-mocks'] --- import kbnCoreHttpContextServerMocksObj from './kbn_core_http_context_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_request_handler_context_server.mdx b/api_docs/kbn_core_http_request_handler_context_server.mdx index e2303389cfd78..174ff6f6a72a9 100644 --- a/api_docs/kbn_core_http_request_handler_context_server.mdx +++ b/api_docs/kbn_core_http_request_handler_context_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-request-handler-context-server title: "@kbn/core-http-request-handler-context-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-request-handler-context-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-request-handler-context-server'] --- import kbnCoreHttpRequestHandlerContextServerObj from './kbn_core_http_request_handler_context_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server.mdx b/api_docs/kbn_core_http_resources_server.mdx index e174f1db4e69a..2004a77d28f85 100644 --- a/api_docs/kbn_core_http_resources_server.mdx +++ b/api_docs/kbn_core_http_resources_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server title: "@kbn/core-http-resources-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server'] --- import kbnCoreHttpResourcesServerObj from './kbn_core_http_resources_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_internal.mdx b/api_docs/kbn_core_http_resources_server_internal.mdx index 37d0274f0f534..c3e1789795555 100644 --- a/api_docs/kbn_core_http_resources_server_internal.mdx +++ b/api_docs/kbn_core_http_resources_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-internal title: "@kbn/core-http-resources-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-internal'] --- import kbnCoreHttpResourcesServerInternalObj from './kbn_core_http_resources_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_resources_server_mocks.mdx b/api_docs/kbn_core_http_resources_server_mocks.mdx index eff526fab4234..56ffd46d43eaa 100644 --- a/api_docs/kbn_core_http_resources_server_mocks.mdx +++ b/api_docs/kbn_core_http_resources_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-resources-server-mocks title: "@kbn/core-http-resources-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-resources-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-resources-server-mocks'] --- import kbnCoreHttpResourcesServerMocksObj from './kbn_core_http_resources_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_internal.mdx b/api_docs/kbn_core_http_router_server_internal.mdx index 413fa0163ab61..2023b0ad8035d 100644 --- a/api_docs/kbn_core_http_router_server_internal.mdx +++ b/api_docs/kbn_core_http_router_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-internal title: "@kbn/core-http-router-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-internal'] --- import kbnCoreHttpRouterServerInternalObj from './kbn_core_http_router_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_router_server_mocks.mdx b/api_docs/kbn_core_http_router_server_mocks.mdx index 4edb5ec9566e6..ce6c0354b512c 100644 --- a/api_docs/kbn_core_http_router_server_mocks.mdx +++ b/api_docs/kbn_core_http_router_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-router-server-mocks title: "@kbn/core-http-router-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-router-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-router-server-mocks'] --- import kbnCoreHttpRouterServerMocksObj from './kbn_core_http_router_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server.devdocs.json b/api_docs/kbn_core_http_server.devdocs.json index 1b2c670e70072..cae54ba517b50 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -3710,25 +3710,21 @@ "path": "packages/core/deprecations/core-deprecations-server-internal/src/routes/get.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { "plugin": "usageCollection", "path": "src/plugins/usage_collection/server/routes/stats/stats.ts" }, - { - "plugin": "@kbn/content-management-favorites-server", - "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" - }, { "plugin": "taskManager", "path": "x-pack/plugins/task_manager/server/routes/health.ts" @@ -3749,21 +3745,17 @@ "plugin": "licensing", "path": "x-pack/plugins/licensing/server/routes/feature_usage.ts" }, - { - "plugin": "@kbn/content-management-content-insights-server", - "path": "packages/content-management/content_insights/content_insights_server/src/register.ts" - }, { "plugin": "features", "path": "x-pack/plugins/features/server/routes/index.ts" }, { "plugin": "customIntegrations", - "path": "src/plugins/custom_integrations/server/routes/define_routes.ts" + "path": "src/platform/plugins/shared/custom_integrations/server/routes/define_routes.ts" }, { "plugin": "customIntegrations", - "path": "src/plugins/custom_integrations/server/routes/define_routes.ts" + "path": "src/platform/plugins/shared/custom_integrations/server/routes/define_routes.ts" }, { "plugin": "home", @@ -3869,21 +3861,13 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/views/login.ts" }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_get_route.ts" - }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_resolve_route.ts" - }, { "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" }, { "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts" + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts" }, { "plugin": "actions", @@ -3905,6 +3889,18 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/routes/connector/get/get.ts" }, + { + "plugin": "@kbn/content-management-favorites-server", + "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" + }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/http/short_urls/register_get_route.ts" + }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/http/short_urls/register_resolve_route.ts" + }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts" @@ -3985,6 +3981,14 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts" }, + { + "plugin": "banners", + "path": "x-pack/plugins/banners/server/routes/info.ts" + }, + { + "plugin": "@kbn/content-management-content-insights-server", + "path": "packages/content-management/content_insights/content_insights_server/src/register.ts" + }, { "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_alert_by_id.ts" @@ -4005,10 +4009,6 @@ "plugin": "inference", "path": "x-pack/platform/plugins/shared/inference/server/routes/connectors.ts" }, - { - "plugin": "banners", - "path": "x-pack/plugins/banners/server/routes/info.ts" - }, { "plugin": "globalSearch", "path": "x-pack/plugins/global_search/server/routes/get_searchable_types.ts" @@ -4441,42 +4441,6 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/cluster/load.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/load.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipelines/list.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" - }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/routes/internal/deprecations/deprecations.ts" @@ -4513,6 +4477,26 @@ "plugin": "reporting", "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_all_tags.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/get_tag.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/find_assignable_objects.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/get_assignable_types.ts" + }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/find_tags.ts" + }, { "plugin": "searchIndices", "path": "x-pack/plugins/search_indices/server/routes/status.ts" @@ -4845,6 +4829,22 @@ "plugin": "indexLifecycleManagement", "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/snapshot_repositories/register_fetch_route.ts" }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/cluster/load.ts" + }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipeline/load.ts" + }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipelines/list.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/plugin.ts" + }, { "plugin": "rollup", "path": "x-pack/platform/plugins/private/rollup/server/routes/api/indices/register_get_route.ts" @@ -5677,18 +5677,6 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts" }, - { - "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts" - }, - { - "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts" - }, - { - "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts" - }, { "plugin": "remoteClusters", "path": "x-pack/platform/plugins/private/remote_clusters/server/routes/api/get_route.test.ts" @@ -5717,6 +5705,18 @@ "plugin": "indexManagement", "path": "x-pack/platform/plugins/shared/index_management/server/routes/api/enrich_policies/register_privileges_route.test.ts" }, + { + "plugin": "monitoringCollection", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts" + }, + { + "plugin": "monitoringCollection", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts" + }, + { + "plugin": "monitoringCollection", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts" + }, { "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/routes/index.test.ts" @@ -5733,6 +5733,14 @@ "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/routes/index.test.ts" }, + { + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts" + }, + { + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts" + }, { "plugin": "@kbn/core-deprecations-server-internal", "path": "packages/core/deprecations/core-deprecations-server-internal/src/deprecations_service.test.ts" @@ -5801,14 +5809,6 @@ "plugin": "@kbn/core-status-server-internal", "path": "packages/core/status/core-status-server-internal/src/status_service.test.ts" }, - { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts" - }, - { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts" - }, { "plugin": "@kbn/core-i18n-server-internal", "path": "packages/core/i18n/core-i18n-server-internal/src/routes/translations.test.ts" @@ -6215,18 +6215,6 @@ "plugin": "usageCollection", "path": "src/plugins/usage_collection/server/routes/ui_counters.ts" }, - { - "plugin": "@kbn/content-management-favorites-server", - "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" - }, - { - "plugin": "@kbn/content-management-favorites-server", - "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" - }, - { - "plugin": "contentManagement", - "path": "src/plugins/content_management/server/rpc/routes/routes.ts" - }, { "plugin": "licensing", "path": "x-pack/plugins/licensing/server/routes/internal/notify_feature_usage.ts" @@ -6235,10 +6223,6 @@ "plugin": "licensing", "path": "x-pack/plugins/licensing/server/routes/internal/register_feature.ts" }, - { - "plugin": "@kbn/content-management-content-insights-server", - "path": "packages/content-management/content_insights/content_insights_server/src/register.ts" - }, { "plugin": "home", "path": "src/plugins/home/server/services/sample_data/routes/install.ts" @@ -6351,25 +6335,21 @@ "plugin": "encryptedSavedObjects", "path": "x-pack/plugins/encrypted_saved_objects/server/routes/key_rotation.ts" }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_create_route.ts" - }, { "plugin": "serverless", "path": "x-pack/plugins/serverless/server/plugin.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/create/create.ts" + "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.ts" + "path": "x-pack/plugins/actions/server/routes/connector/create/create.ts" }, { "plugin": "actions", - "path": "x-pack/plugins/actions/server/routes/get_oauth_access_token.ts" + "path": "x-pack/plugins/actions/server/routes/connector/execute/execute.ts" }, { "plugin": "actions", @@ -6379,6 +6359,22 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts" }, + { + "plugin": "@kbn/content-management-favorites-server", + "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" + }, + { + "plugin": "@kbn/content-management-favorites-server", + "path": "packages/content-management/favorites/favorites_server/src/favorites_routes.ts" + }, + { + "plugin": "contentManagement", + "path": "src/plugins/content_management/server/rpc/routes/routes.ts" + }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/http/short_urls/register_create_route.ts" + }, { "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts" @@ -6495,6 +6491,10 @@ "plugin": "alerting", "path": "x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts" }, + { + "plugin": "@kbn/content-management-content-insights-server", + "path": "packages/content-management/content_insights/content_insights_server/src/register.ts" + }, { "plugin": "ruleRegistry", "path": "x-pack/plugins/rule_registry/server/routes/get_alerts_group_aggregations.ts" @@ -6867,22 +6867,6 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/update_tag.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts" - }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/routes/search.ts" @@ -6892,36 +6876,32 @@ "path": "x-pack/plugins/graph/server/routes/explore.ts" }, { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipelines/delete.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/internal/generate/generate_from_jobparams.ts" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/routes/public/generate_from_jobparams.ts" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/create_tag.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/internal/generate/generate_from_jobparams.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/update_tag.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/routes/public/generate_from_jobparams.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/assignments/update_tags_assignments.ts" }, { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/internal/bulk_delete.ts" }, { "plugin": "@kbn/search-api-keys-server", @@ -7171,6 +7151,26 @@ "plugin": "indexLifecycleManagement", "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/templates/register_add_policy_route.ts" }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipelines/delete.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/enable.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/status.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/plugin.ts" + }, { "plugin": "painlessLab", "path": "x-pack/platform/plugins/private/painless_lab/server/routes/api/execute.ts" @@ -8569,14 +8569,6 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/save.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/server/plugin.ts" - }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/routes/internal/deprecations/deprecations.ts" @@ -8585,6 +8577,10 @@ "plugin": "reporting", "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" }, + { + "plugin": "searchInferenceEndpoints", + "path": "x-pack/plugins/search_inference_endpoints/server/routes.ts" + }, { "plugin": "upgradeAssistant", "path": "x-pack/plugins/upgrade_assistant/server/routes/deprecation_logging.ts" @@ -8649,6 +8645,14 @@ "plugin": "crossClusterReplication", "path": "x-pack/platform/plugins/private/cross_cluster_replication/server/routes/api/follower_index/register_update_route.ts" }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipeline/save.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/server/plugin.ts" + }, { "plugin": "rollup", "path": "x-pack/platform/plugins/private/rollup/server/routes/api/jobs/register_create_route.ts" @@ -9333,17 +9337,17 @@ "plugin": "security", "path": "x-pack/plugins/security/server/routes/users/delete.ts" }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/http/short_urls/register_delete_route.ts" - }, { "plugin": "actions", "path": "x-pack/plugins/actions/server/routes/connector/delete/delete.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts" + "plugin": "share", + "path": "src/plugins/share/server/url_service/http/short_urls/register_delete_route.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts" }, { "plugin": "alerting", @@ -9481,14 +9485,6 @@ "plugin": "enterpriseSearch", "path": "x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts" }, - { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts" - }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/server/routes/pipeline/delete.ts" - }, { "plugin": "reporting", "path": "x-pack/plugins/reporting/server/routes/internal/management/jobs.ts" @@ -9501,6 +9497,10 @@ "plugin": "reporting", "path": "x-pack/plugins/reporting/server/test_helpers/create_mock_reportingplugin.ts" }, + { + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/server/routes/tags/delete_tag.ts" + }, { "plugin": "searchIndices", "path": "x-pack/plugins/search_indices/server/routes/documents.ts" @@ -9549,6 +9549,10 @@ "plugin": "indexLifecycleManagement", "path": "x-pack/platform/plugins/private/index_lifecycle_management/server/routes/api/policies/register_delete_route.ts" }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/server/routes/pipeline/delete.ts" + }, { "plugin": "snapshotRestore", "path": "x-pack/platform/plugins/private/snapshot_restore/server/routes/api/repositories.ts" @@ -12890,16 +12894,16 @@ "path": "packages/core/capabilities/core-capabilities-server-internal/src/routes/resolve_capabilities.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" }, { "plugin": "usageCollection", @@ -12971,20 +12975,20 @@ }, { "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts" }, { "plugin": "monitoringCollection", - "path": "x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts" - }, - { - "plugin": "files", - "path": "src/plugins/files/server/routes/public_facing/download.ts" + "path": "x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts" }, { "plugin": "banners", "path": "x-pack/plugins/banners/server/routes/info.ts" }, + { + "plugin": "files", + "path": "src/plugins/files/server/routes/public_facing/download.ts" + }, { "plugin": "telemetry", "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" @@ -15277,6 +15281,26 @@ "plugin": "cloud", "path": "x-pack/plugins/cloud/server/routes/get_cloud_data_route.ts" }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/get.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/get_all.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/get.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/get_all.ts" + }, + { + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + }, { "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/public/runtime_fields/get_runtime_field.ts" @@ -15321,22 +15345,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/internal/fields.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/get.ts" - }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/get_all.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/get.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/get_all.ts" - }, { "plugin": "data", "path": "src/plugins/data/server/search/routes/session.ts" @@ -15359,55 +15367,15 @@ }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" - }, - { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/get.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/download.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/get.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/resolve.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/templates/list.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "logsShared", @@ -15653,10 +15621,6 @@ "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/server/routes/inference_models.ts" }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, { "plugin": "telemetry", "path": "src/plugins/telemetry/server/routes/telemetry_config.ts" @@ -15675,35 +15639,47 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/mvt/mvt_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "dataUsage", @@ -15713,6 +15689,10 @@ "plugin": "dataVisualizer", "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, { "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/server/routes/api/audit_messages/register_route.ts" @@ -15737,6 +15717,30 @@ "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_stats_single/register_route.ts" }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/routes.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/find_endpoint_list_item_route.ts" @@ -16334,40 +16338,40 @@ "path": "packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.test.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/get.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/download.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/templates/list.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/download.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/templates/list.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/get.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/get.test.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.test.ts" }, { "plugin": "ecsDataQualityDashboard", @@ -16477,8 +16481,20 @@ "trackAdoption": true, "references": [ { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.ts" + }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/put.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/put.ts" + }, + { + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" }, { "plugin": "dataViews", @@ -16492,14 +16508,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/internal/fields_for.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/put.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/put.ts" - }, { "plugin": "data", "path": "src/plugins/data/server/search/routes/session.ts" @@ -16510,27 +16518,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" - }, - { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/update.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "logsShared", @@ -16590,12 +16578,28 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts" + }, { "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/server/routes/api/transforms_create/register_route.ts" @@ -16701,32 +16705,32 @@ "path": "packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_route.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/update.test.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/update.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts" }, { "plugin": "ecsDataQualityDashboard", "path": "x-pack/solutions/security/plugins/ecs_data_quality_dashboard/server/__mocks__/server.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.test.ts" }, { - "plugin": "@kbn/core-apps-server-internal", - "path": "packages/core/apps/core-apps-server-internal/src/core_app.test.ts" + "plugin": "@kbn/core", + "path": "src/core/packages/apps/server-internal/src/core_app.test.ts" } ], "returnComment": [], @@ -16815,6 +16819,18 @@ "plugin": "cloud", "path": "x-pack/plugins/cloud/server/routes/set_cloud_data_route.ts" }, + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/post.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/post.ts" + }, + { + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + }, { "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/public/fields/update_fields.ts" @@ -16855,14 +16871,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/internal/fields_for.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/post.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/post.ts" - }, { "plugin": "data", "path": "src/plugins/data/server/search/routes/session.ts" @@ -16905,35 +16913,11 @@ }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_suggestions_route.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" - }, - { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/create.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/zip.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/create.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/import.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/functions/functions.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "logsShared", @@ -17235,30 +17219,6 @@ "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/server/routes/alerting.ts" }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, - { - "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/server/routes.ts" - }, { "plugin": "telemetry", "path": "src/plugins/telemetry/server/routes/telemetry_opt_in_stats.ts" @@ -17273,19 +17233,31 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "plugin": "metricsDataAccess", + "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts" }, { - "plugin": "metricsDataAccess", - "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts" }, { "plugin": "dataUsage", @@ -17299,6 +17271,30 @@ "plugin": "dataVisualizer", "path": "x-pack/platform/plugins/private/data_visualizer/server/routes.ts" }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/platform/plugins/private/file_upload/server/routes.ts" + }, { "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/server/routes/api/field_histograms/register_route.ts" @@ -17375,6 +17371,14 @@ "plugin": "integrationAssistant", "path": "x-pack/platform/plugins/shared/integration_assistant/server/routes/cel_routes.ts" }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/create_endpoint_list_item_route.ts" @@ -17880,20 +17884,20 @@ "path": "x-pack/plugins/cloud/server/routes/set_cloud_data_route.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/create.test.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/shareables/zip.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/create.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.test.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/create.test.ts" }, { "plugin": "ecsDataQualityDashboard", @@ -17992,7 +17996,7 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" }, { "plugin": "metricsDataAccess", @@ -18129,6 +18133,18 @@ "deprecated": false, "trackAdoption": true, "references": [ + { + "plugin": "spaces", + "path": "x-pack/plugins/spaces/server/routes/api/external/delete.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/server/routes/authorization/roles/delete.ts" + }, + { + "plugin": "@kbn/core-http-router-server-mocks", + "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" + }, { "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/public/runtime_fields/delete_runtime_field.ts" @@ -18141,14 +18157,6 @@ "plugin": "dataViews", "path": "src/plugins/data_views/server/rest_api_routes/public/delete_data_view.ts" }, - { - "plugin": "spaces", - "path": "x-pack/plugins/spaces/server/routes/api/external/delete.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/server/routes/authorization/roles/delete.ts" - }, { "plugin": "data", "path": "src/plugins/data/server/search/routes/session.ts" @@ -18163,19 +18171,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/api/register_routes.ts" - }, - { - "plugin": "@kbn/core-http-router-server-mocks", - "path": "packages/core/http/core-http-router-server-mocks/src/versioned_router.mock.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/delete.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/delete.ts" + "path": "src/platform/plugins/shared/dashboard/server/api/register_routes.ts" }, { "plugin": "logsShared", @@ -18219,16 +18215,24 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts" }, { "plugin": "metricsDataAccess", "path": "x-pack/plugins/observability_solution/metrics_data_access/server/lib/adapters/framework/kibana_framework_adapter.ts" }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/routes/delete_endpoint_list_item_route.ts" @@ -18326,16 +18330,16 @@ "path": "packages/core/http/core-http-router-server-internal/src/versioned_router/core_versioned_router.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/delete.test.ts" + "plugin": "integrationAssistant", + "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/delete.test.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.test.ts" }, { - "plugin": "integrationAssistant", - "path": "x-pack/platform/plugins/shared/integration_assistant/server/__mocks__/mock_server.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.test.ts" }, { "plugin": "ecsDataQualityDashboard", diff --git a/api_docs/kbn_core_http_server.mdx b/api_docs/kbn_core_http_server.mdx index bab57a7c7c051..642ac0fafc965 100644 --- a/api_docs/kbn_core_http_server.mdx +++ b/api_docs/kbn_core_http_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server title: "@kbn/core-http-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server'] --- import kbnCoreHttpServerObj from './kbn_core_http_server.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_internal.mdx b/api_docs/kbn_core_http_server_internal.mdx index ddff08358b196..b6b5f690d2657 100644 --- a/api_docs/kbn_core_http_server_internal.mdx +++ b/api_docs/kbn_core_http_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-internal title: "@kbn/core-http-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-internal'] --- import kbnCoreHttpServerInternalObj from './kbn_core_http_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_mocks.mdx b/api_docs/kbn_core_http_server_mocks.mdx index bb17a2393bde0..bf26c60fe4408 100644 --- a/api_docs/kbn_core_http_server_mocks.mdx +++ b/api_docs/kbn_core_http_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-mocks title: "@kbn/core-http-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-mocks'] --- import kbnCoreHttpServerMocksObj from './kbn_core_http_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_http_server_utils.mdx b/api_docs/kbn_core_http_server_utils.mdx index fbd6736874ddf..1072f822614d2 100644 --- a/api_docs/kbn_core_http_server_utils.mdx +++ b/api_docs/kbn_core_http_server_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-http-server-utils title: "@kbn/core-http-server-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-http-server-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-http-server-utils'] --- import kbnCoreHttpServerUtilsObj from './kbn_core_http_server_utils.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser.mdx b/api_docs/kbn_core_i18n_browser.mdx index 682d8bb8ee04c..d9f286d913fd2 100644 --- a/api_docs/kbn_core_i18n_browser.mdx +++ b/api_docs/kbn_core_i18n_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser title: "@kbn/core-i18n-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser'] --- import kbnCoreI18nBrowserObj from './kbn_core_i18n_browser.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_browser_mocks.mdx b/api_docs/kbn_core_i18n_browser_mocks.mdx index 5fecd79b9b513..f4ed50b46b17d 100644 --- a/api_docs/kbn_core_i18n_browser_mocks.mdx +++ b/api_docs/kbn_core_i18n_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-browser-mocks title: "@kbn/core-i18n-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-browser-mocks'] --- import kbnCoreI18nBrowserMocksObj from './kbn_core_i18n_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server.mdx b/api_docs/kbn_core_i18n_server.mdx index d48d8852c65d1..1e588aab394ee 100644 --- a/api_docs/kbn_core_i18n_server.mdx +++ b/api_docs/kbn_core_i18n_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server title: "@kbn/core-i18n-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server'] --- import kbnCoreI18nServerObj from './kbn_core_i18n_server.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_internal.mdx b/api_docs/kbn_core_i18n_server_internal.mdx index d3d686ef189bd..d99fc06311662 100644 --- a/api_docs/kbn_core_i18n_server_internal.mdx +++ b/api_docs/kbn_core_i18n_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-internal title: "@kbn/core-i18n-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-internal'] --- import kbnCoreI18nServerInternalObj from './kbn_core_i18n_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_i18n_server_mocks.mdx b/api_docs/kbn_core_i18n_server_mocks.mdx index 5fb750865168d..d6253116837df 100644 --- a/api_docs/kbn_core_i18n_server_mocks.mdx +++ b/api_docs/kbn_core_i18n_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-i18n-server-mocks title: "@kbn/core-i18n-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-i18n-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-i18n-server-mocks'] --- import kbnCoreI18nServerMocksObj from './kbn_core_i18n_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx index 4ba0c52e96951..0ef5953e3d97f 100644 --- a/api_docs/kbn_core_injected_metadata_browser_mocks.mdx +++ b/api_docs/kbn_core_injected_metadata_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-injected-metadata-browser-mocks title: "@kbn/core-injected-metadata-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-injected-metadata-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-injected-metadata-browser-mocks'] --- import kbnCoreInjectedMetadataBrowserMocksObj from './kbn_core_injected_metadata_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_internal.mdx b/api_docs/kbn_core_integrations_browser_internal.mdx index c3d0046f71799..dc47594592c1d 100644 --- a/api_docs/kbn_core_integrations_browser_internal.mdx +++ b/api_docs/kbn_core_integrations_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-internal title: "@kbn/core-integrations-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-internal'] --- import kbnCoreIntegrationsBrowserInternalObj from './kbn_core_integrations_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_integrations_browser_mocks.mdx b/api_docs/kbn_core_integrations_browser_mocks.mdx index e3316f6ef2434..eb42124169306 100644 --- a/api_docs/kbn_core_integrations_browser_mocks.mdx +++ b/api_docs/kbn_core_integrations_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-integrations-browser-mocks title: "@kbn/core-integrations-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-integrations-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-integrations-browser-mocks'] --- import kbnCoreIntegrationsBrowserMocksObj from './kbn_core_integrations_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser.devdocs.json b/api_docs/kbn_core_lifecycle_browser.devdocs.json index fc4130b7baa12..8619207ebc26d 100644 --- a/api_docs/kbn_core_lifecycle_browser.devdocs.json +++ b/api_docs/kbn_core_lifecycle_browser.devdocs.json @@ -69,13 +69,7 @@ "{@link ApplicationSetup}" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationSetup", - "text": "ApplicationSetup" - } + "ApplicationSetup" ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_setup.ts", "deprecated": false, @@ -421,13 +415,7 @@ "{@link ApplicationStart}" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts", "deprecated": false, @@ -615,19 +603,19 @@ }, { "plugin": "fileUpload", - "path": "x-pack/plugins/file_upload/public/kibana_services.ts" + "path": "x-pack/platform/plugins/private/file_upload/public/kibana_services.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts" }, { "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" }, { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/public/app/mount_management_section.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" }, { "plugin": "discover", diff --git a/api_docs/kbn_core_lifecycle_browser.mdx b/api_docs/kbn_core_lifecycle_browser.mdx index 8e2bab1819dd9..ce2deadc3e2c9 100644 --- a/api_docs/kbn_core_lifecycle_browser.mdx +++ b/api_docs/kbn_core_lifecycle_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser title: "@kbn/core-lifecycle-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser'] --- import kbnCoreLifecycleBrowserObj from './kbn_core_lifecycle_browser.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json b/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json index 253d371df5591..1592d736f3e42 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json +++ b/api_docs/kbn_core_lifecycle_browser_mocks.devdocs.json @@ -27,21 +27,9 @@ "description": [], "signature": [ "({ basePath, pluginStartDeps, pluginStartContract, }?: { basePath?: string | undefined; pluginStartDeps?: object | undefined; pluginStartContract?: any; }) => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", ">; application: jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationSetup", - "text": "ApplicationSetup" - }, + "ApplicationSetup", ">; customBranding: { customBranding$: ", "Observable", "<", @@ -79,21 +67,9 @@ "text": "FeatureFlagsSetup" }, ">; getStartServices: jest.Mock; application: jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", ">; chrome: ", { "pluginId": "@kbn/utility-types-jest", @@ -364,21 +340,9 @@ "description": [], "signature": [ "({ basePath }?: { basePath?: string | undefined; }) => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ">; application: jest.Mocked<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", ">; chrome: ", { "pluginId": "@kbn/utility-types-jest", diff --git a/api_docs/kbn_core_lifecycle_browser_mocks.mdx b/api_docs/kbn_core_lifecycle_browser_mocks.mdx index b5d6b9ddc4445..3b0ce24c3f504 100644 --- a/api_docs/kbn_core_lifecycle_browser_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-browser-mocks title: "@kbn/core-lifecycle-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-browser-mocks'] --- import kbnCoreLifecycleBrowserMocksObj from './kbn_core_lifecycle_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server.mdx b/api_docs/kbn_core_lifecycle_server.mdx index 363d218a8b88c..25d6d58dc8519 100644 --- a/api_docs/kbn_core_lifecycle_server.mdx +++ b/api_docs/kbn_core_lifecycle_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server title: "@kbn/core-lifecycle-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server'] --- import kbnCoreLifecycleServerObj from './kbn_core_lifecycle_server.devdocs.json'; diff --git a/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json b/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json index b0e66b991dc36..8d88210abf14e 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json +++ b/api_docs/kbn_core_lifecycle_server_mocks.devdocs.json @@ -35,13 +35,7 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServicePreboot", - "text": "AnalyticsServicePreboot" - }, + "AnalyticsServicePreboot", ">; context: jest.Mocked<", "InternalContextSetup", ">; elasticsearch: MockedElasticSearchServicePreboot; http: ", @@ -89,13 +83,7 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceSetup", - "text": "AnalyticsServiceSetup" - }, + "AnalyticsServiceSetup", ">; capabilities: jest.Mocked<", { "pluginId": "@kbn/core-capabilities-server", @@ -219,13 +207,7 @@ "description": [], "signature": [ "() => { analytics: jest.Mocked<", - { - "pluginId": "@kbn/core-analytics-server", - "scope": "server", - "docId": "kibKbnCoreAnalyticsServerPluginApi", - "section": "def-server.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ">; capabilities: jest.Mocked<", { "pluginId": "@kbn/core-capabilities-server", diff --git a/api_docs/kbn_core_lifecycle_server_mocks.mdx b/api_docs/kbn_core_lifecycle_server_mocks.mdx index a3797063e525d..ee75cebfd368b 100644 --- a/api_docs/kbn_core_lifecycle_server_mocks.mdx +++ b/api_docs/kbn_core_lifecycle_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-lifecycle-server-mocks title: "@kbn/core-lifecycle-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-lifecycle-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-lifecycle-server-mocks'] --- import kbnCoreLifecycleServerMocksObj from './kbn_core_lifecycle_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_browser_mocks.mdx b/api_docs/kbn_core_logging_browser_mocks.mdx index 3b9373514af0c..d9c01ea748fab 100644 --- a/api_docs/kbn_core_logging_browser_mocks.mdx +++ b/api_docs/kbn_core_logging_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-browser-mocks title: "@kbn/core-logging-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-browser-mocks'] --- import kbnCoreLoggingBrowserMocksObj from './kbn_core_logging_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_logging_common_internal.mdx b/api_docs/kbn_core_logging_common_internal.mdx index 125986bd09c61..1945ae61c2111 100644 --- a/api_docs/kbn_core_logging_common_internal.mdx +++ b/api_docs/kbn_core_logging_common_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-common-internal title: "@kbn/core-logging-common-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-common-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-common-internal'] --- import kbnCoreLoggingCommonInternalObj from './kbn_core_logging_common_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server.mdx b/api_docs/kbn_core_logging_server.mdx index e55fa4575a43a..4f8f84038d909 100644 --- a/api_docs/kbn_core_logging_server.mdx +++ b/api_docs/kbn_core_logging_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server title: "@kbn/core-logging-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server'] --- import kbnCoreLoggingServerObj from './kbn_core_logging_server.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_internal.mdx b/api_docs/kbn_core_logging_server_internal.mdx index 901236b9ed886..f9f1f1d6efc9f 100644 --- a/api_docs/kbn_core_logging_server_internal.mdx +++ b/api_docs/kbn_core_logging_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-internal title: "@kbn/core-logging-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-internal'] --- import kbnCoreLoggingServerInternalObj from './kbn_core_logging_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_logging_server_mocks.mdx b/api_docs/kbn_core_logging_server_mocks.mdx index 82c319c5384d9..6b3f2673128fe 100644 --- a/api_docs/kbn_core_logging_server_mocks.mdx +++ b/api_docs/kbn_core_logging_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-logging-server-mocks title: "@kbn/core-logging-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-logging-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-logging-server-mocks'] --- import kbnCoreLoggingServerMocksObj from './kbn_core_logging_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_internal.mdx b/api_docs/kbn_core_metrics_collectors_server_internal.mdx index 6c204fe96948f..2b6828821ea26 100644 --- a/api_docs/kbn_core_metrics_collectors_server_internal.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-internal title: "@kbn/core-metrics-collectors-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-internal'] --- import kbnCoreMetricsCollectorsServerInternalObj from './kbn_core_metrics_collectors_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx index 95a66e7ef15e6..3fbbd5e0ec80d 100644 --- a/api_docs/kbn_core_metrics_collectors_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_collectors_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-collectors-server-mocks title: "@kbn/core-metrics-collectors-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-collectors-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-collectors-server-mocks'] --- import kbnCoreMetricsCollectorsServerMocksObj from './kbn_core_metrics_collectors_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server.mdx b/api_docs/kbn_core_metrics_server.mdx index 9d0cd840eb18d..e3da31c39b8d6 100644 --- a/api_docs/kbn_core_metrics_server.mdx +++ b/api_docs/kbn_core_metrics_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server title: "@kbn/core-metrics-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server'] --- import kbnCoreMetricsServerObj from './kbn_core_metrics_server.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_internal.mdx b/api_docs/kbn_core_metrics_server_internal.mdx index 3a0ec563de00e..4507919503c45 100644 --- a/api_docs/kbn_core_metrics_server_internal.mdx +++ b/api_docs/kbn_core_metrics_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-internal title: "@kbn/core-metrics-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-internal'] --- import kbnCoreMetricsServerInternalObj from './kbn_core_metrics_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_metrics_server_mocks.mdx b/api_docs/kbn_core_metrics_server_mocks.mdx index 795ddb3a85791..24caa6176520c 100644 --- a/api_docs/kbn_core_metrics_server_mocks.mdx +++ b/api_docs/kbn_core_metrics_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-metrics-server-mocks title: "@kbn/core-metrics-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-metrics-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-metrics-server-mocks'] --- import kbnCoreMetricsServerMocksObj from './kbn_core_metrics_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_mount_utils_browser.mdx b/api_docs/kbn_core_mount_utils_browser.mdx index 727ef5171dd2a..9a4891d9f73f8 100644 --- a/api_docs/kbn_core_mount_utils_browser.mdx +++ b/api_docs/kbn_core_mount_utils_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-mount-utils-browser title: "@kbn/core-mount-utils-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-mount-utils-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-mount-utils-browser'] --- import kbnCoreMountUtilsBrowserObj from './kbn_core_mount_utils_browser.devdocs.json'; diff --git a/api_docs/kbn_core_node_server.mdx b/api_docs/kbn_core_node_server.mdx index 203c087c8a101..472dc2a6378bc 100644 --- a/api_docs/kbn_core_node_server.mdx +++ b/api_docs/kbn_core_node_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server title: "@kbn/core-node-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server'] --- import kbnCoreNodeServerObj from './kbn_core_node_server.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_internal.mdx b/api_docs/kbn_core_node_server_internal.mdx index 150ae0c9a4a77..e846150931dea 100644 --- a/api_docs/kbn_core_node_server_internal.mdx +++ b/api_docs/kbn_core_node_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-internal title: "@kbn/core-node-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-internal'] --- import kbnCoreNodeServerInternalObj from './kbn_core_node_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_node_server_mocks.mdx b/api_docs/kbn_core_node_server_mocks.mdx index 00ce929e60596..78170ad9ab5f4 100644 --- a/api_docs/kbn_core_node_server_mocks.mdx +++ b/api_docs/kbn_core_node_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-node-server-mocks title: "@kbn/core-node-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-node-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-node-server-mocks'] --- import kbnCoreNodeServerMocksObj from './kbn_core_node_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser.mdx b/api_docs/kbn_core_notifications_browser.mdx index 80351634642fc..bef8634166f0e 100644 --- a/api_docs/kbn_core_notifications_browser.mdx +++ b/api_docs/kbn_core_notifications_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser title: "@kbn/core-notifications-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser'] --- import kbnCoreNotificationsBrowserObj from './kbn_core_notifications_browser.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_internal.mdx b/api_docs/kbn_core_notifications_browser_internal.mdx index 242af33e83dc6..82c44f71e6d3d 100644 --- a/api_docs/kbn_core_notifications_browser_internal.mdx +++ b/api_docs/kbn_core_notifications_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-internal title: "@kbn/core-notifications-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-internal'] --- import kbnCoreNotificationsBrowserInternalObj from './kbn_core_notifications_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_notifications_browser_mocks.mdx b/api_docs/kbn_core_notifications_browser_mocks.mdx index 0d8cce446cf95..60235a19e6b3c 100644 --- a/api_docs/kbn_core_notifications_browser_mocks.mdx +++ b/api_docs/kbn_core_notifications_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-notifications-browser-mocks title: "@kbn/core-notifications-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-notifications-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-notifications-browser-mocks'] --- import kbnCoreNotificationsBrowserMocksObj from './kbn_core_notifications_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser.mdx b/api_docs/kbn_core_overlays_browser.mdx index 742605d913893..b7c045ca797f3 100644 --- a/api_docs/kbn_core_overlays_browser.mdx +++ b/api_docs/kbn_core_overlays_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser title: "@kbn/core-overlays-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser'] --- import kbnCoreOverlaysBrowserObj from './kbn_core_overlays_browser.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_internal.mdx b/api_docs/kbn_core_overlays_browser_internal.mdx index 3ca4f5ba60b7c..130ee7d32af31 100644 --- a/api_docs/kbn_core_overlays_browser_internal.mdx +++ b/api_docs/kbn_core_overlays_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-internal title: "@kbn/core-overlays-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-internal'] --- import kbnCoreOverlaysBrowserInternalObj from './kbn_core_overlays_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_overlays_browser_mocks.mdx b/api_docs/kbn_core_overlays_browser_mocks.mdx index cd9da1e6251fc..b97402153390e 100644 --- a/api_docs/kbn_core_overlays_browser_mocks.mdx +++ b/api_docs/kbn_core_overlays_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-overlays-browser-mocks title: "@kbn/core-overlays-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-overlays-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-overlays-browser-mocks'] --- import kbnCoreOverlaysBrowserMocksObj from './kbn_core_overlays_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser.mdx b/api_docs/kbn_core_plugins_browser.mdx index eb0cb979c59be..1b5bc3be8ff55 100644 --- a/api_docs/kbn_core_plugins_browser.mdx +++ b/api_docs/kbn_core_plugins_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser title: "@kbn/core-plugins-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser'] --- import kbnCorePluginsBrowserObj from './kbn_core_plugins_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_browser_mocks.mdx b/api_docs/kbn_core_plugins_browser_mocks.mdx index eaf18e2a3f1c4..4d7abf0ad8974 100644 --- a/api_docs/kbn_core_plugins_browser_mocks.mdx +++ b/api_docs/kbn_core_plugins_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-browser-mocks title: "@kbn/core-plugins-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-browser-mocks'] --- import kbnCorePluginsBrowserMocksObj from './kbn_core_plugins_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_contracts_browser.mdx b/api_docs/kbn_core_plugins_contracts_browser.mdx index 49aebf4a11a6f..64fbccfb20206 100644 --- a/api_docs/kbn_core_plugins_contracts_browser.mdx +++ b/api_docs/kbn_core_plugins_contracts_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-contracts-browser title: "@kbn/core-plugins-contracts-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-contracts-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-contracts-browser'] --- import kbnCorePluginsContractsBrowserObj from './kbn_core_plugins_contracts_browser.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_contracts_server.mdx b/api_docs/kbn_core_plugins_contracts_server.mdx index 3a30b36814c4d..8496c32345d5b 100644 --- a/api_docs/kbn_core_plugins_contracts_server.mdx +++ b/api_docs/kbn_core_plugins_contracts_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-contracts-server title: "@kbn/core-plugins-contracts-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-contracts-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-contracts-server'] --- import kbnCorePluginsContractsServerObj from './kbn_core_plugins_contracts_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server.devdocs.json b/api_docs/kbn_core_plugins_server.devdocs.json index 57f6efbab3f97..d87fccaa595d6 100644 --- a/api_docs/kbn_core_plugins_server.devdocs.json +++ b/api_docs/kbn_core_plugins_server.devdocs.json @@ -574,13 +574,7 @@ "\nType of the plugin, defaults to `standard`." ], "signature": [ - { - "pluginId": "@kbn/core-base-common", - "scope": "common", - "docId": "kibKbnCoreBaseCommonPluginApi", - "section": "def-common.PluginType", - "text": "PluginType" - } + "PluginType" ], "path": "packages/core/plugins/core-plugins-server/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_core_plugins_server.mdx b/api_docs/kbn_core_plugins_server.mdx index 249a0e394d63e..2313c5acc17e8 100644 --- a/api_docs/kbn_core_plugins_server.mdx +++ b/api_docs/kbn_core_plugins_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server title: "@kbn/core-plugins-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server'] --- import kbnCorePluginsServerObj from './kbn_core_plugins_server.devdocs.json'; diff --git a/api_docs/kbn_core_plugins_server_mocks.mdx b/api_docs/kbn_core_plugins_server_mocks.mdx index 1bd71845531f6..fcb5c23c1a9cd 100644 --- a/api_docs/kbn_core_plugins_server_mocks.mdx +++ b/api_docs/kbn_core_plugins_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-plugins-server-mocks title: "@kbn/core-plugins-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-plugins-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-plugins-server-mocks'] --- import kbnCorePluginsServerMocksObj from './kbn_core_plugins_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server.mdx b/api_docs/kbn_core_preboot_server.mdx index 7a8528ff1b8b9..e6ad7bc101508 100644 --- a/api_docs/kbn_core_preboot_server.mdx +++ b/api_docs/kbn_core_preboot_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server title: "@kbn/core-preboot-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server'] --- import kbnCorePrebootServerObj from './kbn_core_preboot_server.devdocs.json'; diff --git a/api_docs/kbn_core_preboot_server_mocks.mdx b/api_docs/kbn_core_preboot_server_mocks.mdx index 7ef9d4b6ca20d..ea5ae19324fe4 100644 --- a/api_docs/kbn_core_preboot_server_mocks.mdx +++ b/api_docs/kbn_core_preboot_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-preboot-server-mocks title: "@kbn/core-preboot-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-preboot-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-preboot-server-mocks'] --- import kbnCorePrebootServerMocksObj from './kbn_core_preboot_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser.mdx b/api_docs/kbn_core_rendering_browser.mdx index 8fdbf2cb11dc1..8b70e99752ca7 100644 --- a/api_docs/kbn_core_rendering_browser.mdx +++ b/api_docs/kbn_core_rendering_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser title: "@kbn/core-rendering-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser'] --- import kbnCoreRenderingBrowserObj from './kbn_core_rendering_browser.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_browser_mocks.mdx b/api_docs/kbn_core_rendering_browser_mocks.mdx index b9b989602eeef..cfbe0a8cacebe 100644 --- a/api_docs/kbn_core_rendering_browser_mocks.mdx +++ b/api_docs/kbn_core_rendering_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-browser-mocks title: "@kbn/core-rendering-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-browser-mocks'] --- import kbnCoreRenderingBrowserMocksObj from './kbn_core_rendering_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_internal.mdx b/api_docs/kbn_core_rendering_server_internal.mdx index b32413585786f..fd7ea346f6ad6 100644 --- a/api_docs/kbn_core_rendering_server_internal.mdx +++ b/api_docs/kbn_core_rendering_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-internal title: "@kbn/core-rendering-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-internal'] --- import kbnCoreRenderingServerInternalObj from './kbn_core_rendering_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_rendering_server_mocks.mdx b/api_docs/kbn_core_rendering_server_mocks.mdx index 54f81f21e23b7..9ee74ea21f61e 100644 --- a/api_docs/kbn_core_rendering_server_mocks.mdx +++ b/api_docs/kbn_core_rendering_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-rendering-server-mocks title: "@kbn/core-rendering-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-rendering-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-rendering-server-mocks'] --- import kbnCoreRenderingServerMocksObj from './kbn_core_rendering_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_root_server_internal.mdx b/api_docs/kbn_core_root_server_internal.mdx index 89161e59d2948..daf0485a3de8b 100644 --- a/api_docs/kbn_core_root_server_internal.mdx +++ b/api_docs/kbn_core_root_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-root-server-internal title: "@kbn/core-root-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-root-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-root-server-internal'] --- import kbnCoreRootServerInternalObj from './kbn_core_root_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json index c9bd6ed6eec29..9dd1f108af0ed 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_browser.devdocs.json @@ -57,6 +57,22 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/public/legacy_urls/types.ts" }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/common/ui/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/common/ui/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/common/ui/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/common/ui/types.ts" + }, { "plugin": "savedSearch", "path": "src/plugins/saved_search/public/services/saved_searches/types.ts" @@ -105,53 +121,21 @@ "plugin": "lens", "path": "x-pack/plugins/lens/public/types.ts" }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" - }, - { - "plugin": "cases", - "path": "x-pack/plugins/cases/common/ui/types.ts" - }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "graph", @@ -168,6 +152,22 @@ { "plugin": "graph", "path": "x-pack/plugins/graph/public/helpers/use_workspace_loader.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" } ], "children": [ @@ -886,14 +886,6 @@ "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.ts" }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, { "plugin": "@kbn/core", "path": "src/core/public/index.ts" @@ -934,6 +926,14 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/contexts/query_input_bar_context.ts" }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, { "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.test.ts" @@ -1477,7 +1477,7 @@ }, { "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" }, { "plugin": "@kbn/core-saved-objects-browser-internal", @@ -1557,7 +1557,7 @@ }, { "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" }, { "plugin": "@kbn/core-saved-objects-browser-internal", @@ -2767,18 +2767,6 @@ "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.ts" }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" - }, { "plugin": "@kbn/core", "path": "src/core/public/index.ts" @@ -2807,14 +2795,6 @@ "plugin": "dataVisualizer", "path": "x-pack/platform/plugins/private/data_visualizer/common/types/index.ts" }, - { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" - }, - { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" - }, { "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/common/types/kibana.ts" @@ -2847,6 +2827,14 @@ "plugin": "lens", "path": "x-pack/plugins/lens/public/persistence/saved_objects_utils/find_object_by_title.test.ts" }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx" + }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/public/common/hooks/types.ts" @@ -2890,6 +2878,18 @@ { "plugin": "visualizations", "path": "src/plugins/visualizations/public/wizard/search_selection/show_saved_object.test.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" } ], "children": [ diff --git a/api_docs/kbn_core_saved_objects_api_browser.mdx b/api_docs/kbn_core_saved_objects_api_browser.mdx index 263b717570586..09b22142ede68 100644 --- a/api_docs/kbn_core_saved_objects_api_browser.mdx +++ b/api_docs/kbn_core_saved_objects_api_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-browser title: "@kbn/core-saved-objects-api-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-browser'] --- import kbnCoreSavedObjectsApiBrowserObj from './kbn_core_saved_objects_api_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server.devdocs.json b/api_docs/kbn_core_saved_objects_api_server.devdocs.json index 6b33ecca14f0e..c324e1e7f3069 100644 --- a/api_docs/kbn_core_saved_objects_api_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_api_server.devdocs.json @@ -2389,18 +2389,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -2414,16 +2402,16 @@ "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "alerting", @@ -2434,24 +2422,16 @@ "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { "plugin": "osquery", @@ -2541,6 +2521,26 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" @@ -2669,6 +2669,66 @@ "plugin": "@kbn/core", "path": "src/core/server/index.ts" }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, { "plugin": "@kbn/alerting-types", "path": "packages/kbn-alerting-types/rule_types.ts" @@ -2730,64 +2790,12 @@ "path": "x-pack/plugins/alerting/common/rule.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" }, { "plugin": "alerting", @@ -2806,12 +2814,16 @@ "path": "x-pack/plugins/alerting/server/types.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { "plugin": "savedSearch", @@ -2822,52 +2834,40 @@ "path": "src/plugins/saved_search/server/saved_objects/search_migrations.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" - }, - { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { "plugin": "securitySolution", @@ -6157,7 +6157,7 @@ }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/workpad_route_context.ts" + "path": "x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts" }, { "plugin": "@kbn/core-saved-objects-api-server-internal", diff --git a/api_docs/kbn_core_saved_objects_api_server.mdx b/api_docs/kbn_core_saved_objects_api_server.mdx index 130f551c93b18..e84c42084a5a2 100644 --- a/api_docs/kbn_core_saved_objects_api_server.mdx +++ b/api_docs/kbn_core_saved_objects_api_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server title: "@kbn/core-saved-objects-api-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server'] --- import kbnCoreSavedObjectsApiServerObj from './kbn_core_saved_objects_api_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx index 9b2e61a74873a..4f49eea2c9220 100644 --- a/api_docs/kbn_core_saved_objects_api_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_api_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-api-server-mocks title: "@kbn/core-saved-objects-api-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-api-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-api-server-mocks'] --- import kbnCoreSavedObjectsApiServerMocksObj from './kbn_core_saved_objects_api_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_internal.mdx b/api_docs/kbn_core_saved_objects_base_server_internal.mdx index c278b023d5822..f47552825c8d8 100644 --- a/api_docs/kbn_core_saved_objects_base_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-internal title: "@kbn/core-saved-objects-base-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-internal'] --- import kbnCoreSavedObjectsBaseServerInternalObj from './kbn_core_saved_objects_base_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx index dfa99b79afc02..8291c7ee50f78 100644 --- a/api_docs/kbn_core_saved_objects_base_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_base_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-base-server-mocks title: "@kbn/core-saved-objects-base-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-base-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-base-server-mocks'] --- import kbnCoreSavedObjectsBaseServerMocksObj from './kbn_core_saved_objects_base_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser.devdocs.json b/api_docs/kbn_core_saved_objects_browser.devdocs.json index d0005651d2a2e..81eba15a52d0c 100644 --- a/api_docs/kbn_core_saved_objects_browser.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser.devdocs.json @@ -17,26 +17,6 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "@kbn/core-saved-objects-browser-internal", - "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-internal", - "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-internal", - "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" - }, { "plugin": "@kbn/core-lifecycle-browser", "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" @@ -49,6 +29,18 @@ "plugin": "@kbn/core-lifecycle-browser", "path": "packages/core/lifecycle/core-lifecycle-browser/src/core_start.ts" }, + { + "plugin": "@kbn/core-saved-objects-browser-internal", + "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-internal", + "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-internal", + "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_service.ts" + }, { "plugin": "@kbn/core", "path": "src/core/public/index.ts" @@ -77,6 +69,14 @@ "plugin": "transform", "path": "x-pack/platform/plugins/private/transform/public/app/app_dependencies.tsx" }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" + }, { "plugin": "@kbn/core", "path": "src/core/server/index.ts" diff --git a/api_docs/kbn_core_saved_objects_browser.mdx b/api_docs/kbn_core_saved_objects_browser.mdx index 8ea0a9d5f4f54..3df12677f22ea 100644 --- a/api_docs/kbn_core_saved_objects_browser.mdx +++ b/api_docs/kbn_core_saved_objects_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser title: "@kbn/core-saved-objects-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser'] --- import kbnCoreSavedObjectsBrowserObj from './kbn_core_saved_objects_browser.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json b/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json index 016c97e0e12c7..83b0893914e67 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json +++ b/api_docs/kbn_core_saved_objects_browser_internal.devdocs.json @@ -35,14 +35,6 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" - }, - { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" - }, { "plugin": "@kbn/core-root-browser-internal", "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" @@ -54,6 +46,14 @@ { "plugin": "@kbn/core-root-browser-internal", "path": "packages/core/root/core-root-browser-internal/src/core_system.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/saved_objects_service.mock.ts" } ], "children": [ diff --git a/api_docs/kbn_core_saved_objects_browser_internal.mdx b/api_docs/kbn_core_saved_objects_browser_internal.mdx index d8b6725ea561c..ce319fe62d459 100644 --- a/api_docs/kbn_core_saved_objects_browser_internal.mdx +++ b/api_docs/kbn_core_saved_objects_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-internal title: "@kbn/core-saved-objects-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-internal'] --- import kbnCoreSavedObjectsBrowserInternalObj from './kbn_core_saved_objects_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_browser_mocks.mdx b/api_docs/kbn_core_saved_objects_browser_mocks.mdx index 8e23bdd7e9950..f2ff2778a4b95 100644 --- a/api_docs/kbn_core_saved_objects_browser_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-browser-mocks title: "@kbn/core-saved-objects-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-browser-mocks'] --- import kbnCoreSavedObjectsBrowserMocksObj from './kbn_core_saved_objects_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_common.devdocs.json b/api_docs/kbn_core_saved_objects_common.devdocs.json index ef4b910cc546c..c449f164324c8 100644 --- a/api_docs/kbn_core_saved_objects_common.devdocs.json +++ b/api_docs/kbn_core_saved_objects_common.devdocs.json @@ -1214,20 +1214,20 @@ "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/saved_objects_client.ts" }, { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + "plugin": "@kbn/core", + "path": "src/core/public/index.ts" }, { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + "plugin": "home", + "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" }, { - "plugin": "@kbn/core-saved-objects-browser-mocks", - "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + "plugin": "home", + "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" }, { - "plugin": "@kbn/core", - "path": "src/core/public/index.ts" + "plugin": "home", + "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" }, { "plugin": "savedObjectsTagging", @@ -1242,40 +1242,96 @@ "path": "x-pack/plugins/saved_objects_tagging/public/ui_api/get_table_column_definition.tsx" }, { - "plugin": "home", - "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" }, { - "plugin": "home", - "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" }, { - "plugin": "home", - "path": "src/plugins/home/server/services/sample_data/sample_data_registry.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" + "path": "x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" + "path": "x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" + "path": "x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/services/canvas_workpad_service.ts" + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts" + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts" + "plugin": "@kbn/core-saved-objects-browser-mocks", + "path": "packages/core/saved-objects/core-saved-objects-browser-mocks/src/simple_saved_object.mock.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" + }, + { + "plugin": "@kbn/core-saved-objects-import-export-server-internal", + "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" }, { "plugin": "@kbn/core", @@ -1393,62 +1449,6 @@ "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/lib/find_relationships.test.ts" }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/errors.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/import/lib/regenerate_ids.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, - { - "plugin": "@kbn/core-saved-objects-import-export-server-internal", - "path": "packages/core/saved-objects/core-saved-objects-import-export-server-internal/src/export/apply_export_transforms.ts" - }, { "plugin": "@kbn/core-saved-objects-browser-internal", "path": "packages/core/saved-objects/core-saved-objects-browser-internal/src/simple_saved_object.test.ts" @@ -1647,14 +1647,6 @@ "plugin": "visualizations", "path": "src/plugins/visualizations/public/legacy/embeddable/visualize_embeddable.tsx" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/shareable_runtime/types.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/public/services/persistence/saved_workspace_references.ts" @@ -1671,6 +1663,14 @@ "plugin": "graph", "path": "x-pack/plugins/graph/public/helpers/saved_workspace_utils.ts" }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts" + }, { "plugin": "@kbn/core", "path": "src/core/types/index.ts" @@ -2056,19 +2056,19 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts" + "path": "x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts" }, { "plugin": "graph", @@ -2104,11 +2104,11 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/common/bwc/types.ts" + "path": "src/platform/plugins/shared/dashboard/common/bwc/types.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/common/bwc/types.ts" + "path": "src/platform/plugins/shared/dashboard/common/bwc/types.ts" }, { "plugin": "@kbn/core", @@ -2216,23 +2216,23 @@ }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/migrate_base_input.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts" }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/migrate_base_input.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts" }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/migrate_base_input.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts" }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/inject.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/inject.ts" }, { "plugin": "embeddable", - "path": "src/plugins/embeddable/common/lib/inject.ts" + "path": "src/platform/plugins/shared/embeddable/common/lib/inject.ts" }, { "plugin": "uiActionsEnhanced", @@ -2372,171 +2372,171 @@ }, { "plugin": "controls", - "path": "src/plugins/controls/server/control_group/control_group_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/control_group/control_group_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/control_group/control_group_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/options_list/options_list_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/range_slider/range_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/range_slider/range_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/range_slider/range_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/time_slider/time_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/time_slider/time_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts" }, { "plugin": "controls", - "path": "src/plugins/controls/server/time_slider/time_slider_persistable_state.ts" + "path": "src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/migrations/references.ts" + "path": "x-pack/platform/plugins/shared/maps/common/migrations/references.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/common/references.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/common/references.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts" + "plugin": "savedObjectsTagging", + "path": "x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts" + "plugin": "globalSearchProviders", + "path": "x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "plugin": "globalSearchProviders", + "path": "x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts" + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts" }, { - "plugin": "uiActionsEnhanced", - "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts" }, { - "plugin": "uiActionsEnhanced", - "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts" }, { - "plugin": "uiActionsEnhanced", - "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/common/references.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/common/references.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/public/utils.test.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts" }, { - "plugin": "savedObjectsTagging", - "path": "x-pack/plugins/saved_objects_tagging/common/test_utils/index.ts" + "plugin": "uiActionsEnhanced", + "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" }, { - "plugin": "globalSearchProviders", - "path": "x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts" + "plugin": "uiActionsEnhanced", + "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" }, { - "plugin": "globalSearchProviders", - "path": "x-pack/plugins/global_search_providers/server/providers/saved_objects/map_object_to_result.test.ts" + "plugin": "uiActionsEnhanced", + "path": "src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts" }, { "plugin": "expressions", diff --git a/api_docs/kbn_core_saved_objects_common.mdx b/api_docs/kbn_core_saved_objects_common.mdx index c4c75004be901..b4840b7709ba7 100644 --- a/api_docs/kbn_core_saved_objects_common.mdx +++ b/api_docs/kbn_core_saved_objects_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-common title: "@kbn/core-saved-objects-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-common'] --- import kbnCoreSavedObjectsCommonObj from './kbn_core_saved_objects_common.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx index 8aca4d9e21da7..9f144358c571b 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-internal title: "@kbn/core-saved-objects-import-export-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-internal'] --- import kbnCoreSavedObjectsImportExportServerInternalObj from './kbn_core_saved_objects_import_export_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx index 0952c4e22b27c..aa90f34ac0cb7 100644 --- a/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_import_export_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-import-export-server-mocks title: "@kbn/core-saved-objects-import-export-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-import-export-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-import-export-server-mocks'] --- import kbnCoreSavedObjectsImportExportServerMocksObj from './kbn_core_saved_objects_import_export_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx index 32bbe896e00f1..ba79d0c937392 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-internal title: "@kbn/core-saved-objects-migration-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-internal'] --- import kbnCoreSavedObjectsMigrationServerInternalObj from './kbn_core_saved_objects_migration_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx index 01ff3c9fb1906..e657ad549a5c8 100644 --- a/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_migration_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-migration-server-mocks title: "@kbn/core-saved-objects-migration-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-migration-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-migration-server-mocks'] --- import kbnCoreSavedObjectsMigrationServerMocksObj from './kbn_core_saved_objects_migration_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server.devdocs.json b/api_docs/kbn_core_saved_objects_server.devdocs.json index 6f5b9e9a49703..5d4d6f26a4b42 100644 --- a/api_docs/kbn_core_saved_objects_server.devdocs.json +++ b/api_docs/kbn_core_saved_objects_server.devdocs.json @@ -5918,18 +5918,6 @@ "plugin": "@kbn/core-saved-objects-server-internal", "path": "packages/core/saved-objects/core-saved-objects-server-internal/src/routes/legacy_import_export/lib/import_dashboards.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts" - }, { "plugin": "graph", "path": "x-pack/plugins/graph/server/sample_data/logs.ts" @@ -5943,16 +5931,16 @@ "path": "x-pack/plugins/graph/server/sample_data/flights.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts" }, { "plugin": "alerting", @@ -5963,24 +5951,16 @@ "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/packages/get.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts" }, { "plugin": "osquery", @@ -6070,6 +6050,26 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/risk_score/prebuilt_saved_objects/saved_object/user_risk_score_dashboards.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts" + }, { "plugin": "lists", "path": "x-pack/solutions/security/plugins/lists/server/services/exception_lists/exception_list_client.mock.ts" @@ -6198,6 +6198,66 @@ "plugin": "@kbn/core", "path": "src/core/server/index.ts" }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, + { + "plugin": "actions", + "path": "x-pack/plugins/actions/server/types.ts" + }, { "plugin": "@kbn/alerting-types", "path": "packages/kbn-alerting-types/rule_types.ts" @@ -6259,64 +6319,12 @@ "path": "x-pack/plugins/alerting/common/rule.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/update/update.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" - }, - { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" }, { - "plugin": "actions", - "path": "x-pack/plugins/actions/server/application/connector/methods/create/create.ts" + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" }, { "plugin": "alerting", @@ -6335,12 +6343,16 @@ "path": "x-pack/plugins/alerting/server/types.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts" + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + }, + { + "plugin": "enterpriseSearch", + "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" }, { "plugin": "savedSearch", @@ -6351,52 +6363,40 @@ "path": "src/plugins/saved_search/server/saved_objects/search_migrations.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/custom_elements/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "plugin": "taskManager", + "path": "x-pack/plugins/task_manager/server/task_store.test.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/find.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts" }, { "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" - }, - { - "plugin": "enterpriseSearch", - "path": "x-pack/plugins/enterprise_search/server/collectors/lib/telemetry.ts" + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { - "plugin": "taskManager", - "path": "x-pack/plugins/task_manager/server/task_store.test.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts" }, { "plugin": "securitySolution", @@ -10666,10 +10666,6 @@ "plugin": "taskManager", "path": "x-pack/plugins/task_manager/server/saved_objects/index.ts" }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/saved_objects/data_views.ts" - }, { "plugin": "spaces", "path": "x-pack/plugins/spaces/server/saved_objects/saved_objects_service.ts" @@ -10678,10 +10674,6 @@ "plugin": "spaces", "path": "x-pack/plugins/spaces/server/saved_objects/saved_objects_service.ts" }, - { - "plugin": "share", - "path": "src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts" - }, { "plugin": "actions", "path": "x-pack/plugins/actions/server/saved_objects/index.ts" @@ -10690,6 +10682,18 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/saved_objects/index.ts" }, + { + "plugin": "@kbn/core-saved-objects-migration-server-mocks", + "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/kibana_migrator.mock.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/saved_objects/data_views.ts" + }, + { + "plugin": "share", + "path": "src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts" + }, { "plugin": "data", "path": "src/plugins/data/server/saved_objects/query.ts" @@ -10708,27 +10712,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" - }, - { - "plugin": "@kbn/core-saved-objects-migration-server-mocks", - "path": "packages/core/saved-objects/core-saved-objects-migration-server-mocks/src/kibana_migrator.mock.ts" - }, - { - "plugin": "savedSearch", - "path": "src/plugins/saved_search/server/saved_objects/search.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad_template.ts" + "path": "src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" }, { "plugin": "lens", @@ -10766,41 +10750,57 @@ "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/server/saved_objects/saved_objects.ts" }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" + }, + { + "plugin": "savedSearch", + "path": "src/plugins/saved_search/server/saved_objects/search.ts" + }, + { + "plugin": "apmDataAccess", + "path": "x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts" + }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/saved_objects/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" + "plugin": "apm", + "path": "x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts" }, { - "plugin": "apmDataAccess", - "path": "x-pack/plugins/observability_solution/apm_data_access/server/saved_objects/apm_indices.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts" }, { - "plugin": "apm", - "path": "x-pack/plugins/observability_solution/apm/server/saved_objects/apm_service_groups.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts" + }, + { + "plugin": "maps", + "path": "x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts" }, { "plugin": "lists", @@ -10858,10 +10858,6 @@ "plugin": "eventAnnotation", "path": "src/plugins/event_annotation/server/saved_objects.ts" }, - { - "plugin": "links", - "path": "src/plugins/links/server/saved_objects/links.ts" - }, { "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/server/services/management.test.ts" @@ -10874,6 +10870,10 @@ "plugin": "share", "path": "src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.test.ts" }, + { + "plugin": "links", + "path": "src/platform/plugins/private/links/server/saved_objects/links.ts" + }, { "plugin": "@kbn/core-test-helpers-so-type-serializer", "path": "packages/core/test-helpers/core-test-helpers-so-type-serializer/src/extract_migration_info.ts" @@ -11371,7 +11371,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" + "path": "src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" }, { "plugin": "savedSearch", @@ -11521,10 +11521,6 @@ "plugin": "@kbn/core-saved-objects-migration-server-internal", "path": "packages/core/saved-objects/core-saved-objects-migration-server-internal/src/document_migrator/validate_migrations.ts" }, - { - "plugin": "dataViews", - "path": "src/plugins/data_views/server/saved_objects/data_views.ts" - }, { "plugin": "actions", "path": "x-pack/plugins/actions/server/saved_objects/index.ts" @@ -11533,6 +11529,10 @@ "plugin": "actions", "path": "x-pack/plugins/actions/server/saved_objects/index.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/saved_objects/data_views.ts" + }, { "plugin": "data", "path": "src/plugins/data/server/saved_objects/query.ts" @@ -11543,19 +11543,7 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" - }, - { - "plugin": "savedSearch", - "path": "src/plugins/saved_search/server/saved_objects/search.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/workpad.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/server/saved_objects/custom_element.ts" + "path": "src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts" }, { "plugin": "lens", @@ -11581,17 +11569,29 @@ "plugin": "cases", "path": "x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts" }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" + }, + { + "plugin": "savedSearch", + "path": "src/plugins/saved_search/server/saved_objects/search.ts" + }, { "plugin": "savedObjectsTagging", "path": "x-pack/plugins/saved_objects_tagging/server/saved_objects/tag.ts" }, { - "plugin": "graph", - "path": "x-pack/plugins/graph/server/saved_objects/graph_workspace.ts" + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts" + "path": "x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts" }, { "plugin": "lists", diff --git a/api_docs/kbn_core_saved_objects_server.mdx b/api_docs/kbn_core_saved_objects_server.mdx index 22b1b5b816b17..d4415a6020338 100644 --- a/api_docs/kbn_core_saved_objects_server.mdx +++ b/api_docs/kbn_core_saved_objects_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server title: "@kbn/core-saved-objects-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server'] --- import kbnCoreSavedObjectsServerObj from './kbn_core_saved_objects_server.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_internal.mdx b/api_docs/kbn_core_saved_objects_server_internal.mdx index 96a5e7b02cab2..56a73a6c2f703 100644 --- a/api_docs/kbn_core_saved_objects_server_internal.mdx +++ b/api_docs/kbn_core_saved_objects_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-internal title: "@kbn/core-saved-objects-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-internal'] --- import kbnCoreSavedObjectsServerInternalObj from './kbn_core_saved_objects_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_server_mocks.mdx b/api_docs/kbn_core_saved_objects_server_mocks.mdx index 4d1cf0c2cb698..765af135682d3 100644 --- a/api_docs/kbn_core_saved_objects_server_mocks.mdx +++ b/api_docs/kbn_core_saved_objects_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-server-mocks title: "@kbn/core-saved-objects-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-server-mocks'] --- import kbnCoreSavedObjectsServerMocksObj from './kbn_core_saved_objects_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_saved_objects_utils_server.mdx b/api_docs/kbn_core_saved_objects_utils_server.mdx index f31bb825c23e7..72e2f9c399610 100644 --- a/api_docs/kbn_core_saved_objects_utils_server.mdx +++ b/api_docs/kbn_core_saved_objects_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-saved-objects-utils-server title: "@kbn/core-saved-objects-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-saved-objects-utils-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-saved-objects-utils-server'] --- import kbnCoreSavedObjectsUtilsServerObj from './kbn_core_saved_objects_utils_server.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser.mdx b/api_docs/kbn_core_security_browser.mdx index c84f65e560572..7d5c874f92725 100644 --- a/api_docs/kbn_core_security_browser.mdx +++ b/api_docs/kbn_core_security_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser title: "@kbn/core-security-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser'] --- import kbnCoreSecurityBrowserObj from './kbn_core_security_browser.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser_internal.mdx b/api_docs/kbn_core_security_browser_internal.mdx index c0e228e2ca6bc..a993fc33fcda0 100644 --- a/api_docs/kbn_core_security_browser_internal.mdx +++ b/api_docs/kbn_core_security_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser-internal title: "@kbn/core-security-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser-internal'] --- import kbnCoreSecurityBrowserInternalObj from './kbn_core_security_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_security_browser_mocks.mdx b/api_docs/kbn_core_security_browser_mocks.mdx index 8abba8b3c2ee4..c7f303dfb3b9d 100644 --- a/api_docs/kbn_core_security_browser_mocks.mdx +++ b/api_docs/kbn_core_security_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-browser-mocks title: "@kbn/core-security-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-browser-mocks'] --- import kbnCoreSecurityBrowserMocksObj from './kbn_core_security_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_security_common.mdx b/api_docs/kbn_core_security_common.mdx index 9048483f20fb7..6b0048dbbf3ed 100644 --- a/api_docs/kbn_core_security_common.mdx +++ b/api_docs/kbn_core_security_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-common title: "@kbn/core-security-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-common'] --- import kbnCoreSecurityCommonObj from './kbn_core_security_common.devdocs.json'; diff --git a/api_docs/kbn_core_security_server.mdx b/api_docs/kbn_core_security_server.mdx index 98a130e92c850..97fa1ff450b5a 100644 --- a/api_docs/kbn_core_security_server.mdx +++ b/api_docs/kbn_core_security_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server title: "@kbn/core-security-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server'] --- import kbnCoreSecurityServerObj from './kbn_core_security_server.devdocs.json'; diff --git a/api_docs/kbn_core_security_server_internal.mdx b/api_docs/kbn_core_security_server_internal.mdx index 6c62b878d1b60..9ae53c43e58ca 100644 --- a/api_docs/kbn_core_security_server_internal.mdx +++ b/api_docs/kbn_core_security_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server-internal title: "@kbn/core-security-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server-internal'] --- import kbnCoreSecurityServerInternalObj from './kbn_core_security_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_security_server_mocks.mdx b/api_docs/kbn_core_security_server_mocks.mdx index d6487fd144d97..e33fde624918d 100644 --- a/api_docs/kbn_core_security_server_mocks.mdx +++ b/api_docs/kbn_core_security_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-security-server-mocks title: "@kbn/core-security-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-security-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-security-server-mocks'] --- import kbnCoreSecurityServerMocksObj from './kbn_core_security_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_status_common.mdx b/api_docs/kbn_core_status_common.mdx index 5c9e15500f2ee..628576a2f5d42 100644 --- a/api_docs/kbn_core_status_common.mdx +++ b/api_docs/kbn_core_status_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-common title: "@kbn/core-status-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-common'] --- import kbnCoreStatusCommonObj from './kbn_core_status_common.devdocs.json'; diff --git a/api_docs/kbn_core_status_server.mdx b/api_docs/kbn_core_status_server.mdx index 34e582776c9c1..584afab8b0cf3 100644 --- a/api_docs/kbn_core_status_server.mdx +++ b/api_docs/kbn_core_status_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server title: "@kbn/core-status-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server'] --- import kbnCoreStatusServerObj from './kbn_core_status_server.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_internal.mdx b/api_docs/kbn_core_status_server_internal.mdx index 832b528cf9c6c..5aae0aecd1071 100644 --- a/api_docs/kbn_core_status_server_internal.mdx +++ b/api_docs/kbn_core_status_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-internal title: "@kbn/core-status-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-internal'] --- import kbnCoreStatusServerInternalObj from './kbn_core_status_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_status_server_mocks.mdx b/api_docs/kbn_core_status_server_mocks.mdx index fb51fcbfa8b1d..0f97fcd929955 100644 --- a/api_docs/kbn_core_status_server_mocks.mdx +++ b/api_docs/kbn_core_status_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-status-server-mocks title: "@kbn/core-status-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-status-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-status-server-mocks'] --- import kbnCoreStatusServerMocksObj from './kbn_core_status_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx index 975bb5070b1d5..13b3fc3abd469 100644 --- a/api_docs/kbn_core_test_helpers_deprecations_getters.mdx +++ b/api_docs/kbn_core_test_helpers_deprecations_getters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-deprecations-getters title: "@kbn/core-test-helpers-deprecations-getters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-deprecations-getters plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-deprecations-getters'] --- import kbnCoreTestHelpersDeprecationsGettersObj from './kbn_core_test_helpers_deprecations_getters.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx index 448c4b4ffbeed..d7c03f35ca63c 100644 --- a/api_docs/kbn_core_test_helpers_http_setup_browser.mdx +++ b/api_docs/kbn_core_test_helpers_http_setup_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-http-setup-browser title: "@kbn/core-test-helpers-http-setup-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-http-setup-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-http-setup-browser'] --- import kbnCoreTestHelpersHttpSetupBrowserObj from './kbn_core_test_helpers_http_setup_browser.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_kbn_server.mdx b/api_docs/kbn_core_test_helpers_kbn_server.mdx index 4a764dd89293e..8db35c83ed211 100644 --- a/api_docs/kbn_core_test_helpers_kbn_server.mdx +++ b/api_docs/kbn_core_test_helpers_kbn_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-kbn-server title: "@kbn/core-test-helpers-kbn-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-kbn-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-kbn-server'] --- import kbnCoreTestHelpersKbnServerObj from './kbn_core_test_helpers_kbn_server.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_model_versions.mdx b/api_docs/kbn_core_test_helpers_model_versions.mdx index c85274cb1bb20..eeeba8f73ad53 100644 --- a/api_docs/kbn_core_test_helpers_model_versions.mdx +++ b/api_docs/kbn_core_test_helpers_model_versions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-model-versions title: "@kbn/core-test-helpers-model-versions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-model-versions plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-model-versions'] --- import kbnCoreTestHelpersModelVersionsObj from './kbn_core_test_helpers_model_versions.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx index 8d9a5089c29af..8326d841772be 100644 --- a/api_docs/kbn_core_test_helpers_so_type_serializer.mdx +++ b/api_docs/kbn_core_test_helpers_so_type_serializer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-so-type-serializer title: "@kbn/core-test-helpers-so-type-serializer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-so-type-serializer plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-so-type-serializer'] --- import kbnCoreTestHelpersSoTypeSerializerObj from './kbn_core_test_helpers_so_type_serializer.devdocs.json'; diff --git a/api_docs/kbn_core_test_helpers_test_utils.mdx b/api_docs/kbn_core_test_helpers_test_utils.mdx index 22740b7697141..54efb843d8aa3 100644 --- a/api_docs/kbn_core_test_helpers_test_utils.mdx +++ b/api_docs/kbn_core_test_helpers_test_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-test-helpers-test-utils title: "@kbn/core-test-helpers-test-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-test-helpers-test-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-test-helpers-test-utils'] --- import kbnCoreTestHelpersTestUtilsObj from './kbn_core_test_helpers_test_utils.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser.mdx b/api_docs/kbn_core_theme_browser.mdx index b3360ac6a03be..86c117b01ebe9 100644 --- a/api_docs/kbn_core_theme_browser.mdx +++ b/api_docs/kbn_core_theme_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser title: "@kbn/core-theme-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser'] --- import kbnCoreThemeBrowserObj from './kbn_core_theme_browser.devdocs.json'; diff --git a/api_docs/kbn_core_theme_browser_mocks.mdx b/api_docs/kbn_core_theme_browser_mocks.mdx index b3ea8bad17ebb..1581b6b27c666 100644 --- a/api_docs/kbn_core_theme_browser_mocks.mdx +++ b/api_docs/kbn_core_theme_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-theme-browser-mocks title: "@kbn/core-theme-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-theme-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-theme-browser-mocks'] --- import kbnCoreThemeBrowserMocksObj from './kbn_core_theme_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser.mdx b/api_docs/kbn_core_ui_settings_browser.mdx index 452988c698e4b..c94adab88950e 100644 --- a/api_docs/kbn_core_ui_settings_browser.mdx +++ b/api_docs/kbn_core_ui_settings_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser title: "@kbn/core-ui-settings-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser'] --- import kbnCoreUiSettingsBrowserObj from './kbn_core_ui_settings_browser.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_internal.mdx b/api_docs/kbn_core_ui_settings_browser_internal.mdx index d1adc97d16999..ee851433acb5c 100644 --- a/api_docs/kbn_core_ui_settings_browser_internal.mdx +++ b/api_docs/kbn_core_ui_settings_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-internal title: "@kbn/core-ui-settings-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-internal'] --- import kbnCoreUiSettingsBrowserInternalObj from './kbn_core_ui_settings_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_browser_mocks.mdx b/api_docs/kbn_core_ui_settings_browser_mocks.mdx index e734b983c601c..a5dcdcd740cd1 100644 --- a/api_docs/kbn_core_ui_settings_browser_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-browser-mocks title: "@kbn/core-ui-settings-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-browser-mocks'] --- import kbnCoreUiSettingsBrowserMocksObj from './kbn_core_ui_settings_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_common.devdocs.json b/api_docs/kbn_core_ui_settings_common.devdocs.json index 6ddd9dac5f601..6d3923c014237 100644 --- a/api_docs/kbn_core_ui_settings_common.devdocs.json +++ b/api_docs/kbn_core_ui_settings_common.devdocs.json @@ -601,16 +601,16 @@ "trackAdoption": false, "references": [ { - "plugin": "discover", - "path": "src/plugins/discover/server/ui_settings.ts" + "plugin": "@kbn/management-settings-field-definition", + "path": "src/platform/packages/shared/kbn-management/settings/field_definition/get_definition.ts" }, { "plugin": "discover", "path": "src/plugins/discover/server/ui_settings.ts" }, { - "plugin": "@kbn/management-settings-field-definition", - "path": "src/platform/packages/shared/kbn-management/settings/field_definition/get_definition.ts" + "plugin": "discover", + "path": "src/plugins/discover/server/ui_settings.ts" } ] }, diff --git a/api_docs/kbn_core_ui_settings_common.mdx b/api_docs/kbn_core_ui_settings_common.mdx index f015cd623c626..662d6111e4ab5 100644 --- a/api_docs/kbn_core_ui_settings_common.mdx +++ b/api_docs/kbn_core_ui_settings_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-common title: "@kbn/core-ui-settings-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-common'] --- import kbnCoreUiSettingsCommonObj from './kbn_core_ui_settings_common.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server.mdx b/api_docs/kbn_core_ui_settings_server.mdx index a12e67e2e6e00..1e16fd85f5b32 100644 --- a/api_docs/kbn_core_ui_settings_server.mdx +++ b/api_docs/kbn_core_ui_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server title: "@kbn/core-ui-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server'] --- import kbnCoreUiSettingsServerObj from './kbn_core_ui_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_internal.mdx b/api_docs/kbn_core_ui_settings_server_internal.mdx index 83ee4a1a7f6f5..28686cc5f84c2 100644 --- a/api_docs/kbn_core_ui_settings_server_internal.mdx +++ b/api_docs/kbn_core_ui_settings_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-internal title: "@kbn/core-ui-settings-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-internal'] --- import kbnCoreUiSettingsServerInternalObj from './kbn_core_ui_settings_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_ui_settings_server_mocks.mdx b/api_docs/kbn_core_ui_settings_server_mocks.mdx index c2511de25892d..5a2d894cffb2d 100644 --- a/api_docs/kbn_core_ui_settings_server_mocks.mdx +++ b/api_docs/kbn_core_ui_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-ui-settings-server-mocks title: "@kbn/core-ui-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-ui-settings-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-ui-settings-server-mocks'] --- import kbnCoreUiSettingsServerMocksObj from './kbn_core_ui_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server.mdx b/api_docs/kbn_core_usage_data_server.mdx index 12854cbf35f1c..734b7a3352d7d 100644 --- a/api_docs/kbn_core_usage_data_server.mdx +++ b/api_docs/kbn_core_usage_data_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server title: "@kbn/core-usage-data-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server'] --- import kbnCoreUsageDataServerObj from './kbn_core_usage_data_server.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_internal.mdx b/api_docs/kbn_core_usage_data_server_internal.mdx index ff9bfff3c00df..83fd45470471b 100644 --- a/api_docs/kbn_core_usage_data_server_internal.mdx +++ b/api_docs/kbn_core_usage_data_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-internal title: "@kbn/core-usage-data-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-internal'] --- import kbnCoreUsageDataServerInternalObj from './kbn_core_usage_data_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_usage_data_server_mocks.mdx b/api_docs/kbn_core_usage_data_server_mocks.mdx index 1541491551be1..1726f3c870838 100644 --- a/api_docs/kbn_core_usage_data_server_mocks.mdx +++ b/api_docs/kbn_core_usage_data_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-usage-data-server-mocks title: "@kbn/core-usage-data-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-usage-data-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-usage-data-server-mocks'] --- import kbnCoreUsageDataServerMocksObj from './kbn_core_usage_data_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser.mdx b/api_docs/kbn_core_user_profile_browser.mdx index a48a6d4a602d6..f59f49925f388 100644 --- a/api_docs/kbn_core_user_profile_browser.mdx +++ b/api_docs/kbn_core_user_profile_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser title: "@kbn/core-user-profile-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser'] --- import kbnCoreUserProfileBrowserObj from './kbn_core_user_profile_browser.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser_internal.mdx b/api_docs/kbn_core_user_profile_browser_internal.mdx index eb72873a68f8a..09af5394dc93b 100644 --- a/api_docs/kbn_core_user_profile_browser_internal.mdx +++ b/api_docs/kbn_core_user_profile_browser_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser-internal title: "@kbn/core-user-profile-browser-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser-internal'] --- import kbnCoreUserProfileBrowserInternalObj from './kbn_core_user_profile_browser_internal.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_browser_mocks.mdx b/api_docs/kbn_core_user_profile_browser_mocks.mdx index 4bc925bb493d7..4446a2d575324 100644 --- a/api_docs/kbn_core_user_profile_browser_mocks.mdx +++ b/api_docs/kbn_core_user_profile_browser_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-browser-mocks title: "@kbn/core-user-profile-browser-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-browser-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-browser-mocks'] --- import kbnCoreUserProfileBrowserMocksObj from './kbn_core_user_profile_browser_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_common.mdx b/api_docs/kbn_core_user_profile_common.mdx index f4215a9a1beb9..4ff5e543e0268 100644 --- a/api_docs/kbn_core_user_profile_common.mdx +++ b/api_docs/kbn_core_user_profile_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-common title: "@kbn/core-user-profile-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-common'] --- import kbnCoreUserProfileCommonObj from './kbn_core_user_profile_common.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server.mdx b/api_docs/kbn_core_user_profile_server.mdx index de2858e8966e5..747e584c4b384 100644 --- a/api_docs/kbn_core_user_profile_server.mdx +++ b/api_docs/kbn_core_user_profile_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server title: "@kbn/core-user-profile-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server'] --- import kbnCoreUserProfileServerObj from './kbn_core_user_profile_server.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server_internal.mdx b/api_docs/kbn_core_user_profile_server_internal.mdx index df6162e450095..2d216b31a04f7 100644 --- a/api_docs/kbn_core_user_profile_server_internal.mdx +++ b/api_docs/kbn_core_user_profile_server_internal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server-internal title: "@kbn/core-user-profile-server-internal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server-internal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server-internal'] --- import kbnCoreUserProfileServerInternalObj from './kbn_core_user_profile_server_internal.devdocs.json'; diff --git a/api_docs/kbn_core_user_profile_server_mocks.mdx b/api_docs/kbn_core_user_profile_server_mocks.mdx index 860597053f047..0efe79db6ffbe 100644 --- a/api_docs/kbn_core_user_profile_server_mocks.mdx +++ b/api_docs/kbn_core_user_profile_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-profile-server-mocks title: "@kbn/core-user-profile-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-profile-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-profile-server-mocks'] --- import kbnCoreUserProfileServerMocksObj from './kbn_core_user_profile_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server.mdx b/api_docs/kbn_core_user_settings_server.mdx index b4062e4732901..c00b8730d43f5 100644 --- a/api_docs/kbn_core_user_settings_server.mdx +++ b/api_docs/kbn_core_user_settings_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server title: "@kbn/core-user-settings-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server'] --- import kbnCoreUserSettingsServerObj from './kbn_core_user_settings_server.devdocs.json'; diff --git a/api_docs/kbn_core_user_settings_server_mocks.mdx b/api_docs/kbn_core_user_settings_server_mocks.mdx index 94d5bbf605092..e57c277125cb8 100644 --- a/api_docs/kbn_core_user_settings_server_mocks.mdx +++ b/api_docs/kbn_core_user_settings_server_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-core-user-settings-server-mocks title: "@kbn/core-user-settings-server-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/core-user-settings-server-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/core-user-settings-server-mocks'] --- import kbnCoreUserSettingsServerMocksObj from './kbn_core_user_settings_server_mocks.devdocs.json'; diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx index c2587071643c8..74bf45dd87f2b 100644 --- a/api_docs/kbn_crypto.mdx +++ b/api_docs/kbn_crypto.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto title: "@kbn/crypto" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] --- import kbnCryptoObj from './kbn_crypto.devdocs.json'; diff --git a/api_docs/kbn_crypto_browser.mdx b/api_docs/kbn_crypto_browser.mdx index 955e706f04fb9..9291e4416f0f5 100644 --- a/api_docs/kbn_crypto_browser.mdx +++ b/api_docs/kbn_crypto_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-crypto-browser title: "@kbn/crypto-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/crypto-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto-browser'] --- import kbnCryptoBrowserObj from './kbn_crypto_browser.devdocs.json'; diff --git a/api_docs/kbn_custom_icons.mdx b/api_docs/kbn_custom_icons.mdx index 5e38358f4dc8e..07c3885946be4 100644 --- a/api_docs/kbn_custom_icons.mdx +++ b/api_docs/kbn_custom_icons.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-custom-icons title: "@kbn/custom-icons" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/custom-icons plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-icons'] --- import kbnCustomIconsObj from './kbn_custom_icons.devdocs.json'; diff --git a/api_docs/kbn_custom_integrations.mdx b/api_docs/kbn_custom_integrations.mdx index 6bb2827e3e3bb..85407399f0ddd 100644 --- a/api_docs/kbn_custom_integrations.mdx +++ b/api_docs/kbn_custom_integrations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-custom-integrations title: "@kbn/custom-integrations" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/custom-integrations plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/custom-integrations'] --- import kbnCustomIntegrationsObj from './kbn_custom_integrations.devdocs.json'; diff --git a/api_docs/kbn_cypress_config.mdx b/api_docs/kbn_cypress_config.mdx index cdc5b9fcb6a54..6d581eff6df78 100644 --- a/api_docs/kbn_cypress_config.mdx +++ b/api_docs/kbn_cypress_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-cypress-config title: "@kbn/cypress-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/cypress-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cypress-config'] --- import kbnCypressConfigObj from './kbn_cypress_config.devdocs.json'; diff --git a/api_docs/kbn_data_forge.mdx b/api_docs/kbn_data_forge.mdx index 4304c4dce4e82..83b2eddb2e1ff 100644 --- a/api_docs/kbn_data_forge.mdx +++ b/api_docs/kbn_data_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-forge title: "@kbn/data-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-forge plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-forge'] --- import kbnDataForgeObj from './kbn_data_forge.devdocs.json'; diff --git a/api_docs/kbn_data_service.mdx b/api_docs/kbn_data_service.mdx index be0e460f4c852..20d6b1b94f10f 100644 --- a/api_docs/kbn_data_service.mdx +++ b/api_docs/kbn_data_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-service title: "@kbn/data-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-service plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-service'] --- import kbnDataServiceObj from './kbn_data_service.devdocs.json'; diff --git a/api_docs/kbn_data_stream_adapter.mdx b/api_docs/kbn_data_stream_adapter.mdx index 50edbe6d01e15..d8aa5c9f5ece1 100644 --- a/api_docs/kbn_data_stream_adapter.mdx +++ b/api_docs/kbn_data_stream_adapter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-stream-adapter title: "@kbn/data-stream-adapter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-stream-adapter plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-stream-adapter'] --- import kbnDataStreamAdapterObj from './kbn_data_stream_adapter.devdocs.json'; diff --git a/api_docs/kbn_data_view_utils.mdx b/api_docs/kbn_data_view_utils.mdx index 7b0c42383329a..82ff6c3ca2a32 100644 --- a/api_docs/kbn_data_view_utils.mdx +++ b/api_docs/kbn_data_view_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-data-view-utils title: "@kbn/data-view-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/data-view-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/data-view-utils'] --- import kbnDataViewUtilsObj from './kbn_data_view_utils.devdocs.json'; diff --git a/api_docs/kbn_datemath.mdx b/api_docs/kbn_datemath.mdx index 6e78a864fd93c..0c35e17709710 100644 --- a/api_docs/kbn_datemath.mdx +++ b/api_docs/kbn_datemath.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-datemath title: "@kbn/datemath" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/datemath plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/datemath'] --- import kbnDatemathObj from './kbn_datemath.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_analytics.mdx b/api_docs/kbn_deeplinks_analytics.mdx index f66930921fa60..ce8bdea773c82 100644 --- a/api_docs/kbn_deeplinks_analytics.mdx +++ b/api_docs/kbn_deeplinks_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-analytics title: "@kbn/deeplinks-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-analytics plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-analytics'] --- import kbnDeeplinksAnalyticsObj from './kbn_deeplinks_analytics.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_devtools.mdx b/api_docs/kbn_deeplinks_devtools.mdx index 6c0af0612afb7..ca1783cad1212 100644 --- a/api_docs/kbn_deeplinks_devtools.mdx +++ b/api_docs/kbn_deeplinks_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-devtools title: "@kbn/deeplinks-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-devtools plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-devtools'] --- import kbnDeeplinksDevtoolsObj from './kbn_deeplinks_devtools.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_fleet.devdocs.json b/api_docs/kbn_deeplinks_fleet.devdocs.json index 9aad269525c69..eaf40b94b1ed9 100644 --- a/api_docs/kbn_deeplinks_fleet.devdocs.json +++ b/api_docs/kbn_deeplinks_fleet.devdocs.json @@ -32,7 +32,7 @@ "signature": [ "\"fleet\"" ], - "path": "packages/deeplinks/fleet/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/fleet/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -47,7 +47,7 @@ "signature": [ "\"fleet\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" ], - "path": "packages/deeplinks/fleet/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/fleet/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -62,7 +62,7 @@ "signature": [ "\"settings\" | \"agents\" | \"policies\" | \"data_streams\" | \"enrollment_tokens\" | \"uninstall_tokens\"" ], - "path": "packages/deeplinks/fleet/deep_links.ts", + "path": "src/platform/packages/shared/deeplinks/fleet/deep_links.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_deeplinks_fleet.mdx b/api_docs/kbn_deeplinks_fleet.mdx index 358c51c853d9c..33d7ff5f6600a 100644 --- a/api_docs/kbn_deeplinks_fleet.mdx +++ b/api_docs/kbn_deeplinks_fleet.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-fleet title: "@kbn/deeplinks-fleet" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-fleet plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-fleet'] --- import kbnDeeplinksFleetObj from './kbn_deeplinks_fleet.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_management.mdx b/api_docs/kbn_deeplinks_management.mdx index c123467b827d2..309082b2ea1d9 100644 --- a/api_docs/kbn_deeplinks_management.mdx +++ b/api_docs/kbn_deeplinks_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-management title: "@kbn/deeplinks-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-management plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-management'] --- import kbnDeeplinksManagementObj from './kbn_deeplinks_management.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_ml.mdx b/api_docs/kbn_deeplinks_ml.mdx index 44d80bdb0b287..0e4a691028e15 100644 --- a/api_docs/kbn_deeplinks_ml.mdx +++ b/api_docs/kbn_deeplinks_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-ml title: "@kbn/deeplinks-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-ml plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-ml'] --- import kbnDeeplinksMlObj from './kbn_deeplinks_ml.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_observability.mdx b/api_docs/kbn_deeplinks_observability.mdx index aa57e6df6394d..7f406f2049380 100644 --- a/api_docs/kbn_deeplinks_observability.mdx +++ b/api_docs/kbn_deeplinks_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-observability title: "@kbn/deeplinks-observability" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-observability plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-observability'] --- import kbnDeeplinksObservabilityObj from './kbn_deeplinks_observability.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_search.mdx b/api_docs/kbn_deeplinks_search.mdx index 5ee037d8961dd..f15a033600e79 100644 --- a/api_docs/kbn_deeplinks_search.mdx +++ b/api_docs/kbn_deeplinks_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-search title: "@kbn/deeplinks-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-search plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-search'] --- import kbnDeeplinksSearchObj from './kbn_deeplinks_search.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_security.devdocs.json b/api_docs/kbn_deeplinks_security.devdocs.json index 03ce129ec8764..48b6513e8e6b8 100644 --- a/api_docs/kbn_deeplinks_security.devdocs.json +++ b/api_docs/kbn_deeplinks_security.devdocs.json @@ -58,7 +58,7 @@ "label": "DeepLinkId", "description": [], "signature": [ - "\"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\"" + "\"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:asset_inventory\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\"" ], "path": "src/platform/packages/shared/deeplinks/security/index.ts", "deprecated": false, @@ -73,7 +73,7 @@ "label": "LinkId", "description": [], "signature": [ - "\"\" | \"cases\" | \"alerts\" | \"rules\" | \"policy\" | \"overview\" | \"dashboards\" | \"kubernetes\" | \"cases_create\" | \"cases_configure\" | \"hosts\" | \"users\" | \"cloud_defend-policies\" | \"cloud_security_posture-dashboard\" | \"cloud_security_posture-findings\" | \"cloud_security_posture-benchmarks\" | \"network\" | \"data_quality\" | \"explore\" | \"assets\" | \"cloud_defend\" | \"notes\" | \"administration\" | \"attack_discovery\" | \"blocklist\" | \"cloud_security_posture-rules\" | \"detections\" | \"detection_response\" | \"endpoints\" | \"event_filters\" | \"exceptions\" | \"host_isolation_exceptions\" | \"hosts-all\" | \"hosts-anomalies\" | \"hosts-risk\" | \"hosts-events\" | \"hosts-sessions\" | \"hosts-uncommon_processes\" | \"investigations\" | \"get_started\" | \"machine_learning-landing\" | \"network-anomalies\" | \"network-dns\" | \"network-events\" | \"network-flows\" | \"network-http\" | \"network-tls\" | \"response_actions_history\" | \"rules-add\" | \"rules-create\" | \"rules-landing\" | \"siem_migrations-rules\" | \"threat_intelligence\" | \"timelines\" | \"timelines-templates\" | \"trusted_apps\" | \"users-all\" | \"users-anomalies\" | \"users-authentications\" | \"users-events\" | \"users-risk\" | \"entity_analytics\" | \"entity_analytics-management\" | \"entity_analytics-asset-classification\" | \"entity_analytics-entity_store_management\" | \"coverage-overview\"" + "\"\" | \"cases\" | \"alerts\" | \"rules\" | \"policy\" | \"overview\" | \"dashboards\" | \"kubernetes\" | \"cases_create\" | \"cases_configure\" | \"hosts\" | \"users\" | \"cloud_defend-policies\" | \"cloud_security_posture-dashboard\" | \"cloud_security_posture-findings\" | \"cloud_security_posture-benchmarks\" | \"network\" | \"data_quality\" | \"explore\" | \"assets\" | \"cloud_defend\" | \"notes\" | \"administration\" | \"asset_inventory\" | \"attack_discovery\" | \"blocklist\" | \"cloud_security_posture-rules\" | \"detections\" | \"detection_response\" | \"endpoints\" | \"event_filters\" | \"exceptions\" | \"host_isolation_exceptions\" | \"hosts-all\" | \"hosts-anomalies\" | \"hosts-risk\" | \"hosts-events\" | \"hosts-sessions\" | \"hosts-uncommon_processes\" | \"investigations\" | \"get_started\" | \"machine_learning-landing\" | \"network-anomalies\" | \"network-dns\" | \"network-events\" | \"network-flows\" | \"network-http\" | \"network-tls\" | \"response_actions_history\" | \"rules-add\" | \"rules-create\" | \"rules-landing\" | \"siem_migrations-rules\" | \"threat_intelligence\" | \"timelines\" | \"timelines-templates\" | \"trusted_apps\" | \"users-all\" | \"users-anomalies\" | \"users-authentications\" | \"users-events\" | \"users-risk\" | \"entity_analytics\" | \"entity_analytics-management\" | \"entity_analytics-asset-classification\" | \"entity_analytics-entity_store_management\" | \"coverage-overview\"" ], "path": "src/platform/packages/shared/deeplinks/security/index.ts", "deprecated": false, diff --git a/api_docs/kbn_deeplinks_security.mdx b/api_docs/kbn_deeplinks_security.mdx index ca066a4dcebf7..8255fc192d1da 100644 --- a/api_docs/kbn_deeplinks_security.mdx +++ b/api_docs/kbn_deeplinks_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-security title: "@kbn/deeplinks-security" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-security plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-security'] --- import kbnDeeplinksSecurityObj from './kbn_deeplinks_security.devdocs.json'; diff --git a/api_docs/kbn_deeplinks_shared.mdx b/api_docs/kbn_deeplinks_shared.mdx index 1e47e6f15aa12..1804acef74158 100644 --- a/api_docs/kbn_deeplinks_shared.mdx +++ b/api_docs/kbn_deeplinks_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-deeplinks-shared title: "@kbn/deeplinks-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/deeplinks-shared plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/deeplinks-shared'] --- import kbnDeeplinksSharedObj from './kbn_deeplinks_shared.devdocs.json'; diff --git a/api_docs/kbn_default_nav_analytics.mdx b/api_docs/kbn_default_nav_analytics.mdx index 6754e7a7f0c1b..07d6896867b1e 100644 --- a/api_docs/kbn_default_nav_analytics.mdx +++ b/api_docs/kbn_default_nav_analytics.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-analytics title: "@kbn/default-nav-analytics" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-analytics plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-analytics'] --- import kbnDefaultNavAnalyticsObj from './kbn_default_nav_analytics.devdocs.json'; diff --git a/api_docs/kbn_default_nav_devtools.mdx b/api_docs/kbn_default_nav_devtools.mdx index 860c492dd2ed6..6619c3baa8d66 100644 --- a/api_docs/kbn_default_nav_devtools.mdx +++ b/api_docs/kbn_default_nav_devtools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-devtools title: "@kbn/default-nav-devtools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-devtools plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-devtools'] --- import kbnDefaultNavDevtoolsObj from './kbn_default_nav_devtools.devdocs.json'; diff --git a/api_docs/kbn_default_nav_management.mdx b/api_docs/kbn_default_nav_management.mdx index dd5a293af9fe3..4a42d098817be 100644 --- a/api_docs/kbn_default_nav_management.mdx +++ b/api_docs/kbn_default_nav_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-management title: "@kbn/default-nav-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-management plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-management'] --- import kbnDefaultNavManagementObj from './kbn_default_nav_management.devdocs.json'; diff --git a/api_docs/kbn_default_nav_ml.mdx b/api_docs/kbn_default_nav_ml.mdx index 273eb45b5ec5a..e76faf99f592d 100644 --- a/api_docs/kbn_default_nav_ml.mdx +++ b/api_docs/kbn_default_nav_ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-default-nav-ml title: "@kbn/default-nav-ml" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/default-nav-ml plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/default-nav-ml'] --- import kbnDefaultNavMlObj from './kbn_default_nav_ml.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_errors.mdx b/api_docs/kbn_dev_cli_errors.mdx index 86dc19df1a0f6..37382fdd9ae6d 100644 --- a/api_docs/kbn_dev_cli_errors.mdx +++ b/api_docs/kbn_dev_cli_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-errors title: "@kbn/dev-cli-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-errors plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-errors'] --- import kbnDevCliErrorsObj from './kbn_dev_cli_errors.devdocs.json'; diff --git a/api_docs/kbn_dev_cli_runner.mdx b/api_docs/kbn_dev_cli_runner.mdx index 2200ae5925eae..894e6186cdbb3 100644 --- a/api_docs/kbn_dev_cli_runner.mdx +++ b/api_docs/kbn_dev_cli_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-cli-runner title: "@kbn/dev-cli-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-cli-runner plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-cli-runner'] --- import kbnDevCliRunnerObj from './kbn_dev_cli_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_proc_runner.mdx b/api_docs/kbn_dev_proc_runner.mdx index df915af3eef1a..6953364ed0a70 100644 --- a/api_docs/kbn_dev_proc_runner.mdx +++ b/api_docs/kbn_dev_proc_runner.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-proc-runner title: "@kbn/dev-proc-runner" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-proc-runner plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-proc-runner'] --- import kbnDevProcRunnerObj from './kbn_dev_proc_runner.devdocs.json'; diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx index dd25fe1f28c6c..3233c67769af7 100644 --- a/api_docs/kbn_dev_utils.mdx +++ b/api_docs/kbn_dev_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dev-utils title: "@kbn/dev-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dev-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] --- import kbnDevUtilsObj from './kbn_dev_utils.devdocs.json'; diff --git a/api_docs/kbn_discover_contextual_components.mdx b/api_docs/kbn_discover_contextual_components.mdx index f1a88913f1ffb..fd1607ec58e2e 100644 --- a/api_docs/kbn_discover_contextual_components.mdx +++ b/api_docs/kbn_discover_contextual_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-discover-contextual-components title: "@kbn/discover-contextual-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/discover-contextual-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/discover-contextual-components'] --- import kbnDiscoverContextualComponentsObj from './kbn_discover_contextual_components.devdocs.json'; diff --git a/api_docs/kbn_discover_utils.mdx b/api_docs/kbn_discover_utils.mdx index dbe0b806a48c6..f66b6491539d9 100644 --- a/api_docs/kbn_discover_utils.mdx +++ b/api_docs/kbn_discover_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-discover-utils title: "@kbn/discover-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/discover-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/discover-utils'] --- import kbnDiscoverUtilsObj from './kbn_discover_utils.devdocs.json'; diff --git a/api_docs/kbn_doc_links.mdx b/api_docs/kbn_doc_links.mdx index c0af493bd0026..55adfbc6204b8 100644 --- a/api_docs/kbn_doc_links.mdx +++ b/api_docs/kbn_doc_links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-doc-links title: "@kbn/doc-links" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/doc-links plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/doc-links'] --- import kbnDocLinksObj from './kbn_doc_links.devdocs.json'; diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx index 1b25fb168f974..378f6a49244b7 100644 --- a/api_docs/kbn_docs_utils.mdx +++ b/api_docs/kbn_docs_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-docs-utils title: "@kbn/docs-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/docs-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] --- import kbnDocsUtilsObj from './kbn_docs_utils.devdocs.json'; diff --git a/api_docs/kbn_dom_drag_drop.mdx b/api_docs/kbn_dom_drag_drop.mdx index 2ab6390c7bb45..7f78b49a7669f 100644 --- a/api_docs/kbn_dom_drag_drop.mdx +++ b/api_docs/kbn_dom_drag_drop.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-dom-drag-drop title: "@kbn/dom-drag-drop" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/dom-drag-drop plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dom-drag-drop'] --- import kbnDomDragDropObj from './kbn_dom_drag_drop.devdocs.json'; diff --git a/api_docs/kbn_ebt_tools.mdx b/api_docs/kbn_ebt_tools.mdx index afc0bbf880140..17eb8541229ae 100644 --- a/api_docs/kbn_ebt_tools.mdx +++ b/api_docs/kbn_ebt_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ebt-tools title: "@kbn/ebt-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ebt-tools plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ebt-tools'] --- import kbnEbtToolsObj from './kbn_ebt_tools.devdocs.json'; diff --git a/api_docs/kbn_ecs_data_quality_dashboard.mdx b/api_docs/kbn_ecs_data_quality_dashboard.mdx index a24f8bb7d05e6..2d1d0af2649ed 100644 --- a/api_docs/kbn_ecs_data_quality_dashboard.mdx +++ b/api_docs/kbn_ecs_data_quality_dashboard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ecs-data-quality-dashboard title: "@kbn/ecs-data-quality-dashboard" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ecs-data-quality-dashboard plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ecs-data-quality-dashboard'] --- import kbnEcsDataQualityDashboardObj from './kbn_ecs_data_quality_dashboard.devdocs.json'; diff --git a/api_docs/kbn_elastic_agent_utils.mdx b/api_docs/kbn_elastic_agent_utils.mdx index 59b0ffa9301c2..c468cdf15a744 100644 --- a/api_docs/kbn_elastic_agent_utils.mdx +++ b/api_docs/kbn_elastic_agent_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-agent-utils title: "@kbn/elastic-agent-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-agent-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-agent-utils'] --- import kbnElasticAgentUtilsObj from './kbn_elastic_agent_utils.devdocs.json'; diff --git a/api_docs/kbn_elastic_assistant.devdocs.json b/api_docs/kbn_elastic_assistant.devdocs.json index c4cca51afab1d..3863518f88779 100644 --- a/api_docs/kbn_elastic_assistant.devdocs.json +++ b/api_docs/kbn_elastic_assistant.devdocs.json @@ -2742,6 +2742,36 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/elastic-assistant", + "id": "def-public.END_LOCAL_STORAGE_KEY", + "type": "string", + "tags": [], + "label": "END_LOCAL_STORAGE_KEY", + "description": [], + "signature": [ + "\"end\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/elastic-assistant", + "id": "def-public.FILTERS_LOCAL_STORAGE_KEY", + "type": "string", + "tags": [], + "label": "FILTERS_LOCAL_STORAGE_KEY", + "description": [], + "signature": [ + "\"filters\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/elastic-assistant", "id": "def-public.GetAssistantMessages", @@ -2843,6 +2873,21 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/elastic-assistant", + "id": "def-public.QUERY_LOCAL_STORAGE_KEY", + "type": "string", + "tags": [], + "label": "QUERY_LOCAL_STORAGE_KEY", + "description": [], + "signature": [ + "\"query\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/elastic-assistant", "id": "def-public.QueryType", @@ -2900,6 +2945,21 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/elastic-assistant", + "id": "def-public.START_LOCAL_STORAGE_KEY", + "type": "string", + "tags": [], + "label": "START_LOCAL_STORAGE_KEY", + "description": [], + "signature": [ + "\"start\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/elastic-assistant", "id": "def-public.WELCOME_CONVERSATION_TITLE", diff --git a/api_docs/kbn_elastic_assistant.mdx b/api_docs/kbn_elastic_assistant.mdx index e1a1da8cc7f47..e39b40a85e49e 100644 --- a/api_docs/kbn_elastic_assistant.mdx +++ b/api_docs/kbn_elastic_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant title: "@kbn/elastic-assistant" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant'] --- import kbnElasticAssistantObj from './kbn_elastic_assistant.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/ | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 170 | 0 | 141 | 10 | +| 174 | 0 | 145 | 10 | ## Client diff --git a/api_docs/kbn_elastic_assistant_common.devdocs.json b/api_docs/kbn_elastic_assistant_common.devdocs.json index 2f0d1faeb04b8..2d07ae8be637a 100644 --- a/api_docs/kbn_elastic_assistant_common.devdocs.json +++ b/api_docs/kbn_elastic_assistant_common.devdocs.json @@ -118,7 +118,7 @@ "\nThis query returns open and acknowledged (non-building block) alerts in the last 24 hours.\n\nThe alerts are ordered by risk score, and then from the most recent to the oldest." ], "signature": [ - "({ alertsIndexPattern, anonymizationFields, size, }: { alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; size: number; }) => { allow_no_indices: boolean; body: { fields: { field: string; include_unmapped: boolean; }[]; query: { bool: { filter: { bool: { must: never[]; filter: ({ bool: { should: { match_phrase: { 'kibana.alert.workflow_status': string; }; }[]; minimum_should_match: number; }; range?: undefined; } | { range: { '@timestamp': { gte: string; lte: string; format: string; }; }; bool?: undefined; })[]; should: never[]; must_not: { exists: { field: string; }; }[]; }; }[]; }; }; runtime_mappings: {}; size: number; sort: ({ 'kibana.alert.risk_score': { order: string; }; '@timestamp'?: undefined; } | { '@timestamp': { order: string; }; 'kibana.alert.risk_score'?: undefined; })[]; _source: boolean; }; ignore_unavailable: boolean; index: string[]; }" + "({ alertsIndexPattern, anonymizationFields, end, filter, size, start, }: { alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; end?: string | null | undefined; filter?: Record | null | undefined; size: number; start?: string | null | undefined; }) => GetOpenAndAcknowledgedAlertsQuery" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", "deprecated": false, @@ -129,7 +129,7 @@ "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1", "type": "Object", "tags": [], - "label": "{\n alertsIndexPattern,\n anonymizationFields,\n size,\n}", + "label": "{\n alertsIndexPattern,\n anonymizationFields,\n end,\n filter,\n size,\n start,\n}", "description": [], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", "deprecated": false, @@ -160,6 +160,34 @@ "deprecated": false, "trackAdoption": false }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1.end", + "type": "CompoundType", + "tags": [], + "label": "end", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1.filter", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "Record | null | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false + }, { "parentPluginId": "@kbn/elastic-assistant-common", "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1.size", @@ -170,6 +198,20 @@ "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", "deprecated": false, "trackAdoption": false + }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.getOpenAndAcknowledgedAlertsQuery.$1.start", + "type": "CompoundType", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false } ] } @@ -968,7 +1010,7 @@ "\nInterface for features available to the elastic assistant" ], "signature": [ - "{ readonly assistantModelEvaluation: boolean; readonly defendInsights: boolean; }" + "{ readonly assistantModelEvaluation: boolean; readonly attackDiscoveryAlertFiltering: boolean; readonly defendInsights: boolean; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts", "deprecated": false, @@ -1122,7 +1164,7 @@ "label": "AttackDiscoveryPostRequestBody", "description": [], "signature": [ - "{ size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }" + "{ size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; start?: string | undefined; end?: string | undefined; filter?: Zod.objectOutputType<{}, Zod.ZodUnknown, \"strip\"> | undefined; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts", "deprecated": false, @@ -1137,7 +1179,7 @@ "label": "AttackDiscoveryPostRequestBodyInput", "description": [], "signature": [ - "{ size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; model?: string | undefined; replacements?: Zod.objectInputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }" + "{ size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; start?: string | undefined; end?: string | undefined; filter?: Zod.objectInputType<{}, Zod.ZodUnknown, \"strip\"> | undefined; model?: string | undefined; replacements?: Zod.objectInputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts", "deprecated": false, @@ -1833,6 +1875,36 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.DEFAULT_END", + "type": "string", + "tags": [], + "label": "DEFAULT_END", + "description": [], + "signature": [ + "\"now\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/elastic-assistant-common", + "id": "def-common.DEFAULT_START", + "type": "string", + "tags": [], + "label": "DEFAULT_START", + "description": [], + "signature": [ + "\"now-24h\"" + ], + "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/elastic-assistant-common", "id": "def-common.DEFEND_INSIGHTS", @@ -3064,7 +3136,7 @@ "label": "GetCapabilitiesResponse", "description": [], "signature": [ - "{ assistantModelEvaluation: boolean; defendInsights: boolean; }" + "{ assistantModelEvaluation: boolean; attackDiscoveryAlertFiltering: boolean; defendInsights: boolean; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts", "deprecated": false, @@ -4442,7 +4514,7 @@ "label": "AttackDiscoveryPostRequestBody", "description": [], "signature": [ - "Zod.ZodObject<{ alertsIndexPattern: Zod.ZodString; anonymizationFields: Zod.ZodArray; timestamp: Zod.ZodOptional>; field: Zod.ZodString; allowed: Zod.ZodOptional; anonymized: Zod.ZodOptional; updatedAt: Zod.ZodOptional; updatedBy: Zod.ZodOptional; createdAt: Zod.ZodOptional; createdBy: Zod.ZodOptional; namespace: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }, { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }>, \"many\">; apiConfig: Zod.ZodObject<{ connectorId: Zod.ZodString; actionTypeId: Zod.ZodString; defaultSystemPromptId: Zod.ZodOptional; provider: Zod.ZodOptional>; model: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }, { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }>; langSmithProject: Zod.ZodOptional; langSmithApiKey: Zod.ZodOptional; model: Zod.ZodOptional; replacements: Zod.ZodOptional, Zod.objectInputType<{}, Zod.ZodString, \"strip\">>>; size: Zod.ZodNumber; subAction: Zod.ZodEnum<[\"invokeAI\", \"invokeStream\"]>; }, \"strip\", Zod.ZodTypeAny, { size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }, { size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; model?: string | undefined; replacements?: Zod.objectInputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }>" + "Zod.ZodObject<{ alertsIndexPattern: Zod.ZodString; anonymizationFields: Zod.ZodArray; timestamp: Zod.ZodOptional>; field: Zod.ZodString; allowed: Zod.ZodOptional; anonymized: Zod.ZodOptional; updatedAt: Zod.ZodOptional; updatedBy: Zod.ZodOptional; createdAt: Zod.ZodOptional; createdBy: Zod.ZodOptional; namespace: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }, { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }>, \"many\">; apiConfig: Zod.ZodObject<{ connectorId: Zod.ZodString; actionTypeId: Zod.ZodString; defaultSystemPromptId: Zod.ZodOptional; provider: Zod.ZodOptional>; model: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }, { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }>; end: Zod.ZodOptional; filter: Zod.ZodOptional, Zod.objectInputType<{}, Zod.ZodUnknown, \"strip\">>>; langSmithProject: Zod.ZodOptional; langSmithApiKey: Zod.ZodOptional; model: Zod.ZodOptional; replacements: Zod.ZodOptional, Zod.objectInputType<{}, Zod.ZodString, \"strip\">>>; size: Zod.ZodNumber; start: Zod.ZodOptional; subAction: Zod.ZodEnum<[\"invokeAI\", \"invokeStream\"]>; }, \"strip\", Zod.ZodTypeAny, { size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; start?: string | undefined; end?: string | undefined; filter?: Zod.objectOutputType<{}, Zod.ZodUnknown, \"strip\"> | undefined; model?: string | undefined; replacements?: Zod.objectOutputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }, { size: number; subAction: \"invokeAI\" | \"invokeStream\"; alertsIndexPattern: string; anonymizationFields: { id: string; field: string; namespace?: string | undefined; timestamp?: string | undefined; createdBy?: string | undefined; updatedBy?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; allowed?: boolean | undefined; anonymized?: boolean | undefined; }[]; apiConfig: { connectorId: string; actionTypeId: string; provider?: \"Other\" | \"OpenAI\" | \"Azure OpenAI\" | undefined; model?: string | undefined; defaultSystemPromptId?: string | undefined; }; start?: string | undefined; end?: string | undefined; filter?: Zod.objectInputType<{}, Zod.ZodUnknown, \"strip\"> | undefined; model?: string | undefined; replacements?: Zod.objectInputType<{}, Zod.ZodString, \"strip\"> | undefined; langSmithProject?: string | undefined; langSmithApiKey?: string | undefined; }>" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts", "deprecated": false, @@ -5059,7 +5131,7 @@ "\nDefault features available to the elastic assistant" ], "signature": [ - "{ readonly assistantModelEvaluation: false; readonly defendInsights: false; }" + "{ readonly assistantModelEvaluation: false; readonly attackDiscoveryAlertFiltering: false; readonly defendInsights: false; }" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts", "deprecated": false, @@ -5764,7 +5836,7 @@ "label": "GetCapabilitiesResponse", "description": [], "signature": [ - "Zod.ZodObject<{ assistantModelEvaluation: Zod.ZodBoolean; defendInsights: Zod.ZodBoolean; }, \"strip\", Zod.ZodTypeAny, { assistantModelEvaluation: boolean; defendInsights: boolean; }, { assistantModelEvaluation: boolean; defendInsights: boolean; }>" + "Zod.ZodObject<{ assistantModelEvaluation: Zod.ZodBoolean; attackDiscoveryAlertFiltering: Zod.ZodBoolean; defendInsights: Zod.ZodBoolean; }, \"strip\", Zod.ZodTypeAny, { assistantModelEvaluation: boolean; attackDiscoveryAlertFiltering: boolean; defendInsights: boolean; }, { assistantModelEvaluation: boolean; attackDiscoveryAlertFiltering: boolean; defendInsights: boolean; }>" ], "path": "x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts", "deprecated": false, diff --git a/api_docs/kbn_elastic_assistant_common.mdx b/api_docs/kbn_elastic_assistant_common.mdx index 8f40d3ecc3d88..ec5ceac300151 100644 --- a/api_docs/kbn_elastic_assistant_common.mdx +++ b/api_docs/kbn_elastic_assistant_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-elastic-assistant-common title: "@kbn/elastic-assistant-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/elastic-assistant-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/elastic-assistant-common'] --- import kbnElasticAssistantCommonObj from './kbn_elastic_assistant_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/ | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 442 | 0 | 405 | 0 | +| 447 | 0 | 410 | 0 | ## Common diff --git a/api_docs/kbn_entities_schema.mdx b/api_docs/kbn_entities_schema.mdx index 3c7261e76820f..4b0de89981b23 100644 --- a/api_docs/kbn_entities_schema.mdx +++ b/api_docs/kbn_entities_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-entities-schema title: "@kbn/entities-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/entities-schema plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/entities-schema'] --- import kbnEntitiesSchemaObj from './kbn_entities_schema.devdocs.json'; diff --git a/api_docs/kbn_es.mdx b/api_docs/kbn_es.mdx index 97c8036bcc30f..6b60a4e562dea 100644 --- a/api_docs/kbn_es.mdx +++ b/api_docs/kbn_es.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es title: "@kbn/es" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es'] --- import kbnEsObj from './kbn_es.devdocs.json'; diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx index c3c21b47f263f..f68a76a2f01d8 100644 --- a/api_docs/kbn_es_archiver.mdx +++ b/api_docs/kbn_es_archiver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-archiver title: "@kbn/es-archiver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-archiver plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] --- import kbnEsArchiverObj from './kbn_es_archiver.devdocs.json'; diff --git a/api_docs/kbn_es_errors.mdx b/api_docs/kbn_es_errors.mdx index f8560578b4326..cb1b3e28b2506 100644 --- a/api_docs/kbn_es_errors.mdx +++ b/api_docs/kbn_es_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-errors title: "@kbn/es-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-errors plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-errors'] --- import kbnEsErrorsObj from './kbn_es_errors.devdocs.json'; diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx index 506dd327c4367..95d03bf8e4fe8 100644 --- a/api_docs/kbn_es_query.mdx +++ b/api_docs/kbn_es_query.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-query title: "@kbn/es-query" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-query plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] --- import kbnEsQueryObj from './kbn_es_query.devdocs.json'; diff --git a/api_docs/kbn_es_types.mdx b/api_docs/kbn_es_types.mdx index 4559d030913c2..c19f16a8e90ac 100644 --- a/api_docs/kbn_es_types.mdx +++ b/api_docs/kbn_es_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-es-types title: "@kbn/es-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/es-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-types'] --- import kbnEsTypesObj from './kbn_es_types.devdocs.json'; diff --git a/api_docs/kbn_eslint_plugin_imports.mdx b/api_docs/kbn_eslint_plugin_imports.mdx index c388ace695592..88f28ffc66b1b 100644 --- a/api_docs/kbn_eslint_plugin_imports.mdx +++ b/api_docs/kbn_eslint_plugin_imports.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-eslint-plugin-imports title: "@kbn/eslint-plugin-imports" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/eslint-plugin-imports plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/eslint-plugin-imports'] --- import kbnEslintPluginImportsObj from './kbn_eslint_plugin_imports.devdocs.json'; diff --git a/api_docs/kbn_esql_ast.mdx b/api_docs/kbn_esql_ast.mdx index 1876abe29b7fb..8a46ddb845581 100644 --- a/api_docs/kbn_esql_ast.mdx +++ b/api_docs/kbn_esql_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-ast title: "@kbn/esql-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-ast plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-ast'] --- import kbnEsqlAstObj from './kbn_esql_ast.devdocs.json'; diff --git a/api_docs/kbn_esql_editor.mdx b/api_docs/kbn_esql_editor.mdx index 23b108440f27c..c99c9aff34b7b 100644 --- a/api_docs/kbn_esql_editor.mdx +++ b/api_docs/kbn_esql_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-editor title: "@kbn/esql-editor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-editor plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-editor'] --- import kbnEsqlEditorObj from './kbn_esql_editor.devdocs.json'; diff --git a/api_docs/kbn_esql_utils.mdx b/api_docs/kbn_esql_utils.mdx index 1eb871ddf5cea..486c4dbf52314 100644 --- a/api_docs/kbn_esql_utils.mdx +++ b/api_docs/kbn_esql_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-utils title: "@kbn/esql-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-utils'] --- import kbnEsqlUtilsObj from './kbn_esql_utils.devdocs.json'; diff --git a/api_docs/kbn_esql_validation_autocomplete.mdx b/api_docs/kbn_esql_validation_autocomplete.mdx index 7f229a6da5507..49ac92cb175da 100644 --- a/api_docs/kbn_esql_validation_autocomplete.mdx +++ b/api_docs/kbn_esql_validation_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-esql-validation-autocomplete title: "@kbn/esql-validation-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/esql-validation-autocomplete plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/esql-validation-autocomplete'] --- import kbnEsqlValidationAutocompleteObj from './kbn_esql_validation_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_event_annotation_common.mdx b/api_docs/kbn_event_annotation_common.mdx index 3a150c2801473..de10a59de5960 100644 --- a/api_docs/kbn_event_annotation_common.mdx +++ b/api_docs/kbn_event_annotation_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-event-annotation-common title: "@kbn/event-annotation-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/event-annotation-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/event-annotation-common'] --- import kbnEventAnnotationCommonObj from './kbn_event_annotation_common.devdocs.json'; diff --git a/api_docs/kbn_event_annotation_components.mdx b/api_docs/kbn_event_annotation_components.mdx index 5305278a47c86..69492951278c7 100644 --- a/api_docs/kbn_event_annotation_components.mdx +++ b/api_docs/kbn_event_annotation_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-event-annotation-components title: "@kbn/event-annotation-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/event-annotation-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/event-annotation-components'] --- import kbnEventAnnotationComponentsObj from './kbn_event_annotation_components.devdocs.json'; diff --git a/api_docs/kbn_expandable_flyout.mdx b/api_docs/kbn_expandable_flyout.mdx index 40b511fcdbf54..d30746b29eac5 100644 --- a/api_docs/kbn_expandable_flyout.mdx +++ b/api_docs/kbn_expandable_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-expandable-flyout title: "@kbn/expandable-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/expandable-flyout plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/expandable-flyout'] --- import kbnExpandableFlyoutObj from './kbn_expandable_flyout.devdocs.json'; diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx index 4a87b3ea3c906..a105e58fe1867 100644 --- a/api_docs/kbn_field_types.mdx +++ b/api_docs/kbn_field_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-types title: "@kbn/field-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] --- import kbnFieldTypesObj from './kbn_field_types.devdocs.json'; diff --git a/api_docs/kbn_field_utils.mdx b/api_docs/kbn_field_utils.mdx index a049941572a64..cd262da704e5e 100644 --- a/api_docs/kbn_field_utils.mdx +++ b/api_docs/kbn_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-field-utils title: "@kbn/field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/field-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-utils'] --- import kbnFieldUtilsObj from './kbn_field_utils.devdocs.json'; diff --git a/api_docs/kbn_find_used_node_modules.mdx b/api_docs/kbn_find_used_node_modules.mdx index a47ef9b55260c..67b3b2c54365f 100644 --- a/api_docs/kbn_find_used_node_modules.mdx +++ b/api_docs/kbn_find_used_node_modules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-find-used-node-modules title: "@kbn/find-used-node-modules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/find-used-node-modules plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/find-used-node-modules'] --- import kbnFindUsedNodeModulesObj from './kbn_find_used_node_modules.devdocs.json'; diff --git a/api_docs/kbn_formatters.mdx b/api_docs/kbn_formatters.mdx index 0dbcfbd721456..b12615a55144f 100644 --- a/api_docs/kbn_formatters.mdx +++ b/api_docs/kbn_formatters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-formatters title: "@kbn/formatters" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/formatters plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/formatters'] --- import kbnFormattersObj from './kbn_formatters.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_services.mdx b/api_docs/kbn_ftr_common_functional_services.mdx index 8ba2e2c1890e8..2ab8f7695a7a6 100644 --- a/api_docs/kbn_ftr_common_functional_services.mdx +++ b/api_docs/kbn_ftr_common_functional_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-services title: "@kbn/ftr-common-functional-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-services plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-services'] --- import kbnFtrCommonFunctionalServicesObj from './kbn_ftr_common_functional_services.devdocs.json'; diff --git a/api_docs/kbn_ftr_common_functional_ui_services.mdx b/api_docs/kbn_ftr_common_functional_ui_services.mdx index a1517266e1e94..e0ddecea5cefc 100644 --- a/api_docs/kbn_ftr_common_functional_ui_services.mdx +++ b/api_docs/kbn_ftr_common_functional_ui_services.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ftr-common-functional-ui-services title: "@kbn/ftr-common-functional-ui-services" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ftr-common-functional-ui-services plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ftr-common-functional-ui-services'] --- import kbnFtrCommonFunctionalUiServicesObj from './kbn_ftr_common_functional_ui_services.devdocs.json'; diff --git a/api_docs/kbn_gen_ai_functional_testing.mdx b/api_docs/kbn_gen_ai_functional_testing.mdx index d66f75aa98172..c3aeb26743cbe 100644 --- a/api_docs/kbn_gen_ai_functional_testing.mdx +++ b/api_docs/kbn_gen_ai_functional_testing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-gen-ai-functional-testing title: "@kbn/gen-ai-functional-testing" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/gen-ai-functional-testing plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/gen-ai-functional-testing'] --- import kbnGenAiFunctionalTestingObj from './kbn_gen_ai_functional_testing.devdocs.json'; diff --git a/api_docs/kbn_generate.mdx b/api_docs/kbn_generate.mdx index 7d37e8f380cef..fa71c24c1c328 100644 --- a/api_docs/kbn_generate.mdx +++ b/api_docs/kbn_generate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate title: "@kbn/generate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate'] --- import kbnGenerateObj from './kbn_generate.devdocs.json'; diff --git a/api_docs/kbn_generate_console_definitions.mdx b/api_docs/kbn_generate_console_definitions.mdx index e86dc34f8aa04..910f7e89a9afe 100644 --- a/api_docs/kbn_generate_console_definitions.mdx +++ b/api_docs/kbn_generate_console_definitions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-console-definitions title: "@kbn/generate-console-definitions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-console-definitions plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-console-definitions'] --- import kbnGenerateConsoleDefinitionsObj from './kbn_generate_console_definitions.devdocs.json'; diff --git a/api_docs/kbn_generate_csv.mdx b/api_docs/kbn_generate_csv.mdx index 3268d4e879c16..f7ac8c0f7346d 100644 --- a/api_docs/kbn_generate_csv.mdx +++ b/api_docs/kbn_generate_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-generate-csv title: "@kbn/generate-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/generate-csv plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/generate-csv'] --- import kbnGenerateCsvObj from './kbn_generate_csv.devdocs.json'; diff --git a/api_docs/kbn_grid_layout.mdx b/api_docs/kbn_grid_layout.mdx index 6c905576c2619..4708f3f238903 100644 --- a/api_docs/kbn_grid_layout.mdx +++ b/api_docs/kbn_grid_layout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-grid-layout title: "@kbn/grid-layout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/grid-layout plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/grid-layout'] --- import kbnGridLayoutObj from './kbn_grid_layout.devdocs.json'; diff --git a/api_docs/kbn_grouping.mdx b/api_docs/kbn_grouping.mdx index 9e77e7f83b7d0..72683d7e36a34 100644 --- a/api_docs/kbn_grouping.mdx +++ b/api_docs/kbn_grouping.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-grouping title: "@kbn/grouping" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/grouping plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/grouping'] --- import kbnGroupingObj from './kbn_grouping.devdocs.json'; diff --git a/api_docs/kbn_guided_onboarding.mdx b/api_docs/kbn_guided_onboarding.mdx index def52d41eb98e..f1d8a68a5469b 100644 --- a/api_docs/kbn_guided_onboarding.mdx +++ b/api_docs/kbn_guided_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-guided-onboarding title: "@kbn/guided-onboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/guided-onboarding plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/guided-onboarding'] --- import kbnGuidedOnboardingObj from './kbn_guided_onboarding.devdocs.json'; diff --git a/api_docs/kbn_handlebars.mdx b/api_docs/kbn_handlebars.mdx index 08c3a8c7f6ff9..6bfb46f24d04c 100644 --- a/api_docs/kbn_handlebars.mdx +++ b/api_docs/kbn_handlebars.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-handlebars title: "@kbn/handlebars" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/handlebars plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/handlebars'] --- import kbnHandlebarsObj from './kbn_handlebars.devdocs.json'; diff --git a/api_docs/kbn_hapi_mocks.mdx b/api_docs/kbn_hapi_mocks.mdx index a4e2f9e5f0c4b..8e9e59ad5600b 100644 --- a/api_docs/kbn_hapi_mocks.mdx +++ b/api_docs/kbn_hapi_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-hapi-mocks title: "@kbn/hapi-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/hapi-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/hapi-mocks'] --- import kbnHapiMocksObj from './kbn_hapi_mocks.devdocs.json'; diff --git a/api_docs/kbn_health_gateway_server.mdx b/api_docs/kbn_health_gateway_server.mdx index 3f3841ee58b6f..e678ee2a34999 100644 --- a/api_docs/kbn_health_gateway_server.mdx +++ b/api_docs/kbn_health_gateway_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-health-gateway-server title: "@kbn/health-gateway-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/health-gateway-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/health-gateway-server'] --- import kbnHealthGatewayServerObj from './kbn_health_gateway_server.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_card.mdx b/api_docs/kbn_home_sample_data_card.mdx index e9ab6914bddcc..054c2dc143eb0 100644 --- a/api_docs/kbn_home_sample_data_card.mdx +++ b/api_docs/kbn_home_sample_data_card.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-card title: "@kbn/home-sample-data-card" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-card plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-card'] --- import kbnHomeSampleDataCardObj from './kbn_home_sample_data_card.devdocs.json'; diff --git a/api_docs/kbn_home_sample_data_tab.mdx b/api_docs/kbn_home_sample_data_tab.mdx index fe3c7bdbaeced..f639793dbc262 100644 --- a/api_docs/kbn_home_sample_data_tab.mdx +++ b/api_docs/kbn_home_sample_data_tab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-home-sample-data-tab title: "@kbn/home-sample-data-tab" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/home-sample-data-tab plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/home-sample-data-tab'] --- import kbnHomeSampleDataTabObj from './kbn_home_sample_data_tab.devdocs.json'; diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx index 1494eb2eb6d61..91d49bc525de7 100644 --- a/api_docs/kbn_i18n.mdx +++ b/api_docs/kbn_i18n.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n title: "@kbn/i18n" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] --- import kbnI18nObj from './kbn_i18n.devdocs.json'; diff --git a/api_docs/kbn_i18n_react.mdx b/api_docs/kbn_i18n_react.mdx index d5f033a92cd93..bb5885675e6b2 100644 --- a/api_docs/kbn_i18n_react.mdx +++ b/api_docs/kbn_i18n_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-i18n-react title: "@kbn/i18n-react" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/i18n-react plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n-react'] --- import kbnI18nReactObj from './kbn_i18n_react.devdocs.json'; diff --git a/api_docs/kbn_import_resolver.mdx b/api_docs/kbn_import_resolver.mdx index de7d5b712f452..8f9641c79068b 100644 --- a/api_docs/kbn_import_resolver.mdx +++ b/api_docs/kbn_import_resolver.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-import-resolver title: "@kbn/import-resolver" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/import-resolver plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/import-resolver'] --- import kbnImportResolverObj from './kbn_import_resolver.devdocs.json'; diff --git a/api_docs/kbn_index_adapter.mdx b/api_docs/kbn_index_adapter.mdx index 5a37624231023..5ebae093f6dae 100644 --- a/api_docs/kbn_index_adapter.mdx +++ b/api_docs/kbn_index_adapter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-index-adapter title: "@kbn/index-adapter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/index-adapter plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/index-adapter'] --- import kbnIndexAdapterObj from './kbn_index_adapter.devdocs.json'; diff --git a/api_docs/kbn_index_lifecycle_management_common_shared.mdx b/api_docs/kbn_index_lifecycle_management_common_shared.mdx index a80b3d14a5303..7264845481f90 100644 --- a/api_docs/kbn_index_lifecycle_management_common_shared.mdx +++ b/api_docs/kbn_index_lifecycle_management_common_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-index-lifecycle-management-common-shared title: "@kbn/index-lifecycle-management-common-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/index-lifecycle-management-common-shared plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/index-lifecycle-management-common-shared'] --- import kbnIndexLifecycleManagementCommonSharedObj from './kbn_index_lifecycle_management_common_shared.devdocs.json'; diff --git a/api_docs/kbn_index_management_shared_types.devdocs.json b/api_docs/kbn_index_management_shared_types.devdocs.json index f57ce5ad4ef72..2297253a37443 100644 --- a/api_docs/kbn_index_management_shared_types.devdocs.json +++ b/api_docs/kbn_index_management_shared_types.devdocs.json @@ -1002,7 +1002,7 @@ "tags": [], "label": "appId", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1016,7 +1016,7 @@ "signature": [ "{ path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1202,7 +1202,7 @@ "tags": [], "label": "appId", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -1216,7 +1216,7 @@ "signature": [ "{ path?: string | undefined; absolute?: boolean | undefined; deepLinkId?: string | undefined; } | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } @@ -1429,13 +1429,7 @@ "description": [], "signature": [ "(deps: { history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; }) => React.FC<", { "pluginId": "@kbn/index-management-shared-types", @@ -1469,13 +1463,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts", @@ -1496,13 +1484,7 @@ "description": [], "signature": [ "(deps: { history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "; }) => React.FC<", { "pluginId": "@kbn/index-management-shared-types", @@ -1536,13 +1518,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/platform/packages/shared/index-management/index_management_shared_types/src/types.ts", diff --git a/api_docs/kbn_index_management_shared_types.mdx b/api_docs/kbn_index_management_shared_types.mdx index fde9a9eb88081..a17839c9c2350 100644 --- a/api_docs/kbn_index_management_shared_types.mdx +++ b/api_docs/kbn_index_management_shared_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-index-management-shared-types title: "@kbn/index-management-shared-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/index-management-shared-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/index-management-shared-types'] --- import kbnIndexManagementSharedTypesObj from './kbn_index_management_shared_types.devdocs.json'; diff --git a/api_docs/kbn_inference_common.devdocs.json b/api_docs/kbn_inference_common.devdocs.json index 3ba158a86ad5b..b4cab38f2ee86 100644 --- a/api_docs/kbn_inference_common.devdocs.json +++ b/api_docs/kbn_inference_common.devdocs.json @@ -770,6 +770,78 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.isSupportedConnector", + "type": "Function", + "tags": [], + "label": "isSupportedConnector", + "description": [ + "\nChecks if a given connector is compatible for inference.\n\nA connector is compatible if:\n1. its type is in the list of allowed types\n2. for inference connectors, if its taskType is \"completion\"" + ], + "signature": [ + "(connector: ", + "RawConnector", + ") => boolean" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.isSupportedConnector.$1", + "type": "Object", + "tags": [], + "label": "connector", + "description": [], + "signature": [ + "RawConnector" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.isSupportedConnectorType", + "type": "Function", + "tags": [], + "label": "isSupportedConnectorType", + "description": [ + "\nChecks if a given connector type is compatible for inference.\n\nNote: this check is not sufficient to assert if a given connector can be\nused for inference, as `.inference` connectors need additional check logic.\nPlease use `isSupportedConnector` instead when possible." + ], + "signature": [ + "(id: string) => boolean" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.isSupportedConnectorType.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/inference-common", "id": "def-common.isTokenLimitReachedError", @@ -1208,6 +1280,62 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnector", + "type": "Interface", + "tags": [], + "label": "InferenceConnector", + "description": [], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnector.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/inference-common", + "scope": "common", + "docId": "kibKbnInferenceCommonPluginApi", + "section": "def-common.InferenceConnectorType", + "text": "InferenceConnectorType" + } + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnector.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnector.connectorId", + "type": "string", + "tags": [], + "label": "connectorId", + "description": [], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "@kbn/inference-common", "id": "def-common.InferenceTaskEventBase", @@ -1758,6 +1886,20 @@ "trackAdoption": false, "initialIsOpen": false }, + { + "parentPluginId": "@kbn/inference-common", + "id": "def-common.InferenceConnectorType", + "type": "Enum", + "tags": [], + "label": "InferenceConnectorType", + "description": [ + "\nThe list of connector types that can be used with the inference APIs" + ], + "path": "x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, { "parentPluginId": "@kbn/inference-common", "id": "def-common.InferenceTaskErrorCode", diff --git a/api_docs/kbn_inference_common.mdx b/api_docs/kbn_inference_common.mdx index 55afc59db161e..7627e8720fc43 100644 --- a/api_docs/kbn_inference_common.mdx +++ b/api_docs/kbn_inference_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-inference-common title: "@kbn/inference-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/inference-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/inference-common'] --- import kbnInferenceCommonObj from './kbn_inference_common.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 141 | 0 | 40 | 3 | +| 150 | 0 | 46 | 4 | ## Common diff --git a/api_docs/kbn_inference_endpoint_ui_common.devdocs.json b/api_docs/kbn_inference_endpoint_ui_common.devdocs.json new file mode 100644 index 0000000000000..733681e7c3c0a --- /dev/null +++ b/api_docs/kbn_inference_endpoint_ui_common.devdocs.json @@ -0,0 +1,457 @@ +{ + "id": "@kbn/inference-endpoint-ui-common", + "client": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceServiceFormFields", + "type": "Function", + "tags": [], + "label": "InferenceServiceFormFields", + "description": [], + "signature": [ + "({ providers }: InferenceServicesProps) => React.JSX.Element" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceServiceFormFields.$1", + "type": "Object", + "tags": [], + "label": "{ providers }", + "description": [], + "signature": [ + "InferenceServicesProps" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config", + "type": "Interface", + "tags": [], + "label": "Config", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.taskType", + "type": "string", + "tags": [], + "label": "taskType", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.taskTypeConfig", + "type": "Object", + "tags": [], + "label": "taskTypeConfig", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.inferenceId", + "type": "string", + "tags": [], + "label": "inferenceId", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.provider", + "type": "string", + "tags": [], + "label": "provider", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Config.providerConfig", + "type": "Object", + "tags": [], + "label": "providerConfig", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigEntryView", + "type": "Interface", + "tags": [], + "label": "ConfigEntryView", + "description": [], + "signature": [ + { + "pluginId": "@kbn/inference-endpoint-ui-common", + "scope": "public", + "docId": "kibKbnInferenceEndpointUiCommonPluginApi", + "section": "def-public.ConfigEntryView", + "text": "ConfigEntryView" + }, + " extends ConfigEntry" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigEntryView.isValid", + "type": "boolean", + "tags": [], + "label": "isValid", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigEntryView.validationErrors", + "type": "Array", + "tags": [], + "label": "validationErrors", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigEntryView.value", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | number | boolean | null" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties", + "type": "Interface", + "tags": [], + "label": "ConfigProperties", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.default_value", + "type": "CompoundType", + "tags": [], + "label": "default_value", + "description": [], + "signature": [ + "string | number | boolean | null" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.description", + "type": "CompoundType", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "string | null" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.label", + "type": "string", + "tags": [], + "label": "label", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.required", + "type": "boolean", + "tags": [], + "label": "required", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.sensitive", + "type": "boolean", + "tags": [], + "label": "sensitive", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.updatable", + "type": "boolean", + "tags": [], + "label": "updatable", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.ConfigProperties.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/search-connectors", + "scope": "common", + "docId": "kibKbnSearchConnectorsPluginApi", + "section": "def-common.FieldType", + "text": "FieldType" + } + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider", + "type": "Interface", + "tags": [], + "label": "InferenceProvider", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.service", + "type": "string", + "tags": [], + "label": "service", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.task_types", + "type": "Array", + "tags": [], + "label": "task_types", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.logo", + "type": "string", + "tags": [], + "label": "logo", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.InferenceProvider.configurations", + "type": "Object", + "tags": [], + "label": "configurations", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "@kbn/inference-endpoint-ui-common", + "scope": "public", + "docId": "kibKbnInferenceEndpointUiCommonPluginApi", + "section": "def-public.ConfigProperties", + "text": "ConfigProperties" + }, + "; }" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Secrets", + "type": "Interface", + "tags": [], + "label": "Secrets", + "description": [], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.Secrets.providerSecrets", + "type": "Object", + "tags": [], + "label": "providerSecrets", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.FieldType", + "type": "Enum", + "tags": [], + "label": "FieldType", + "description": [], + "path": "packages/kbn-search-connectors/types/connectors.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "@kbn/inference-endpoint-ui-common", + "id": "def-public.FieldsConfiguration", + "type": "Type", + "tags": [], + "label": "FieldsConfiguration", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "@kbn/inference-endpoint-ui-common", + "scope": "public", + "docId": "kibKbnInferenceEndpointUiCommonPluginApi", + "section": "def-public.ConfigProperties", + "text": "ConfigProperties" + }, + "; }" + ], + "path": "x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_inference_endpoint_ui_common.mdx b/api_docs/kbn_inference_endpoint_ui_common.mdx new file mode 100644 index 0000000000000..3127d4040b7c6 --- /dev/null +++ b/api_docs/kbn_inference_endpoint_ui_common.mdx @@ -0,0 +1,39 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnInferenceEndpointUiCommonPluginApi +slug: /kibana-dev-docs/api/kbn-inference-endpoint-ui-common +title: "@kbn/inference-endpoint-ui-common" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/inference-endpoint-ui-common plugin +date: 2024-12-26 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/inference-endpoint-ui-common'] +--- +import kbnInferenceEndpointUiCommonObj from './kbn_inference_endpoint_ui_common.devdocs.json'; + + + +Contact [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 30 | 0 | 30 | 0 | + +## Client + +### Functions + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/kbn_inference_integration_flyout.mdx b/api_docs/kbn_inference_integration_flyout.mdx index e7d0dc414b08c..8fff7f78d3fe3 100644 --- a/api_docs/kbn_inference_integration_flyout.mdx +++ b/api_docs/kbn_inference_integration_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-inference_integration_flyout title: "@kbn/inference_integration_flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/inference_integration_flyout plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/inference_integration_flyout'] --- import kbnInferenceIntegrationFlyoutObj from './kbn_inference_integration_flyout.devdocs.json'; diff --git a/api_docs/kbn_infra_forge.mdx b/api_docs/kbn_infra_forge.mdx index 8d07d785dbe2f..4b5b3a33b119f 100644 --- a/api_docs/kbn_infra_forge.mdx +++ b/api_docs/kbn_infra_forge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-infra-forge title: "@kbn/infra-forge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/infra-forge plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/infra-forge'] --- import kbnInfraForgeObj from './kbn_infra_forge.devdocs.json'; diff --git a/api_docs/kbn_interpreter.mdx b/api_docs/kbn_interpreter.mdx index 84f639850fa88..7cecb18f8b460 100644 --- a/api_docs/kbn_interpreter.mdx +++ b/api_docs/kbn_interpreter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-interpreter title: "@kbn/interpreter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/interpreter plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/interpreter'] --- import kbnInterpreterObj from './kbn_interpreter.devdocs.json'; diff --git a/api_docs/kbn_investigation_shared.mdx b/api_docs/kbn_investigation_shared.mdx index 65a863a6b6c68..04dd02781b8e9 100644 --- a/api_docs/kbn_investigation_shared.mdx +++ b/api_docs/kbn_investigation_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-investigation-shared title: "@kbn/investigation-shared" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/investigation-shared plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/investigation-shared'] --- import kbnInvestigationSharedObj from './kbn_investigation_shared.devdocs.json'; diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx index 63575433295d8..5d3c50f60a763 100644 --- a/api_docs/kbn_io_ts_utils.mdx +++ b/api_docs/kbn_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-io-ts-utils title: "@kbn/io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/io-ts-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] --- import kbnIoTsUtilsObj from './kbn_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_ipynb.mdx b/api_docs/kbn_ipynb.mdx index f7012d248d339..8b43be0e94f98 100644 --- a/api_docs/kbn_ipynb.mdx +++ b/api_docs/kbn_ipynb.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ipynb title: "@kbn/ipynb" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ipynb plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ipynb'] --- import kbnIpynbObj from './kbn_ipynb.devdocs.json'; diff --git a/api_docs/kbn_item_buffer.mdx b/api_docs/kbn_item_buffer.mdx index 677157eda2bac..5bfe158819c1a 100644 --- a/api_docs/kbn_item_buffer.mdx +++ b/api_docs/kbn_item_buffer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-item-buffer title: "@kbn/item-buffer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/item-buffer plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/item-buffer'] --- import kbnItemBufferObj from './kbn_item_buffer.devdocs.json'; diff --git a/api_docs/kbn_jest_serializers.mdx b/api_docs/kbn_jest_serializers.mdx index 7748199cc6c48..f3eb0bb2f9976 100644 --- a/api_docs/kbn_jest_serializers.mdx +++ b/api_docs/kbn_jest_serializers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-jest-serializers title: "@kbn/jest-serializers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/jest-serializers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/jest-serializers'] --- import kbnJestSerializersObj from './kbn_jest_serializers.devdocs.json'; diff --git a/api_docs/kbn_journeys.mdx b/api_docs/kbn_journeys.mdx index 8f4a4e7f86867..c88873872b597 100644 --- a/api_docs/kbn_journeys.mdx +++ b/api_docs/kbn_journeys.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-journeys title: "@kbn/journeys" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/journeys plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/journeys'] --- import kbnJourneysObj from './kbn_journeys.devdocs.json'; diff --git a/api_docs/kbn_json_ast.mdx b/api_docs/kbn_json_ast.mdx index 9dfdbabcf3235..6b3b1e0d6988b 100644 --- a/api_docs/kbn_json_ast.mdx +++ b/api_docs/kbn_json_ast.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-ast title: "@kbn/json-ast" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-ast plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-ast'] --- import kbnJsonAstObj from './kbn_json_ast.devdocs.json'; diff --git a/api_docs/kbn_json_schemas.mdx b/api_docs/kbn_json_schemas.mdx index c4b087c3689a5..2d4af713b8c24 100644 --- a/api_docs/kbn_json_schemas.mdx +++ b/api_docs/kbn_json_schemas.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-json-schemas title: "@kbn/json-schemas" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/json-schemas plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/json-schemas'] --- import kbnJsonSchemasObj from './kbn_json_schemas.devdocs.json'; diff --git a/api_docs/kbn_kibana_manifest_schema.mdx b/api_docs/kbn_kibana_manifest_schema.mdx index fe7f7c1074d28..d0891234bf68f 100644 --- a/api_docs/kbn_kibana_manifest_schema.mdx +++ b/api_docs/kbn_kibana_manifest_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-kibana-manifest-schema title: "@kbn/kibana-manifest-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/kibana-manifest-schema plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/kibana-manifest-schema'] --- import kbnKibanaManifestSchemaObj from './kbn_kibana_manifest_schema.devdocs.json'; diff --git a/api_docs/kbn_language_documentation.mdx b/api_docs/kbn_language_documentation.mdx index ca3c4573d74d0..3fe459b29d17d 100644 --- a/api_docs/kbn_language_documentation.mdx +++ b/api_docs/kbn_language_documentation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-language-documentation title: "@kbn/language-documentation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/language-documentation plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/language-documentation'] --- import kbnLanguageDocumentationObj from './kbn_language_documentation.devdocs.json'; diff --git a/api_docs/kbn_lens_embeddable_utils.mdx b/api_docs/kbn_lens_embeddable_utils.mdx index 312238ddb723c..cdc6a6a8e8318 100644 --- a/api_docs/kbn_lens_embeddable_utils.mdx +++ b/api_docs/kbn_lens_embeddable_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-lens-embeddable-utils title: "@kbn/lens-embeddable-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/lens-embeddable-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/lens-embeddable-utils'] --- import kbnLensEmbeddableUtilsObj from './kbn_lens_embeddable_utils.devdocs.json'; diff --git a/api_docs/kbn_lens_formula_docs.mdx b/api_docs/kbn_lens_formula_docs.mdx index 1021e00d2c8bd..5a19232a1d4a2 100644 --- a/api_docs/kbn_lens_formula_docs.mdx +++ b/api_docs/kbn_lens_formula_docs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-lens-formula-docs title: "@kbn/lens-formula-docs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/lens-formula-docs plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/lens-formula-docs'] --- import kbnLensFormulaDocsObj from './kbn_lens_formula_docs.devdocs.json'; diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx index fd1975296396d..a867437958d11 100644 --- a/api_docs/kbn_logging.mdx +++ b/api_docs/kbn_logging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging title: "@kbn/logging" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] --- import kbnLoggingObj from './kbn_logging.devdocs.json'; diff --git a/api_docs/kbn_logging_mocks.mdx b/api_docs/kbn_logging_mocks.mdx index 89491b41cdb5e..55a9c0ab6a2bc 100644 --- a/api_docs/kbn_logging_mocks.mdx +++ b/api_docs/kbn_logging_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-logging-mocks title: "@kbn/logging-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/logging-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging-mocks'] --- import kbnLoggingMocksObj from './kbn_logging_mocks.devdocs.json'; diff --git a/api_docs/kbn_managed_content_badge.mdx b/api_docs/kbn_managed_content_badge.mdx index 4350fecc001dd..f40d04c83c158 100644 --- a/api_docs/kbn_managed_content_badge.mdx +++ b/api_docs/kbn_managed_content_badge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-content-badge title: "@kbn/managed-content-badge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-content-badge plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-content-badge'] --- import kbnManagedContentBadgeObj from './kbn_managed_content_badge.devdocs.json'; diff --git a/api_docs/kbn_managed_vscode_config.mdx b/api_docs/kbn_managed_vscode_config.mdx index a4877ec87ec3a..b6a37a334b347 100644 --- a/api_docs/kbn_managed_vscode_config.mdx +++ b/api_docs/kbn_managed_vscode_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-managed-vscode-config title: "@kbn/managed-vscode-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/managed-vscode-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/managed-vscode-config'] --- import kbnManagedVscodeConfigObj from './kbn_managed_vscode_config.devdocs.json'; diff --git a/api_docs/kbn_management_cards_navigation.mdx b/api_docs/kbn_management_cards_navigation.mdx index 54c81d088cf82..d3e5cd14756ec 100644 --- a/api_docs/kbn_management_cards_navigation.mdx +++ b/api_docs/kbn_management_cards_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-cards-navigation title: "@kbn/management-cards-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-cards-navigation plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-cards-navigation'] --- import kbnManagementCardsNavigationObj from './kbn_management_cards_navigation.devdocs.json'; diff --git a/api_docs/kbn_management_settings_application.mdx b/api_docs/kbn_management_settings_application.mdx index 5fb67678727c6..4fa6580e64202 100644 --- a/api_docs/kbn_management_settings_application.mdx +++ b/api_docs/kbn_management_settings_application.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-application title: "@kbn/management-settings-application" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-application plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-application'] --- import kbnManagementSettingsApplicationObj from './kbn_management_settings_application.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_category.mdx b/api_docs/kbn_management_settings_components_field_category.mdx index f902cc6188622..189890f0bb7b2 100644 --- a/api_docs/kbn_management_settings_components_field_category.mdx +++ b/api_docs/kbn_management_settings_components_field_category.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-category title: "@kbn/management-settings-components-field-category" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-category plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-category'] --- import kbnManagementSettingsComponentsFieldCategoryObj from './kbn_management_settings_components_field_category.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_input.mdx b/api_docs/kbn_management_settings_components_field_input.mdx index fd5dcd2c522e0..0b908efddc127 100644 --- a/api_docs/kbn_management_settings_components_field_input.mdx +++ b/api_docs/kbn_management_settings_components_field_input.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-input title: "@kbn/management-settings-components-field-input" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-input plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-input'] --- import kbnManagementSettingsComponentsFieldInputObj from './kbn_management_settings_components_field_input.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_field_row.mdx b/api_docs/kbn_management_settings_components_field_row.mdx index bd15b8ca6d508..9b0808bdb979d 100644 --- a/api_docs/kbn_management_settings_components_field_row.mdx +++ b/api_docs/kbn_management_settings_components_field_row.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-field-row title: "@kbn/management-settings-components-field-row" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-field-row plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-field-row'] --- import kbnManagementSettingsComponentsFieldRowObj from './kbn_management_settings_components_field_row.devdocs.json'; diff --git a/api_docs/kbn_management_settings_components_form.mdx b/api_docs/kbn_management_settings_components_form.mdx index 954f01aad7897..33fd709e41699 100644 --- a/api_docs/kbn_management_settings_components_form.mdx +++ b/api_docs/kbn_management_settings_components_form.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-components-form title: "@kbn/management-settings-components-form" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-components-form plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-components-form'] --- import kbnManagementSettingsComponentsFormObj from './kbn_management_settings_components_form.devdocs.json'; diff --git a/api_docs/kbn_management_settings_field_definition.mdx b/api_docs/kbn_management_settings_field_definition.mdx index e12e004a35f0d..6e9fe9117d61f 100644 --- a/api_docs/kbn_management_settings_field_definition.mdx +++ b/api_docs/kbn_management_settings_field_definition.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-field-definition title: "@kbn/management-settings-field-definition" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-field-definition plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-field-definition'] --- import kbnManagementSettingsFieldDefinitionObj from './kbn_management_settings_field_definition.devdocs.json'; diff --git a/api_docs/kbn_management_settings_ids.mdx b/api_docs/kbn_management_settings_ids.mdx index 76fe7ddf0faa5..10db99d46f2b6 100644 --- a/api_docs/kbn_management_settings_ids.mdx +++ b/api_docs/kbn_management_settings_ids.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-ids title: "@kbn/management-settings-ids" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-ids plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-ids'] --- import kbnManagementSettingsIdsObj from './kbn_management_settings_ids.devdocs.json'; diff --git a/api_docs/kbn_management_settings_section_registry.mdx b/api_docs/kbn_management_settings_section_registry.mdx index 599944dcf9e97..43efa7e17f08e 100644 --- a/api_docs/kbn_management_settings_section_registry.mdx +++ b/api_docs/kbn_management_settings_section_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-section-registry title: "@kbn/management-settings-section-registry" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-section-registry plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-section-registry'] --- import kbnManagementSettingsSectionRegistryObj from './kbn_management_settings_section_registry.devdocs.json'; diff --git a/api_docs/kbn_management_settings_types.mdx b/api_docs/kbn_management_settings_types.mdx index 3e998cf807836..190ee4f984d9e 100644 --- a/api_docs/kbn_management_settings_types.mdx +++ b/api_docs/kbn_management_settings_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-types title: "@kbn/management-settings-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-types'] --- import kbnManagementSettingsTypesObj from './kbn_management_settings_types.devdocs.json'; diff --git a/api_docs/kbn_management_settings_utilities.mdx b/api_docs/kbn_management_settings_utilities.mdx index e74c79dc75a81..897662ee69c3c 100644 --- a/api_docs/kbn_management_settings_utilities.mdx +++ b/api_docs/kbn_management_settings_utilities.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-settings-utilities title: "@kbn/management-settings-utilities" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-settings-utilities plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-settings-utilities'] --- import kbnManagementSettingsUtilitiesObj from './kbn_management_settings_utilities.devdocs.json'; diff --git a/api_docs/kbn_management_storybook_config.mdx b/api_docs/kbn_management_storybook_config.mdx index bfd851d65720c..ad7da63a8bc24 100644 --- a/api_docs/kbn_management_storybook_config.mdx +++ b/api_docs/kbn_management_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-management-storybook-config title: "@kbn/management-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/management-storybook-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/management-storybook-config'] --- import kbnManagementStorybookConfigObj from './kbn_management_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_manifest.mdx b/api_docs/kbn_manifest.mdx index ed00a057d4b79..0441d66b48402 100644 --- a/api_docs/kbn_manifest.mdx +++ b/api_docs/kbn_manifest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-manifest title: "@kbn/manifest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/manifest plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/manifest'] --- import kbnManifestObj from './kbn_manifest.devdocs.json'; diff --git a/api_docs/kbn_mapbox_gl.devdocs.json b/api_docs/kbn_mapbox_gl.devdocs.json index 2f8e5ff4b1091..51d2bbba3ec88 100644 --- a/api_docs/kbn_mapbox_gl.devdocs.json +++ b/api_docs/kbn_mapbox_gl.devdocs.json @@ -9624,7 +9624,7 @@ "signature": [ "any" ], - "path": "packages/kbn-mapbox-gl/index.ts", + "path": "src/platform/packages/private/kbn-mapbox-gl/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx index 5329b287cf41a..dc3dccaeee358 100644 --- a/api_docs/kbn_mapbox_gl.mdx +++ b/api_docs/kbn_mapbox_gl.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mapbox-gl title: "@kbn/mapbox-gl" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mapbox-gl plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] --- import kbnMapboxGlObj from './kbn_mapbox_gl.devdocs.json'; diff --git a/api_docs/kbn_maps_vector_tile_utils.devdocs.json b/api_docs/kbn_maps_vector_tile_utils.devdocs.json index d9dd62f526990..6070222a5b2c6 100644 --- a/api_docs/kbn_maps_vector_tile_utils.devdocs.json +++ b/api_docs/kbn_maps_vector_tile_utils.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(params: Record) => string" ], - "path": "x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts", + "path": "x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "Record" ], - "path": "x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts", + "path": "x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/kbn_maps_vector_tile_utils.mdx b/api_docs/kbn_maps_vector_tile_utils.mdx index e8ef3ae422425..aaf691a98e513 100644 --- a/api_docs/kbn_maps_vector_tile_utils.mdx +++ b/api_docs/kbn_maps_vector_tile_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-maps-vector-tile-utils title: "@kbn/maps-vector-tile-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/maps-vector-tile-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/maps-vector-tile-utils'] --- import kbnMapsVectorTileUtilsObj from './kbn_maps_vector_tile_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_agg_utils.devdocs.json b/api_docs/kbn_ml_agg_utils.devdocs.json index ebfc86245c21e..d20d375a4744b 100644 --- a/api_docs/kbn_ml_agg_utils.devdocs.json +++ b/api_docs/kbn_ml_agg_utils.devdocs.json @@ -471,7 +471,8 @@ "section": "def-common.NumberValidationResult", "text": "NumberValidationResult" }, - " | null) & _.MemoizedFunction" + " | null) & ", + "MemoizedFunction" ], "path": "x-pack/platform/packages/private/ml/agg_utils/src/validate_number.ts", "deprecated": false, diff --git a/api_docs/kbn_ml_agg_utils.mdx b/api_docs/kbn_ml_agg_utils.mdx index ca8771a453015..060c0b760b827 100644 --- a/api_docs/kbn_ml_agg_utils.mdx +++ b/api_docs/kbn_ml_agg_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-agg-utils title: "@kbn/ml-agg-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-agg-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-agg-utils'] --- import kbnMlAggUtilsObj from './kbn_ml_agg_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_anomaly_utils.mdx b/api_docs/kbn_ml_anomaly_utils.mdx index bdc5b04b162b4..092e5721c1a20 100644 --- a/api_docs/kbn_ml_anomaly_utils.mdx +++ b/api_docs/kbn_ml_anomaly_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-anomaly-utils title: "@kbn/ml-anomaly-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-anomaly-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-anomaly-utils'] --- import kbnMlAnomalyUtilsObj from './kbn_ml_anomaly_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_cancellable_search.mdx b/api_docs/kbn_ml_cancellable_search.mdx index d4063b1bf6970..f14acb91708b7 100644 --- a/api_docs/kbn_ml_cancellable_search.mdx +++ b/api_docs/kbn_ml_cancellable_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-cancellable-search title: "@kbn/ml-cancellable-search" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-cancellable-search plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-cancellable-search'] --- import kbnMlCancellableSearchObj from './kbn_ml_cancellable_search.devdocs.json'; diff --git a/api_docs/kbn_ml_category_validator.mdx b/api_docs/kbn_ml_category_validator.mdx index 1b6a692b55d6d..455d7c504ef37 100644 --- a/api_docs/kbn_ml_category_validator.mdx +++ b/api_docs/kbn_ml_category_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-category-validator title: "@kbn/ml-category-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-category-validator plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-category-validator'] --- import kbnMlCategoryValidatorObj from './kbn_ml_category_validator.devdocs.json'; diff --git a/api_docs/kbn_ml_chi2test.mdx b/api_docs/kbn_ml_chi2test.mdx index e04f4dd447e28..9ed45d22397f6 100644 --- a/api_docs/kbn_ml_chi2test.mdx +++ b/api_docs/kbn_ml_chi2test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-chi2test title: "@kbn/ml-chi2test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-chi2test plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-chi2test'] --- import kbnMlChi2testObj from './kbn_ml_chi2test.devdocs.json'; diff --git a/api_docs/kbn_ml_data_frame_analytics_utils.mdx b/api_docs/kbn_ml_data_frame_analytics_utils.mdx index 890490143cbc2..d7c6b13028727 100644 --- a/api_docs/kbn_ml_data_frame_analytics_utils.mdx +++ b/api_docs/kbn_ml_data_frame_analytics_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-frame-analytics-utils title: "@kbn/ml-data-frame-analytics-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-frame-analytics-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-frame-analytics-utils'] --- import kbnMlDataFrameAnalyticsUtilsObj from './kbn_ml_data_frame_analytics_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_data_grid.mdx b/api_docs/kbn_ml_data_grid.mdx index f431ca931d29a..433c34f2946e3 100644 --- a/api_docs/kbn_ml_data_grid.mdx +++ b/api_docs/kbn_ml_data_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-data-grid title: "@kbn/ml-data-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-data-grid plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-data-grid'] --- import kbnMlDataGridObj from './kbn_ml_data_grid.devdocs.json'; diff --git a/api_docs/kbn_ml_date_picker.mdx b/api_docs/kbn_ml_date_picker.mdx index 27d82bd94026a..7953d7dbe4c5c 100644 --- a/api_docs/kbn_ml_date_picker.mdx +++ b/api_docs/kbn_ml_date_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-picker title: "@kbn/ml-date-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-picker plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-picker'] --- import kbnMlDatePickerObj from './kbn_ml_date_picker.devdocs.json'; diff --git a/api_docs/kbn_ml_date_utils.mdx b/api_docs/kbn_ml_date_utils.mdx index 4856e8a1eca70..cf4d14f83919e 100644 --- a/api_docs/kbn_ml_date_utils.mdx +++ b/api_docs/kbn_ml_date_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-date-utils title: "@kbn/ml-date-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-date-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-date-utils'] --- import kbnMlDateUtilsObj from './kbn_ml_date_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_error_utils.mdx b/api_docs/kbn_ml_error_utils.mdx index ceee1ba563654..d4e4247f6dfa0 100644 --- a/api_docs/kbn_ml_error_utils.mdx +++ b/api_docs/kbn_ml_error_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-error-utils title: "@kbn/ml-error-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-error-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-error-utils'] --- import kbnMlErrorUtilsObj from './kbn_ml_error_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_field_stats_flyout.mdx b/api_docs/kbn_ml_field_stats_flyout.mdx index 0725342786287..cf1ac51a25dcf 100644 --- a/api_docs/kbn_ml_field_stats_flyout.mdx +++ b/api_docs/kbn_ml_field_stats_flyout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-field-stats-flyout title: "@kbn/ml-field-stats-flyout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-field-stats-flyout plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-field-stats-flyout'] --- import kbnMlFieldStatsFlyoutObj from './kbn_ml_field_stats_flyout.devdocs.json'; diff --git a/api_docs/kbn_ml_in_memory_table.mdx b/api_docs/kbn_ml_in_memory_table.mdx index fc8e46fbc914e..7e95a4649b8a2 100644 --- a/api_docs/kbn_ml_in_memory_table.mdx +++ b/api_docs/kbn_ml_in_memory_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-in-memory-table title: "@kbn/ml-in-memory-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-in-memory-table plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-in-memory-table'] --- import kbnMlInMemoryTableObj from './kbn_ml_in_memory_table.devdocs.json'; diff --git a/api_docs/kbn_ml_is_defined.mdx b/api_docs/kbn_ml_is_defined.mdx index 99eb683335157..1b876f58ce75e 100644 --- a/api_docs/kbn_ml_is_defined.mdx +++ b/api_docs/kbn_ml_is_defined.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-defined title: "@kbn/ml-is-defined" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-defined plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-defined'] --- import kbnMlIsDefinedObj from './kbn_ml_is_defined.devdocs.json'; diff --git a/api_docs/kbn_ml_is_populated_object.mdx b/api_docs/kbn_ml_is_populated_object.mdx index b2ac897e15897..61ba452cf788b 100644 --- a/api_docs/kbn_ml_is_populated_object.mdx +++ b/api_docs/kbn_ml_is_populated_object.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-is-populated-object title: "@kbn/ml-is-populated-object" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-is-populated-object plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-is-populated-object'] --- import kbnMlIsPopulatedObjectObj from './kbn_ml_is_populated_object.devdocs.json'; diff --git a/api_docs/kbn_ml_kibana_theme.mdx b/api_docs/kbn_ml_kibana_theme.mdx index eaf6d0098156d..34a59f3187fb5 100644 --- a/api_docs/kbn_ml_kibana_theme.mdx +++ b/api_docs/kbn_ml_kibana_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-kibana-theme title: "@kbn/ml-kibana-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-kibana-theme plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-kibana-theme'] --- import kbnMlKibanaThemeObj from './kbn_ml_kibana_theme.devdocs.json'; diff --git a/api_docs/kbn_ml_local_storage.mdx b/api_docs/kbn_ml_local_storage.mdx index 6b492f2829591..e5216baf18dd8 100644 --- a/api_docs/kbn_ml_local_storage.mdx +++ b/api_docs/kbn_ml_local_storage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-local-storage title: "@kbn/ml-local-storage" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-local-storage plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-local-storage'] --- import kbnMlLocalStorageObj from './kbn_ml_local_storage.devdocs.json'; diff --git a/api_docs/kbn_ml_nested_property.mdx b/api_docs/kbn_ml_nested_property.mdx index ec8d21f08c604..2017cc83fd8c4 100644 --- a/api_docs/kbn_ml_nested_property.mdx +++ b/api_docs/kbn_ml_nested_property.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-nested-property title: "@kbn/ml-nested-property" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-nested-property plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-nested-property'] --- import kbnMlNestedPropertyObj from './kbn_ml_nested_property.devdocs.json'; diff --git a/api_docs/kbn_ml_number_utils.mdx b/api_docs/kbn_ml_number_utils.mdx index a1856a73b3c5e..17727ef73473e 100644 --- a/api_docs/kbn_ml_number_utils.mdx +++ b/api_docs/kbn_ml_number_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-number-utils title: "@kbn/ml-number-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-number-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-number-utils'] --- import kbnMlNumberUtilsObj from './kbn_ml_number_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_parse_interval.mdx b/api_docs/kbn_ml_parse_interval.mdx index 7599a74406a37..d8f03040caebe 100644 --- a/api_docs/kbn_ml_parse_interval.mdx +++ b/api_docs/kbn_ml_parse_interval.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-parse-interval title: "@kbn/ml-parse-interval" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-parse-interval plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-parse-interval'] --- import kbnMlParseIntervalObj from './kbn_ml_parse_interval.devdocs.json'; diff --git a/api_docs/kbn_ml_query_utils.mdx b/api_docs/kbn_ml_query_utils.mdx index afeeeac9c642e..65afe38f8ef0c 100644 --- a/api_docs/kbn_ml_query_utils.mdx +++ b/api_docs/kbn_ml_query_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-query-utils title: "@kbn/ml-query-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-query-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-query-utils'] --- import kbnMlQueryUtilsObj from './kbn_ml_query_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_random_sampler_utils.mdx b/api_docs/kbn_ml_random_sampler_utils.mdx index cdbfe028a6ae7..669372e0fa1f6 100644 --- a/api_docs/kbn_ml_random_sampler_utils.mdx +++ b/api_docs/kbn_ml_random_sampler_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-random-sampler-utils title: "@kbn/ml-random-sampler-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-random-sampler-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-random-sampler-utils'] --- import kbnMlRandomSamplerUtilsObj from './kbn_ml_random_sampler_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_route_utils.mdx b/api_docs/kbn_ml_route_utils.mdx index 30450d734e5f9..302f114df598f 100644 --- a/api_docs/kbn_ml_route_utils.mdx +++ b/api_docs/kbn_ml_route_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-route-utils title: "@kbn/ml-route-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-route-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-route-utils'] --- import kbnMlRouteUtilsObj from './kbn_ml_route_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_runtime_field_utils.mdx b/api_docs/kbn_ml_runtime_field_utils.mdx index d4183cf52c367..8ef7b6ed4da1f 100644 --- a/api_docs/kbn_ml_runtime_field_utils.mdx +++ b/api_docs/kbn_ml_runtime_field_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-runtime-field-utils title: "@kbn/ml-runtime-field-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-runtime-field-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-runtime-field-utils'] --- import kbnMlRuntimeFieldUtilsObj from './kbn_ml_runtime_field_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_string_hash.mdx b/api_docs/kbn_ml_string_hash.mdx index 28645dcae16f6..05fc00cfc345d 100644 --- a/api_docs/kbn_ml_string_hash.mdx +++ b/api_docs/kbn_ml_string_hash.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-string-hash title: "@kbn/ml-string-hash" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-string-hash plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-string-hash'] --- import kbnMlStringHashObj from './kbn_ml_string_hash.devdocs.json'; diff --git a/api_docs/kbn_ml_time_buckets.mdx b/api_docs/kbn_ml_time_buckets.mdx index 94ad3e67bed72..75933df521ee5 100644 --- a/api_docs/kbn_ml_time_buckets.mdx +++ b/api_docs/kbn_ml_time_buckets.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-time-buckets title: "@kbn/ml-time-buckets" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-time-buckets plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-time-buckets'] --- import kbnMlTimeBucketsObj from './kbn_ml_time_buckets.devdocs.json'; diff --git a/api_docs/kbn_ml_trained_models_utils.mdx b/api_docs/kbn_ml_trained_models_utils.mdx index b940c05a44a47..eac3db23ec54b 100644 --- a/api_docs/kbn_ml_trained_models_utils.mdx +++ b/api_docs/kbn_ml_trained_models_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-trained-models-utils title: "@kbn/ml-trained-models-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-trained-models-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-trained-models-utils'] --- import kbnMlTrainedModelsUtilsObj from './kbn_ml_trained_models_utils.devdocs.json'; diff --git a/api_docs/kbn_ml_ui_actions.mdx b/api_docs/kbn_ml_ui_actions.mdx index 5d763e8bdc9a5..db273512d9aea 100644 --- a/api_docs/kbn_ml_ui_actions.mdx +++ b/api_docs/kbn_ml_ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-ui-actions title: "@kbn/ml-ui-actions" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-ui-actions plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-ui-actions'] --- import kbnMlUiActionsObj from './kbn_ml_ui_actions.devdocs.json'; diff --git a/api_docs/kbn_ml_url_state.mdx b/api_docs/kbn_ml_url_state.mdx index 8c02f6c6363c0..40c97fc0f12d4 100644 --- a/api_docs/kbn_ml_url_state.mdx +++ b/api_docs/kbn_ml_url_state.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-url-state title: "@kbn/ml-url-state" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-url-state plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-url-state'] --- import kbnMlUrlStateObj from './kbn_ml_url_state.devdocs.json'; diff --git a/api_docs/kbn_ml_validators.mdx b/api_docs/kbn_ml_validators.mdx index 8a3d1f21be893..10e4b63f56d78 100644 --- a/api_docs/kbn_ml_validators.mdx +++ b/api_docs/kbn_ml_validators.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ml-validators title: "@kbn/ml-validators" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ml-validators plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ml-validators'] --- import kbnMlValidatorsObj from './kbn_ml_validators.devdocs.json'; diff --git a/api_docs/kbn_mock_idp_utils.mdx b/api_docs/kbn_mock_idp_utils.mdx index a66cb125ff281..a92a732669d66 100644 --- a/api_docs/kbn_mock_idp_utils.mdx +++ b/api_docs/kbn_mock_idp_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-mock-idp-utils title: "@kbn/mock-idp-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/mock-idp-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mock-idp-utils'] --- import kbnMockIdpUtilsObj from './kbn_mock_idp_utils.devdocs.json'; diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx index be73463630c4f..51959aaac4fe6 100644 --- a/api_docs/kbn_monaco.mdx +++ b/api_docs/kbn_monaco.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-monaco title: "@kbn/monaco" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/monaco plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] --- import kbnMonacoObj from './kbn_monaco.devdocs.json'; diff --git a/api_docs/kbn_object_versioning.mdx b/api_docs/kbn_object_versioning.mdx index c91d1d943dc39..1759c14160aec 100644 --- a/api_docs/kbn_object_versioning.mdx +++ b/api_docs/kbn_object_versioning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning title: "@kbn/object-versioning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/object-versioning'] --- import kbnObjectVersioningObj from './kbn_object_versioning.devdocs.json'; diff --git a/api_docs/kbn_object_versioning_utils.mdx b/api_docs/kbn_object_versioning_utils.mdx index 8f03406b0f7fe..cec17708fdd75 100644 --- a/api_docs/kbn_object_versioning_utils.mdx +++ b/api_docs/kbn_object_versioning_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-object-versioning-utils title: "@kbn/object-versioning-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/object-versioning-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/object-versioning-utils'] --- import kbnObjectVersioningUtilsObj from './kbn_object_versioning_utils.devdocs.json'; diff --git a/api_docs/kbn_observability_alert_details.mdx b/api_docs/kbn_observability_alert_details.mdx index ea90ec85c5747..443bfad1652ba 100644 --- a/api_docs/kbn_observability_alert_details.mdx +++ b/api_docs/kbn_observability_alert_details.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alert-details title: "@kbn/observability-alert-details" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alert-details plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alert-details'] --- import kbnObservabilityAlertDetailsObj from './kbn_observability_alert_details.devdocs.json'; diff --git a/api_docs/kbn_observability_alerting_rule_utils.mdx b/api_docs/kbn_observability_alerting_rule_utils.mdx index 15131e0a19884..5e56235f52272 100644 --- a/api_docs/kbn_observability_alerting_rule_utils.mdx +++ b/api_docs/kbn_observability_alerting_rule_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alerting-rule-utils title: "@kbn/observability-alerting-rule-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alerting-rule-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alerting-rule-utils'] --- import kbnObservabilityAlertingRuleUtilsObj from './kbn_observability_alerting_rule_utils.devdocs.json'; diff --git a/api_docs/kbn_observability_alerting_test_data.mdx b/api_docs/kbn_observability_alerting_test_data.mdx index 21dc0337db9b3..f5d93c98edf35 100644 --- a/api_docs/kbn_observability_alerting_test_data.mdx +++ b/api_docs/kbn_observability_alerting_test_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-alerting-test-data title: "@kbn/observability-alerting-test-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-alerting-test-data plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-alerting-test-data'] --- import kbnObservabilityAlertingTestDataObj from './kbn_observability_alerting_test_data.devdocs.json'; diff --git a/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx b/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx index 4758ba3884d97..83c9c2a312ddc 100644 --- a/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx +++ b/api_docs/kbn_observability_get_padded_alert_time_range_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-get-padded-alert-time-range-util title: "@kbn/observability-get-padded-alert-time-range-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-get-padded-alert-time-range-util plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-get-padded-alert-time-range-util'] --- import kbnObservabilityGetPaddedAlertTimeRangeUtilObj from './kbn_observability_get_padded_alert_time_range_util.devdocs.json'; diff --git a/api_docs/kbn_observability_logs_overview.mdx b/api_docs/kbn_observability_logs_overview.mdx index 3623af25e4283..02e2affa336af 100644 --- a/api_docs/kbn_observability_logs_overview.mdx +++ b/api_docs/kbn_observability_logs_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-logs-overview title: "@kbn/observability-logs-overview" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-logs-overview plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-logs-overview'] --- import kbnObservabilityLogsOverviewObj from './kbn_observability_logs_overview.devdocs.json'; diff --git a/api_docs/kbn_observability_synthetics_test_data.mdx b/api_docs/kbn_observability_synthetics_test_data.mdx index 501f63109a89d..1d77527de1277 100644 --- a/api_docs/kbn_observability_synthetics_test_data.mdx +++ b/api_docs/kbn_observability_synthetics_test_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-observability-synthetics-test-data title: "@kbn/observability-synthetics-test-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/observability-synthetics-test-data plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/observability-synthetics-test-data'] --- import kbnObservabilitySyntheticsTestDataObj from './kbn_observability_synthetics_test_data.devdocs.json'; diff --git a/api_docs/kbn_openapi_bundler.mdx b/api_docs/kbn_openapi_bundler.mdx index bf3d1a202f32b..ea6922300dd32 100644 --- a/api_docs/kbn_openapi_bundler.mdx +++ b/api_docs/kbn_openapi_bundler.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-openapi-bundler title: "@kbn/openapi-bundler" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/openapi-bundler plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-bundler'] --- import kbnOpenapiBundlerObj from './kbn_openapi_bundler.devdocs.json'; diff --git a/api_docs/kbn_openapi_generator.mdx b/api_docs/kbn_openapi_generator.mdx index 97f7e64f23436..da74dee2fbf04 100644 --- a/api_docs/kbn_openapi_generator.mdx +++ b/api_docs/kbn_openapi_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-openapi-generator title: "@kbn/openapi-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/openapi-generator plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/openapi-generator'] --- import kbnOpenapiGeneratorObj from './kbn_openapi_generator.devdocs.json'; diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx index 365d6191c54a6..b19fda5011e14 100644 --- a/api_docs/kbn_optimizer.mdx +++ b/api_docs/kbn_optimizer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer title: "@kbn/optimizer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] --- import kbnOptimizerObj from './kbn_optimizer.devdocs.json'; diff --git a/api_docs/kbn_optimizer_webpack_helpers.mdx b/api_docs/kbn_optimizer_webpack_helpers.mdx index 3009d2ac70508..ea376246993ef 100644 --- a/api_docs/kbn_optimizer_webpack_helpers.mdx +++ b/api_docs/kbn_optimizer_webpack_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-optimizer-webpack-helpers title: "@kbn/optimizer-webpack-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/optimizer-webpack-helpers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer-webpack-helpers'] --- import kbnOptimizerWebpackHelpersObj from './kbn_optimizer_webpack_helpers.devdocs.json'; diff --git a/api_docs/kbn_osquery_io_ts_types.mdx b/api_docs/kbn_osquery_io_ts_types.mdx index 94f108723ccb7..5cd6c51d78545 100644 --- a/api_docs/kbn_osquery_io_ts_types.mdx +++ b/api_docs/kbn_osquery_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-osquery-io-ts-types title: "@kbn/osquery-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/osquery-io-ts-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/osquery-io-ts-types'] --- import kbnOsqueryIoTsTypesObj from './kbn_osquery_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_palettes.mdx b/api_docs/kbn_palettes.mdx index 17ada8b6fcb1d..ea54dbe227627 100644 --- a/api_docs/kbn_palettes.mdx +++ b/api_docs/kbn_palettes.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-palettes title: "@kbn/palettes" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/palettes plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/palettes'] --- import kbnPalettesObj from './kbn_palettes.devdocs.json'; diff --git a/api_docs/kbn_panel_loader.devdocs.json b/api_docs/kbn_panel_loader.devdocs.json index 666bb9078ab7e..e5b33ccfbff57 100644 --- a/api_docs/kbn_panel_loader.devdocs.json +++ b/api_docs/kbn_panel_loader.devdocs.json @@ -13,7 +13,7 @@ "signature": [ "(props: { showShadow?: boolean | undefined; showBorder?: boolean | undefined; dataTestSubj?: string | undefined; }) => React.JSX.Element" ], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -24,7 +24,7 @@ "tags": [], "label": "props", "description": [], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -38,7 +38,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -52,7 +52,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -66,7 +66,7 @@ "signature": [ "string | undefined" ], - "path": "packages/kbn-panel-loader/index.tsx", + "path": "src/platform/packages/private/kbn-panel-loader/index.tsx", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_panel_loader.mdx b/api_docs/kbn_panel_loader.mdx index c13697c88f915..7ec5677d16af5 100644 --- a/api_docs/kbn_panel_loader.mdx +++ b/api_docs/kbn_panel_loader.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-panel-loader title: "@kbn/panel-loader" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/panel-loader plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/panel-loader'] --- import kbnPanelLoaderObj from './kbn_panel_loader.devdocs.json'; diff --git a/api_docs/kbn_performance_testing_dataset_extractor.mdx b/api_docs/kbn_performance_testing_dataset_extractor.mdx index 3017f5ca2241c..37dda3ebc71d5 100644 --- a/api_docs/kbn_performance_testing_dataset_extractor.mdx +++ b/api_docs/kbn_performance_testing_dataset_extractor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-performance-testing-dataset-extractor title: "@kbn/performance-testing-dataset-extractor" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/performance-testing-dataset-extractor plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/performance-testing-dataset-extractor'] --- import kbnPerformanceTestingDatasetExtractorObj from './kbn_performance_testing_dataset_extractor.devdocs.json'; diff --git a/api_docs/kbn_plugin_check.mdx b/api_docs/kbn_plugin_check.mdx index f3f42312e5410..8a973c2eb99c2 100644 --- a/api_docs/kbn_plugin_check.mdx +++ b/api_docs/kbn_plugin_check.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-check title: "@kbn/plugin-check" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-check plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-check'] --- import kbnPluginCheckObj from './kbn_plugin_check.devdocs.json'; diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx index 5f07df4fe8db0..6c48dbfc33b21 100644 --- a/api_docs/kbn_plugin_generator.mdx +++ b/api_docs/kbn_plugin_generator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-generator title: "@kbn/plugin-generator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-generator plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] --- import kbnPluginGeneratorObj from './kbn_plugin_generator.devdocs.json'; diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx index ed027c089dbd5..d80b7e12e1e3f 100644 --- a/api_docs/kbn_plugin_helpers.mdx +++ b/api_docs/kbn_plugin_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-plugin-helpers title: "@kbn/plugin-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/plugin-helpers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] --- import kbnPluginHelpersObj from './kbn_plugin_helpers.devdocs.json'; diff --git a/api_docs/kbn_presentation_containers.devdocs.json b/api_docs/kbn_presentation_containers.devdocs.json index 305426d8d15c6..e8cc526c4bb59 100644 --- a/api_docs/kbn_presentation_containers.devdocs.json +++ b/api_docs/kbn_presentation_containers.devdocs.json @@ -22,7 +22,7 @@ "text": "CanAddNewPanel" } ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36,7 +36,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,7 +62,7 @@ "text": "CanDuplicatePanels" } ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "text": "CanExpandPanels" } ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -116,7 +116,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -143,7 +143,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -157,7 +157,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -183,7 +183,7 @@ "text": "HasSaveNotification" } ], - "path": "packages/presentation/presentation_containers/interfaces/has_save_notification.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -197,7 +197,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/has_save_notification.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -224,7 +224,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -238,7 +238,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -265,7 +265,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -279,7 +279,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -305,7 +305,7 @@ "text": "PresentationContainer" } ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -319,7 +319,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -345,7 +345,7 @@ "text": "PublishesSettings" } ], - "path": "packages/presentation/presentation_containers/interfaces/publishes_settings.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -359,7 +359,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/publishes_settings.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -385,7 +385,7 @@ "text": "TrackContentfulRender" } ], - "path": "packages/presentation/presentation_containers/interfaces/performance_trackers.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -399,7 +399,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/performance_trackers.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -430,7 +430,7 @@ "Observable", "<{ [key: string]: object; } | undefined>" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -451,7 +451,7 @@ }, "<{ [key: string]: unknown; }>" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -472,7 +472,7 @@ "Observable", "" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -486,7 +486,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -501,7 +501,7 @@ "signature": [ "keyof ApiType" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -516,7 +516,7 @@ "signature": [ "(api: unknown) => api is ApiType" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -531,7 +531,7 @@ "signature": [ "PublishingSubjectType" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -546,7 +546,7 @@ "signature": [ "((array: PublishingSubjectType[]) => PublishingSubjectType) | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -573,7 +573,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -587,7 +587,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -630,7 +630,7 @@ }, "; cleanup: () => void; }" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -644,7 +644,7 @@ "signature": [ "RuntimeState" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -659,7 +659,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -681,7 +681,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -700,7 +700,7 @@ "signature": [ "(parent: unknown, isCompatible: (api: unknown) => api is ApiType, apiFound: (api: ApiType | undefined) => void | (() => void)) => () => void" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -714,7 +714,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -729,7 +729,7 @@ "signature": [ "(api: unknown) => api is ApiType" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -744,7 +744,7 @@ "signature": [ "(api: ApiType | undefined) => void | (() => void)" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -770,7 +770,7 @@ "text": "TracksOverlays" } ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -784,7 +784,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -804,7 +804,7 @@ "description": [ "\nThis API can add a new panel as a child." ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -826,7 +826,7 @@ }, ", displaySuccessMessage?: boolean | undefined) => Promise" ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -847,7 +847,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -862,7 +862,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -880,7 +880,7 @@ "tags": [], "label": "CanDuplicatePanels", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -894,7 +894,7 @@ "signature": [ "(panelId: string) => void" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -908,7 +908,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -926,7 +926,7 @@ "tags": [], "label": "CanExpandPanels", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -940,7 +940,7 @@ "signature": [ "(panelId: string) => void" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -954,7 +954,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1122,7 +1122,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_containers/interfaces/panel_management.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts", "deprecated": false, "trackAdoption": false } @@ -1146,7 +1146,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1160,7 +1160,7 @@ "signature": [ "(childId: string) => Partial | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1174,7 +1174,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1192,7 +1192,7 @@ "tags": [], "label": "HasSaveNotification", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/has_save_notification.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1207,7 +1207,7 @@ "Subject", "" ], - "path": "packages/presentation/presentation_containers/interfaces/has_save_notification.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts", "deprecated": false, "trackAdoption": false } @@ -1231,7 +1231,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1255,7 +1255,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1281,7 +1281,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1303,7 +1303,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1317,7 +1317,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/child_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1345,7 +1345,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1361,7 +1361,7 @@ "signature": [ "() => RuntimeState" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1387,7 +1387,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1398,7 +1398,7 @@ "tags": [], "label": "panelType", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false }, @@ -1412,7 +1412,7 @@ "signature": [ "SerializedState | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false } @@ -1443,7 +1443,7 @@ "text": "CanAddNewPanel" } ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1459,7 +1459,7 @@ "signature": [ "(panelId: string) => void" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1473,7 +1473,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1493,7 +1493,7 @@ "signature": [ "(() => boolean) | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1519,7 +1519,7 @@ }, ") => Promise" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1533,7 +1533,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1555,7 +1555,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1575,7 +1575,7 @@ "signature": [ "() => number" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1743,7 +1743,7 @@ "Observable", "<{ [key: string]: unknown; }>; }" ], - "path": "packages/presentation/presentation_containers/interfaces/presentation_container.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts", "deprecated": false, "trackAdoption": false } @@ -1757,7 +1757,7 @@ "tags": [], "label": "PublishesSettings", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/publishes_settings.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1779,7 +1779,7 @@ }, "; }" ], - "path": "packages/presentation/presentation_containers/interfaces/publishes_settings.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts", "deprecated": false, "trackAdoption": false } @@ -1805,7 +1805,7 @@ }, "" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1826,7 +1826,7 @@ }, "[] | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false }, @@ -1840,7 +1840,7 @@ "signature": [ "RawStateType" ], - "path": "packages/presentation/presentation_containers/interfaces/serialized_state.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts", "deprecated": false, "trackAdoption": false } @@ -1854,7 +1854,7 @@ "tags": [], "label": "TrackContentfulRender", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/performance_trackers.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1870,7 +1870,7 @@ "signature": [ "() => void" ], - "path": "packages/presentation/presentation_containers/interfaces/performance_trackers.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1886,7 +1886,7 @@ "tags": [], "label": "TracksOverlays", "description": [], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1910,7 +1910,7 @@ "TracksOverlaysOptions", " | undefined) => void" ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1930,7 +1930,7 @@ "text": "OverlayRef" } ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1946,7 +1946,7 @@ "TracksOverlaysOptions", " | undefined" ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1964,7 +1964,7 @@ "signature": [ "() => void" ], - "path": "packages/presentation/presentation_containers/interfaces/tracks_overlays.ts", + "path": "src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts", "deprecated": false, "trackAdoption": false, "children": [], diff --git a/api_docs/kbn_presentation_containers.mdx b/api_docs/kbn_presentation_containers.mdx index 5a235508f53d3..4c580611b7a88 100644 --- a/api_docs/kbn_presentation_containers.mdx +++ b/api_docs/kbn_presentation_containers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-presentation-containers title: "@kbn/presentation-containers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/presentation-containers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-containers'] --- import kbnPresentationContainersObj from './kbn_presentation_containers.devdocs.json'; diff --git a/api_docs/kbn_presentation_publishing.devdocs.json b/api_docs/kbn_presentation_publishing.devdocs.json index 4ceb8a61c0e47..4300e8875526b 100644 --- a/api_docs/kbn_presentation_publishing.devdocs.json +++ b/api_docs/kbn_presentation_publishing.devdocs.json @@ -22,7 +22,7 @@ "text": "CanAccessViewMode" } ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -36,7 +36,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,7 +62,7 @@ "text": "CanLockHoverActions" } ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "text": "HasAppContext" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -116,7 +116,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -142,7 +142,7 @@ "text": "HasDisableTriggers" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -156,7 +156,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -182,7 +182,7 @@ "text": "HasExecutionContext" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_execution_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -196,7 +196,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_execution_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -223,7 +223,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -237,7 +237,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -265,25 +265,25 @@ "text": "HasLegacyLibraryTransforms" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" } ], "children": [ @@ -297,7 +297,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -324,7 +324,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -338,7 +338,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -367,7 +367,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_parent_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -381,7 +381,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_parent_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -407,7 +407,7 @@ "text": "HasSupportedTriggers" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -421,7 +421,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -448,7 +448,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -462,7 +462,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -488,7 +488,7 @@ "text": "HasUniqueId" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_uuid.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -502,7 +502,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_uuid.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -529,7 +529,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -543,7 +543,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -558,7 +558,7 @@ "signature": [ "T" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -584,7 +584,7 @@ "text": "PublishesBlockingError" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -598,7 +598,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -624,7 +624,7 @@ "text": "PublishesDataLoading" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -638,7 +638,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -664,7 +664,7 @@ "text": "PublishesDataViews" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -678,7 +678,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -706,7 +706,7 @@ "text": "PublishesDisabledActionIds" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -720,7 +720,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -746,7 +746,7 @@ "text": "PublishesFilters" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -760,7 +760,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -786,7 +786,7 @@ "text": "PublishesPanelDescription" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -800,7 +800,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -826,7 +826,7 @@ "text": "PublishesPanelTitle" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -840,7 +840,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -867,7 +867,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -881,7 +881,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -907,7 +907,7 @@ "text": "PublishesPhaseEvents" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -921,7 +921,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -947,7 +947,7 @@ "text": "PublishesReload" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -961,7 +961,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -987,7 +987,7 @@ "text": "PublishesRendered" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1001,7 +1001,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1029,7 +1029,7 @@ "text": "PublishesSavedObjectId" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1043,7 +1043,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1069,7 +1069,7 @@ "text": "PublishesTimeRange" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1083,7 +1083,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1109,7 +1109,7 @@ "text": "PublishesTimeslice" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1123,7 +1123,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1149,7 +1149,7 @@ "text": "PublishesUnifiedSearch" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1163,7 +1163,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1190,7 +1190,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1204,7 +1204,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1232,7 +1232,7 @@ "text": "PublishesViewMode" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1246,7 +1246,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1272,7 +1272,7 @@ "text": "PublishesWritablePanelDescription" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1286,7 +1286,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1312,7 +1312,7 @@ "text": "PublishesWritablePanelTitle" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1326,7 +1326,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1352,7 +1352,7 @@ "text": "PublishesWritableUnifiedSearch" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1366,7 +1366,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1392,7 +1392,7 @@ "text": "PublishesWritableViewMode" } ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1406,7 +1406,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1425,7 +1425,7 @@ "signature": [ "(api: unknown) => boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1439,7 +1439,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1468,7 +1468,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1482,7 +1482,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1519,7 +1519,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1540,7 +1540,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1567,7 +1567,7 @@ }, ", comparatorKeys: (keyof StateType)[]) => Partial" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1588,7 +1588,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1603,7 +1603,7 @@ "signature": [ "(keyof StateType)[]" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1630,7 +1630,7 @@ }, ">) => string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1652,7 +1652,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1679,7 +1679,7 @@ }, ">) => string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1701,7 +1701,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1730,7 +1730,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/comparators/fallback_comparator.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/fallback_comparator.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1771,7 +1771,7 @@ }, "> | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1792,7 +1792,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1811,7 +1811,7 @@ "signature": [ "(api: unknown) => boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1825,7 +1825,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1853,7 +1853,7 @@ "text": "HasEditCapabilities" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1867,7 +1867,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1920,7 +1920,7 @@ }, ">; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1940,7 +1940,7 @@ "text": "SerializedTimeRange" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1993,7 +1993,7 @@ }, "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2013,7 +2013,7 @@ "text": "SerializedTitles" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2040,7 +2040,7 @@ }, ", comparatorKeys: (keyof StateType)[], lastSavedState: StateType | undefined, latestState: Partial) => Partial | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2061,7 +2061,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2076,7 +2076,7 @@ "signature": [ "(keyof StateType)[]" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2091,7 +2091,7 @@ "signature": [ "StateType | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2106,7 +2106,7 @@ "signature": [ "Partial" ], - "path": "packages/presentation/presentation_publishing/comparators/state_comparators.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2132,7 +2132,7 @@ "text": "SerializedTitles" } ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2146,7 +2146,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2171,7 +2171,7 @@ "UnwrapPublishingSubjectTuple", "" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2187,7 +2187,7 @@ "signature": [ "[...SubjectsType]" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2218,7 +2218,7 @@ "UnwrapPublishingSubjectTuple", "" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2234,7 +2234,7 @@ "signature": [ "[...SubjectsType]" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2260,7 +2260,7 @@ "text": "FetchContext" } ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2274,7 +2274,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2319,7 +2319,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2333,7 +2333,7 @@ "signature": [ "ApiType | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2362,7 +2362,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2378,7 +2378,7 @@ "signature": [ "T" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2469,7 +2469,7 @@ }, " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2480,7 +2480,7 @@ "tags": [], "label": "{\n filters,\n query,\n timeRange,\n}", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2501,7 +2501,7 @@ }, "[] | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false }, @@ -2530,7 +2530,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false }, @@ -2551,7 +2551,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false } @@ -2591,7 +2591,7 @@ "ValueFromPublishingSubject", "" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2607,7 +2607,7 @@ "signature": [ "SubjectType" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2627,7 +2627,7 @@ "description": [ "\nThis API can lock hover actions" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2791,7 +2791,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -2805,7 +2805,7 @@ "signature": [ "(lock: boolean) => void" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2819,7 +2819,7 @@ "signature": [ "boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2837,7 +2837,7 @@ "tags": [], "label": "EmbeddableApiContext", "description": [], - "path": "packages/presentation/presentation_publishing/index.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2853,7 +2853,7 @@ "signature": [ "unknown" ], - "path": "packages/presentation/presentation_publishing/index.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/index.ts", "deprecated": false, "trackAdoption": false } @@ -2867,7 +2867,7 @@ "tags": [], "label": "EmbeddableAppContext", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2883,7 +2883,7 @@ "signature": [ "(() => string) | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2896,7 +2896,7 @@ "tags": [], "label": "currentAppId", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false } @@ -2910,7 +2910,7 @@ "tags": [], "label": "FetchContext", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2921,7 +2921,7 @@ "tags": [], "label": "isReload", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -2942,7 +2942,7 @@ }, "[] | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -2971,7 +2971,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -2985,7 +2985,7 @@ "signature": [ "string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -3006,7 +3006,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false }, @@ -3020,7 +3020,7 @@ "signature": [ "[number, number] | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts", "deprecated": false, "trackAdoption": false } @@ -3034,7 +3034,7 @@ "tags": [], "label": "HasAppContext", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3055,7 +3055,7 @@ "text": "EmbeddableAppContext" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_app_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3071,7 +3071,7 @@ "tags": [], "label": "HasDisableTriggers", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3082,7 +3082,7 @@ "tags": [], "label": "disableTriggers", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts", "deprecated": false, "trackAdoption": false } @@ -3115,7 +3115,7 @@ "text": "HasTypeDisplayName" } ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3129,7 +3129,7 @@ "signature": [ "() => Promise" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3145,7 +3145,7 @@ "signature": [ "() => boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3161,7 +3161,7 @@ "signature": [ "(() => Promise) | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3177,7 +3177,7 @@ "tags": [], "label": "HasExecutionContext", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_execution_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3199,7 +3199,7 @@ }, " | undefined; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_execution_context.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts", "deprecated": false, "trackAdoption": false } @@ -3225,7 +3225,7 @@ }, " extends Partial,DuplicateTitleCheck" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3391,7 +3391,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false }, @@ -3407,7 +3407,7 @@ "signature": [ "(title: string) => Promise" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3421,7 +3421,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3443,7 +3443,7 @@ "signature": [ "() => RuntimeState" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3461,7 +3461,7 @@ "signature": [ "() => void" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3489,7 +3489,7 @@ }, " extends LibraryTransformGuards,DuplicateTitleCheck" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": true, "trackAdoption": false, "references": [ @@ -3511,35 +3511,35 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts" + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts" + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/react_embeddable/library_transforms.ts" + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/react_embeddable/library_transforms.ts" + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts" } ], "children": [ @@ -3555,7 +3555,7 @@ "signature": [ "(title: string) => Promise" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3569,7 +3569,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3591,7 +3591,7 @@ "signature": [ "(libraryId: string) => StateT" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3605,7 +3605,7 @@ "signature": [ "string" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3627,7 +3627,7 @@ "signature": [ "() => StateT" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3655,7 +3655,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_parent_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3669,7 +3669,7 @@ "signature": [ "ParentApiType" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_parent_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts", "deprecated": false, "trackAdoption": false } @@ -3683,7 +3683,7 @@ "tags": [], "label": "HasSupportedTriggers", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3697,7 +3697,7 @@ "signature": [ "() => string[]" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3723,7 +3723,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3737,7 +3737,7 @@ "signature": [ "T" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false } @@ -3751,7 +3751,7 @@ "tags": [], "label": "HasTypeDisplayName", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3765,7 +3765,7 @@ "signature": [ "() => string" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3781,7 +3781,7 @@ "signature": [ "(() => string) | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_type.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -3797,7 +3797,7 @@ "tags": [], "label": "HasUniqueId", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_uuid.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3808,7 +3808,7 @@ "tags": [], "label": "uuid", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/has_uuid.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts", "deprecated": false, "trackAdoption": false } @@ -3822,7 +3822,7 @@ "tags": [], "label": "PhaseEvent", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3833,7 +3833,7 @@ "tags": [], "label": "id", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false }, @@ -3847,7 +3847,7 @@ "signature": [ "\"error\" | \"loading\" | \"rendered\" | \"loaded\"" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false }, @@ -3868,7 +3868,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false }, @@ -3879,7 +3879,7 @@ "tags": [], "label": "timeToEvent", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false } @@ -3893,7 +3893,7 @@ "tags": [], "label": "PublishesBlockingError", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4057,7 +4057,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts", "deprecated": false, "trackAdoption": false } @@ -4071,7 +4071,7 @@ "tags": [], "label": "PublishesDataLoading", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4235,7 +4235,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts", "deprecated": false, "trackAdoption": false } @@ -4249,7 +4249,7 @@ "tags": [], "label": "PublishesDataViews", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4613,7 +4613,7 @@ }, "[] | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false } @@ -4627,7 +4627,7 @@ "tags": [], "label": "PublishesDisabledActionIds", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4791,7 +4791,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false }, @@ -4805,7 +4805,7 @@ "signature": [ "(ids: string[] | undefined) => void" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4819,7 +4819,7 @@ "signature": [ "string[] | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -4837,7 +4837,7 @@ "signature": [ "(() => boolean) | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4853,7 +4853,7 @@ "tags": [], "label": "PublishesFilters", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5217,7 +5217,7 @@ }, "[] | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false } @@ -5231,7 +5231,7 @@ "tags": [], "label": "PublishesPanelDescription", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5395,7 +5395,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false }, @@ -5416,7 +5416,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false } @@ -5430,7 +5430,7 @@ "tags": [], "label": "PublishesPanelTitle", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5594,7 +5594,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false }, @@ -5758,7 +5758,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false }, @@ -5779,7 +5779,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false } @@ -5793,7 +5793,7 @@ "tags": [], "label": "PublishesPhaseEvents", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6157,7 +6157,7 @@ }, " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false } @@ -6171,7 +6171,7 @@ "tags": [], "label": "PublishesReload", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6331,7 +6331,7 @@ "Subscription", "; }; toPromise: { (): Promise; (PromiseCtor: PromiseConstructor): Promise; (PromiseCtor: PromiseConstructorLike): Promise; }; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts", "deprecated": false, "trackAdoption": false } @@ -6345,7 +6345,7 @@ "tags": [], "label": "PublishesRendered", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6509,7 +6509,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts", "deprecated": false, "trackAdoption": false } @@ -6525,7 +6525,7 @@ "description": [ "\nThis API publishes a saved object id which can be used to determine which saved object this API is linked to." ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6689,7 +6689,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts", "deprecated": false, "trackAdoption": false } @@ -6721,7 +6721,7 @@ }, ">" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7085,7 +7085,7 @@ }, " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false }, @@ -7106,7 +7106,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false } @@ -7120,7 +7120,7 @@ "tags": [], "label": "PublishesTimeslice", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7284,7 +7284,7 @@ "Observable", "<[number, number] | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false } @@ -7308,7 +7308,7 @@ }, "" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7472,7 +7472,7 @@ "Observable", " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false }, @@ -7486,7 +7486,7 @@ "signature": [ "() => boolean" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -7504,7 +7504,7 @@ "description": [ "\nThis API publishes a universal view mode which can change compatibility of actions and the\nvisibility of components." ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7868,7 +7868,7 @@ }, ">; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false } @@ -7882,7 +7882,7 @@ "tags": [], "label": "SerializedTimeRange", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7903,7 +7903,7 @@ }, " | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts", "deprecated": false, "trackAdoption": false } @@ -7917,7 +7917,7 @@ "tags": [], "label": "SerializedTitles", "description": [], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -7931,7 +7931,7 @@ "signature": [ "string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false }, @@ -7945,7 +7945,7 @@ "signature": [ "string | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false }, @@ -7959,7 +7959,7 @@ "signature": [ "boolean | undefined" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts", "deprecated": false, "trackAdoption": false } @@ -8005,7 +8005,7 @@ }, ">>>" ], - "path": "packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8036,7 +8036,7 @@ }, " | undefined)?]" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8051,7 +8051,7 @@ "signature": [ "(last: StateType[KeyType] | undefined, current: StateType[KeyType] | undefined, lastState?: Partial | undefined, currentState?: Partial | undefined) => boolean" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -8066,7 +8066,7 @@ "signature": [ "StateType[KeyType] | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8080,7 +8080,7 @@ "signature": [ "StateType[KeyType] | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8094,7 +8094,7 @@ "signature": [ "Partial | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false }, @@ -8108,7 +8108,7 @@ "signature": [ "Partial | undefined" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false } @@ -8135,25 +8135,25 @@ }, ", \"canLinkToLibrary\" | \"canUnlinkFromLibrary\"> & { linkToLibrary: () => Promise; unlinkFromLibrary: () => Promise; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts", "deprecated": true, "trackAdoption": false, "references": [ { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx" } ], "initialIsOpen": false @@ -8170,7 +8170,7 @@ "signature": [ "\"error\" | \"loading\" | \"rendered\" | \"loaded\"" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8224,7 +8224,7 @@ }, " | undefined>; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8254,7 +8254,7 @@ }, "[]) => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8276,7 +8276,7 @@ }, " & { setPanelDescription: (newTitle: string | undefined) => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8298,7 +8298,7 @@ }, " & { setPanelTitle: (newTitle: string | undefined) => void; setHidePanelTitle: (hide: boolean | undefined) => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8376,7 +8376,7 @@ }, " | undefined) => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8408,7 +8408,7 @@ }, ") => void; }" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8575,7 +8575,7 @@ "Observable", "; }" ], - "path": "packages/presentation/presentation_publishing/publishing_subject/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8598,7 +8598,7 @@ }, "; }" ], - "path": "packages/presentation/presentation_publishing/comparators/types.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8613,7 +8613,7 @@ "signature": [ "\"edit\" | \"view\" | \"print\" | \"preview\"" ], - "path": "packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", + "path": "src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/kbn_presentation_publishing.mdx b/api_docs/kbn_presentation_publishing.mdx index 0b82b9e732d0a..15680f5a8733f 100644 --- a/api_docs/kbn_presentation_publishing.mdx +++ b/api_docs/kbn_presentation_publishing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-presentation-publishing title: "@kbn/presentation-publishing" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/presentation-publishing plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/presentation-publishing'] --- import kbnPresentationPublishingObj from './kbn_presentation_publishing.devdocs.json'; diff --git a/api_docs/kbn_product_doc_artifact_builder.mdx b/api_docs/kbn_product_doc_artifact_builder.mdx index a03c516ad751a..edc9e0e9d8acd 100644 --- a/api_docs/kbn_product_doc_artifact_builder.mdx +++ b/api_docs/kbn_product_doc_artifact_builder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-product-doc-artifact-builder title: "@kbn/product-doc-artifact-builder" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/product-doc-artifact-builder plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/product-doc-artifact-builder'] --- import kbnProductDocArtifactBuilderObj from './kbn_product_doc_artifact_builder.devdocs.json'; diff --git a/api_docs/kbn_product_doc_common.mdx b/api_docs/kbn_product_doc_common.mdx index 627f9ee6c2501..0456ed5700f20 100644 --- a/api_docs/kbn_product_doc_common.mdx +++ b/api_docs/kbn_product_doc_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-product-doc-common title: "@kbn/product-doc-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/product-doc-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/product-doc-common'] --- import kbnProductDocCommonObj from './kbn_product_doc_common.devdocs.json'; diff --git a/api_docs/kbn_profiling_utils.mdx b/api_docs/kbn_profiling_utils.mdx index a8fc6206688bb..0b596ccd45967 100644 --- a/api_docs/kbn_profiling_utils.mdx +++ b/api_docs/kbn_profiling_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-profiling-utils title: "@kbn/profiling-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/profiling-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/profiling-utils'] --- import kbnProfilingUtilsObj from './kbn_profiling_utils.devdocs.json'; diff --git a/api_docs/kbn_random_sampling.mdx b/api_docs/kbn_random_sampling.mdx index 67b59c350eb5c..9c25ba166244d 100644 --- a/api_docs/kbn_random_sampling.mdx +++ b/api_docs/kbn_random_sampling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-random-sampling title: "@kbn/random-sampling" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/random-sampling plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/random-sampling'] --- import kbnRandomSamplingObj from './kbn_random_sampling.devdocs.json'; diff --git a/api_docs/kbn_react_field.mdx b/api_docs/kbn_react_field.mdx index c2fb54eb371f8..d109c24e1f8a0 100644 --- a/api_docs/kbn_react_field.mdx +++ b/api_docs/kbn_react_field.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-field title: "@kbn/react-field" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-field plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-field'] --- import kbnReactFieldObj from './kbn_react_field.devdocs.json'; diff --git a/api_docs/kbn_react_hooks.mdx b/api_docs/kbn_react_hooks.mdx index 103531464ce92..15189387be7ca 100644 --- a/api_docs/kbn_react_hooks.mdx +++ b/api_docs/kbn_react_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-hooks title: "@kbn/react-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-hooks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-hooks'] --- import kbnReactHooksObj from './kbn_react_hooks.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_common.mdx b/api_docs/kbn_react_kibana_context_common.mdx index 5408d90e00b47..78278c1965e4f 100644 --- a/api_docs/kbn_react_kibana_context_common.mdx +++ b/api_docs/kbn_react_kibana_context_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-common title: "@kbn/react-kibana-context-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-common'] --- import kbnReactKibanaContextCommonObj from './kbn_react_kibana_context_common.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_render.devdocs.json b/api_docs/kbn_react_kibana_context_render.devdocs.json index 94ea2f639e0de..46459a91d8c48 100644 --- a/api_docs/kbn_react_kibana_context_render.devdocs.json +++ b/api_docs/kbn_react_kibana_context_render.devdocs.json @@ -93,13 +93,7 @@ "text": "I18nStart" }, "; analytics?: Pick<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ", \"reportEvent\"> | undefined; executionContext?: ", { "pluginId": "@kbn/core-execution-context-browser", diff --git a/api_docs/kbn_react_kibana_context_render.mdx b/api_docs/kbn_react_kibana_context_render.mdx index 220a7629a96bd..9c9acc9f15c3c 100644 --- a/api_docs/kbn_react_kibana_context_render.mdx +++ b/api_docs/kbn_react_kibana_context_render.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-render title: "@kbn/react-kibana-context-render" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-render plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-render'] --- import kbnReactKibanaContextRenderObj from './kbn_react_kibana_context_render.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_root.devdocs.json b/api_docs/kbn_react_kibana_context_root.devdocs.json index 7460c7c16cc1e..f81ac5f4ff05b 100644 --- a/api_docs/kbn_react_kibana_context_root.devdocs.json +++ b/api_docs/kbn_react_kibana_context_root.devdocs.json @@ -270,13 +270,7 @@ ], "signature": [ "Pick<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ", \"reportEvent\"> | undefined" ], "path": "packages/react/kibana_context/root/root_provider.tsx", diff --git a/api_docs/kbn_react_kibana_context_root.mdx b/api_docs/kbn_react_kibana_context_root.mdx index 98d6118114bee..92cc692b527a1 100644 --- a/api_docs/kbn_react_kibana_context_root.mdx +++ b/api_docs/kbn_react_kibana_context_root.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-root title: "@kbn/react-kibana-context-root" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-root plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-root'] --- import kbnReactKibanaContextRootObj from './kbn_react_kibana_context_root.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_styled.mdx b/api_docs/kbn_react_kibana_context_styled.mdx index 575917118a1b5..52b1e90767beb 100644 --- a/api_docs/kbn_react_kibana_context_styled.mdx +++ b/api_docs/kbn_react_kibana_context_styled.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-styled title: "@kbn/react-kibana-context-styled" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-styled plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-styled'] --- import kbnReactKibanaContextStyledObj from './kbn_react_kibana_context_styled.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_context_theme.mdx b/api_docs/kbn_react_kibana_context_theme.mdx index 2b87057224a4a..868de331c753b 100644 --- a/api_docs/kbn_react_kibana_context_theme.mdx +++ b/api_docs/kbn_react_kibana_context_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-context-theme title: "@kbn/react-kibana-context-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-context-theme plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-context-theme'] --- import kbnReactKibanaContextThemeObj from './kbn_react_kibana_context_theme.devdocs.json'; diff --git a/api_docs/kbn_react_kibana_mount.devdocs.json b/api_docs/kbn_react_kibana_mount.devdocs.json index c55e4669fa28f..bbb272487b6ce 100644 --- a/api_docs/kbn_react_kibana_mount.devdocs.json +++ b/api_docs/kbn_react_kibana_mount.devdocs.json @@ -258,13 +258,7 @@ "text": "I18nStart" }, "; analytics?: Pick<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ", \"reportEvent\"> | undefined; theme: ", { "pluginId": "@kbn/react-kibana-context-common", diff --git a/api_docs/kbn_react_kibana_mount.mdx b/api_docs/kbn_react_kibana_mount.mdx index 43ab34089b299..e6d8772bdcb8a 100644 --- a/api_docs/kbn_react_kibana_mount.mdx +++ b/api_docs/kbn_react_kibana_mount.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-kibana-mount title: "@kbn/react-kibana-mount" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-kibana-mount plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-kibana-mount'] --- import kbnReactKibanaMountObj from './kbn_react_kibana_mount.devdocs.json'; diff --git a/api_docs/kbn_react_mute_legacy_root_warning.mdx b/api_docs/kbn_react_mute_legacy_root_warning.mdx index d2b721003ed20..2777df1d64d76 100644 --- a/api_docs/kbn_react_mute_legacy_root_warning.mdx +++ b/api_docs/kbn_react_mute_legacy_root_warning.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-react-mute-legacy-root-warning title: "@kbn/react-mute-legacy-root-warning" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/react-mute-legacy-root-warning plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/react-mute-legacy-root-warning'] --- import kbnReactMuteLegacyRootWarningObj from './kbn_react_mute_legacy_root_warning.devdocs.json'; diff --git a/api_docs/kbn_recently_accessed.mdx b/api_docs/kbn_recently_accessed.mdx index 8106f2c1618bb..86b989b0f66cf 100644 --- a/api_docs/kbn_recently_accessed.mdx +++ b/api_docs/kbn_recently_accessed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-recently-accessed title: "@kbn/recently-accessed" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/recently-accessed plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/recently-accessed'] --- import kbnRecentlyAccessedObj from './kbn_recently_accessed.devdocs.json'; diff --git a/api_docs/kbn_relocate.mdx b/api_docs/kbn_relocate.mdx index c9223c8b8289f..ca4b2220df68e 100644 --- a/api_docs/kbn_relocate.mdx +++ b/api_docs/kbn_relocate.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-relocate title: "@kbn/relocate" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/relocate plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/relocate'] --- import kbnRelocateObj from './kbn_relocate.devdocs.json'; diff --git a/api_docs/kbn_repo_file_maps.mdx b/api_docs/kbn_repo_file_maps.mdx index a7356f66b58b7..c1aeb5b2aed8c 100644 --- a/api_docs/kbn_repo_file_maps.mdx +++ b/api_docs/kbn_repo_file_maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-file-maps title: "@kbn/repo-file-maps" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-file-maps plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-file-maps'] --- import kbnRepoFileMapsObj from './kbn_repo_file_maps.devdocs.json'; diff --git a/api_docs/kbn_repo_linter.mdx b/api_docs/kbn_repo_linter.mdx index 82145e0cdb39f..e8061321c0ede 100644 --- a/api_docs/kbn_repo_linter.mdx +++ b/api_docs/kbn_repo_linter.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-linter title: "@kbn/repo-linter" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-linter plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-linter'] --- import kbnRepoLinterObj from './kbn_repo_linter.devdocs.json'; diff --git a/api_docs/kbn_repo_path.mdx b/api_docs/kbn_repo_path.mdx index 9a291418814d8..240452c8255e0 100644 --- a/api_docs/kbn_repo_path.mdx +++ b/api_docs/kbn_repo_path.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-path title: "@kbn/repo-path" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-path plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-path'] --- import kbnRepoPathObj from './kbn_repo_path.devdocs.json'; diff --git a/api_docs/kbn_repo_source_classifier.mdx b/api_docs/kbn_repo_source_classifier.mdx index 4f8af1a7c5ee6..253ad662b5d77 100644 --- a/api_docs/kbn_repo_source_classifier.mdx +++ b/api_docs/kbn_repo_source_classifier.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-repo-source-classifier title: "@kbn/repo-source-classifier" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/repo-source-classifier plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/repo-source-classifier'] --- import kbnRepoSourceClassifierObj from './kbn_repo_source_classifier.devdocs.json'; diff --git a/api_docs/kbn_reporting_common.mdx b/api_docs/kbn_reporting_common.mdx index e9df5964cbc61..cde8203178e81 100644 --- a/api_docs/kbn_reporting_common.mdx +++ b/api_docs/kbn_reporting_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-common title: "@kbn/reporting-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-common'] --- import kbnReportingCommonObj from './kbn_reporting_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_csv_share_panel.mdx b/api_docs/kbn_reporting_csv_share_panel.mdx index 2800c184124ad..7c2d15127c47f 100644 --- a/api_docs/kbn_reporting_csv_share_panel.mdx +++ b/api_docs/kbn_reporting_csv_share_panel.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-csv-share-panel title: "@kbn/reporting-csv-share-panel" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-csv-share-panel plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-csv-share-panel'] --- import kbnReportingCsvSharePanelObj from './kbn_reporting_csv_share_panel.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_csv.mdx b/api_docs/kbn_reporting_export_types_csv.mdx index 130141ce64d87..4ff8fec73e2df 100644 --- a/api_docs/kbn_reporting_export_types_csv.mdx +++ b/api_docs/kbn_reporting_export_types_csv.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-csv title: "@kbn/reporting-export-types-csv" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-csv plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-csv'] --- import kbnReportingExportTypesCsvObj from './kbn_reporting_export_types_csv.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_csv_common.mdx b/api_docs/kbn_reporting_export_types_csv_common.mdx index b095f2730a42b..c31c779addd7a 100644 --- a/api_docs/kbn_reporting_export_types_csv_common.mdx +++ b/api_docs/kbn_reporting_export_types_csv_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-csv-common title: "@kbn/reporting-export-types-csv-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-csv-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-csv-common'] --- import kbnReportingExportTypesCsvCommonObj from './kbn_reporting_export_types_csv_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_pdf.mdx b/api_docs/kbn_reporting_export_types_pdf.mdx index 4cacebd51549e..5016d1cf371ae 100644 --- a/api_docs/kbn_reporting_export_types_pdf.mdx +++ b/api_docs/kbn_reporting_export_types_pdf.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-pdf title: "@kbn/reporting-export-types-pdf" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-pdf plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-pdf'] --- import kbnReportingExportTypesPdfObj from './kbn_reporting_export_types_pdf.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_pdf_common.mdx b/api_docs/kbn_reporting_export_types_pdf_common.mdx index d4134463617ee..a51ab12b042f3 100644 --- a/api_docs/kbn_reporting_export_types_pdf_common.mdx +++ b/api_docs/kbn_reporting_export_types_pdf_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-pdf-common title: "@kbn/reporting-export-types-pdf-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-pdf-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-pdf-common'] --- import kbnReportingExportTypesPdfCommonObj from './kbn_reporting_export_types_pdf_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_png.mdx b/api_docs/kbn_reporting_export_types_png.mdx index 76c3e1cf381b8..d6e8b89285b22 100644 --- a/api_docs/kbn_reporting_export_types_png.mdx +++ b/api_docs/kbn_reporting_export_types_png.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-png title: "@kbn/reporting-export-types-png" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-png plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-png'] --- import kbnReportingExportTypesPngObj from './kbn_reporting_export_types_png.devdocs.json'; diff --git a/api_docs/kbn_reporting_export_types_png_common.mdx b/api_docs/kbn_reporting_export_types_png_common.mdx index 51099604ee0e5..f702e23af9660 100644 --- a/api_docs/kbn_reporting_export_types_png_common.mdx +++ b/api_docs/kbn_reporting_export_types_png_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-export-types-png-common title: "@kbn/reporting-export-types-png-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-export-types-png-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-export-types-png-common'] --- import kbnReportingExportTypesPngCommonObj from './kbn_reporting_export_types_png_common.devdocs.json'; diff --git a/api_docs/kbn_reporting_mocks_server.mdx b/api_docs/kbn_reporting_mocks_server.mdx index 913a85aecef90..0e7c08aa06d54 100644 --- a/api_docs/kbn_reporting_mocks_server.mdx +++ b/api_docs/kbn_reporting_mocks_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-mocks-server title: "@kbn/reporting-mocks-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-mocks-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-mocks-server'] --- import kbnReportingMocksServerObj from './kbn_reporting_mocks_server.devdocs.json'; diff --git a/api_docs/kbn_reporting_public.devdocs.json b/api_docs/kbn_reporting_public.devdocs.json index 474ecf1139f3e..e6bbec136221d 100644 --- a/api_docs/kbn_reporting_public.devdocs.json +++ b/api_docs/kbn_reporting_public.devdocs.json @@ -1780,13 +1780,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "packages/kbn-reporting/public/index.ts", "deprecated": false, diff --git a/api_docs/kbn_reporting_public.mdx b/api_docs/kbn_reporting_public.mdx index 5dd1a4e7bea2b..164c2935fabd8 100644 --- a/api_docs/kbn_reporting_public.mdx +++ b/api_docs/kbn_reporting_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-public title: "@kbn/reporting-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-public plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-public'] --- import kbnReportingPublicObj from './kbn_reporting_public.devdocs.json'; diff --git a/api_docs/kbn_reporting_server.mdx b/api_docs/kbn_reporting_server.mdx index 9a76eff0f4b0d..cb74cfc25bf6d 100644 --- a/api_docs/kbn_reporting_server.mdx +++ b/api_docs/kbn_reporting_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-reporting-server title: "@kbn/reporting-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/reporting-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/reporting-server'] --- import kbnReportingServerObj from './kbn_reporting_server.devdocs.json'; diff --git a/api_docs/kbn_resizable_layout.mdx b/api_docs/kbn_resizable_layout.mdx index 5b18e147dfbac..929ca29589335 100644 --- a/api_docs/kbn_resizable_layout.mdx +++ b/api_docs/kbn_resizable_layout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-resizable-layout title: "@kbn/resizable-layout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/resizable-layout plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/resizable-layout'] --- import kbnResizableLayoutObj from './kbn_resizable_layout.devdocs.json'; diff --git a/api_docs/kbn_response_ops_feature_flag_service.mdx b/api_docs/kbn_response_ops_feature_flag_service.mdx index 4dd0a2e5b3b67..850caab679218 100644 --- a/api_docs/kbn_response_ops_feature_flag_service.mdx +++ b/api_docs/kbn_response_ops_feature_flag_service.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-response-ops-feature-flag-service title: "@kbn/response-ops-feature-flag-service" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/response-ops-feature-flag-service plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/response-ops-feature-flag-service'] --- import kbnResponseOpsFeatureFlagServiceObj from './kbn_response_ops_feature_flag_service.devdocs.json'; diff --git a/api_docs/kbn_response_ops_rule_form.devdocs.json b/api_docs/kbn_response_ops_rule_form.devdocs.json index 1df902627c59b..64fb522c5d7d0 100644 --- a/api_docs/kbn_response_ops_rule_form.devdocs.json +++ b/api_docs/kbn_response_ops_rule_form.devdocs.json @@ -1376,13 +1376,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "packages/response-ops/rule_form/src/types.ts", "deprecated": false, diff --git a/api_docs/kbn_response_ops_rule_form.mdx b/api_docs/kbn_response_ops_rule_form.mdx index 0c753d8fba274..b666225c4359b 100644 --- a/api_docs/kbn_response_ops_rule_form.mdx +++ b/api_docs/kbn_response_ops_rule_form.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-response-ops-rule-form title: "@kbn/response-ops-rule-form" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/response-ops-rule-form plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/response-ops-rule-form'] --- import kbnResponseOpsRuleFormObj from './kbn_response_ops_rule_form.devdocs.json'; diff --git a/api_docs/kbn_response_ops_rule_params.mdx b/api_docs/kbn_response_ops_rule_params.mdx index f9d79bb0bf1c2..dc39bb4a3bbc8 100644 --- a/api_docs/kbn_response_ops_rule_params.mdx +++ b/api_docs/kbn_response_ops_rule_params.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-response-ops-rule-params title: "@kbn/response-ops-rule-params" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/response-ops-rule-params plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/response-ops-rule-params'] --- import kbnResponseOpsRuleParamsObj from './kbn_response_ops_rule_params.devdocs.json'; diff --git a/api_docs/kbn_rison.mdx b/api_docs/kbn_rison.mdx index 9faccc3ce6d98..2a83083378545 100644 --- a/api_docs/kbn_rison.mdx +++ b/api_docs/kbn_rison.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rison title: "@kbn/rison" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rison plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rison'] --- import kbnRisonObj from './kbn_rison.devdocs.json'; diff --git a/api_docs/kbn_rollup.mdx b/api_docs/kbn_rollup.mdx index a31ea63e2a97a..0d92b339b98f4 100644 --- a/api_docs/kbn_rollup.mdx +++ b/api_docs/kbn_rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rollup title: "@kbn/rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rollup plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rollup'] --- import kbnRollupObj from './kbn_rollup.devdocs.json'; diff --git a/api_docs/kbn_router_to_openapispec.mdx b/api_docs/kbn_router_to_openapispec.mdx index 281691780563f..8f987cc5e6b4e 100644 --- a/api_docs/kbn_router_to_openapispec.mdx +++ b/api_docs/kbn_router_to_openapispec.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-router-to-openapispec title: "@kbn/router-to-openapispec" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/router-to-openapispec plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-to-openapispec'] --- import kbnRouterToOpenapispecObj from './kbn_router_to_openapispec.devdocs.json'; diff --git a/api_docs/kbn_router_utils.mdx b/api_docs/kbn_router_utils.mdx index f7848856499da..8becd35d264aa 100644 --- a/api_docs/kbn_router_utils.mdx +++ b/api_docs/kbn_router_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-router-utils title: "@kbn/router-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/router-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/router-utils'] --- import kbnRouterUtilsObj from './kbn_router_utils.devdocs.json'; diff --git a/api_docs/kbn_rrule.mdx b/api_docs/kbn_rrule.mdx index 0017d71e13853..6baf21706949a 100644 --- a/api_docs/kbn_rrule.mdx +++ b/api_docs/kbn_rrule.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rrule title: "@kbn/rrule" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rrule plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rrule'] --- import kbnRruleObj from './kbn_rrule.devdocs.json'; diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx index 5815776be6c55..80a2c607b8df5 100644 --- a/api_docs/kbn_rule_data_utils.mdx +++ b/api_docs/kbn_rule_data_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-rule-data-utils title: "@kbn/rule-data-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/rule-data-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] --- import kbnRuleDataUtilsObj from './kbn_rule_data_utils.devdocs.json'; diff --git a/api_docs/kbn_saved_objects_settings.mdx b/api_docs/kbn_saved_objects_settings.mdx index 8c938b4924d1b..14e41772cbb06 100644 --- a/api_docs/kbn_saved_objects_settings.mdx +++ b/api_docs/kbn_saved_objects_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-objects-settings title: "@kbn/saved-objects-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-objects-settings plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-objects-settings'] --- import kbnSavedObjectsSettingsObj from './kbn_saved_objects_settings.devdocs.json'; diff --git a/api_docs/kbn_saved_search_component.mdx b/api_docs/kbn_saved_search_component.mdx index ec2dd05c9b6f7..de91ea043609e 100644 --- a/api_docs/kbn_saved_search_component.mdx +++ b/api_docs/kbn_saved_search_component.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-saved-search-component title: "@kbn/saved-search-component" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/saved-search-component plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/saved-search-component'] --- import kbnSavedSearchComponentObj from './kbn_saved_search_component.devdocs.json'; diff --git a/api_docs/kbn_scout.mdx b/api_docs/kbn_scout.mdx index c432bdfdd67c6..0a2a3d390cb92 100644 --- a/api_docs/kbn_scout.mdx +++ b/api_docs/kbn_scout.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-scout title: "@kbn/scout" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/scout plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout'] --- import kbnScoutObj from './kbn_scout.devdocs.json'; diff --git a/api_docs/kbn_scout_info.mdx b/api_docs/kbn_scout_info.mdx index de4dd4c281c3f..59d9bdab9fadc 100644 --- a/api_docs/kbn_scout_info.mdx +++ b/api_docs/kbn_scout_info.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-scout-info title: "@kbn/scout-info" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/scout-info plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout-info'] --- import kbnScoutInfoObj from './kbn_scout_info.devdocs.json'; diff --git a/api_docs/kbn_scout_reporting.mdx b/api_docs/kbn_scout_reporting.mdx index 3342de28b613c..f979f84d0e823 100644 --- a/api_docs/kbn_scout_reporting.mdx +++ b/api_docs/kbn_scout_reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-scout-reporting title: "@kbn/scout-reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/scout-reporting plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/scout-reporting'] --- import kbnScoutReportingObj from './kbn_scout_reporting.devdocs.json'; diff --git a/api_docs/kbn_screenshotting_server.mdx b/api_docs/kbn_screenshotting_server.mdx index 6e68ee2274402..1a88fc546749c 100644 --- a/api_docs/kbn_screenshotting_server.mdx +++ b/api_docs/kbn_screenshotting_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-screenshotting-server title: "@kbn/screenshotting-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/screenshotting-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/screenshotting-server'] --- import kbnScreenshottingServerObj from './kbn_screenshotting_server.devdocs.json'; diff --git a/api_docs/kbn_search_api_keys_components.mdx b/api_docs/kbn_search_api_keys_components.mdx index 5b2a3685fdaba..d4d4bf6d48ebd 100644 --- a/api_docs/kbn_search_api_keys_components.mdx +++ b/api_docs/kbn_search_api_keys_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-api-keys-components title: "@kbn/search-api-keys-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-api-keys-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-keys-components'] --- import kbnSearchApiKeysComponentsObj from './kbn_search_api_keys_components.devdocs.json'; diff --git a/api_docs/kbn_search_api_keys_server.mdx b/api_docs/kbn_search_api_keys_server.mdx index 7929ed2316fbe..7463f8be68aaf 100644 --- a/api_docs/kbn_search_api_keys_server.mdx +++ b/api_docs/kbn_search_api_keys_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-api-keys-server title: "@kbn/search-api-keys-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-api-keys-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-keys-server'] --- import kbnSearchApiKeysServerObj from './kbn_search_api_keys_server.devdocs.json'; diff --git a/api_docs/kbn_search_api_panels.devdocs.json b/api_docs/kbn_search_api_panels.devdocs.json index 78824e760c8fc..5feb9b8a79b38 100644 --- a/api_docs/kbn_search_api_panels.devdocs.json +++ b/api_docs/kbn_search_api_panels.devdocs.json @@ -1173,13 +1173,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", " | undefined" ], "path": "packages/kbn-search-api-panels/components/select_client.tsx", diff --git a/api_docs/kbn_search_api_panels.mdx b/api_docs/kbn_search_api_panels.mdx index 3549e3044bfe5..0032ebdea9ee6 100644 --- a/api_docs/kbn_search_api_panels.mdx +++ b/api_docs/kbn_search_api_panels.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-api-panels title: "@kbn/search-api-panels" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-api-panels plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-api-panels'] --- import kbnSearchApiPanelsObj from './kbn_search_api_panels.devdocs.json'; diff --git a/api_docs/kbn_search_connectors.mdx b/api_docs/kbn_search_connectors.mdx index feb4a636a0c0d..0b2303447e13d 100644 --- a/api_docs/kbn_search_connectors.mdx +++ b/api_docs/kbn_search_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-connectors title: "@kbn/search-connectors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-connectors plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-connectors'] --- import kbnSearchConnectorsObj from './kbn_search_connectors.devdocs.json'; diff --git a/api_docs/kbn_search_errors.mdx b/api_docs/kbn_search_errors.mdx index abb1669b54f49..d0f99bb75bf43 100644 --- a/api_docs/kbn_search_errors.mdx +++ b/api_docs/kbn_search_errors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-errors title: "@kbn/search-errors" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-errors plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-errors'] --- import kbnSearchErrorsObj from './kbn_search_errors.devdocs.json'; diff --git a/api_docs/kbn_search_index_documents.mdx b/api_docs/kbn_search_index_documents.mdx index c6d773a5ff3ed..0fe4e4b616e93 100644 --- a/api_docs/kbn_search_index_documents.mdx +++ b/api_docs/kbn_search_index_documents.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-index-documents title: "@kbn/search-index-documents" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-index-documents plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-index-documents'] --- import kbnSearchIndexDocumentsObj from './kbn_search_index_documents.devdocs.json'; diff --git a/api_docs/kbn_search_response_warnings.mdx b/api_docs/kbn_search_response_warnings.mdx index 448a2f87ff506..8c1ff93f069a3 100644 --- a/api_docs/kbn_search_response_warnings.mdx +++ b/api_docs/kbn_search_response_warnings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-response-warnings title: "@kbn/search-response-warnings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-response-warnings plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-response-warnings'] --- import kbnSearchResponseWarningsObj from './kbn_search_response_warnings.devdocs.json'; diff --git a/api_docs/kbn_search_shared_ui.mdx b/api_docs/kbn_search_shared_ui.mdx index 95058a1429229..6d180960de795 100644 --- a/api_docs/kbn_search_shared_ui.mdx +++ b/api_docs/kbn_search_shared_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-shared-ui title: "@kbn/search-shared-ui" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-shared-ui plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-shared-ui'] --- import kbnSearchSharedUiObj from './kbn_search_shared_ui.devdocs.json'; diff --git a/api_docs/kbn_search_types.mdx b/api_docs/kbn_search_types.mdx index efb0276863498..554b56c6bc201 100644 --- a/api_docs/kbn_search_types.mdx +++ b/api_docs/kbn_search_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-search-types title: "@kbn/search-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/search-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/search-types'] --- import kbnSearchTypesObj from './kbn_search_types.devdocs.json'; diff --git a/api_docs/kbn_security_api_key_management.mdx b/api_docs/kbn_security_api_key_management.mdx index c8b0c44240fb0..24894408c135c 100644 --- a/api_docs/kbn_security_api_key_management.mdx +++ b/api_docs/kbn_security_api_key_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-api-key-management title: "@kbn/security-api-key-management" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-api-key-management plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-api-key-management'] --- import kbnSecurityApiKeyManagementObj from './kbn_security_api_key_management.devdocs.json'; diff --git a/api_docs/kbn_security_authorization_core.mdx b/api_docs/kbn_security_authorization_core.mdx index 398336aea1847..6588f291ced1d 100644 --- a/api_docs/kbn_security_authorization_core.mdx +++ b/api_docs/kbn_security_authorization_core.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-authorization-core title: "@kbn/security-authorization-core" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-authorization-core plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-authorization-core'] --- import kbnSecurityAuthorizationCoreObj from './kbn_security_authorization_core.devdocs.json'; diff --git a/api_docs/kbn_security_authorization_core_common.mdx b/api_docs/kbn_security_authorization_core_common.mdx index 1fd084f7cbf0e..d1017c2f8ec87 100644 --- a/api_docs/kbn_security_authorization_core_common.mdx +++ b/api_docs/kbn_security_authorization_core_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-authorization-core-common title: "@kbn/security-authorization-core-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-authorization-core-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-authorization-core-common'] --- import kbnSecurityAuthorizationCoreCommonObj from './kbn_security_authorization_core_common.devdocs.json'; diff --git a/api_docs/kbn_security_form_components.mdx b/api_docs/kbn_security_form_components.mdx index 239baffcc7c0d..ca3cda6b40301 100644 --- a/api_docs/kbn_security_form_components.mdx +++ b/api_docs/kbn_security_form_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-form-components title: "@kbn/security-form-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-form-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-form-components'] --- import kbnSecurityFormComponentsObj from './kbn_security_form_components.devdocs.json'; diff --git a/api_docs/kbn_security_hardening.mdx b/api_docs/kbn_security_hardening.mdx index 6c32d484e301c..b0d0c4a431e60 100644 --- a/api_docs/kbn_security_hardening.mdx +++ b/api_docs/kbn_security_hardening.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-hardening title: "@kbn/security-hardening" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-hardening plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-hardening'] --- import kbnSecurityHardeningObj from './kbn_security_hardening.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_common.mdx b/api_docs/kbn_security_plugin_types_common.mdx index 1ca24596e0f26..febf732f31bf0 100644 --- a/api_docs/kbn_security_plugin_types_common.mdx +++ b/api_docs/kbn_security_plugin_types_common.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-common title: "@kbn/security-plugin-types-common" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-common plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-common'] --- import kbnSecurityPluginTypesCommonObj from './kbn_security_plugin_types_common.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_public.mdx b/api_docs/kbn_security_plugin_types_public.mdx index 56456ae7cd755..3bbbf830a5d65 100644 --- a/api_docs/kbn_security_plugin_types_public.mdx +++ b/api_docs/kbn_security_plugin_types_public.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-public title: "@kbn/security-plugin-types-public" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-public plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-public'] --- import kbnSecurityPluginTypesPublicObj from './kbn_security_plugin_types_public.devdocs.json'; diff --git a/api_docs/kbn_security_plugin_types_server.devdocs.json b/api_docs/kbn_security_plugin_types_server.devdocs.json index 0a9d1643148b8..a008912b33e26 100644 --- a/api_docs/kbn_security_plugin_types_server.devdocs.json +++ b/api_docs/kbn_security_plugin_types_server.devdocs.json @@ -619,55 +619,55 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/agent_policy/handlers.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/handlers.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/app/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/app/index.ts" }, { "plugin": "profiling", @@ -721,10 +721,6 @@ "plugin": "security", "path": "x-pack/plugins/security/server/authorization/api_authorization.test.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.test.ts" - }, { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/actions/api.test.ts" @@ -1084,6 +1080,10 @@ { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/privileges/privileges.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.test.ts" } ], "children": [ @@ -4747,11 +4747,11 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/audit_logging.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/audit_logging.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts" }, { "plugin": "securitySolution", @@ -4853,22 +4853,6 @@ "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/service/index.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/api_keys/security.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.ts" - }, { "plugin": "serverlessSearch", "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" @@ -4885,6 +4869,22 @@ "plugin": "upgradeAssistant", "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts" + }, { "plugin": "entityManager", "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts" @@ -4910,20 +4910,20 @@ "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "synthetics", diff --git a/api_docs/kbn_security_plugin_types_server.mdx b/api_docs/kbn_security_plugin_types_server.mdx index a5fb3f9632a20..cce3edfd015cc 100644 --- a/api_docs/kbn_security_plugin_types_server.mdx +++ b/api_docs/kbn_security_plugin_types_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-plugin-types-server title: "@kbn/security-plugin-types-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-plugin-types-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-plugin-types-server'] --- import kbnSecurityPluginTypesServerObj from './kbn_security_plugin_types_server.devdocs.json'; diff --git a/api_docs/kbn_security_role_management_model.mdx b/api_docs/kbn_security_role_management_model.mdx index 01adeecdd58de..ebf344e94e183 100644 --- a/api_docs/kbn_security_role_management_model.mdx +++ b/api_docs/kbn_security_role_management_model.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-role-management-model title: "@kbn/security-role-management-model" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-role-management-model plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-role-management-model'] --- import kbnSecurityRoleManagementModelObj from './kbn_security_role_management_model.devdocs.json'; diff --git a/api_docs/kbn_security_solution_distribution_bar.mdx b/api_docs/kbn_security_solution_distribution_bar.mdx index 0e0f6fbe2246b..fa8539580291e 100644 --- a/api_docs/kbn_security_solution_distribution_bar.mdx +++ b/api_docs/kbn_security_solution_distribution_bar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-distribution-bar title: "@kbn/security-solution-distribution-bar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-distribution-bar plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-distribution-bar'] --- import kbnSecuritySolutionDistributionBarObj from './kbn_security_solution_distribution_bar.devdocs.json'; diff --git a/api_docs/kbn_security_solution_features.devdocs.json b/api_docs/kbn_security_solution_features.devdocs.json index 4e2fd77a59f29..5fbfcd72090a6 100644 --- a/api_docs/kbn_security_solution_features.devdocs.json +++ b/api_docs/kbn_security_solution_features.devdocs.json @@ -60,13 +60,7 @@ "[] | undefined; order?: number | undefined; name: string; alerting?: ", "AlertingKibanaPrivilege", " | undefined; cases?: readonly string[] | undefined; hidden?: boolean | undefined; description?: string | undefined; category: ", - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", "; management?: { [sectionId: string]: readonly string[]; } | undefined; app: readonly string[]; readonly deprecated?: Readonly<{ notice: string; }> | undefined; privileges: { all: ", { "pluginId": "features", @@ -175,13 +169,7 @@ "[] | undefined; order?: number | undefined; name: string; alerting?: ", "AlertingKibanaPrivilege", " | undefined; cases?: readonly string[] | undefined; hidden?: boolean | undefined; description?: string | undefined; category: ", - { - "pluginId": "@kbn/core-application-common", - "scope": "common", - "docId": "kibKbnCoreApplicationCommonPluginApi", - "section": "def-common.AppCategory", - "text": "AppCategory" - }, + "AppCategory", "; management?: { [sectionId: string]: readonly string[]; } | undefined; app: readonly string[]; readonly deprecated?: Readonly<{ notice: string; }> | undefined; privileges: { all: ", { "pluginId": "features", diff --git a/api_docs/kbn_security_solution_features.mdx b/api_docs/kbn_security_solution_features.mdx index 7baed49a171d6..abb14cda44101 100644 --- a/api_docs/kbn_security_solution_features.mdx +++ b/api_docs/kbn_security_solution_features.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-features title: "@kbn/security-solution-features" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-features plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-features'] --- import kbnSecuritySolutionFeaturesObj from './kbn_security_solution_features.devdocs.json'; diff --git a/api_docs/kbn_security_solution_navigation.devdocs.json b/api_docs/kbn_security_solution_navigation.devdocs.json index 45942b22304fd..3b74efc9473ce 100644 --- a/api_docs/kbn_security_solution_navigation.devdocs.json +++ b/api_docs/kbn_security_solution_navigation.devdocs.json @@ -1041,13 +1041,7 @@ "description": [], "signature": [ "(param: { url?: string | undefined; appId?: string | undefined; restoreScroll?: boolean | undefined; } & ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", ") => void" ], "path": "x-pack/solutions/security/packages/navigation/src/navigation.ts", @@ -1064,13 +1058,7 @@ "description": [], "signature": [ "{ url?: string | undefined; appId?: string | undefined; restoreScroll?: boolean | undefined; } & ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - } + "NavigateToAppOptions" ], "path": "x-pack/solutions/security/packages/navigation/src/navigation.ts", "deprecated": false, diff --git a/api_docs/kbn_security_solution_navigation.mdx b/api_docs/kbn_security_solution_navigation.mdx index c5b99947c24c5..56c46d0aa5155 100644 --- a/api_docs/kbn_security_solution_navigation.mdx +++ b/api_docs/kbn_security_solution_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-navigation title: "@kbn/security-solution-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-navigation plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-navigation'] --- import kbnSecuritySolutionNavigationObj from './kbn_security_solution_navigation.devdocs.json'; diff --git a/api_docs/kbn_security_solution_side_nav.mdx b/api_docs/kbn_security_solution_side_nav.mdx index 0fd8b27aa384e..4365174feb925 100644 --- a/api_docs/kbn_security_solution_side_nav.mdx +++ b/api_docs/kbn_security_solution_side_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-side-nav title: "@kbn/security-solution-side-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-side-nav plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-side-nav'] --- import kbnSecuritySolutionSideNavObj from './kbn_security_solution_side_nav.devdocs.json'; diff --git a/api_docs/kbn_security_solution_storybook_config.mdx b/api_docs/kbn_security_solution_storybook_config.mdx index 11fa6f588aa40..05d40038cafa1 100644 --- a/api_docs/kbn_security_solution_storybook_config.mdx +++ b/api_docs/kbn_security_solution_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-solution-storybook-config title: "@kbn/security-solution-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-solution-storybook-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-solution-storybook-config'] --- import kbnSecuritySolutionStorybookConfigObj from './kbn_security_solution_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_security_ui_components.mdx b/api_docs/kbn_security_ui_components.mdx index b21abdc7e36e0..7474f69f749df 100644 --- a/api_docs/kbn_security_ui_components.mdx +++ b/api_docs/kbn_security_ui_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-security-ui-components title: "@kbn/security-ui-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/security-ui-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/security-ui-components'] --- import kbnSecurityUiComponentsObj from './kbn_security_ui_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx index 30b54aeb0b42e..0f5648d3909ed 100644 --- a/api_docs/kbn_securitysolution_autocomplete.mdx +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete title: "@kbn/securitysolution-autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-autocomplete plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] --- import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_data_table.mdx b/api_docs/kbn_securitysolution_data_table.mdx index f2509f74f828b..3468fc4b6712a 100644 --- a/api_docs/kbn_securitysolution_data_table.mdx +++ b/api_docs/kbn_securitysolution_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-data-table title: "@kbn/securitysolution-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-data-table plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-data-table'] --- import kbnSecuritysolutionDataTableObj from './kbn_securitysolution_data_table.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_ecs.mdx b/api_docs/kbn_securitysolution_ecs.mdx index 1e8d08fe8dbe4..2bfd56e84c9d2 100644 --- a/api_docs/kbn_securitysolution_ecs.mdx +++ b/api_docs/kbn_securitysolution_ecs.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-ecs title: "@kbn/securitysolution-ecs" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-ecs plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-ecs'] --- import kbnSecuritysolutionEcsObj from './kbn_securitysolution_ecs.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx index b46f66524e70d..26f5a255c5fb4 100644 --- a/api_docs/kbn_securitysolution_es_utils.mdx +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils title: "@kbn/securitysolution-es-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-es-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] --- import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_exception_list_components.mdx b/api_docs/kbn_securitysolution_exception_list_components.mdx index 87bd96ac24ba1..3cf7250422755 100644 --- a/api_docs/kbn_securitysolution_exception_list_components.mdx +++ b/api_docs/kbn_securitysolution_exception_list_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-exception-list-components title: "@kbn/securitysolution-exception-list-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-exception-list-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-exception-list-components'] --- import kbnSecuritysolutionExceptionListComponentsObj from './kbn_securitysolution_exception_list_components.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx index 8eb1423803307..4a67f8878772b 100644 --- a/api_docs/kbn_securitysolution_hook_utils.mdx +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils title: "@kbn/securitysolution-hook-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-hook-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] --- import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx index f4b3b0884b3f6..b38c509a62217 100644 --- a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types title: "@kbn/securitysolution-io-ts-alerting-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] --- import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx index d70f79b123bb8..3db327dcea6bd 100644 --- a/api_docs/kbn_securitysolution_io_ts_list_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types title: "@kbn/securitysolution-io-ts-list-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-list-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] --- import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx index f683d32b6f42a..a20315f5c01dd 100644 --- a/api_docs/kbn_securitysolution_io_ts_types.mdx +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types title: "@kbn/securitysolution-io-ts-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] --- import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx index b9379cf559270..703884b01d158 100644 --- a/api_docs/kbn_securitysolution_io_ts_utils.mdx +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils title: "@kbn/securitysolution-io-ts-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-io-ts-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] --- import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx index 168886fc58f0f..be9a73adff86c 100644 --- a/api_docs/kbn_securitysolution_list_api.mdx +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-api title: "@kbn/securitysolution-list-api" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-api plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] --- import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx index e2b45b5e4a35b..eabcb8143ad72 100644 --- a/api_docs/kbn_securitysolution_list_constants.mdx +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants title: "@kbn/securitysolution-list-constants" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-constants plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] --- import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx index be064825c36e5..3dda4df5d75ac 100644 --- a/api_docs/kbn_securitysolution_list_hooks.mdx +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks title: "@kbn/securitysolution-list-hooks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-hooks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] --- import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx index 3e8018c782908..ff67b58065572 100644 --- a/api_docs/kbn_securitysolution_list_utils.mdx +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils title: "@kbn/securitysolution-list-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-list-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] --- import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_rules.mdx b/api_docs/kbn_securitysolution_rules.mdx index 6a36012089efe..eb9c322049b8c 100644 --- a/api_docs/kbn_securitysolution_rules.mdx +++ b/api_docs/kbn_securitysolution_rules.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-rules title: "@kbn/securitysolution-rules" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-rules plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-rules'] --- import kbnSecuritysolutionRulesObj from './kbn_securitysolution_rules.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx index 67a9380d0fabb..f045dcc204f90 100644 --- a/api_docs/kbn_securitysolution_t_grid.mdx +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid title: "@kbn/securitysolution-t-grid" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-t-grid plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] --- import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.devdocs.json'; diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx index 044c5e8d5ffee..583d42fa2c448 100644 --- a/api_docs/kbn_securitysolution_utils.mdx +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-securitysolution-utils title: "@kbn/securitysolution-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/securitysolution-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] --- import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.devdocs.json'; diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx index cced5050ffe2b..92a94a0d986a4 100644 --- a/api_docs/kbn_server_http_tools.mdx +++ b/api_docs/kbn_server_http_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-http-tools title: "@kbn/server-http-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-http-tools plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] --- import kbnServerHttpToolsObj from './kbn_server_http_tools.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx index 372b3d0ac09f2..18ae4ad5c2148 100644 --- a/api_docs/kbn_server_route_repository.mdx +++ b/api_docs/kbn_server_route_repository.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository title: "@kbn/server-route-repository" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] --- import kbnServerRouteRepositoryObj from './kbn_server_route_repository.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository_client.mdx b/api_docs/kbn_server_route_repository_client.mdx index f35f1741e3069..9290f546548b6 100644 --- a/api_docs/kbn_server_route_repository_client.mdx +++ b/api_docs/kbn_server_route_repository_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository-client title: "@kbn/server-route-repository-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository-client plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository-client'] --- import kbnServerRouteRepositoryClientObj from './kbn_server_route_repository_client.devdocs.json'; diff --git a/api_docs/kbn_server_route_repository_utils.mdx b/api_docs/kbn_server_route_repository_utils.mdx index 417e4c2baa580..6d202178ee69a 100644 --- a/api_docs/kbn_server_route_repository_utils.mdx +++ b/api_docs/kbn_server_route_repository_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-server-route-repository-utils title: "@kbn/server-route-repository-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/server-route-repository-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository-utils'] --- import kbnServerRouteRepositoryUtilsObj from './kbn_server_route_repository_utils.devdocs.json'; diff --git a/api_docs/kbn_serverless_common_settings.mdx b/api_docs/kbn_serverless_common_settings.mdx index 403bd5f2d4542..50e0d826ae883 100644 --- a/api_docs/kbn_serverless_common_settings.mdx +++ b/api_docs/kbn_serverless_common_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-common-settings title: "@kbn/serverless-common-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-common-settings plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-common-settings'] --- import kbnServerlessCommonSettingsObj from './kbn_serverless_common_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_observability_settings.mdx b/api_docs/kbn_serverless_observability_settings.mdx index 78a1a266eeb58..841f579e788bb 100644 --- a/api_docs/kbn_serverless_observability_settings.mdx +++ b/api_docs/kbn_serverless_observability_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-observability-settings title: "@kbn/serverless-observability-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-observability-settings plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-observability-settings'] --- import kbnServerlessObservabilitySettingsObj from './kbn_serverless_observability_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_project_switcher.mdx b/api_docs/kbn_serverless_project_switcher.mdx index 423a7985d2ed8..69783a7f891ee 100644 --- a/api_docs/kbn_serverless_project_switcher.mdx +++ b/api_docs/kbn_serverless_project_switcher.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-project-switcher title: "@kbn/serverless-project-switcher" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-project-switcher plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-project-switcher'] --- import kbnServerlessProjectSwitcherObj from './kbn_serverless_project_switcher.devdocs.json'; diff --git a/api_docs/kbn_serverless_search_settings.mdx b/api_docs/kbn_serverless_search_settings.mdx index 691d0cd7998d8..643b54e036c12 100644 --- a/api_docs/kbn_serverless_search_settings.mdx +++ b/api_docs/kbn_serverless_search_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-search-settings title: "@kbn/serverless-search-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-search-settings plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-search-settings'] --- import kbnServerlessSearchSettingsObj from './kbn_serverless_search_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_security_settings.mdx b/api_docs/kbn_serverless_security_settings.mdx index 898ef19517308..07e7efd14a707 100644 --- a/api_docs/kbn_serverless_security_settings.mdx +++ b/api_docs/kbn_serverless_security_settings.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-security-settings title: "@kbn/serverless-security-settings" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-security-settings plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-security-settings'] --- import kbnServerlessSecuritySettingsObj from './kbn_serverless_security_settings.devdocs.json'; diff --git a/api_docs/kbn_serverless_storybook_config.mdx b/api_docs/kbn_serverless_storybook_config.mdx index 33a65cf5605cd..ff81d88ddc320 100644 --- a/api_docs/kbn_serverless_storybook_config.mdx +++ b/api_docs/kbn_serverless_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-serverless-storybook-config title: "@kbn/serverless-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/serverless-storybook-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/serverless-storybook-config'] --- import kbnServerlessStorybookConfigObj from './kbn_serverless_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_svg.mdx b/api_docs/kbn_shared_svg.mdx index 3275020eed15c..a9dc48330676f 100644 --- a/api_docs/kbn_shared_svg.mdx +++ b/api_docs/kbn_shared_svg.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-svg title: "@kbn/shared-svg" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-svg plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-svg'] --- import kbnSharedSvgObj from './kbn_shared_svg.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_avatar_solution.mdx b/api_docs/kbn_shared_ux_avatar_solution.mdx index 9891de336d504..42e61a22a2ef0 100644 --- a/api_docs/kbn_shared_ux_avatar_solution.mdx +++ b/api_docs/kbn_shared_ux_avatar_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-avatar-solution title: "@kbn/shared-ux-avatar-solution" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-avatar-solution plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-avatar-solution'] --- import kbnSharedUxAvatarSolutionObj from './kbn_shared_ux_avatar_solution.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx index 048d129e581eb..0099f11997e75 100644 --- a/api_docs/kbn_shared_ux_button_exit_full_screen.mdx +++ b/api_docs/kbn_shared_ux_button_exit_full_screen.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-exit-full-screen title: "@kbn/shared-ux-button-exit-full-screen" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-exit-full-screen plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-exit-full-screen'] --- import kbnSharedUxButtonExitFullScreenObj from './kbn_shared_ux_button_exit_full_screen.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_button_toolbar.mdx b/api_docs/kbn_shared_ux_button_toolbar.mdx index 0c6961addde54..556d0b9ac9905 100644 --- a/api_docs/kbn_shared_ux_button_toolbar.mdx +++ b/api_docs/kbn_shared_ux_button_toolbar.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-button-toolbar title: "@kbn/shared-ux-button-toolbar" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-button-toolbar plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-button-toolbar'] --- import kbnSharedUxButtonToolbarObj from './kbn_shared_ux_button_toolbar.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data.mdx b/api_docs/kbn_shared_ux_card_no_data.mdx index 4d569fc1fd773..00149c17da573 100644 --- a/api_docs/kbn_shared_ux_card_no_data.mdx +++ b/api_docs/kbn_shared_ux_card_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data title: "@kbn/shared-ux-card-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data'] --- import kbnSharedUxCardNoDataObj from './kbn_shared_ux_card_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx index d2ea3c0307965..67d5b22b12878 100644 --- a/api_docs/kbn_shared_ux_card_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_card_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-card-no-data-mocks title: "@kbn/shared-ux-card-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-card-no-data-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-card-no-data-mocks'] --- import kbnSharedUxCardNoDataMocksObj from './kbn_shared_ux_card_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_chrome_navigation.devdocs.json b/api_docs/kbn_shared_ux_chrome_navigation.devdocs.json index 11d4e3caff928..60e5024fa01e4 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.devdocs.json +++ b/api_docs/kbn_shared_ux_chrome_navigation.devdocs.json @@ -183,13 +183,7 @@ "description": [], "signature": [ "{ application: { navigateToUrl: (url: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined) => Promise; }; chrome: { recentlyAccessed: { get$: () => ", "Observable", "<", @@ -327,13 +321,7 @@ "description": [], "signature": [ "(url: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined) => Promise" ], "path": "packages/shared-ux/chrome/navigation/src/types.ts", @@ -348,7 +336,7 @@ "tags": [], "label": "url", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -360,16 +348,10 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToUrlOptions", - "text": "NavigateToUrlOptions" - }, + "NavigateToUrlOptions", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kbn_shared_ux_chrome_navigation.mdx b/api_docs/kbn_shared_ux_chrome_navigation.mdx index 0913494083da9..91c879f73651c 100644 --- a/api_docs/kbn_shared_ux_chrome_navigation.mdx +++ b/api_docs/kbn_shared_ux_chrome_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-chrome-navigation title: "@kbn/shared-ux-chrome-navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-chrome-navigation plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-chrome-navigation'] --- import kbnSharedUxChromeNavigationObj from './kbn_shared_ux_chrome_navigation.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_error_boundary.mdx b/api_docs/kbn_shared_ux_error_boundary.mdx index ec7a24fcf41c7..e14e8b346000d 100644 --- a/api_docs/kbn_shared_ux_error_boundary.mdx +++ b/api_docs/kbn_shared_ux_error_boundary.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-error-boundary title: "@kbn/shared-ux-error-boundary" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-error-boundary plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-error-boundary'] --- import kbnSharedUxErrorBoundaryObj from './kbn_shared_ux_error_boundary.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_context.mdx b/api_docs/kbn_shared_ux_file_context.mdx index e680fe82bd8f3..653c97fd6f7fb 100644 --- a/api_docs/kbn_shared_ux_file_context.mdx +++ b/api_docs/kbn_shared_ux_file_context.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-context title: "@kbn/shared-ux-file-context" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-context plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-context'] --- import kbnSharedUxFileContextObj from './kbn_shared_ux_file_context.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_image.mdx b/api_docs/kbn_shared_ux_file_image.mdx index 2185d4419637c..2ee244d4a2b43 100644 --- a/api_docs/kbn_shared_ux_file_image.mdx +++ b/api_docs/kbn_shared_ux_file_image.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image title: "@kbn/shared-ux-file-image" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-image'] --- import kbnSharedUxFileImageObj from './kbn_shared_ux_file_image.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_image_mocks.mdx b/api_docs/kbn_shared_ux_file_image_mocks.mdx index 018fb5b7784c0..e5f27f26570ef 100644 --- a/api_docs/kbn_shared_ux_file_image_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_image_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-image-mocks title: "@kbn/shared-ux-file-image-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-image-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-image-mocks'] --- import kbnSharedUxFileImageMocksObj from './kbn_shared_ux_file_image_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_mocks.mdx b/api_docs/kbn_shared_ux_file_mocks.mdx index 58f582e1d9d9e..c5a99710be9c6 100644 --- a/api_docs/kbn_shared_ux_file_mocks.mdx +++ b/api_docs/kbn_shared_ux_file_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-mocks title: "@kbn/shared-ux-file-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-mocks'] --- import kbnSharedUxFileMocksObj from './kbn_shared_ux_file_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_picker.mdx b/api_docs/kbn_shared_ux_file_picker.mdx index 1a41c19254ac5..a8f4cb26a4517 100644 --- a/api_docs/kbn_shared_ux_file_picker.mdx +++ b/api_docs/kbn_shared_ux_file_picker.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-picker title: "@kbn/shared-ux-file-picker" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-picker plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-picker'] --- import kbnSharedUxFilePickerObj from './kbn_shared_ux_file_picker.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_types.mdx b/api_docs/kbn_shared_ux_file_types.mdx index 748d923f6d09b..12a3069f677bd 100644 --- a/api_docs/kbn_shared_ux_file_types.mdx +++ b/api_docs/kbn_shared_ux_file_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-types title: "@kbn/shared-ux-file-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-types'] --- import kbnSharedUxFileTypesObj from './kbn_shared_ux_file_types.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_upload.mdx b/api_docs/kbn_shared_ux_file_upload.mdx index bd088861e6653..36b809deb336c 100644 --- a/api_docs/kbn_shared_ux_file_upload.mdx +++ b/api_docs/kbn_shared_ux_file_upload.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-upload title: "@kbn/shared-ux-file-upload" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-upload plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-upload'] --- import kbnSharedUxFileUploadObj from './kbn_shared_ux_file_upload.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_file_util.mdx b/api_docs/kbn_shared_ux_file_util.mdx index 440034c6631e2..94f694ea749c5 100644 --- a/api_docs/kbn_shared_ux_file_util.mdx +++ b/api_docs/kbn_shared_ux_file_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-file-util title: "@kbn/shared-ux-file-util" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-file-util plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-file-util'] --- import kbnSharedUxFileUtilObj from './kbn_shared_ux_file_util.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app.mdx b/api_docs/kbn_shared_ux_link_redirect_app.mdx index d5d3d607cc37a..30c8cb3142031 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app title: "@kbn/shared-ux-link-redirect-app" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app'] --- import kbnSharedUxLinkRedirectAppObj from './kbn_shared_ux_link_redirect_app.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx index fea3b18334386..a7758ef8b2328 100644 --- a/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx +++ b/api_docs/kbn_shared_ux_link_redirect_app_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-link-redirect-app-mocks title: "@kbn/shared-ux-link-redirect-app-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-link-redirect-app-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-link-redirect-app-mocks'] --- import kbnSharedUxLinkRedirectAppMocksObj from './kbn_shared_ux_link_redirect_app_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown.mdx b/api_docs/kbn_shared_ux_markdown.mdx index 8ad62a224c9c0..c7677c6b10349 100644 --- a/api_docs/kbn_shared_ux_markdown.mdx +++ b/api_docs/kbn_shared_ux_markdown.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown title: "@kbn/shared-ux-markdown" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown'] --- import kbnSharedUxMarkdownObj from './kbn_shared_ux_markdown.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_markdown_mocks.mdx b/api_docs/kbn_shared_ux_markdown_mocks.mdx index 64ce71753ed57..b0b716dd5799a 100644 --- a/api_docs/kbn_shared_ux_markdown_mocks.mdx +++ b/api_docs/kbn_shared_ux_markdown_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-markdown-mocks title: "@kbn/shared-ux-markdown-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-markdown-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-markdown-mocks'] --- import kbnSharedUxMarkdownMocksObj from './kbn_shared_ux_markdown_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx index e229b42b73323..1f3afdf89ee97 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data title: "@kbn/shared-ux-page-analytics-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data'] --- import kbnSharedUxPageAnalyticsNoDataObj from './kbn_shared_ux_page_analytics_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx index 6c2756c112bb0..d9ec9830db16e 100644 --- a/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_analytics_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-analytics-no-data-mocks title: "@kbn/shared-ux-page-analytics-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-analytics-no-data-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-analytics-no-data-mocks'] --- import kbnSharedUxPageAnalyticsNoDataMocksObj from './kbn_shared_ux_page_analytics_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx index 55900f079a9ae..77cde712a58a2 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data title: "@kbn/shared-ux-page-kibana-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data'] --- import kbnSharedUxPageKibanaNoDataObj from './kbn_shared_ux_page_kibana_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx index b70d673b35c58..06fffee954b56 100644 --- a/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-no-data-mocks title: "@kbn/shared-ux-page-kibana-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-no-data-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-no-data-mocks'] --- import kbnSharedUxPageKibanaNoDataMocksObj from './kbn_shared_ux_page_kibana_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template.mdx b/api_docs/kbn_shared_ux_page_kibana_template.mdx index 578b5c3f99237..b2668f55b736d 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template title: "@kbn/shared-ux-page-kibana-template" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template'] --- import kbnSharedUxPageKibanaTemplateObj from './kbn_shared_ux_page_kibana_template.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx index 345bc5b08efa8..ecb6b645df713 100644 --- a/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_kibana_template_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-kibana-template-mocks title: "@kbn/shared-ux-page-kibana-template-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-kibana-template-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-kibana-template-mocks'] --- import kbnSharedUxPageKibanaTemplateMocksObj from './kbn_shared_ux_page_kibana_template_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data.mdx b/api_docs/kbn_shared_ux_page_no_data.mdx index 42eb175921d1c..8b578fb98effd 100644 --- a/api_docs/kbn_shared_ux_page_no_data.mdx +++ b/api_docs/kbn_shared_ux_page_no_data.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data title: "@kbn/shared-ux-page-no-data" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data'] --- import kbnSharedUxPageNoDataObj from './kbn_shared_ux_page_no_data.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config.mdx b/api_docs/kbn_shared_ux_page_no_data_config.mdx index 6a8798880c7b8..c52c181addc57 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config title: "@kbn/shared-ux-page-no-data-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config'] --- import kbnSharedUxPageNoDataConfigObj from './kbn_shared_ux_page_no_data_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx index 496d1ebcb8d1d..92b730293d3d2 100644 --- a/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_config_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-config-mocks title: "@kbn/shared-ux-page-no-data-config-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-config-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-config-mocks'] --- import kbnSharedUxPageNoDataConfigMocksObj from './kbn_shared_ux_page_no_data_config_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx index a9281cc7948ad..ec5d997117c6f 100644 --- a/api_docs/kbn_shared_ux_page_no_data_mocks.mdx +++ b/api_docs/kbn_shared_ux_page_no_data_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-no-data-mocks title: "@kbn/shared-ux-page-no-data-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-no-data-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-no-data-mocks'] --- import kbnSharedUxPageNoDataMocksObj from './kbn_shared_ux_page_no_data_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_page_solution_nav.mdx b/api_docs/kbn_shared_ux_page_solution_nav.mdx index 6a27c2b4fc6dc..45d38c4b1300a 100644 --- a/api_docs/kbn_shared_ux_page_solution_nav.mdx +++ b/api_docs/kbn_shared_ux_page_solution_nav.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-page-solution-nav title: "@kbn/shared-ux-page-solution-nav" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-page-solution-nav plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-page-solution-nav'] --- import kbnSharedUxPageSolutionNavObj from './kbn_shared_ux_page_solution_nav.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx index 1f897bd14e94c..61a96754eaa4f 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views title: "@kbn/shared-ux-prompt-no-data-views" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views'] --- import kbnSharedUxPromptNoDataViewsObj from './kbn_shared_ux_prompt_no_data_views.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx index 92eaa8c258ab6..675422098b530 100644 --- a/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx +++ b/api_docs/kbn_shared_ux_prompt_no_data_views_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-no-data-views-mocks title: "@kbn/shared-ux-prompt-no-data-views-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-no-data-views-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-no-data-views-mocks'] --- import kbnSharedUxPromptNoDataViewsMocksObj from './kbn_shared_ux_prompt_no_data_views_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_prompt_not_found.mdx b/api_docs/kbn_shared_ux_prompt_not_found.mdx index 52d7400cbd7b7..b5b263ce90d58 100644 --- a/api_docs/kbn_shared_ux_prompt_not_found.mdx +++ b/api_docs/kbn_shared_ux_prompt_not_found.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-prompt-not-found title: "@kbn/shared-ux-prompt-not-found" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-prompt-not-found plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-prompt-not-found'] --- import kbnSharedUxPromptNotFoundObj from './kbn_shared_ux_prompt_not_found.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router.mdx b/api_docs/kbn_shared_ux_router.mdx index d6f2d770d9411..8cfb429a5a0fe 100644 --- a/api_docs/kbn_shared_ux_router.mdx +++ b/api_docs/kbn_shared_ux_router.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router title: "@kbn/shared-ux-router" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router'] --- import kbnSharedUxRouterObj from './kbn_shared_ux_router.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_router_mocks.mdx b/api_docs/kbn_shared_ux_router_mocks.mdx index 2a25496fde93d..1aeea846107e4 100644 --- a/api_docs/kbn_shared_ux_router_mocks.mdx +++ b/api_docs/kbn_shared_ux_router_mocks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-router-mocks title: "@kbn/shared-ux-router-mocks" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-router-mocks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-router-mocks'] --- import kbnSharedUxRouterMocksObj from './kbn_shared_ux_router_mocks.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_config.mdx b/api_docs/kbn_shared_ux_storybook_config.mdx index 314880aad30bb..73b7db81fcb93 100644 --- a/api_docs/kbn_shared_ux_storybook_config.mdx +++ b/api_docs/kbn_shared_ux_storybook_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-config title: "@kbn/shared-ux-storybook-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-config'] --- import kbnSharedUxStorybookConfigObj from './kbn_shared_ux_storybook_config.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_storybook_mock.mdx b/api_docs/kbn_shared_ux_storybook_mock.mdx index aca8c716c666b..9351084c42f7f 100644 --- a/api_docs/kbn_shared_ux_storybook_mock.mdx +++ b/api_docs/kbn_shared_ux_storybook_mock.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-storybook-mock title: "@kbn/shared-ux-storybook-mock" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-storybook-mock plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-storybook-mock'] --- import kbnSharedUxStorybookMockObj from './kbn_shared_ux_storybook_mock.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_tabbed_modal.mdx b/api_docs/kbn_shared_ux_tabbed_modal.mdx index 242887f97ed5c..01588c16f0cdd 100644 --- a/api_docs/kbn_shared_ux_tabbed_modal.mdx +++ b/api_docs/kbn_shared_ux_tabbed_modal.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-tabbed-modal title: "@kbn/shared-ux-tabbed-modal" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-tabbed-modal plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-tabbed-modal'] --- import kbnSharedUxTabbedModalObj from './kbn_shared_ux_tabbed_modal.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_table_persist.mdx b/api_docs/kbn_shared_ux_table_persist.mdx index 31d2563532f52..05d2ad9855cd3 100644 --- a/api_docs/kbn_shared_ux_table_persist.mdx +++ b/api_docs/kbn_shared_ux_table_persist.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-table-persist title: "@kbn/shared-ux-table-persist" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-table-persist plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-table-persist'] --- import kbnSharedUxTablePersistObj from './kbn_shared_ux_table_persist.devdocs.json'; diff --git a/api_docs/kbn_shared_ux_utility.devdocs.json b/api_docs/kbn_shared_ux_utility.devdocs.json index 2a5982327f50e..712774ac927f0 100644 --- a/api_docs/kbn_shared_ux_utility.devdocs.json +++ b/api_docs/kbn_shared_ux_utility.devdocs.json @@ -304,13 +304,7 @@ "\nThe `AnalyticsServiceStart` object from `CoreStart`" ], "signature": [ - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", " | undefined" ], "path": "packages/kbn-shared-ux-utility/src/with_suspense.tsx", diff --git a/api_docs/kbn_shared_ux_utility.mdx b/api_docs/kbn_shared_ux_utility.mdx index f6ecd8fefa466..017bb38b52c03 100644 --- a/api_docs/kbn_shared_ux_utility.mdx +++ b/api_docs/kbn_shared_ux_utility.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-shared-ux-utility title: "@kbn/shared-ux-utility" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/shared-ux-utility plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/shared-ux-utility'] --- import kbnSharedUxUtilityObj from './kbn_shared_ux_utility.devdocs.json'; diff --git a/api_docs/kbn_slo_schema.mdx b/api_docs/kbn_slo_schema.mdx index e39fe2427c558..0672b1ff37f9b 100644 --- a/api_docs/kbn_slo_schema.mdx +++ b/api_docs/kbn_slo_schema.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-slo-schema title: "@kbn/slo-schema" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/slo-schema plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/slo-schema'] --- import kbnSloSchemaObj from './kbn_slo_schema.devdocs.json'; diff --git a/api_docs/kbn_some_dev_log.mdx b/api_docs/kbn_some_dev_log.mdx index 2c2ababacb841..430ce8661de1f 100644 --- a/api_docs/kbn_some_dev_log.mdx +++ b/api_docs/kbn_some_dev_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-some-dev-log title: "@kbn/some-dev-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/some-dev-log plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/some-dev-log'] --- import kbnSomeDevLogObj from './kbn_some_dev_log.devdocs.json'; diff --git a/api_docs/kbn_sort_predicates.mdx b/api_docs/kbn_sort_predicates.mdx index d541324d5ee63..90bf788bb1cff 100644 --- a/api_docs/kbn_sort_predicates.mdx +++ b/api_docs/kbn_sort_predicates.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sort-predicates title: "@kbn/sort-predicates" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sort-predicates plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sort-predicates'] --- import kbnSortPredicatesObj from './kbn_sort_predicates.devdocs.json'; diff --git a/api_docs/kbn_sse_utils.mdx b/api_docs/kbn_sse_utils.mdx index cabf92c927890..da2b1ae567bc6 100644 --- a/api_docs/kbn_sse_utils.mdx +++ b/api_docs/kbn_sse_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sse-utils title: "@kbn/sse-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sse-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sse-utils'] --- import kbnSseUtilsObj from './kbn_sse_utils.devdocs.json'; diff --git a/api_docs/kbn_sse_utils_client.mdx b/api_docs/kbn_sse_utils_client.mdx index d582fef84565c..fb88f5d157e87 100644 --- a/api_docs/kbn_sse_utils_client.mdx +++ b/api_docs/kbn_sse_utils_client.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sse-utils-client title: "@kbn/sse-utils-client" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sse-utils-client plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sse-utils-client'] --- import kbnSseUtilsClientObj from './kbn_sse_utils_client.devdocs.json'; diff --git a/api_docs/kbn_sse_utils_server.mdx b/api_docs/kbn_sse_utils_server.mdx index 3b953e4fb62aa..dd4b052a16165 100644 --- a/api_docs/kbn_sse_utils_server.mdx +++ b/api_docs/kbn_sse_utils_server.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-sse-utils-server title: "@kbn/sse-utils-server" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/sse-utils-server plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/sse-utils-server'] --- import kbnSseUtilsServerObj from './kbn_sse_utils_server.devdocs.json'; diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx index 5f98ae329d2b5..be20d1d13186a 100644 --- a/api_docs/kbn_std.mdx +++ b/api_docs/kbn_std.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-std title: "@kbn/std" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/std plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] --- import kbnStdObj from './kbn_std.devdocs.json'; diff --git a/api_docs/kbn_stdio_dev_helpers.mdx b/api_docs/kbn_stdio_dev_helpers.mdx index 069cead8ecca3..291740d5737ff 100644 --- a/api_docs/kbn_stdio_dev_helpers.mdx +++ b/api_docs/kbn_stdio_dev_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-stdio-dev-helpers title: "@kbn/stdio-dev-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/stdio-dev-helpers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/stdio-dev-helpers'] --- import kbnStdioDevHelpersObj from './kbn_stdio_dev_helpers.devdocs.json'; diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx index a2eaf731d910a..6068b53fb031a 100644 --- a/api_docs/kbn_storybook.mdx +++ b/api_docs/kbn_storybook.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-storybook title: "@kbn/storybook" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/storybook plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] --- import kbnStorybookObj from './kbn_storybook.devdocs.json'; diff --git a/api_docs/kbn_streams_schema.devdocs.json b/api_docs/kbn_streams_schema.devdocs.json new file mode 100644 index 0000000000000..377cd97e90f64 --- /dev/null +++ b/api_docs/kbn_streams_schema.devdocs.json @@ -0,0 +1,4402 @@ +{ + "id": "@kbn/streams-schema", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isAndCondition", + "type": "Function", + "tags": [], + "label": "isAndCondition", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isAndCondition.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isDissectProcessor", + "type": "Function", + "tags": [], + "label": "isDissectProcessor", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isDissectProcessor.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isFilterCondition", + "type": "Function", + "tags": [], + "label": "isFilterCondition", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isFilterCondition.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isGrokProcessor", + "type": "Function", + "tags": [], + "label": "isGrokProcessor", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isGrokProcessor.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestReadStream", + "type": "Function", + "tags": [], + "label": "isIngestReadStream", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestReadStream.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestStream", + "type": "Function", + "tags": [], + "label": "isIngestStream", + "description": [], + "signature": [ + "(subject: { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestStream.$1", + "type": "CompoundType", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestStreamConfig", + "type": "Function", + "tags": [], + "label": "isIngestStreamConfig", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isIngestStreamConfig.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isOrCondition", + "type": "Function", + "tags": [], + "label": "isOrCondition", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isOrCondition.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isReadStream", + "type": "Function", + "tags": [], + "label": "isReadStream", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isReadStream.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isSchema", + "type": "Function", + "tags": [], + "label": "isSchema", + "description": [], + "signature": [ + "(zodSchema: Zod.ZodType, subject: T) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isSchema.$1", + "type": "Object", + "tags": [], + "label": "zodSchema", + "description": [], + "signature": [ + "Zod.ZodType" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isSchema.$2", + "type": "Uncategorized", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "T" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isStream", + "type": "Function", + "tags": [], + "label": "isStream", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isStream.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isStreamConfig", + "type": "Function", + "tags": [], + "label": "isStreamConfig", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isStreamConfig.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredReadStream", + "type": "Function", + "tags": [], + "label": "isWiredReadStream", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredReadStream.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredStream", + "type": "Function", + "tags": [], + "label": "isWiredStream", + "description": [], + "signature": [ + "(subject: { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredStream.$1", + "type": "CompoundType", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredStreamConfig", + "type": "Function", + "tags": [], + "label": "isWiredStreamConfig", + "description": [], + "signature": [ + "(subject: any) => boolean" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.isWiredStreamConfig.$1", + "type": "Any", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "any" + ], + "path": "x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts", + "deprecated": false, + "trackAdoption": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.AndCondition", + "type": "Interface", + "tags": [], + "label": "AndCondition", + "description": [], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.AndCondition.and", + "type": "Array", + "tags": [], + "label": "and", + "description": [], + "signature": [ + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "[]" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.OrCondition", + "type": "Interface", + "tags": [], + "label": "OrCondition", + "description": [], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "children": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.OrCondition.or", + "type": "Array", + "tags": [], + "label": "or", + "description": [], + "signature": [ + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "[]" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.BinaryFilterCondition", + "type": "Type", + "tags": [], + "label": "BinaryFilterCondition", + "description": [], + "signature": [ + "{ value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.Condition", + "type": "Type", + "tags": [], + "label": "Condition", + "description": [], + "signature": [ + "{ field: string; operator: \"exists\" | \"notExists\"; } | { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; } | ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.AndCondition", + "text": "AndCondition" + }, + " | ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.OrCondition", + "text": "OrCondition" + }, + " | undefined" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.DissectProcssingDefinition", + "type": "Type", + "tags": [], + "label": "DissectProcssingDefinition", + "description": [], + "signature": [ + "{ dissect: { field: string; pattern: string; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ElasticsearchAsset", + "type": "Type", + "tags": [], + "label": "ElasticsearchAsset", + "description": [], + "signature": [ + "{ id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[]" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.FieldDefinition", + "type": "Type", + "tags": [], + "label": "FieldDefinition", + "description": [], + "signature": [ + "{ [x: string]: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.FieldDefinitionConfig", + "type": "Type", + "tags": [], + "label": "FieldDefinitionConfig", + "description": [], + "signature": [ + "{ type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.FieldDefinitionConfigWithName", + "type": "Type", + "tags": [], + "label": "FieldDefinitionConfigWithName", + "description": [], + "signature": [ + "{ type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.FilterCondition", + "type": "Type", + "tags": [], + "label": "FilterCondition", + "description": [], + "signature": [ + "{ field: string; operator: \"exists\" | \"notExists\"; } | { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.GrokProcessingDefinition", + "type": "Type", + "tags": [], + "label": "GrokProcessingDefinition", + "description": [], + "signature": [ + "{ grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.IngestReadStreamDefinition", + "type": "Type", + "tags": [], + "label": "IngestReadStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.IngestStreamConfigDefinition", + "type": "Type", + "tags": [], + "label": "IngestStreamConfigDefinition", + "description": [], + "signature": [ + "{ ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.IngestStreamDefinition", + "type": "Type", + "tags": [], + "label": "IngestStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.InheritedFieldDefinition", + "type": "Type", + "tags": [], + "label": "InheritedFieldDefinition", + "description": [], + "signature": [ + "{ [x: string]: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ListStreamsResponse", + "type": "Type", + "tags": [], + "label": "ListStreamsResponse", + "description": [], + "signature": [ + "{ streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ProcessingDefinition", + "type": "Type", + "tags": [], + "label": "ProcessingDefinition", + "description": [], + "signature": [ + "{ config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ReadStreamDefinition", + "type": "Type", + "tags": [], + "label": "ReadStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ReadStreamResponse", + "type": "Type", + "tags": [], + "label": "ReadStreamResponse", + "description": [], + "signature": [ + "{ streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.StreamChild", + "type": "Type", + "tags": [], + "label": "StreamChild", + "description": [], + "signature": [ + "{ name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.StreamConfigDefinition", + "type": "Type", + "tags": [], + "label": "StreamConfigDefinition", + "description": [], + "signature": [ + "{ ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; } | { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.StreamDefinition", + "type": "Type", + "tags": [], + "label": "StreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.UnaryFilterCondition", + "type": "Type", + "tags": [], + "label": "UnaryFilterCondition", + "description": [], + "signature": [ + "{ field: string; operator: \"exists\" | \"notExists\"; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.WiredReadStreamDefinition", + "type": "Type", + "tags": [], + "label": "WiredReadStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.WiredStreamConfigDefinition", + "type": "Type", + "tags": [], + "label": "WiredStreamConfigDefinition", + "description": [], + "signature": [ + "{ ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.WiredStreamDefinition", + "type": "Type", + "tags": [], + "label": "WiredStreamDefinition", + "description": [], + "signature": [ + "{ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.binaryConditionSchema", + "type": "Object", + "tags": [], + "label": "binaryConditionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ field: Zod.ZodString; operator: Zod.ZodEnum<[\"eq\", \"neq\", \"lt\", \"lte\", \"gt\", \"gte\", \"contains\", \"startsWith\", \"endsWith\"]>; value: Zod.ZodUnion<[Zod.ZodString, Zod.ZodNumber, Zod.ZodBoolean]>; }, \"strip\", Zod.ZodTypeAny, { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }, { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.conditionSchema", + "type": "Object", + "tags": [], + "label": "conditionSchema", + "description": [], + "signature": [ + "Zod.ZodType<", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ", Zod.ZodTypeDef, ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.dissectProcessingDefinitionSchema", + "type": "Object", + "tags": [], + "label": "dissectProcessingDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.elasticsearchAssetSchema", + "type": "Object", + "tags": [], + "label": "elasticsearchAssetSchema", + "description": [], + "signature": [ + "Zod.ZodArray; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.fieldDefinitionConfigSchema", + "type": "Object", + "tags": [], + "label": "fieldDefinitionConfigSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ type: Zod.ZodEnum<[\"keyword\", \"match_only_text\", \"long\", \"double\", \"date\", \"boolean\", \"ip\"]>; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.fieldDefinitionConfigWithNameSchema", + "type": "Object", + "tags": [], + "label": "fieldDefinitionConfigWithNameSchema", + "description": [], + "signature": [ + "Zod.ZodObject; format: Zod.ZodOptional; }, { name: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.fieldDefinitionSchema", + "type": "Object", + "tags": [], + "label": "fieldDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodRecord; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.filterConditionSchema", + "type": "Object", + "tags": [], + "label": "filterConditionSchema", + "description": [], + "signature": [ + "Zod.ZodDiscriminatedUnion<\"operator\", [Zod.ZodObject<{ field: Zod.ZodString; operator: Zod.ZodEnum<[\"exists\", \"notExists\"]>; }, \"strip\", Zod.ZodTypeAny, { field: string; operator: \"exists\" | \"notExists\"; }, { field: string; operator: \"exists\" | \"notExists\"; }>, Zod.ZodObject<{ field: Zod.ZodString; operator: Zod.ZodEnum<[\"eq\", \"neq\", \"lt\", \"lte\", \"gt\", \"gte\", \"contains\", \"startsWith\", \"endsWith\"]>; value: Zod.ZodUnion<[Zod.ZodString, Zod.ZodNumber, Zod.ZodBoolean]>; }, \"strip\", Zod.ZodTypeAny, { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }, { value: string | number | boolean; field: string; operator: \"endsWith\" | \"startsWith\" | \"gte\" | \"lte\" | \"contains\" | \"gt\" | \"lt\" | \"eq\" | \"neq\"; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.grokProcessingDefinitionSchema", + "type": "Object", + "tags": [], + "label": "grokProcessingDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ingestReadStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "ingestReadStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ingestStreamConfigDefinitonSchema", + "type": "Object", + "tags": [], + "label": "ingestStreamConfigDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.ingestStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "ingestStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.inheritedFieldDefinitionSchema", + "type": "Object", + "tags": [], + "label": "inheritedFieldDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodRecord; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.listStreamsResponseSchema", + "type": "Object", + "tags": [], + "label": "listStreamsResponseSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ streams: Zod.ZodArray; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>]>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }, { streams: ({ name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.processingConfigSchema", + "type": "Object", + "tags": [], + "label": "processingConfigSchema", + "description": [], + "signature": [ + "Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.processingDefinitionSchema", + "type": "Object", + "tags": [], + "label": "processingDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ condition: Zod.ZodOptional>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.readStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "readStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodUnion<[Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>, Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.readStreamResponseSchema", + "type": "Object", + "tags": [], + "label": "readStreamResponseSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ streams: Zod.ZodArray; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>, Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>]>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }, { streams: ({ name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; } | { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; })[]; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.streamChildSchema", + "type": "Object", + "tags": [], + "label": "streamChildSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ name: Zod.ZodString; condition: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.streamConfigDefinitionSchema", + "type": "Object", + "tags": [], + "label": "streamConfigDefinitionSchema", + "description": [], + "signature": [ + "Zod.ZodUnion<[Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>, Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.streamDefintionSchema", + "type": "Object", + "tags": [], + "label": "streamDefintionSchema", + "description": [], + "signature": [ + "Zod.ZodUnion<[Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>, Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>]>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.unaryFilterConditionSchema", + "type": "Object", + "tags": [], + "label": "unaryFilterConditionSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ field: Zod.ZodString; operator: Zod.ZodEnum<[\"exists\", \"notExists\"]>; }, \"strip\", Zod.ZodTypeAny, { field: string; operator: \"exists\" | \"notExists\"; }, { field: string; operator: \"exists\" | \"notExists\"; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/common.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.wiredReadStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "wiredReadStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, { inherited_fields: Zod.ZodDefault; format: Zod.ZodOptional; }, { from: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; from: string; format?: string | undefined; }>>>; }>, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; inherited_fields?: Record | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.wiredStreamConfigDefinitonSchema", + "type": "Object", + "tags": [], + "label": "wiredStreamConfigDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/streams-schema", + "id": "def-common.wiredStreamDefinitonSchema", + "type": "Object", + "tags": [], + "label": "wiredStreamDefinitonSchema", + "description": [], + "signature": [ + "Zod.ZodObject<{ name: Zod.ZodString; elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; stream: Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>; }, \"strict\", Zod.ZodTypeAny, { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { name: string; stream: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>" + ], + "path": "x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts", + "deprecated": false, + "trackAdoption": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_streams_schema.mdx b/api_docs/kbn_streams_schema.mdx new file mode 100644 index 0000000000000..f78bd97b639ca --- /dev/null +++ b/api_docs/kbn_streams_schema.mdx @@ -0,0 +1,39 @@ +--- +#### +#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system. +#### Reach out in #docs-engineering for more info. +#### +id: kibKbnStreamsSchemaPluginApi +slug: /kibana-dev-docs/api/kbn-streams-schema +title: "@kbn/streams-schema" +image: https://source.unsplash.com/400x175/?github +description: API docs for the @kbn/streams-schema plugin +date: 2024-12-26 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/streams-schema'] +--- +import kbnStreamsSchemaObj from './kbn_streams_schema.devdocs.json'; + + + +Contact [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 84 | 12 | 84 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_synthetics_e2e.mdx b/api_docs/kbn_synthetics_e2e.mdx index 2110580b0e913..6043cfc582d9a 100644 --- a/api_docs/kbn_synthetics_e2e.mdx +++ b/api_docs/kbn_synthetics_e2e.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-synthetics-e2e title: "@kbn/synthetics-e2e" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/synthetics-e2e plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/synthetics-e2e'] --- import kbnSyntheticsE2eObj from './kbn_synthetics_e2e.devdocs.json'; diff --git a/api_docs/kbn_synthetics_private_location.mdx b/api_docs/kbn_synthetics_private_location.mdx index ad27bbfb11c99..a0f5e84f7e04d 100644 --- a/api_docs/kbn_synthetics_private_location.mdx +++ b/api_docs/kbn_synthetics_private_location.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-synthetics-private-location title: "@kbn/synthetics-private-location" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/synthetics-private-location plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/synthetics-private-location'] --- import kbnSyntheticsPrivateLocationObj from './kbn_synthetics_private_location.devdocs.json'; diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx index be9af9931d488..789e18bdbcbbf 100644 --- a/api_docs/kbn_telemetry_tools.mdx +++ b/api_docs/kbn_telemetry_tools.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-telemetry-tools title: "@kbn/telemetry-tools" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/telemetry-tools plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] --- import kbnTelemetryToolsObj from './kbn_telemetry_tools.devdocs.json'; diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx index 373735c4ae194..7ba540f89b95e 100644 --- a/api_docs/kbn_test.mdx +++ b/api_docs/kbn_test.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test title: "@kbn/test" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] --- import kbnTestObj from './kbn_test.devdocs.json'; diff --git a/api_docs/kbn_test_eui_helpers.mdx b/api_docs/kbn_test_eui_helpers.mdx index 351bc0e530bbc..ca037fe90e153 100644 --- a/api_docs/kbn_test_eui_helpers.mdx +++ b/api_docs/kbn_test_eui_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-eui-helpers title: "@kbn/test-eui-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-eui-helpers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-eui-helpers'] --- import kbnTestEuiHelpersObj from './kbn_test_eui_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_jest_helpers.mdx b/api_docs/kbn_test_jest_helpers.mdx index 3026842e0471b..3f9e21ae825d2 100644 --- a/api_docs/kbn_test_jest_helpers.mdx +++ b/api_docs/kbn_test_jest_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-jest-helpers title: "@kbn/test-jest-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-jest-helpers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-jest-helpers'] --- import kbnTestJestHelpersObj from './kbn_test_jest_helpers.devdocs.json'; diff --git a/api_docs/kbn_test_subj_selector.mdx b/api_docs/kbn_test_subj_selector.mdx index 1b657b038a0ed..4913039a8f4cf 100644 --- a/api_docs/kbn_test_subj_selector.mdx +++ b/api_docs/kbn_test_subj_selector.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-test-subj-selector title: "@kbn/test-subj-selector" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/test-subj-selector plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test-subj-selector'] --- import kbnTestSubjSelectorObj from './kbn_test_subj_selector.devdocs.json'; diff --git a/api_docs/kbn_timerange.mdx b/api_docs/kbn_timerange.mdx index d184f7bb0dc4b..bb01a9f516740 100644 --- a/api_docs/kbn_timerange.mdx +++ b/api_docs/kbn_timerange.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-timerange title: "@kbn/timerange" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/timerange plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/timerange'] --- import kbnTimerangeObj from './kbn_timerange.devdocs.json'; diff --git a/api_docs/kbn_tooling_log.mdx b/api_docs/kbn_tooling_log.mdx index 10ce7a54cb52f..50777f9ac7c0b 100644 --- a/api_docs/kbn_tooling_log.mdx +++ b/api_docs/kbn_tooling_log.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-tooling-log title: "@kbn/tooling-log" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/tooling-log plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/tooling-log'] --- import kbnToolingLogObj from './kbn_tooling_log.devdocs.json'; diff --git a/api_docs/kbn_transpose_utils.mdx b/api_docs/kbn_transpose_utils.mdx index e4899efa1d76f..56d3bdaa422ae 100644 --- a/api_docs/kbn_transpose_utils.mdx +++ b/api_docs/kbn_transpose_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-transpose-utils title: "@kbn/transpose-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/transpose-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/transpose-utils'] --- import kbnTransposeUtilsObj from './kbn_transpose_utils.devdocs.json'; diff --git a/api_docs/kbn_triggers_actions_ui_types.mdx b/api_docs/kbn_triggers_actions_ui_types.mdx index b15217fa92831..780de6f813699 100644 --- a/api_docs/kbn_triggers_actions_ui_types.mdx +++ b/api_docs/kbn_triggers_actions_ui_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-triggers-actions-ui-types title: "@kbn/triggers-actions-ui-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/triggers-actions-ui-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/triggers-actions-ui-types'] --- import kbnTriggersActionsUiTypesObj from './kbn_triggers_actions_ui_types.devdocs.json'; diff --git a/api_docs/kbn_try_in_console.mdx b/api_docs/kbn_try_in_console.mdx index d3181b34deab4..ddce2134ea7f5 100644 --- a/api_docs/kbn_try_in_console.mdx +++ b/api_docs/kbn_try_in_console.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-try-in-console title: "@kbn/try-in-console" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/try-in-console plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/try-in-console'] --- import kbnTryInConsoleObj from './kbn_try_in_console.devdocs.json'; diff --git a/api_docs/kbn_ts_projects.mdx b/api_docs/kbn_ts_projects.mdx index 314f24fc10f79..ad3bfe9751736 100644 --- a/api_docs/kbn_ts_projects.mdx +++ b/api_docs/kbn_ts_projects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ts-projects title: "@kbn/ts-projects" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ts-projects plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ts-projects'] --- import kbnTsProjectsObj from './kbn_ts_projects.devdocs.json'; diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx index e5ea0cc5d0a63..3042ede6ebca8 100644 --- a/api_docs/kbn_typed_react_router_config.mdx +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-typed-react-router-config title: "@kbn/typed-react-router-config" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/typed-react-router-config plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] --- import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.devdocs.json'; diff --git a/api_docs/kbn_ui_actions_browser.mdx b/api_docs/kbn_ui_actions_browser.mdx index 0dc10e35c770e..76697f1545cf7 100644 --- a/api_docs/kbn_ui_actions_browser.mdx +++ b/api_docs/kbn_ui_actions_browser.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-actions-browser title: "@kbn/ui-actions-browser" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-actions-browser plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-actions-browser'] --- import kbnUiActionsBrowserObj from './kbn_ui_actions_browser.devdocs.json'; diff --git a/api_docs/kbn_ui_shared_deps_src.mdx b/api_docs/kbn_ui_shared_deps_src.mdx index f56d0c375da27..451cf05bd143b 100644 --- a/api_docs/kbn_ui_shared_deps_src.mdx +++ b/api_docs/kbn_ui_shared_deps_src.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-shared-deps-src title: "@kbn/ui-shared-deps-src" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-shared-deps-src plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-shared-deps-src'] --- import kbnUiSharedDepsSrcObj from './kbn_ui_shared_deps_src.devdocs.json'; diff --git a/api_docs/kbn_ui_theme.mdx b/api_docs/kbn_ui_theme.mdx index 3611d43fdcf52..7ee3f1d100908 100644 --- a/api_docs/kbn_ui_theme.mdx +++ b/api_docs/kbn_ui_theme.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-ui-theme title: "@kbn/ui-theme" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/ui-theme plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ui-theme'] --- import kbnUiThemeObj from './kbn_ui_theme.devdocs.json'; diff --git a/api_docs/kbn_unified_data_table.mdx b/api_docs/kbn_unified_data_table.mdx index d7df74d8487a7..26f92351df1bb 100644 --- a/api_docs/kbn_unified_data_table.mdx +++ b/api_docs/kbn_unified_data_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-data-table title: "@kbn/unified-data-table" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-data-table plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-data-table'] --- import kbnUnifiedDataTableObj from './kbn_unified_data_table.devdocs.json'; diff --git a/api_docs/kbn_unified_doc_viewer.mdx b/api_docs/kbn_unified_doc_viewer.mdx index dca73b9ede4d7..9927b19c3a67c 100644 --- a/api_docs/kbn_unified_doc_viewer.mdx +++ b/api_docs/kbn_unified_doc_viewer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-doc-viewer title: "@kbn/unified-doc-viewer" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-doc-viewer plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-doc-viewer'] --- import kbnUnifiedDocViewerObj from './kbn_unified_doc_viewer.devdocs.json'; diff --git a/api_docs/kbn_unified_field_list.mdx b/api_docs/kbn_unified_field_list.mdx index a126f1edc4e66..ecb0b226f2c4f 100644 --- a/api_docs/kbn_unified_field_list.mdx +++ b/api_docs/kbn_unified_field_list.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unified-field-list title: "@kbn/unified-field-list" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unified-field-list plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unified-field-list'] --- import kbnUnifiedFieldListObj from './kbn_unified_field_list.devdocs.json'; diff --git a/api_docs/kbn_unsaved_changes_badge.mdx b/api_docs/kbn_unsaved_changes_badge.mdx index 7e8b890ae184e..8ad249881ce4d 100644 --- a/api_docs/kbn_unsaved_changes_badge.mdx +++ b/api_docs/kbn_unsaved_changes_badge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unsaved-changes-badge title: "@kbn/unsaved-changes-badge" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unsaved-changes-badge plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unsaved-changes-badge'] --- import kbnUnsavedChangesBadgeObj from './kbn_unsaved_changes_badge.devdocs.json'; diff --git a/api_docs/kbn_unsaved_changes_prompt.mdx b/api_docs/kbn_unsaved_changes_prompt.mdx index 6a4cf0d4bff45..d643d75422b77 100644 --- a/api_docs/kbn_unsaved_changes_prompt.mdx +++ b/api_docs/kbn_unsaved_changes_prompt.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-unsaved-changes-prompt title: "@kbn/unsaved-changes-prompt" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/unsaved-changes-prompt plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/unsaved-changes-prompt'] --- import kbnUnsavedChangesPromptObj from './kbn_unsaved_changes_prompt.devdocs.json'; diff --git a/api_docs/kbn_use_tracked_promise.mdx b/api_docs/kbn_use_tracked_promise.mdx index 6f5617d5bd025..ff3a13b6f1890 100644 --- a/api_docs/kbn_use_tracked_promise.mdx +++ b/api_docs/kbn_use_tracked_promise.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-use-tracked-promise title: "@kbn/use-tracked-promise" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/use-tracked-promise plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/use-tracked-promise'] --- import kbnUseTrackedPromiseObj from './kbn_use_tracked_promise.devdocs.json'; diff --git a/api_docs/kbn_user_profile_components.devdocs.json b/api_docs/kbn_user_profile_components.devdocs.json index 05679e867fa4d..85718e3880056 100644 --- a/api_docs/kbn_user_profile_components.devdocs.json +++ b/api_docs/kbn_user_profile_components.devdocs.json @@ -974,13 +974,7 @@ "text": "I18nStart" }, "; analytics?: Pick<", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", ", \"reportEvent\"> | undefined; theme: ", { "pluginId": "@kbn/react-kibana-context-common", diff --git a/api_docs/kbn_user_profile_components.mdx b/api_docs/kbn_user_profile_components.mdx index e8cb1af58fb44..4d2807b1ab40c 100644 --- a/api_docs/kbn_user_profile_components.mdx +++ b/api_docs/kbn_user_profile_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-user-profile-components title: "@kbn/user-profile-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/user-profile-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/user-profile-components'] --- import kbnUserProfileComponentsObj from './kbn_user_profile_components.devdocs.json'; diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx index 9a2b96f1eca81..5bb1ec6146531 100644 --- a/api_docs/kbn_utility_types.mdx +++ b/api_docs/kbn_utility_types.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types title: "@kbn/utility-types" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] --- import kbnUtilityTypesObj from './kbn_utility_types.devdocs.json'; diff --git a/api_docs/kbn_utility_types_jest.mdx b/api_docs/kbn_utility_types_jest.mdx index 191083ab5b373..c0b26d6788cae 100644 --- a/api_docs/kbn_utility_types_jest.mdx +++ b/api_docs/kbn_utility_types_jest.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utility-types-jest title: "@kbn/utility-types-jest" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utility-types-jest plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types-jest'] --- import kbnUtilityTypesJestObj from './kbn_utility_types_jest.devdocs.json'; diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx index f6e8a8a5878d3..291e765ca48d6 100644 --- a/api_docs/kbn_utils.mdx +++ b/api_docs/kbn_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-utils title: "@kbn/utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] --- import kbnUtilsObj from './kbn_utils.devdocs.json'; diff --git a/api_docs/kbn_visualization_ui_components.mdx b/api_docs/kbn_visualization_ui_components.mdx index 64188f6da568f..204c7cc11acf3 100644 --- a/api_docs/kbn_visualization_ui_components.mdx +++ b/api_docs/kbn_visualization_ui_components.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-visualization-ui-components title: "@kbn/visualization-ui-components" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/visualization-ui-components plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-ui-components'] --- import kbnVisualizationUiComponentsObj from './kbn_visualization_ui_components.devdocs.json'; diff --git a/api_docs/kbn_visualization_utils.mdx b/api_docs/kbn_visualization_utils.mdx index 9440222196237..61b536b60491b 100644 --- a/api_docs/kbn_visualization_utils.mdx +++ b/api_docs/kbn_visualization_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-visualization-utils title: "@kbn/visualization-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/visualization-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/visualization-utils'] --- import kbnVisualizationUtilsObj from './kbn_visualization_utils.devdocs.json'; diff --git a/api_docs/kbn_xstate_utils.mdx b/api_docs/kbn_xstate_utils.mdx index 8a40d1b4e05c6..d3dcb48007be8 100644 --- a/api_docs/kbn_xstate_utils.mdx +++ b/api_docs/kbn_xstate_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-xstate-utils title: "@kbn/xstate-utils" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/xstate-utils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/xstate-utils'] --- import kbnXstateUtilsObj from './kbn_xstate_utils.devdocs.json'; diff --git a/api_docs/kbn_yarn_lock_validator.mdx b/api_docs/kbn_yarn_lock_validator.mdx index 72cf0ad439022..47538197f27f4 100644 --- a/api_docs/kbn_yarn_lock_validator.mdx +++ b/api_docs/kbn_yarn_lock_validator.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-yarn-lock-validator title: "@kbn/yarn-lock-validator" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/yarn-lock-validator plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/yarn-lock-validator'] --- import kbnYarnLockValidatorObj from './kbn_yarn_lock_validator.devdocs.json'; diff --git a/api_docs/kbn_zod.devdocs.json b/api_docs/kbn_zod.devdocs.json index 9f1ada94d8e67..4fbf59e5edf59 100644 --- a/api_docs/kbn_zod.devdocs.json +++ b/api_docs/kbn_zod.devdocs.json @@ -19198,7 +19198,7 @@ "label": "ZodFirstPartySchemaTypes", "description": [], "signature": [ - "Zod.ZodString | Zod.ZodBoolean | Zod.ZodNumber | Zod.ZodNull | Zod.ZodUnknown | Zod.ZodAny | Zod.ZodUndefined | Zod.ZodBigInt | Zod.ZodDate | Zod.ZodSymbol | Zod.ZodNever | Zod.ZodVoid | Zod.ZodTuple | Zod.ZodNaN | Zod.ZodArray | Zod.ZodObject | Zod.ZodUnion | Zod.ZodDiscriminatedUnion | Zod.ZodIntersection | Zod.ZodRecord | Zod.ZodMap | Zod.ZodSet | Zod.ZodFunction | Zod.ZodLazy | Zod.ZodLiteral | Zod.ZodEnum | Zod.ZodEffects | Zod.ZodNativeEnum | Zod.ZodOptional | Zod.ZodNullable | Zod.ZodDefault | Zod.ZodCatch | Zod.ZodPromise | Zod.ZodBranded | Zod.ZodPipeline | Zod.ZodReadonly" + "Zod.ZodString | Zod.ZodBoolean | Zod.ZodNumber | Zod.ZodUnknown | Zod.ZodNull | Zod.ZodAny | Zod.ZodUndefined | Zod.ZodBigInt | Zod.ZodDate | Zod.ZodSymbol | Zod.ZodNever | Zod.ZodVoid | Zod.ZodTuple | Zod.ZodNaN | Zod.ZodArray | Zod.ZodObject | Zod.ZodUnion | Zod.ZodDiscriminatedUnion | Zod.ZodIntersection | Zod.ZodRecord | Zod.ZodMap | Zod.ZodSet | Zod.ZodFunction | Zod.ZodLazy | Zod.ZodLiteral | Zod.ZodEnum | Zod.ZodEffects | Zod.ZodNativeEnum | Zod.ZodOptional | Zod.ZodNullable | Zod.ZodDefault | Zod.ZodCatch | Zod.ZodPromise | Zod.ZodBranded | Zod.ZodPipeline | Zod.ZodReadonly" ], "path": "node_modules/zod/lib/types.d.ts", "deprecated": false, diff --git a/api_docs/kbn_zod.mdx b/api_docs/kbn_zod.mdx index 11bda0cf11d8a..e8bcc1e3f23ec 100644 --- a/api_docs/kbn_zod.mdx +++ b/api_docs/kbn_zod.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-zod title: "@kbn/zod" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/zod plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/zod'] --- import kbnZodObj from './kbn_zod.devdocs.json'; diff --git a/api_docs/kbn_zod_helpers.mdx b/api_docs/kbn_zod_helpers.mdx index e095d78193458..e0c5ce679e80f 100644 --- a/api_docs/kbn_zod_helpers.mdx +++ b/api_docs/kbn_zod_helpers.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kbn-zod-helpers title: "@kbn/zod-helpers" image: https://source.unsplash.com/400x175/?github description: API docs for the @kbn/zod-helpers plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/zod-helpers'] --- import kbnZodHelpersObj from './kbn_zod_helpers.devdocs.json'; diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index d5b268939f5be..b2f3c187045bf 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaOverview title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaOverview plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaOverview'] --- import kibanaOverviewObj from './kibana_overview.devdocs.json'; diff --git a/api_docs/kibana_react.devdocs.json b/api_docs/kibana_react.devdocs.json index 196ce59fefbab..1f5f6b200058a 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -772,13 +772,7 @@ "description": [], "signature": [ "(history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | ", "History", ", to: string | LocationObject, onClickCallback?: Function | undefined) => { href: string; onClick: (event: React.MouseEvent) => void; }" @@ -795,13 +789,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | ", "History", "" @@ -854,13 +842,7 @@ "description": [], "signature": [ "(history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | ", "History", ", to: string | LocationObject, onClickCallback?: Function | undefined) => (event: React.MouseEvent) => void" @@ -877,13 +859,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", " | ", "History", "" @@ -960,20 +936,20 @@ "trackAdoption": false, "references": [ { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx" + "plugin": "observabilityShared", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx" }, { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx" + "plugin": "observabilityShared", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/header_menu_portal.tsx" }, { - "plugin": "observabilityShared", - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx" + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx" }, { - "plugin": "observabilityShared", - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/header_menu_portal.tsx" + "plugin": "monitoring", + "path": "x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx" } ], "children": [ @@ -2216,13 +2192,7 @@ "label": "analytics", "description": [], "signature": [ - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", " | undefined" ], "path": "src/plugins/kibana_react/public/util/index.tsx", @@ -2553,21 +2523,9 @@ "description": [], "signature": [ "{ analytics?: ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", " | undefined; application?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - }, + "ApplicationStart", " | undefined; chrome?: ", { "pluginId": "@kbn/core-chrome-browser", diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index b7dbe5939515b..a21bc174fd9cd 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaReact title: "kibanaReact" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaReact plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaReact'] --- import kibanaReactObj from './kibana_react.devdocs.json'; diff --git a/api_docs/kibana_utils.devdocs.json b/api_docs/kibana_utils.devdocs.json index 83e839ee43cf6..5a8ff256ae2f8 100644 --- a/api_docs/kibana_utils.devdocs.json +++ b/api_docs/kibana_utils.devdocs.json @@ -1972,13 +1972,7 @@ "; }[]; storageKey: string; navLinkUpdater$: ", "BehaviorSubject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; toastNotifications: ", { "pluginId": "@kbn/core-notifications-browser", @@ -2078,13 +2072,7 @@ "signature": [ "BehaviorSubject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">" ], "path": "src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts", @@ -3330,13 +3318,7 @@ "({\n history,\n navigateToApp,\n basePath,\n mapping,\n toastNotifications,\n onBeforeRedirect,\n theme,\n userProfile,\n}: { history: ", "History", "; navigateToApp: (appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined) => Promise; basePath: ", { "pluginId": "@kbn/core-http-browser", @@ -3426,13 +3408,7 @@ "description": [], "signature": [ "(appId: string, options?: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined) => Promise" ], "path": "src/plugins/kibana_utils/public/history/redirect_when_missing.tsx", @@ -3447,7 +3423,7 @@ "tags": [], "label": "appId", "description": [], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false }, @@ -3459,16 +3435,10 @@ "label": "options", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.NavigateToAppOptions", - "text": "NavigateToAppOptions" - }, + "NavigateToAppOptions", " | undefined" ], - "path": "packages/core/application/core-application-browser/src/contracts.ts", + "path": "src/core/packages/application/browser/src/contracts.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/kibana_utils.mdx b/api_docs/kibana_utils.mdx index 706c0477a6a16..c8c215a402e44 100644 --- a/api_docs/kibana_utils.mdx +++ b/api_docs/kibana_utils.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kibanaUtils title: "kibanaUtils" image: https://source.unsplash.com/400x175/?github description: API docs for the kibanaUtils plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kibanaUtils'] --- import kibanaUtilsObj from './kibana_utils.devdocs.json'; diff --git a/api_docs/kubernetes_security.mdx b/api_docs/kubernetes_security.mdx index 777cc88cf47ae..6edd53547bc19 100644 --- a/api_docs/kubernetes_security.mdx +++ b/api_docs/kubernetes_security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/kubernetesSecurity title: "kubernetesSecurity" image: https://source.unsplash.com/400x175/?github description: API docs for the kubernetesSecurity plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'kubernetesSecurity'] --- import kubernetesSecurityObj from './kubernetes_security.devdocs.json'; diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 8005200951934..c15611d4c0620 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lens title: "lens" image: https://source.unsplash.com/400x175/?github description: API docs for the lens plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lens'] --- import lensObj from './lens.devdocs.json'; diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index e6e7f38cd12d3..da7dcd6b8f8ce 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseApiGuard title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseApiGuard plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseApiGuard'] --- import licenseApiGuardObj from './license_api_guard.devdocs.json'; diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index db671124884ea..3a36402948ee1 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licenseManagement title: "licenseManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the licenseManagement plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licenseManagement'] --- import licenseManagementObj from './license_management.devdocs.json'; diff --git a/api_docs/licensing.devdocs.json b/api_docs/licensing.devdocs.json index e271795594f37..85210d384f790 100644 --- a/api_docs/licensing.devdocs.json +++ b/api_docs/licensing.devdocs.json @@ -494,22 +494,6 @@ "removeBy": "8.8.0", "trackAdoption": false, "references": [ - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" - }, { "plugin": "apm", "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" @@ -570,6 +554,22 @@ "plugin": "security", "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts" + }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/common/license/policy_config.test.ts" @@ -818,14 +818,14 @@ "plugin": "ml", "path": "x-pack/platform/plugins/shared/ml/public/plugin.ts" }, - { - "plugin": "logstash", - "path": "x-pack/plugins/logstash/public/plugin.ts" - }, { "plugin": "crossClusterReplication", "path": "x-pack/platform/plugins/private/cross_cluster_replication/public/plugin.ts" }, + { + "plugin": "logstash", + "path": "x-pack/platform/plugins/private/logstash/public/plugin.ts" + }, { "plugin": "painlessLab", "path": "x-pack/platform/plugins/private/painless_lab/public/plugin.tsx" @@ -1815,22 +1815,6 @@ "removeBy": "8.8.0", "trackAdoption": false, "references": [ - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/common/services/agent_policy_config.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts" - }, { "plugin": "apm", "path": "x-pack/plugins/observability_solution/apm/common/license_check.test.ts" @@ -1891,6 +1875,22 @@ "plugin": "security", "path": "x-pack/plugins/security/common/licensing/license_service.test.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts" + }, { "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/common/license/policy_config.test.ts" diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 78b426ce0e9dd..717c2e6a6a2f7 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/licensing title: "licensing" image: https://source.unsplash.com/400x175/?github description: API docs for the licensing plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'licensing'] --- import licensingObj from './licensing.devdocs.json'; diff --git a/api_docs/links.devdocs.json b/api_docs/links.devdocs.json index 1ab91b751ab1f..2f67b34b34699 100644 --- a/api_docs/links.devdocs.json +++ b/api_docs/links.devdocs.json @@ -32,7 +32,7 @@ "signature": [ "\"link\"" ], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -44,7 +44,7 @@ "tags": [], "label": "APP_NAME", "description": [], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -59,7 +59,7 @@ "signature": [ "\"links\"" ], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -71,7 +71,7 @@ "tags": [], "label": "DISPLAY_NAME", "description": [], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -86,7 +86,7 @@ "signature": [ "1" ], - "path": "src/plugins/links/common/constants.ts", + "path": "src/platform/plugins/private/links/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/links.mdx b/api_docs/links.mdx index 4e528bff3fa1a..effcbdf8d931b 100644 --- a/api_docs/links.mdx +++ b/api_docs/links.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/links title: "links" image: https://source.unsplash.com/400x175/?github description: API docs for the links plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'links'] --- import linksObj from './links.devdocs.json'; diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 3fcf4bb9ca78d..1d33b1e628f51 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/lists title: "lists" image: https://source.unsplash.com/400x175/?github description: API docs for the lists plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'lists'] --- import listsObj from './lists.devdocs.json'; diff --git a/api_docs/llm_tasks.mdx b/api_docs/llm_tasks.mdx index 95780c6af0da7..d7c654223e509 100644 --- a/api_docs/llm_tasks.mdx +++ b/api_docs/llm_tasks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/llmTasks title: "llmTasks" image: https://source.unsplash.com/400x175/?github description: API docs for the llmTasks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'llmTasks'] --- import llmTasksObj from './llm_tasks.devdocs.json'; diff --git a/api_docs/logs_data_access.mdx b/api_docs/logs_data_access.mdx index c06416c2ac096..d75453a722bfb 100644 --- a/api_docs/logs_data_access.mdx +++ b/api_docs/logs_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsDataAccess title: "logsDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the logsDataAccess plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsDataAccess'] --- import logsDataAccessObj from './logs_data_access.devdocs.json'; diff --git a/api_docs/logs_explorer.mdx b/api_docs/logs_explorer.mdx index ff6006409fb82..b41ad9f15728b 100644 --- a/api_docs/logs_explorer.mdx +++ b/api_docs/logs_explorer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsExplorer title: "logsExplorer" image: https://source.unsplash.com/400x175/?github description: API docs for the logsExplorer plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsExplorer'] --- import logsExplorerObj from './logs_explorer.devdocs.json'; diff --git a/api_docs/logs_shared.mdx b/api_docs/logs_shared.mdx index e1e7031b776c8..2d7f56bf88ccb 100644 --- a/api_docs/logs_shared.mdx +++ b/api_docs/logs_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/logsShared title: "logsShared" image: https://source.unsplash.com/400x175/?github description: API docs for the logsShared plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'logsShared'] --- import logsSharedObj from './logs_shared.devdocs.json'; diff --git a/api_docs/management.devdocs.json b/api_docs/management.devdocs.json index 1eb477d2ca7d3..ef59722f81a3c 100644 --- a/api_docs/management.devdocs.json +++ b/api_docs/management.devdocs.json @@ -564,13 +564,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "src/platform/plugins/shared/management/public/types.ts", diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 312b463f7a026..1238db08898e1 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/management title: "management" image: https://source.unsplash.com/400x175/?github description: API docs for the management plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'management'] --- import managementObj from './management.devdocs.json'; diff --git a/api_docs/maps.devdocs.json b/api_docs/maps.devdocs.json index 9fc15f88d570b..5b7722d572eb0 100644 --- a/api_docs/maps.devdocs.json +++ b/api_docs/maps.devdocs.json @@ -9,7 +9,7 @@ "tags": [], "label": "DataRequest", "description": [], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -23,7 +23,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -37,7 +37,7 @@ "signature": [ "DataRequestDescriptor" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -55,7 +55,7 @@ "signature": [ "() => object | undefined" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -71,7 +71,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -88,7 +88,7 @@ "() => ", "DataRequestMeta" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -104,7 +104,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -120,7 +120,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -136,7 +136,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -152,7 +152,7 @@ "signature": [ "() => symbol | undefined" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -168,7 +168,7 @@ "signature": [ "() => Error | undefined" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -184,7 +184,7 @@ "signature": [ "() => React.ReactNode" ], - "path": "x-pack/plugins/maps/public/classes/util/data_request.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -212,7 +212,7 @@ "text": "MapApi" } ], - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts", + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -226,7 +226,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts", + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -244,7 +244,7 @@ "tags": [], "label": "BoundsRequestMeta", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -255,7 +255,7 @@ "tags": [], "label": "applyGlobalQuery", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -266,7 +266,7 @@ "tags": [], "label": "applyGlobalTime", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -287,7 +287,7 @@ }, "[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -308,7 +308,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -338,7 +338,7 @@ }, "[]; } | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -359,7 +359,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -373,7 +373,7 @@ "signature": [ "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -388,7 +388,7 @@ "Timeslice", " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -399,7 +399,7 @@ "tags": [], "label": "isFeatureEditorOpenForLayer", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -420,7 +420,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -442,7 +442,7 @@ }, " | undefined; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false } @@ -456,7 +456,7 @@ "tags": [], "label": "CreateLayerDescriptorParams", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -467,7 +467,7 @@ "tags": [], "label": "indexPatternId", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false }, @@ -478,7 +478,7 @@ "tags": [], "label": "geoFieldName", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false }, @@ -498,7 +498,7 @@ "text": "ES_GEO_FIELD_TYPE" } ], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false }, @@ -519,7 +519,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts", "deprecated": false, "trackAdoption": false } @@ -533,7 +533,7 @@ "tags": [], "label": "EMSTermJoinConfig", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -544,7 +544,7 @@ "tags": [], "label": "layerId", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false }, @@ -555,7 +555,7 @@ "tags": [], "label": "field", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false }, @@ -566,7 +566,7 @@ "tags": [], "label": "displayName", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false } @@ -580,7 +580,7 @@ "tags": [], "label": "GeoJsonWithMeta", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -594,7 +594,7 @@ "signature": [ "GeoJSON.FeatureCollection" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -609,7 +609,7 @@ "DataRequestMeta", " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false } @@ -623,7 +623,7 @@ "tags": [], "label": "GetFeatureActionsArgs", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -645,7 +645,7 @@ }, "[], actionId: string) => Promise) | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -656,7 +656,7 @@ "tags": [], "label": "featureId", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -670,7 +670,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -692,7 +692,7 @@ }, ") | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -716,7 +716,7 @@ }, "[]>) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -732,7 +732,7 @@ "signature": [ "() => GeoJSON.Geometry | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -748,7 +748,7 @@ "signature": [ "maplibregl.GeoJSONFeature & { layer: (Omit | Omit | Omit | Omit | Omit | Omit | Omit | Omit | Omit) & { source: string; }; source: string; sourceLayer?: string | undefined; state: { [key: string]: any; }; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -762,7 +762,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -778,7 +778,7 @@ "tags": [], "label": "IField", "description": [], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -792,7 +792,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -808,7 +808,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -824,7 +824,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -840,7 +840,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -856,7 +856,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -872,7 +872,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -896,7 +896,7 @@ }, ">" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -910,7 +910,7 @@ "signature": [ "string | string[] | undefined" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -935,7 +935,7 @@ "text": "IVectorSource" } ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -958,7 +958,7 @@ "text": "FIELD_ORIGIN" } ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -974,7 +974,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -992,7 +992,7 @@ "AggregationsExtendedStatsAggregation", "; }> | null>" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1010,7 +1010,7 @@ "AggregationsPercentilesAggregation", "; }> | null>" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1024,7 +1024,7 @@ "signature": [ "number[]" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1044,7 +1044,7 @@ "AggregationsTermsAggregation", "; }> | null>" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1058,7 +1058,7 @@ "signature": [ "number" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1076,7 +1076,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1092,7 +1092,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1116,7 +1116,7 @@ }, ") => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1136,7 +1136,7 @@ "text": "IField" } ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1156,7 +1156,7 @@ "TileMetaFeature", ") => { min: number; max: number; } | null" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1170,7 +1170,7 @@ "signature": [ "TileMetaFeature" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1188,7 +1188,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/fields/field.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1221,7 +1221,7 @@ "text": "ITMSSource" } ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1245,7 +1245,7 @@ "DataRequestMeta", ") => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1265,7 +1265,7 @@ "text": "DataRequest" } ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1280,7 +1280,7 @@ "signature": [ "DataRequestMeta" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1300,7 +1300,7 @@ "RasterTileSourceData", ") => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1314,7 +1314,7 @@ "signature": [ "maplibregl.RasterTileSource" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1329,7 +1329,7 @@ "signature": [ "RasterTileSourceData" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1347,7 +1347,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1371,7 +1371,7 @@ }, " | undefined) => React.ReactElement> | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1392,7 +1392,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/raster_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1421,7 +1421,7 @@ " extends ", "ISource" ], - "path": "x-pack/plugins/maps/public/classes/sources/tms_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1437,7 +1437,7 @@ "SourceRequestMeta", ") => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/tms_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1451,7 +1451,7 @@ "signature": [ "SourceRequestMeta" ], - "path": "x-pack/plugins/maps/public/classes/sources/tms_source/index.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1469,7 +1469,7 @@ "tags": [], "label": "ITooltipProperty", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1483,7 +1483,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1499,7 +1499,7 @@ "signature": [ "() => React.ReactNode" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1515,7 +1515,7 @@ "signature": [ "() => React.ReactNode" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1531,7 +1531,7 @@ "signature": [ "() => string | string[] | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1547,7 +1547,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1571,7 +1571,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1598,7 +1598,7 @@ " extends ", "ISource" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1612,7 +1612,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1644,7 +1644,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1658,7 +1658,7 @@ "signature": [ "GeoJSON.GeoJsonProperties" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1679,7 +1679,7 @@ "text": "KibanaExecutionContext" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1707,7 +1707,7 @@ "MapExtent", " | null>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1727,7 +1727,7 @@ "text": "BoundsRequestMeta" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1742,7 +1742,7 @@ "signature": [ "(callback: () => void) => void" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1784,7 +1784,7 @@ }, ">" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1798,7 +1798,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1819,7 +1819,7 @@ "text": "VectorSourceRequestMeta" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1834,7 +1834,7 @@ "signature": [ "(callback: () => void) => void" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1849,7 +1849,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1870,7 +1870,7 @@ "text": "Adapters" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1896,7 +1896,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1920,7 +1920,7 @@ }, " | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1934,7 +1934,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1960,7 +1960,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1976,7 +1976,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2000,7 +2000,7 @@ }, ") => object | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2020,7 +2020,7 @@ "text": "DataFilters" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2038,7 +2038,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2062,7 +2062,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2078,7 +2078,7 @@ "signature": [ "() => boolean" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2109,7 +2109,7 @@ "text": "SourceStatus" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2130,7 +2130,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2148,7 +2148,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2164,7 +2164,7 @@ "signature": [ "() => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2180,7 +2180,7 @@ "signature": [ "(geometry: GeoJSON.Geometry | GeoJSON.Position[]) => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2194,7 +2194,7 @@ "signature": [ "GeoJSON.Geometry | GeoJSON.Position[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2212,7 +2212,7 @@ "signature": [ "(featureId: string) => Promise" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2226,7 +2226,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2260,7 +2260,7 @@ }, "[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2280,7 +2280,7 @@ "text": "GetFeatureActionsArgs" } ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2298,7 +2298,7 @@ "signature": [ "() => string[]" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2316,7 +2316,7 @@ "signature": [ "(() => Promise) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2336,7 +2336,7 @@ "IVectorStyle", ") => React.ReactElement> | null) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2350,7 +2350,7 @@ "signature": [ "IVectorStyle" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2368,7 +2368,7 @@ "tags": [], "label": "RenderTooltipContentParams", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2390,7 +2390,7 @@ }, "[], actionId: string) => Promise) | null" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2404,7 +2404,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2427,7 +2427,7 @@ }, "[]" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2449,7 +2449,7 @@ }, ") | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2473,7 +2473,7 @@ }, "[]>) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2489,7 +2489,7 @@ "signature": [ "(layerId: string) => Promise" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2503,7 +2503,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2518,7 +2518,7 @@ "tags": [], "label": "isLocked", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2540,7 +2540,7 @@ }, "[]>" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2551,7 +2551,7 @@ "tags": [], "label": "{\n layerId,\n properties,\n }", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2562,7 +2562,7 @@ "tags": [], "label": "layerId", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2576,7 +2576,7 @@ "signature": [ "{ [name: string]: any; } | null" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false } @@ -2595,7 +2595,7 @@ "signature": [ "({ layerId, featureId, }: { layerId: string; featureId?: string | number | undefined; }) => GeoJSON.Geometry | null" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2606,7 +2606,7 @@ "tags": [], "label": "{\n layerId,\n featureId,\n }", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2617,7 +2617,7 @@ "tags": [], "label": "layerId", "description": [], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false }, @@ -2631,7 +2631,7 @@ "signature": [ "string | number | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false } @@ -2652,7 +2652,7 @@ "RawValue", ") => void) | undefined" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2666,7 +2666,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2681,7 +2681,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2696,7 +2696,7 @@ "signature": [ "RawValue" ], - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2714,7 +2714,7 @@ "tags": [], "label": "SampleValuesConfig", "description": [], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2728,7 +2728,7 @@ "signature": [ "(string | number)[] | undefined" ], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false }, @@ -2742,7 +2742,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts", + "path": "x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts", "deprecated": false, "trackAdoption": false } @@ -2756,7 +2756,7 @@ "tags": [], "label": "SourceStatus", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2770,7 +2770,7 @@ "signature": [ "string | null" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -2781,7 +2781,7 @@ "tags": [], "label": "areResultsTrimmed", "description": [], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false }, @@ -2795,7 +2795,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx", "deprecated": false, "trackAdoption": false } @@ -2815,7 +2815,7 @@ "signature": [ "{ label: string; url: string; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2830,7 +2830,7 @@ "signature": [ "\"__kbn__feature_id__\"" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2845,7 +2845,7 @@ "signature": [ "{ label: string; value: string; link?: string | undefined; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/source.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2878,7 +2878,7 @@ "LayerWizardStep", "[] | undefined; disabledReason?: string | undefined; getIsDisabled?: (() => boolean | Promise) | undefined; isBeta?: boolean | undefined; checkVisibility?: (() => Promise) | undefined; showFeatureEditTools?: boolean | undefined; }" ], - "path": "x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2893,7 +2893,7 @@ "signature": [ "\"map\"" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3081,7 +3081,7 @@ "Observable", "; }" ], - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts", + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3096,7 +3096,7 @@ "signature": [ "\"MAPS_APP_LOCATOR\"" ], - "path": "x-pack/plugins/maps/public/locators/map_locator/locator_definition.ts", + "path": "x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3136,7 +3136,7 @@ }, " | undefined; filterByMapExtent?: boolean | undefined; isMovementSynchronized?: boolean | undefined; }" ], - "path": "x-pack/plugins/maps/public/react_embeddable/types.ts", + "path": "x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3159,7 +3159,7 @@ }, "[]) => void; mapColors: string[]; mostCommonDataViewId?: string | undefined; currentStepId: string | null; isOnFinalStep: boolean; enableNextBtn: () => void; disableNextBtn: () => void; startStepLoading: () => void; stopStepLoading: () => void; advanceToNextStep: () => void; }" ], - "path": "x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3180,7 +3180,7 @@ "IStyle", "; }" ], - "path": "x-pack/plugins/maps/public/classes/sources/source.ts", + "path": "x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3194,7 +3194,7 @@ "tags": [], "label": "MapsSetupApi", "description": [], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3216,7 +3216,7 @@ }, ") => void" ], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3236,7 +3236,7 @@ "text": "LayerWizard" } ], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3256,7 +3256,7 @@ "SourceRegistryEntry", ") => void" ], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3270,7 +3270,7 @@ "signature": [ "SourceRegistryEntry" ], - "path": "x-pack/plugins/maps/public/api/setup_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/setup_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3289,7 +3289,7 @@ "tags": [], "label": "MapsStartApi", "description": [], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3335,7 +3335,7 @@ }, ">; }" ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false }, @@ -3351,7 +3351,7 @@ "Props", ">" ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3398,7 +3398,7 @@ "Props", ">" ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3459,7 +3459,7 @@ }, " | null>" ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3479,7 +3479,7 @@ "text": "SampleValuesConfig" } ], - "path": "x-pack/plugins/maps/public/api/start_api.ts", + "path": "x-pack/platform/plugins/shared/maps/public/api/start_api.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3512,7 +3512,7 @@ "tags": [], "label": "AGG_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3524,7 +3524,7 @@ "tags": [], "label": "COLOR_MAP_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3536,7 +3536,7 @@ "tags": [], "label": "ES_GEO_FIELD_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3548,7 +3548,7 @@ "tags": [], "label": "FIELD_ORIGIN", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3560,7 +3560,7 @@ "tags": [], "label": "INITIAL_LOCATION", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3572,7 +3572,7 @@ "tags": [], "label": "LABEL_BORDER_SIZES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3584,7 +3584,7 @@ "tags": [], "label": "LABEL_POSITIONS", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3596,7 +3596,7 @@ "tags": [], "label": "LAYER_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3608,7 +3608,7 @@ "tags": [], "label": "LAYER_WIZARD_CATEGORY", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3620,7 +3620,7 @@ "tags": [], "label": "SCALING_TYPES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3632,7 +3632,7 @@ "tags": [], "label": "SOURCE_TYPES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3644,7 +3644,7 @@ "tags": [], "label": "STYLE_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3656,7 +3656,7 @@ "tags": [], "label": "SYMBOLIZE_AS_TYPES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3668,7 +3668,7 @@ "tags": [], "label": "VECTOR_SHAPE_TYPE", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3680,7 +3680,7 @@ "tags": [], "label": "VECTOR_STYLES", "description": [], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3697,7 +3697,7 @@ "signature": [ "\"maps\"" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3774,7 +3774,7 @@ }, "; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3789,7 +3789,7 @@ "signature": [ "5" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3805,7 +3805,7 @@ "AbstractSourceDescriptor", " & { id: string; tooltipProperties: string[]; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3839,7 +3839,7 @@ }, ".ES_TERM_SOURCE; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3856,7 +3856,7 @@ "RawValue", ") => string | number" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3871,7 +3871,7 @@ "signature": [ "string | number | boolean | string[] | null | undefined" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false } @@ -3916,7 +3916,7 @@ }, " | undefined; includeInFitToBounds?: boolean | undefined; parent?: string | undefined; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3931,7 +3931,7 @@ "signature": [ "\"map\"" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3946,7 +3946,7 @@ "signature": [ "24" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3961,7 +3961,7 @@ "signature": [ "0" ], - "path": "x-pack/plugins/maps/common/constants.ts", + "path": "x-pack/platform/plugins/shared/maps/common/constants.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3984,7 +3984,7 @@ }, "[]; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3999,7 +3999,7 @@ "signature": [ "{ label: string; id: string; form?: React.ReactNode; onClick?: (() => void) | undefined; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4055,7 +4055,7 @@ }, "; disableTooltips?: boolean | undefined; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4085,7 +4085,7 @@ }, " | undefined; isForceRefresh: boolean; } & { fieldNames: string[]; timesliceMaskField?: string | undefined; sourceMeta: object | null; isFeatureEditorOpenForLayer: boolean; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4105,7 +4105,7 @@ "StyleMetaDescriptor", " | undefined; }" ], - "path": "x-pack/plugins/maps/common/descriptor_types/style_property_descriptor_types.ts", + "path": "x-pack/platform/plugins/shared/maps/common/descriptor_types/style_property_descriptor_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index a316675a78690..c0a4311b6bba3 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/maps title: "maps" image: https://source.unsplash.com/400x175/?github description: API docs for the maps plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'maps'] --- import mapsObj from './maps.devdocs.json'; diff --git a/api_docs/maps_ems.devdocs.json b/api_docs/maps_ems.devdocs.json index 533a678e1eeb8..b33b56e1fcb52 100644 --- a/api_docs/maps_ems.devdocs.json +++ b/api_docs/maps_ems.devdocs.json @@ -11,7 +11,7 @@ "tags": [], "label": "EMSConfig", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -22,7 +22,7 @@ "tags": [], "label": "includeElasticMapsService", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -33,7 +33,7 @@ "tags": [], "label": "emsUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -44,7 +44,7 @@ "tags": [], "label": "emsFileApiUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -55,7 +55,7 @@ "tags": [], "label": "emsTileApiUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -66,7 +66,7 @@ "tags": [], "label": "emsLandingPageUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -77,7 +77,7 @@ "tags": [], "label": "emsFontLibraryUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false } @@ -97,7 +97,7 @@ "signature": [ "{ readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }" ], - "path": "src/plugins/maps_ems/server/config.ts", + "path": "src/platform/plugins/private/maps_ems/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -112,7 +112,7 @@ "signature": [ "{ readonly url?: string | undefined; readonly options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }" ], - "path": "src/plugins/maps_ems/server/config.ts", + "path": "src/platform/plugins/private/maps_ems/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -126,7 +126,7 @@ "tags": [], "label": "MapsEmsPluginPublicSetup", "description": [], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -140,7 +140,7 @@ "tags": [], "label": "MapsEmsPluginPublicStart", "description": [], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -154,7 +154,7 @@ "signature": [ "{ readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }" ], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false }, @@ -175,7 +175,7 @@ "text": "EMSSettings" } ], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -193,7 +193,7 @@ "EMSClient", ">" ], - "path": "src/plugins/maps_ems/public/index.ts", + "path": "src/platform/plugins/private/maps_ems/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -213,7 +213,7 @@ "tags": [], "label": "EMSSettings", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -227,7 +227,7 @@ "signature": [ "any" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -247,7 +247,7 @@ "text": "EMSConfig" } ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -262,7 +262,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -280,7 +280,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -296,7 +296,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -312,7 +312,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -328,7 +328,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -344,7 +344,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -360,7 +360,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -376,7 +376,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -392,7 +392,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -408,7 +408,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -430,7 +430,7 @@ "tags": [], "label": "MapsEmsPluginServerSetup", "description": [], - "path": "src/plugins/maps_ems/server/plugin.ts", + "path": "src/platform/plugins/private/maps_ems/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -444,7 +444,7 @@ "signature": [ "{ readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { dark: string; bright: string; desaturated: string; }>; }" ], - "path": "src/plugins/maps_ems/server/plugin.ts", + "path": "src/platform/plugins/private/maps_ems/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -465,7 +465,7 @@ "text": "EMSSettings" } ], - "path": "src/plugins/maps_ems/server/plugin.ts", + "path": "src/platform/plugins/private/maps_ems/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -485,7 +485,7 @@ "tags": [], "label": "EMSSettings", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -499,7 +499,7 @@ "signature": [ "any" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -519,7 +519,7 @@ "text": "EMSConfig" } ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -534,7 +534,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -552,7 +552,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -568,7 +568,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -584,7 +584,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -600,7 +600,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -616,7 +616,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -632,7 +632,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -648,7 +648,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -664,7 +664,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -680,7 +680,7 @@ "signature": [ "() => string" ], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -699,7 +699,7 @@ "tags": [], "label": "EMSConfig", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -710,7 +710,7 @@ "tags": [], "label": "includeElasticMapsService", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -721,7 +721,7 @@ "tags": [], "label": "emsUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -732,7 +732,7 @@ "tags": [], "label": "emsFileApiUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -743,7 +743,7 @@ "tags": [], "label": "emsTileApiUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -754,7 +754,7 @@ "tags": [], "label": "emsLandingPageUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false }, @@ -765,7 +765,7 @@ "tags": [], "label": "emsFontLibraryUrl", "description": [], - "path": "src/plugins/maps_ems/common/ems_settings.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_settings.ts", "deprecated": false, "trackAdoption": false } @@ -785,7 +785,7 @@ "signature": [ "\"dark_map\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -800,7 +800,7 @@ "signature": [ "\"https://vector.maps.elastic.co\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -815,7 +815,7 @@ "signature": [ "\"https://tiles.maps.elastic.co/fonts/{fontstack}/{range}.pbf\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -830,7 +830,7 @@ "signature": [ "\"https://maps.elastic.co\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -845,7 +845,7 @@ "signature": [ "\"2023-10-31\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -860,7 +860,7 @@ "signature": [ "\"road_map_desaturated\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -875,7 +875,7 @@ "signature": [ "\"road_map\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -890,7 +890,7 @@ "signature": [ "\"https://tiles.maps.elastic.co\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -905,7 +905,7 @@ "signature": [ "\"kibana\"" ], - "path": "src/plugins/maps_ems/common/ems_defaults.ts", + "path": "src/platform/plugins/private/maps_ems/common/ems_defaults.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -920,7 +920,7 @@ "signature": [ "\"maps\"" ], - "path": "src/plugins/maps_ems/common/index.ts", + "path": "src/platform/plugins/private/maps_ems/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index 574dc217e5bf1..58d497b443a3b 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mapsEms title: "mapsEms" image: https://source.unsplash.com/400x175/?github description: API docs for the mapsEms plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mapsEms'] --- import mapsEmsObj from './maps_ems.devdocs.json'; diff --git a/api_docs/metrics_data_access.mdx b/api_docs/metrics_data_access.mdx index ff14b025262ee..e98dfa7848e97 100644 --- a/api_docs/metrics_data_access.mdx +++ b/api_docs/metrics_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/metricsDataAccess title: "metricsDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the metricsDataAccess plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'metricsDataAccess'] --- import metricsDataAccessObj from './metrics_data_access.devdocs.json'; diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 571b46b7d6f04..15ba39d9023a2 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ml title: "ml" image: https://source.unsplash.com/400x175/?github description: API docs for the ml plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ml'] --- import mlObj from './ml.devdocs.json'; diff --git a/api_docs/mock_idp_plugin.mdx b/api_docs/mock_idp_plugin.mdx index 3d7f17c803047..02386b2d78b52 100644 --- a/api_docs/mock_idp_plugin.mdx +++ b/api_docs/mock_idp_plugin.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/mockIdpPlugin title: "mockIdpPlugin" image: https://source.unsplash.com/400x175/?github description: API docs for the mockIdpPlugin plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'mockIdpPlugin'] --- import mockIdpPluginObj from './mock_idp_plugin.devdocs.json'; diff --git a/api_docs/monitoring.devdocs.json b/api_docs/monitoring.devdocs.json index cf4b2efaf9269..b70ef4abbc1cd 100644 --- a/api_docs/monitoring.devdocs.json +++ b/api_docs/monitoring.devdocs.json @@ -19,7 +19,7 @@ "tags": [], "label": "IBulkUploader", "description": [], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -33,7 +33,7 @@ "signature": [ "() => any" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -49,7 +49,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -73,7 +73,7 @@ }, ") => void" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -93,7 +93,7 @@ "text": "ElasticsearchClient" } ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -111,7 +111,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -139,7 +139,7 @@ }, " extends MonitoringConfigTypeOverriddenUI" ], - "path": "x-pack/plugins/monitoring/server/config.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/config.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -155,7 +155,7 @@ "signature": [ "MonitoringConfigTypeOverriddenUIElasticsearch" ], - "path": "x-pack/plugins/monitoring/server/config.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/config.ts", "deprecated": false, "trackAdoption": false } @@ -183,7 +183,7 @@ " & ", "KibanaSettingsCollectorExtraOptions" ], - "path": "x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -197,7 +197,7 @@ "tags": [], "label": "MonitoringPluginSetup", "description": [], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -211,7 +211,7 @@ "signature": [ "() => any" ], - "path": "x-pack/plugins/monitoring/server/types.ts", + "path": "x-pack/platform/plugins/private/monitoring/server/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -235,7 +235,7 @@ "signature": [ "(timestamp: any, calculationFlag: any, initialTime: any) => string" ], - "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "path": "x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js", "deprecated": false, "trackAdoption": false, "children": [ @@ -249,7 +249,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "path": "x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -264,7 +264,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "path": "x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -279,7 +279,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/monitoring/common/format_timestamp_to_duration.js", + "path": "x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index 9515d5ac639a8..fbea2f436db11 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoring title: "monitoring" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoring plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoring'] --- import monitoringObj from './monitoring.devdocs.json'; diff --git a/api_docs/monitoring_collection.devdocs.json b/api_docs/monitoring_collection.devdocs.json index 76ebc220d46f2..6a0432be8bed0 100644 --- a/api_docs/monitoring_collection.devdocs.json +++ b/api_docs/monitoring_collection.devdocs.json @@ -29,7 +29,7 @@ }, "" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -40,7 +40,7 @@ "tags": [], "label": "type", "description": [], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -58,7 +58,7 @@ "RecursiveMakeSchemaFrom", "[Key], false>; }" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false }, @@ -88,7 +88,7 @@ }, "[]>" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -117,7 +117,7 @@ "text": "JsonObject" } ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -132,7 +132,7 @@ "signature": [ "{ readonly enabled: boolean; readonly opentelemetry: Readonly<{} & { metrics: Readonly<{} & { otlp: Readonly<{ url?: string | undefined; headers?: Record | undefined; } & { exportIntervalMillis: number; logLevel: string; }>; prometheus: Readonly<{} & { enabled: boolean; }>; }>; }>; }" ], - "path": "x-pack/plugins/monitoring_collection/server/config.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/config.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -146,7 +146,7 @@ "tags": [], "label": "MonitoringCollectionSetup", "description": [], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -168,7 +168,7 @@ }, ") => void" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -189,7 +189,7 @@ }, "" ], - "path": "x-pack/plugins/monitoring_collection/server/plugin.ts", + "path": "x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true diff --git a/api_docs/monitoring_collection.mdx b/api_docs/monitoring_collection.mdx index 695f51921c1ac..4dd973a64ea6e 100644 --- a/api_docs/monitoring_collection.mdx +++ b/api_docs/monitoring_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/monitoringCollection title: "monitoringCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the monitoringCollection plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'monitoringCollection'] --- import monitoringCollectionObj from './monitoring_collection.devdocs.json'; diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index e517ef9a9fc8e..ea2abd934cac6 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/navigation title: "navigation" image: https://source.unsplash.com/400x175/?github description: API docs for the navigation plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'navigation'] --- import navigationObj from './navigation.devdocs.json'; diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 2082e7bad3f13..07b549fabd454 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/newsfeed title: "newsfeed" image: https://source.unsplash.com/400x175/?github description: API docs for the newsfeed plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'newsfeed'] --- import newsfeedObj from './newsfeed.devdocs.json'; diff --git a/api_docs/no_data_page.mdx b/api_docs/no_data_page.mdx index 57a2725197d4c..b02eac22932ff 100644 --- a/api_docs/no_data_page.mdx +++ b/api_docs/no_data_page.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/noDataPage title: "noDataPage" image: https://source.unsplash.com/400x175/?github description: API docs for the noDataPage plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'noDataPage'] --- import noDataPageObj from './no_data_page.devdocs.json'; diff --git a/api_docs/notifications.mdx b/api_docs/notifications.mdx index 31d9c6c7b043d..ff32a9cdc0a3d 100644 --- a/api_docs/notifications.mdx +++ b/api_docs/notifications.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/notifications title: "notifications" image: https://source.unsplash.com/400x175/?github description: API docs for the notifications plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'notifications'] --- import notificationsObj from './notifications.devdocs.json'; diff --git a/api_docs/observability.devdocs.json b/api_docs/observability.devdocs.json index aeed728394be9..624b38572eb43 100644 --- a/api_docs/observability.devdocs.json +++ b/api_docs/observability.devdocs.json @@ -3295,23 +3295,11 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], "path": "x-pack/solutions/observability/plugins/observability/public/plugin.ts", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index e67d059cc40e4..411f3e6b07df1 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observability title: "observability" image: https://source.unsplash.com/400x175/?github description: API docs for the observability plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observability'] --- import observabilityObj from './observability.devdocs.json'; diff --git a/api_docs/observability_a_i_assistant.devdocs.json b/api_docs/observability_a_i_assistant.devdocs.json index 755f9fb6ca8b9..d3bae3276e596 100644 --- a/api_docs/observability_a_i_assistant.devdocs.json +++ b/api_docs/observability_a_i_assistant.devdocs.json @@ -657,39 +657,6 @@ "returnComment": [], "initialIsOpen": false }, - { - "parentPluginId": "observabilityAIAssistant", - "id": "def-public.isSupportedConnectorType", - "type": "Function", - "tags": [], - "label": "isSupportedConnectorType", - "description": [], - "signature": [ - "(type: string) => boolean" - ], - "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common/connectors.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "observabilityAIAssistant", - "id": "def-public.isSupportedConnectorType.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common/connectors.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "observabilityAIAssistant", "id": "def-public.MessageText", @@ -11030,39 +10997,6 @@ "returnComment": [], "initialIsOpen": false }, - { - "parentPluginId": "observabilityAIAssistant", - "id": "def-common.isSupportedConnectorType", - "type": "Function", - "tags": [], - "label": "isSupportedConnectorType", - "description": [], - "signature": [ - "(type: string) => boolean" - ], - "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common/connectors.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "observabilityAIAssistant", - "id": "def-common.isSupportedConnectorType.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/common/connectors.ts", - "deprecated": false, - "trackAdoption": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "observabilityAIAssistant", "id": "def-common.isTokenLimitReachedError", diff --git a/api_docs/observability_a_i_assistant.mdx b/api_docs/observability_a_i_assistant.mdx index 1f1256ff2a797..a0e52e8f5ef33 100644 --- a/api_docs/observability_a_i_assistant.mdx +++ b/api_docs/observability_a_i_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAIAssistant title: "observabilityAIAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAIAssistant plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistant'] --- import observabilityAIAssistantObj from './observability_a_i_assistant.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 385 | 1 | 383 | 30 | +| 381 | 1 | 379 | 30 | ## Client diff --git a/api_docs/observability_a_i_assistant_app.mdx b/api_docs/observability_a_i_assistant_app.mdx index bcbd31a729be8..36c89c9140a18 100644 --- a/api_docs/observability_a_i_assistant_app.mdx +++ b/api_docs/observability_a_i_assistant_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAIAssistantApp title: "observabilityAIAssistantApp" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAIAssistantApp plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAIAssistantApp'] --- import observabilityAIAssistantAppObj from './observability_a_i_assistant_app.devdocs.json'; diff --git a/api_docs/observability_ai_assistant_management.mdx b/api_docs/observability_ai_assistant_management.mdx index a07de7ad946b4..7ea292cf8f9b3 100644 --- a/api_docs/observability_ai_assistant_management.mdx +++ b/api_docs/observability_ai_assistant_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityAiAssistantManagement title: "observabilityAiAssistantManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityAiAssistantManagement plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityAiAssistantManagement'] --- import observabilityAiAssistantManagementObj from './observability_ai_assistant_management.devdocs.json'; diff --git a/api_docs/observability_logs_explorer.mdx b/api_docs/observability_logs_explorer.mdx index d6280a47fb31e..7903c3fd622f8 100644 --- a/api_docs/observability_logs_explorer.mdx +++ b/api_docs/observability_logs_explorer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityLogsExplorer title: "observabilityLogsExplorer" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityLogsExplorer plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityLogsExplorer'] --- import observabilityLogsExplorerObj from './observability_logs_explorer.devdocs.json'; diff --git a/api_docs/observability_onboarding.devdocs.json b/api_docs/observability_onboarding.devdocs.json index 84ac1313540c6..7260e821b086c 100644 --- a/api_docs/observability_onboarding.devdocs.json +++ b/api_docs/observability_onboarding.devdocs.json @@ -137,13 +137,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "x-pack/solutions/observability/plugins/observability_onboarding/public/index.ts", "deprecated": false, diff --git a/api_docs/observability_onboarding.mdx b/api_docs/observability_onboarding.mdx index 413f167092eff..a1d7d146f3072 100644 --- a/api_docs/observability_onboarding.mdx +++ b/api_docs/observability_onboarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityOnboarding title: "observabilityOnboarding" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityOnboarding plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityOnboarding'] --- import observabilityOnboardingObj from './observability_onboarding.devdocs.json'; diff --git a/api_docs/observability_shared.devdocs.json b/api_docs/observability_shared.devdocs.json index 99dd5bab0f3c9..719dbd4f9b3c6 100644 --- a/api_docs/observability_shared.devdocs.json +++ b/api_docs/observability_shared.devdocs.json @@ -27,7 +27,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -41,7 +41,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -77,7 +77,7 @@ }, "[]>) => void; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -98,7 +98,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -113,7 +113,7 @@ "signature": [ "ObservabilitySharedSetup" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -152,26 +152,14 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -191,7 +179,7 @@ "text": "CoreStart" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -206,7 +194,7 @@ "signature": [ "ObservabilitySharedStart" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -224,7 +212,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -245,7 +233,7 @@ "signature": [ "(props: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -259,7 +247,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -278,7 +266,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/action_menu/action_menu.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/action_menu/action_menu.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -303,7 +291,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -323,7 +311,7 @@ "text": "AddDataPanelProps" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -342,7 +330,7 @@ "signature": [ "() => { all: boolean; create: boolean; read: boolean; update: boolean; delete: boolean; push: boolean; connectors: boolean; settings: boolean; createComment: boolean; reopenCase: boolean; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/utils/cases_permissions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/utils/cases_permissions.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -359,7 +347,7 @@ "signature": [ "({ isLoading, onDiscardChanges, onSave, unsavedChangesCount, saveLabel, appTestSubj, areChangesInvalid, }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -373,7 +361,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/bottom_bar_actions/bottom_bar_actions.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -392,7 +380,7 @@ "signature": [ "(params: T) => T" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -406,7 +394,7 @@ "signature": [ "T" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -425,7 +413,7 @@ "signature": [ "({ height, ...props }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -439,7 +427,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_flamegraph.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -458,7 +446,7 @@ "signature": [ "(props: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -472,7 +460,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_functions.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -499,7 +487,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -519,7 +507,7 @@ "text": "EmbeddableProfilingSearchBarProps" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -538,7 +526,7 @@ "signature": [ "(props: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -552,7 +540,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_stack_traces.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -571,7 +559,7 @@ "signature": [ "({ formUrl, formConfig, \"data-test-subj\": dts, onClickCapture, defaultButton, kibanaVersion, isCloudEnv, isServerlessEnv, sanitizedPath, nodeType, surveyButtonText, }: FeatureFeedbackButtonProps) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -585,7 +573,7 @@ "signature": [ "FeatureFeedbackButtonProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -606,7 +594,7 @@ "FieldValueSelectionProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -620,7 +608,7 @@ "signature": [ "FieldValueSelectionProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -641,7 +629,7 @@ "FieldValueSuggestionsProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -655,7 +643,7 @@ "signature": [ "FieldValueSuggestionsProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -698,7 +686,7 @@ }, "[]>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -709,7 +697,7 @@ "tags": [], "label": "{\n uiActions,\n triggerId,\n context,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -797,7 +785,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -817,7 +805,7 @@ "text": "ObservabilityTriggerId" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false }, @@ -831,7 +819,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false } @@ -855,7 +843,7 @@ "NodeType", " | undefined; }) => string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -866,7 +854,7 @@ "tags": [], "label": "{\n formUrl,\n formConfig,\n kibanaVersion,\n sanitizedPath,\n isCloudEnv,\n isServerlessEnv,\n nodeType,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -877,7 +865,7 @@ "tags": [], "label": "formUrl", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -892,7 +880,7 @@ "FormConfig", " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -906,7 +894,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -920,7 +908,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -934,7 +922,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -948,7 +936,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -962,7 +950,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -976,7 +964,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false }, @@ -991,7 +979,7 @@ "NodeType", " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/feature_feedback_button/feature_feedback_button.tsx", "deprecated": false, "trackAdoption": false } @@ -1013,7 +1001,7 @@ "HeaderMenuPortalProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1027,7 +1015,7 @@ "signature": [ "HeaderMenuPortalProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/header_menu/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/header_menu/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1046,7 +1034,7 @@ "signature": [ "({ children }: { children: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1057,7 +1045,7 @@ "tags": [], "label": "{ children }", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1071,7 +1059,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false } @@ -1093,7 +1081,7 @@ "LoadWhenInViewProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1107,7 +1095,7 @@ "signature": [ "LoadWhenInViewProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/load_when_in_view/get_load_when_in_view_lazy.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1126,7 +1114,7 @@ "signature": [ "({ children }: { children?: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/context.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1140,7 +1128,7 @@ "signature": [ "{ children?: React.ReactNode; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/context.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1159,7 +1147,7 @@ "signature": [ "() => { all: boolean; create: boolean; read: boolean; update: boolean; delete: boolean; push: boolean; connectors: boolean; settings: boolean; createComment: boolean; reopenCase: boolean; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/utils/cases_permissions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/utils/cases_permissions.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1176,7 +1164,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/profiling_empty_state.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/profiling_empty_state.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1193,7 +1181,7 @@ "signature": [ "({ prompt }: Props) => null" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/prompt.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/prompt.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1207,7 +1195,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/navigation_warning_prompt/prompt.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/navigation_warning_prompt/prompt.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1230,7 +1218,7 @@ "NonReactStatics", "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1247,7 +1235,7 @@ "EuiListGroupItemProps", ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1261,7 +1249,7 @@ "signature": [ "EuiListGroupItemProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1286,7 +1274,7 @@ "Property", ".MaxWidth | undefined; showToolTips?: boolean | undefined; wrapText?: boolean | undefined; ariaLabelledby?: string | undefined; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1306,7 +1294,7 @@ "Property", ".MaxWidth | undefined; showToolTips?: boolean | undefined; wrapText?: boolean | undefined; ariaLabelledby?: string | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1325,7 +1313,7 @@ "signature": [ "() => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1342,7 +1330,7 @@ "signature": [ "({ children }: { children?: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1353,7 +1341,7 @@ "tags": [], "label": "{ children }", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1367,7 +1355,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false } @@ -1387,7 +1375,7 @@ "signature": [ "({ children }: { children?: React.ReactNode; }) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1398,7 +1386,7 @@ "tags": [], "label": "{ children }", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1412,7 +1400,7 @@ "signature": [ "string | number | boolean | React.ReactElement> | Iterable | React.ReactPortal | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false } @@ -1432,7 +1420,7 @@ "signature": [ "(e: React.MouseEvent | React.MouseEvent) => boolean" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1446,7 +1434,7 @@ "signature": [ "React.MouseEvent | React.MouseEvent" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1473,7 +1461,7 @@ }, ") => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list_lazy.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list_lazy.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1493,7 +1481,7 @@ "text": "TagsListProps" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list_lazy.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list_lazy.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1512,7 +1500,7 @@ "signature": [ "({ icon = 'beaker', size, style }: Props) => React.JSX.Element" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1526,7 +1514,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/technical_preview_badge/technical_preview_badge.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1571,7 +1559,7 @@ }, " | undefined; absoluteProjectStyleBreadcrumbs?: boolean | undefined; classicOnly?: boolean | undefined; } | undefined) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1592,7 +1580,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1604,7 +1592,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1618,7 +1606,7 @@ "signature": [ "{ id: string; label: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false }, @@ -1639,7 +1627,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false }, @@ -1660,7 +1648,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false }, @@ -1674,7 +1662,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false }, @@ -1688,7 +1676,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_breadcrumbs.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_breadcrumbs.ts", "deprecated": false, "trackAdoption": false } @@ -1714,7 +1702,7 @@ "Theme", ">[]; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_chart_theme.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_chart_theme.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -1739,7 +1727,7 @@ }, " | undefined) => [{ [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }, (state: { [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }) => void]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1753,7 +1741,7 @@ "signature": [ "{ [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1775,7 +1763,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1842,7 +1830,7 @@ }, ">; saveAll: () => Promise; isSaving: boolean; cleanUnsavedChanges: () => void; saveSingleSetting: (id: string, change: string | number | boolean | (string | number)[] | null | undefined) => Promise; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_editable_settings.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_editable_settings.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -1856,7 +1844,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_editable_settings.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_editable_settings.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1893,7 +1881,7 @@ }, "; loading: boolean; error?: Error | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1907,7 +1895,7 @@ "signature": [ "TParams" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1922,7 +1910,7 @@ "signature": [ "any[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1934,7 +1922,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1955,7 +1943,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false }, @@ -1966,7 +1954,7 @@ "tags": [], "label": "name", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_es_search.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_es_search.ts", "deprecated": false, "trackAdoption": false } @@ -1994,7 +1982,7 @@ }, "> & { refetch: () => void; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2008,7 +1996,7 @@ "signature": [ "({}: { signal: AbortSignal; }) => TReturn" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2023,7 +2011,7 @@ "signature": [ "any[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2035,7 +2023,7 @@ "tags": [], "label": "options", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2049,7 +2037,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false } @@ -2070,7 +2058,7 @@ "() => ", "InspectorContextValue" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/use_inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/use_inspector_context.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2094,7 +2082,7 @@ "text": "EsQueryConfig" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_kibana_query_settings.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_kibana_query_settings.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2119,7 +2107,7 @@ }, " | undefined; loading: boolean | undefined; error: Error | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_kibana_space.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_kibana_space.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2153,7 +2141,7 @@ ") => ", "LinkProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2173,7 +2161,7 @@ "text": "LinkDescriptor" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2194,7 +2182,7 @@ "text": "Options" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2214,7 +2202,7 @@ "() => ", "ObservabilityTourContextValue" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tour/tour.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tour/tour.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2231,7 +2219,7 @@ "signature": [ "() => { start: string; end: string; label: string; }[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_quick_time_ranges.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_quick_time_ranges.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2255,7 +2243,7 @@ "text": "EuiTheme" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_theme.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_theme.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2272,7 +2260,7 @@ "signature": [ "() => string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_time_zone.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_time_zone.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -2291,7 +2279,7 @@ "TrackMetricOptions", ", effectDependencies: EffectDeps) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2305,7 +2293,7 @@ "signature": [ "TrackMetricOptions" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2320,7 +2308,7 @@ "signature": [ "EffectDeps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2339,7 +2327,7 @@ "signature": [ "({ path, ...rest }: TrackPageviewProps, effectDependencies: EffectDeps) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2353,7 +2341,7 @@ "signature": [ "TrackPageviewProps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2368,7 +2356,7 @@ "signature": [ "EffectDeps" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2396,7 +2384,7 @@ "text": "TrackEvent" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2407,7 +2395,7 @@ "tags": [], "label": "{\n app: defaultApp,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2422,7 +2410,7 @@ "ObservabilityApp", " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false } @@ -2458,7 +2446,7 @@ }, " | undefined; urlStateKey: string; writeDefaultState?: boolean | undefined; }) => [State, (patch: State | ((prevState: State) => State) | undefined) => void]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2469,7 +2457,7 @@ "tags": [], "label": "{\n defaultState,\n decodeUrlState,\n encodeUrlState,\n urlStateKey,\n writeDefaultState = false,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2483,7 +2471,7 @@ "signature": [ "State" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false }, @@ -2505,7 +2493,7 @@ }, " | undefined) => State | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2526,7 +2514,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -2552,7 +2540,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2566,7 +2554,7 @@ "signature": [ "State" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2581,7 +2569,7 @@ "tags": [], "label": "urlStateKey", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false }, @@ -2595,7 +2583,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_url_state.ts", "deprecated": false, "trackAdoption": false } @@ -2619,7 +2607,7 @@ "ListItem", "[]; loading?: boolean | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_values_list.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_values_list.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2633,7 +2621,7 @@ "signature": [ "Props" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_values_list.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_values_list.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -2651,7 +2639,7 @@ "tags": [], "label": "AddDataPanelProps", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2665,7 +2653,7 @@ "signature": [ "AddDataPanelContent" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2679,7 +2667,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2695,7 +2683,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2711,7 +2699,7 @@ "signature": [ "(() => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2727,7 +2715,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2743,7 +2731,7 @@ "signature": [ "{ primary: Required; secondary?: AddDataPanelButton | undefined; link: AddDataPanelButton; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false }, @@ -2757,7 +2745,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/add_data_panel/index.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/add_data_panel/index.tsx", "deprecated": false, "trackAdoption": false } @@ -2771,7 +2759,7 @@ "tags": [], "label": "ApmIndicesConfig", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2782,7 +2770,7 @@ "tags": [], "label": "error", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2793,7 +2781,7 @@ "tags": [], "label": "onboarding", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2804,7 +2792,7 @@ "tags": [], "label": "span", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2815,7 +2803,7 @@ "tags": [], "label": "transaction", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -2826,7 +2814,7 @@ "tags": [], "label": "metric", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -2840,7 +2828,7 @@ "tags": [], "label": "EmbeddableProfilingSearchBarProps", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2851,7 +2839,7 @@ "tags": [], "label": "kuery", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false }, @@ -2865,7 +2853,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false }, @@ -2879,7 +2867,7 @@ "signature": [ "(params: { dateRange: { from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }; query: string; }) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2890,7 +2878,7 @@ "tags": [], "label": "params", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2904,7 +2892,7 @@ "signature": [ "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false }, @@ -2915,7 +2903,7 @@ "tags": [], "label": "query", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false } @@ -2934,7 +2922,7 @@ "signature": [ "() => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false, "children": [], @@ -2947,7 +2935,7 @@ "tags": [], "label": "rangeFrom", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false }, @@ -2958,7 +2946,7 @@ "tags": [], "label": "rangeTo", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/embeddable_profiling_search_bar.tsx", "deprecated": false, "trackAdoption": false } @@ -2982,7 +2970,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -2996,7 +2984,7 @@ "signature": [ "Data | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false }, @@ -3016,7 +3004,7 @@ "text": "FETCH_STATUS" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false }, @@ -3030,7 +3018,7 @@ "signature": [ "Error | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false }, @@ -3044,7 +3032,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false } @@ -3058,7 +3046,7 @@ "tags": [], "label": "LinkDescriptor", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3069,7 +3057,7 @@ "tags": [], "label": "app", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false }, @@ -3083,7 +3071,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false }, @@ -3097,7 +3085,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false }, @@ -3111,7 +3099,7 @@ "signature": [ "Search | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false }, @@ -3125,7 +3113,7 @@ "signature": [ "unknown" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false } @@ -3139,7 +3127,7 @@ "tags": [], "label": "NavigationEntry", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3150,7 +3138,7 @@ "tags": [], "label": "label", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3161,7 +3149,7 @@ "tags": [], "label": "app", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3172,7 +3160,7 @@ "tags": [], "label": "path", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3186,7 +3174,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3200,7 +3188,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3214,7 +3202,7 @@ "signature": [ "((event: React.MouseEvent) => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3228,7 +3216,7 @@ "signature": [ "React.MouseEvent" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3246,7 +3234,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3260,7 +3248,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3274,7 +3262,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3288,7 +3276,7 @@ "signature": [ "((path: string) => boolean) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3302,7 +3290,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3320,7 +3308,7 @@ "tags": [], "label": "NavigationSection", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3334,7 +3322,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3345,7 +3333,7 @@ "tags": [], "label": "sortKey", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3366,7 +3354,7 @@ }, "[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false }, @@ -3380,7 +3368,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false } @@ -3394,7 +3382,7 @@ "tags": [], "label": "Options", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3408,7 +3396,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_link_props.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_link_props.ts", "deprecated": false, "trackAdoption": false } @@ -3422,7 +3410,7 @@ "tags": [], "label": "TagsListProps", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3436,7 +3424,7 @@ "signature": [ "((tag: string) => void) | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -3450,7 +3438,7 @@ "signature": [ "string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -3468,7 +3456,7 @@ "signature": [ "string[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -3482,7 +3470,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -3496,7 +3484,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -3510,7 +3498,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false }, @@ -3524,7 +3512,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tags_list/tags_list.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tags_list/tags_list.tsx", "deprecated": false, "trackAdoption": false } @@ -3538,7 +3526,7 @@ "tags": [], "label": "UXMetrics", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -3552,7 +3540,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3566,7 +3554,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3580,7 +3568,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3594,7 +3582,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3608,7 +3596,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3622,7 +3610,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3636,7 +3624,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3650,7 +3638,7 @@ "signature": [ "number | null | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3664,7 +3652,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -3678,7 +3666,7 @@ "signature": [ "number[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/types.ts", "deprecated": false, "trackAdoption": false } @@ -3694,7 +3682,7 @@ "tags": [], "label": "FETCH_STATUS", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_fetcher.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_fetcher.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3733,7 +3721,7 @@ "InspectorRequestProps", ">) => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -3757,7 +3745,7 @@ "InspectorRequestProps", ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/contexts/inspector/inspector_context.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/contexts/inspector/inspector_context.tsx", "deprecated": false, "trackAdoption": false } @@ -3774,7 +3762,7 @@ "signature": [ "\"observabilityCasesV2\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3789,7 +3777,7 @@ "signature": [ "{ [x: string]: { order: number; type: string; } & { width?: \"small\" | \"medium\" | \"large\" | undefined; grow?: boolean | undefined; dataViewId?: string | undefined; fieldName?: string | undefined; title?: string | undefined; selectedOptions?: string[] | undefined; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_control_panels_url_state.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_control_panels_url_state.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3806,7 +3794,7 @@ "signature": [ "\"EMBEDDABLE_FLAMEGRAPH\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3823,7 +3811,7 @@ "signature": [ "\"EMBEDDABLE_FUNCTIONS\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3840,7 +3828,7 @@ "signature": [ "\"EMBEDDABLE_PROFILING_SEARCH_BAR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3857,7 +3845,7 @@ "signature": [ "\"EMBEDDABLE_STACK_TRACES\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/profiling/embeddables/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/profiling/embeddables/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3878,7 +3866,7 @@ "_EuiPageBottomBarProps", " | undefined; topSearchBar?: React.ReactNode; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3894,7 +3882,7 @@ "EuiContextMenuItemProps", " & { children: React.ReactElement>; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/services/get_context_menu_items_from_actions.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/services/get_context_menu_items_from_actions.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3909,7 +3897,7 @@ "signature": [ "\"observability-overview\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3924,7 +3912,7 @@ "signature": [ "\"observability\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3947,7 +3935,7 @@ "_EuiPageBottomBarProps", " | undefined; topSearchBar?: React.ReactNode; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/page_template/page_template.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/page_template/page_template.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3972,7 +3960,7 @@ }, "[]>) => void; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -3998,26 +3986,14 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4032,7 +4008,7 @@ "signature": [ "\"guidedOnboarding.observability.tourStep\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/tour/tour.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/tour/tour.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4071,7 +4047,7 @@ }, "; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/plugin.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4111,7 +4087,7 @@ "EuiToolTipProps", "> | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/components/section/section.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/components/section/section.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4123,7 +4099,7 @@ "tags": [], "label": "SLO_ALERTS_TABLE_CONFIG_ID", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4138,7 +4114,7 @@ "signature": [ "\"slo\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -4155,7 +4131,7 @@ "TrackMetricOptions", ") => void" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -4170,7 +4146,7 @@ "signature": [ "TrackOptions & { metric: string; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/public/hooks/use_track_metric.tsx", + "path": "x-pack/solutions/observability/plugins/observability_shared/public/hooks/use_track_metric.tsx", "deprecated": false, "trackAdoption": false } @@ -4223,7 +4199,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4237,7 +4213,7 @@ "signature": [ "\"ASSET_DETAILS_FLYOUT_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4259,7 +4235,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4279,7 +4255,7 @@ "text": "AssetDetailsFlyoutLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4323,7 +4299,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4337,7 +4313,7 @@ "signature": [ "\"ASSET_DETAILS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4375,7 +4351,7 @@ }, "; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4404,7 +4380,7 @@ }, " | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4448,7 +4424,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4462,7 +4438,7 @@ "signature": [ "\"ENTITY_INVENTORY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4476,7 +4452,7 @@ "signature": [ "() => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -4518,7 +4494,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4532,7 +4508,7 @@ "signature": [ "\"flamegraphLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4554,7 +4530,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4574,7 +4550,7 @@ "text": "FlamegraphLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4618,7 +4594,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4632,7 +4608,7 @@ "signature": [ "\"HOSTS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4654,7 +4630,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4674,7 +4650,7 @@ "text": "HostsLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4718,7 +4694,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4732,7 +4708,7 @@ "signature": [ "\"INVENTORY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4762,7 +4738,7 @@ }, "; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4782,7 +4758,7 @@ "text": "InventoryLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4826,7 +4802,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4840,7 +4816,7 @@ "signature": [ "\"METRICS_EXPLORER_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4862,7 +4838,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4882,7 +4858,7 @@ "text": "MetricsExplorerLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -4926,7 +4902,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4940,7 +4916,7 @@ "signature": [ "\"SERVICE_ENTITY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -4962,7 +4938,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -4982,7 +4958,7 @@ "text": "ServiceEntityLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5026,7 +5002,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5040,7 +5016,7 @@ "signature": [ "\"serviceOverviewLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5062,7 +5038,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5082,7 +5058,7 @@ "text": "ServiceOverviewParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5126,7 +5102,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5140,7 +5116,7 @@ "signature": [ "\"stacktracesLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5162,7 +5138,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5182,7 +5158,7 @@ "text": "StacktracesLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5226,7 +5202,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5240,7 +5216,7 @@ "signature": [ "\"topNFunctionsLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5262,7 +5238,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5282,7 +5258,7 @@ "text": "TopNFunctionsLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5326,7 +5302,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5340,7 +5316,7 @@ "signature": [ "\"TransactionDetailsByNameLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5362,7 +5338,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5382,7 +5358,7 @@ "text": "TransactionDetailsByNameParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5426,7 +5402,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5440,7 +5416,7 @@ "signature": [ "\"TRANSACTION_DETAILS_BY_TRACE_ID_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5462,7 +5438,7 @@ }, ") => Promise<{ app: string; path: string; state: {}; }>" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5482,7 +5458,7 @@ "text": "TransactionDetailsByTraceIdLocatorParams" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -5513,7 +5489,7 @@ }, ") => string" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -5528,7 +5504,7 @@ "signature": [ "\"color0\" | \"color1\" | \"color2\" | \"color3\" | \"color4\" | \"color5\" | \"color6\" | \"color7\" | \"color8\" | \"color9\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts", "deprecated": false, "trackAdoption": false } @@ -5572,7 +5548,7 @@ "text": "Request" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5583,7 +5559,7 @@ "tags": [], "label": "{\n esError,\n esRequestParams,\n esRequestStatus,\n esResponse,\n kibanaRequest,\n operationName,\n startTime,\n}", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5598,7 +5574,7 @@ "WrappedElasticsearchClientError", " | null" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5612,7 +5588,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5632,7 +5608,7 @@ "text": "RequestStatus" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5646,7 +5622,7 @@ "signature": [ "any" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5667,7 +5643,7 @@ }, "" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5678,7 +5654,7 @@ "tags": [], "label": "operationName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false }, @@ -5689,7 +5665,7 @@ "tags": [], "label": "startTime", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/utils/get_inspect_response.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/utils/get_inspect_response.ts", "deprecated": false, "trackAdoption": false } @@ -5725,7 +5701,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5739,7 +5715,7 @@ "signature": [ "{ detailsItemId: string; pagination?: { pageIndex: number; pageSize: number; } | undefined; sorting?: { direction?: string | undefined; field: string; } | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5753,7 +5729,7 @@ "signature": [ "{ tabId?: string | undefined; dashboardId?: string | undefined; dateRange?: { from: string; to: string; } | undefined; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false } @@ -5784,7 +5760,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5795,7 +5771,7 @@ "tags": [], "label": "assetType", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5806,7 +5782,7 @@ "tags": [], "label": "assetId", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5820,7 +5796,7 @@ "signature": [ "{ time?: { from?: string | undefined; to?: string | undefined; } | undefined; interval?: string | undefined; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5842,7 +5818,7 @@ }, " | undefined; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false } @@ -5873,7 +5849,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5887,7 +5863,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5901,7 +5877,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5915,7 +5891,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false } @@ -5946,7 +5922,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -5960,7 +5936,7 @@ "signature": [ "{ language: string; query: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5974,7 +5950,7 @@ "signature": [ "{ from: string; to: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -5995,7 +5971,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6016,7 +5992,7 @@ }, "[] | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6030,7 +6006,7 @@ "signature": [ "number | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6044,7 +6020,7 @@ "signature": [ "{ detailsItemId?: string | undefined; pagination: { pageIndex: number; pageSize: number; }; sorting: { direction?: string | undefined; field: string; }; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6075,7 +6051,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6089,7 +6065,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6103,7 +6079,7 @@ "signature": [ "{ expression: string; kind: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6117,7 +6093,7 @@ "signature": [ "{ currentTime: number; isAutoReloading: boolean; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6131,7 +6107,7 @@ "signature": [ "{ accountId: string; autoBounds: boolean; boundsOverride: { max: number; min: number; }; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6145,7 +6121,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6159,7 +6135,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6173,7 +6149,7 @@ "signature": [ "{ field: string; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6187,7 +6163,7 @@ "signature": [ "{ palette: string; reverseColors: boolean; steps: number; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6198,7 +6174,7 @@ "tags": [], "label": "metric", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6209,7 +6185,7 @@ "tags": [], "label": "nodeType", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6223,7 +6199,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6237,7 +6213,7 @@ "signature": [ "{ by: string; direction: \"desc\" | \"async\"; } | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6251,7 +6227,7 @@ "signature": [ "boolean | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6265,7 +6241,7 @@ "signature": [ "\"map\" | \"table\" | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6286,7 +6262,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6317,7 +6293,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -6347,7 +6323,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6358,7 +6334,7 @@ "tags": [], "label": "serviceName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6389,7 +6365,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6400,7 +6376,7 @@ "tags": [], "label": "serviceName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6414,7 +6390,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6428,7 +6404,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6442,7 +6418,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6473,7 +6449,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6487,7 +6463,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6501,7 +6477,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6515,7 +6491,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6536,7 +6512,7 @@ }, " | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6567,7 +6543,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6581,7 +6557,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6595,7 +6571,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6609,7 +6585,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6640,7 +6616,7 @@ "text": "SerializableRecord" } ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -6651,7 +6627,7 @@ "tags": [], "label": "serviceName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6662,7 +6638,7 @@ "tags": [], "label": "transactionName", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6676,7 +6652,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false }, @@ -6690,7 +6666,7 @@ "signature": [ "string | undefined" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false } @@ -6776,7 +6752,7 @@ "tags": [], "label": "EntityDataStreamType", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/entity/entity_data_stream_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_data_stream_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6788,7 +6764,7 @@ "tags": [], "label": "IndexLifecyclePhaseSelectOption", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6800,7 +6776,7 @@ "tags": [], "label": "ObservabilityTriggerId", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/trigger_ids.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/trigger_ids.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6812,7 +6788,7 @@ "tags": [], "label": "SupportedAssetTypes", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6829,7 +6805,7 @@ "signature": [ "\"agent\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6844,7 +6820,7 @@ "signature": [ "\"agent.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6859,7 +6835,7 @@ "signature": [ "\"agent.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6874,7 +6850,7 @@ "signature": [ "\"ASSET_DETAILS_FLYOUT_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6889,7 +6865,7 @@ "signature": [ "\"ASSET_DETAILS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6919,7 +6895,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_flyout_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6949,7 +6925,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/asset_details_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/asset_details_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6964,7 +6940,7 @@ "signature": [ "\"observabilityCasesV2\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6979,7 +6955,7 @@ "signature": [ "\"client.geo\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -6994,7 +6970,7 @@ "signature": [ "\"client.geo.country_iso_code\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7009,7 +6985,7 @@ "signature": [ "\"client.geo.country_name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7024,7 +7000,7 @@ "signature": [ "\"cloud\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7039,7 +7015,7 @@ "signature": [ "\"cloud.availability_zone\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7054,7 +7030,7 @@ "signature": [ "\"cloud.machine.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7069,7 +7045,7 @@ "signature": [ "\"cloud.provider\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7084,7 +7060,7 @@ "signature": [ "\"cloud.region\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7099,7 +7075,7 @@ "signature": [ "\"transaction.experience.cls\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7114,7 +7090,7 @@ "signature": [ "\"color0\" | \"color1\" | \"color2\" | \"color3\" | \"color4\" | \"color5\" | \"color6\" | \"color7\" | \"color8\" | \"color9\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/color_palette.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/color_palette.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7129,7 +7105,7 @@ "signature": [ "{ id: string; getDisplayName: () => string; getIconType: () => string; order: number; }[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/embeddable_grouping.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/embeddable_grouping.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7144,7 +7120,7 @@ "signature": [ "\"container.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7159,7 +7135,7 @@ "signature": [ "\"data_stream.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7174,7 +7150,7 @@ "signature": [ "\"data_hot\" | \"data_warm\" | \"data_cold\" | \"data_frozen\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7189,7 +7165,7 @@ "signature": [ "\"destination.address\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7204,7 +7180,7 @@ "signature": [ "\"ENTITY_INVENTORY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7234,7 +7210,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/entity_inventory/entity_inventory_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7249,7 +7225,7 @@ "signature": [ "\"entity\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7264,7 +7240,7 @@ "signature": [ "\"entity.definition_id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7279,7 +7255,7 @@ "signature": [ "\"entity.display_name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7294,7 +7270,7 @@ "signature": [ "\"entity.first_seen_timestamp\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7309,7 +7285,7 @@ "signature": [ "\"entity.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7324,7 +7300,7 @@ "signature": [ "\"entity.identity_fields\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7339,7 +7315,7 @@ "signature": [ "\"entity.last_seen_timestamp\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7354,7 +7330,7 @@ "signature": [ "\"entity.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7369,7 +7345,7 @@ "signature": [ "\"error.culprit\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7384,7 +7360,7 @@ "signature": [ "\"error.exception.handled\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7399,7 +7375,7 @@ "signature": [ "\"error.exception.message\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7414,7 +7390,7 @@ "signature": [ "\"error.exception.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7429,7 +7405,7 @@ "signature": [ "\"error.grouping_key\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7444,7 +7420,7 @@ "signature": [ "\"error.log.level\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7459,7 +7435,7 @@ "signature": [ "\"error.log.message\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7474,7 +7450,7 @@ "signature": [ "\"error.page.url\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7489,7 +7465,7 @@ "signature": [ "\"event.outcome\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7504,7 +7480,7 @@ "signature": [ "\"transaction.marks.agent.firstContentfulPaint\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7519,7 +7495,7 @@ "signature": [ "\"transaction.experience.fid\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7549,7 +7525,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/flamegraph_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/flamegraph_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7564,7 +7540,7 @@ "signature": [ "\"host\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7579,7 +7555,7 @@ "signature": [ "\"host.hostname\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7594,7 +7570,7 @@ "signature": [ "\"host.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7609,7 +7585,7 @@ "signature": [ "\"host.os.platform\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7624,7 +7600,7 @@ "signature": [ "\"HOSTS_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7654,7 +7630,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/hosts_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/hosts_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7669,7 +7645,7 @@ "signature": [ "\"http.request.method\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7684,7 +7660,7 @@ "signature": [ "\"http.response.status_code\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7699,7 +7675,7 @@ "signature": [ "\"INVENTORY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7729,7 +7705,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/inventory_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/inventory_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7744,7 +7720,7 @@ "signature": [ "\"kubernetes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7759,7 +7735,7 @@ "signature": [ "\"labels.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7774,7 +7750,7 @@ "signature": [ "\"transaction.marks.agent.largestContentfulPaint\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7789,7 +7765,7 @@ "signature": [ "\"https://ela.st/explorer-feedback\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7804,7 +7780,7 @@ "signature": [ "\"https://ela.st/logs-onboarding-feedback\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7819,7 +7795,7 @@ "signature": [ "\"system.process.cgroup.memory.mem.limit.bytes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7834,7 +7810,7 @@ "signature": [ "\"system.process.cgroup.memory.mem.usage.bytes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7849,7 +7825,7 @@ "signature": [ "\"jvm.gc.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7864,7 +7840,7 @@ "signature": [ "\"jvm.gc.time\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7879,7 +7855,7 @@ "signature": [ "\"jvm.memory.heap.committed\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7894,7 +7870,7 @@ "signature": [ "\"jvm.memory.heap.max\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7909,7 +7885,7 @@ "signature": [ "\"jvm.memory.heap.used\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7924,7 +7900,7 @@ "signature": [ "\"jvm.memory.non_heap.committed\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7939,7 +7915,7 @@ "signature": [ "\"jvm.memory.non_heap.max\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7954,7 +7930,7 @@ "signature": [ "\"jvm.memory.non_heap.used\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7969,7 +7945,7 @@ "signature": [ "\"jvm.thread.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7984,7 +7960,7 @@ "signature": [ "\"system.process.cpu.total.norm.pct\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -7999,7 +7975,7 @@ "signature": [ "\"system.cpu.total.norm.pct\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8014,7 +7990,7 @@ "signature": [ "\"system.cpu.usage\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8029,7 +8005,7 @@ "signature": [ "\"system.memory.actual.free\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8044,7 +8020,7 @@ "signature": [ "\"system.memory.usage\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8059,7 +8035,7 @@ "signature": [ "\"system.memory.total\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8074,7 +8050,7 @@ "signature": [ "\"METRICS_EXPLORER_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8104,7 +8080,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/infra/metrics_explorer_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/infra/metrics_explorer_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8119,7 +8095,7 @@ "signature": [ "string[]" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8134,7 +8110,7 @@ "signature": [ "\"observability-overview\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8149,7 +8125,7 @@ "signature": [ "\"observability\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8164,7 +8140,7 @@ "signature": [ "\"observer.hostname\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8179,7 +8155,7 @@ "signature": [ "\"observer.listening\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8194,7 +8170,7 @@ "signature": [ "\"observer.version_major\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8209,7 +8185,7 @@ "signature": [ "\"parent.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8224,7 +8200,7 @@ "signature": [ "\"kubernetes.pod.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8239,7 +8215,7 @@ "signature": [ "\"processor.event\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8254,7 +8230,7 @@ "signature": [ "\"profile.alloc_objects.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8269,7 +8245,7 @@ "signature": [ "\"profile.alloc_space.bytes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8284,7 +8260,7 @@ "signature": [ "\"profile.cpu.ns\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8299,7 +8275,7 @@ "signature": [ "\"profile.duration\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8314,7 +8290,7 @@ "signature": [ "\"profile.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8329,7 +8305,7 @@ "signature": [ "\"profile.inuse_objects.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8344,7 +8320,7 @@ "signature": [ "\"profile.inuse_space.bytes\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8359,7 +8335,7 @@ "signature": [ "\"profile.samples.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8374,7 +8350,7 @@ "signature": [ "\"profile.stack\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8389,7 +8365,7 @@ "signature": [ "\"profile.top.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8404,7 +8380,7 @@ "signature": [ "\"profile.wall.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8419,7 +8395,7 @@ "signature": [ "\"service\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8434,7 +8410,7 @@ "signature": [ "\"SERVICE_ENTITY_LOCATOR\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8449,7 +8425,7 @@ "signature": [ "\"service.environment\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8464,7 +8440,7 @@ "signature": [ "\"service.framework.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8479,7 +8455,7 @@ "signature": [ "\"service.framework.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8494,7 +8470,7 @@ "signature": [ "\"service.language.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8509,7 +8485,7 @@ "signature": [ "\"service.language.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8524,7 +8500,7 @@ "signature": [ "\"service.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8539,7 +8515,7 @@ "signature": [ "\"service.node.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8554,7 +8530,7 @@ "signature": [ "\"serviceOverviewLocator\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8569,7 +8545,7 @@ "signature": [ "\"service.runtime.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8584,7 +8560,7 @@ "signature": [ "\"service.runtime.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8599,7 +8575,7 @@ "signature": [ "\"service.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8629,7 +8605,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_entity_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_entity_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8659,7 +8635,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/service_overview_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/service_overview_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8671,7 +8647,7 @@ "tags": [], "label": "SLO_ALERTS_TABLE_CONFIG_ID", "description": [], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8686,7 +8662,7 @@ "signature": [ "\"xpack.observability.slo.sloDetails.alertTable\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8701,7 +8677,7 @@ "signature": [ "\"slo\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/index.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8716,7 +8692,7 @@ "signature": [ "\"source_data_stream.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8731,7 +8707,7 @@ "signature": [ "\"span.action\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8746,7 +8722,7 @@ "signature": [ "\"span.destination.service.resource\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8761,7 +8737,7 @@ "signature": [ "\"span.destination.service.response_time.count\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8776,7 +8752,7 @@ "signature": [ "\"span.destination.service.response_time.sum.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8791,7 +8767,7 @@ "signature": [ "\"span.duration.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8806,7 +8782,7 @@ "signature": [ "\"span.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8821,7 +8797,7 @@ "signature": [ "\"span.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8836,7 +8812,7 @@ "signature": [ "\"span.self_time.sum.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8851,7 +8827,7 @@ "signature": [ "\"span.subtype\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8866,7 +8842,7 @@ "signature": [ "\"span.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8896,7 +8872,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/stacktraces_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/stacktraces_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8911,7 +8887,7 @@ "signature": [ "\"synthetics.payload.timings.blocked\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8926,7 +8902,7 @@ "signature": [ "\"synthetics.payload.timings.connect\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8941,7 +8917,7 @@ "signature": [ "\"synthetics.payload.timings.dns\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8956,7 +8932,7 @@ "signature": [ "\"synthetics.payload.timings.receive\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8971,7 +8947,7 @@ "signature": [ "\"synthetics.payload.timings.send\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -8986,7 +8962,7 @@ "signature": [ "\"synthetics.payload.timings.ssl\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9001,7 +8977,7 @@ "signature": [ "\"synthetics.payload.timings.total\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9016,7 +8992,7 @@ "signature": [ "\"synthetics.payload.timings.wait\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/synthetics.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/synthetics.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9031,7 +9007,7 @@ "signature": [ "\"transaction.experience.tbt\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9061,7 +9037,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/profiling/topn_functions_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/profiling/topn_functions_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9076,7 +9052,7 @@ "signature": [ "\"trace.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9106,7 +9082,7 @@ "signature": [ "\"transaction.marks.agent.domInteractive\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9121,7 +9097,7 @@ "signature": [ "\"transaction.duration.us\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9136,7 +9112,7 @@ "signature": [ "\"transaction.duration.histogram\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9151,7 +9127,7 @@ "signature": [ "\"transaction.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9166,7 +9142,7 @@ "signature": [ "\"transaction.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9181,7 +9157,7 @@ "signature": [ "\"transaction.page.url\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9196,7 +9172,7 @@ "signature": [ "\"transaction.result\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9211,7 +9187,7 @@ "signature": [ "\"transaction.root\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9226,7 +9202,7 @@ "signature": [ "\"transaction.sampled\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9241,7 +9217,7 @@ "signature": [ "\"transaction.marks.agent.timeToFirstByte\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9256,7 +9232,7 @@ "signature": [ "\"transaction.type\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9271,7 +9247,7 @@ "signature": [ "\"url.full\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9301,7 +9277,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_name_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9331,7 +9307,7 @@ }, ">" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/locators/apm/transaction_details_by_trace_id_locator.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9346,7 +9322,7 @@ "signature": [ "\"url.full\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9361,7 +9337,7 @@ "signature": [ "\"user_agent.device.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9376,7 +9352,7 @@ "signature": [ "\"user_agent.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9391,7 +9367,7 @@ "signature": [ "\"user_agent.original\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9406,7 +9382,7 @@ "signature": [ "\"user_agent.os.name\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9421,7 +9397,7 @@ "signature": [ "\"user_agent.os.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9436,7 +9412,7 @@ "signature": [ "\"user_agent.version\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9451,7 +9427,7 @@ "signature": [ "\"user.id\"" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/field_names/elasticsearch.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/field_names/elasticsearch.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9468,7 +9444,7 @@ "signature": [ "{ readonly HOST: \"host\"; readonly CONTAINER: \"container\"; readonly SERVICE: \"service\"; readonly SERVICE_V2: \"built_in_services_from_ecs_data\"; readonly KUBERNETES: { readonly CLUSTER: { ecs: \"k8s.cluster.ecs\"; semconv: \"k8s.cluster.semconv\"; }; readonly CONTAINER: { ecs: \"k8s.container.ecs\"; semconv: \"k8s.container.semconv\"; }; readonly CRONJOB: { ecs: \"k8s.cron_job.ecs\"; semconv: \"k8s.cron_job.semconv\"; }; readonly DAEMONSET: { ecs: \"k8s.daemonset.ecs\"; semconv: \"k8s.daemonset.semconv\"; }; readonly DEPLOYMENT: { ecs: \"k8s.deployment.ecs\"; semconv: \"k8s.deployment.semconv\"; }; readonly JOB: { ecs: \"k8s.job.ecs\"; semconv: \"k8s.job.semconv\"; }; readonly NAMESPACE: { ecs: \"k8s.namespace.ecs\"; semconv: \"k8s.namespace.semconv\"; }; readonly NODE: { ecs: \"k8s.node.ecs\"; semconv: \"k8s.node.semconv\"; }; readonly POD: { ecs: \"k8s.pod.ecs\"; semconv: \"k8s.pod.semconv\"; }; readonly SERVICE: { ecs: \"k8s.service.ecs\"; semconv: \"k8s.service.semconv\"; }; readonly STATEFULSET: { ecs: \"k8s.statefulset.ecs\"; semconv: \"k8s.statefulset.semconv\"; }; }; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/entity/entity_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/entity/entity_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -9483,7 +9459,7 @@ "signature": [ "{ readonly hot: \"data_hot\"; readonly warm: \"data_warm\"; readonly cold: \"data_cold\"; readonly frozen: \"data_frozen\"; }" ], - "path": "x-pack/plugins/observability_solution/observability_shared/common/ilm_types.ts", + "path": "x-pack/solutions/observability/plugins/observability_shared/common/ilm_types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/observability_shared.mdx b/api_docs/observability_shared.mdx index 435e1e536f540..aeb3d158fa2dd 100644 --- a/api_docs/observability_shared.mdx +++ b/api_docs/observability_shared.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/observabilityShared title: "observabilityShared" image: https://source.unsplash.com/400x175/?github description: API docs for the observabilityShared plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'observabilityShared'] --- import observabilitySharedObj from './observability_shared.devdocs.json'; diff --git a/api_docs/osquery.devdocs.json b/api_docs/osquery.devdocs.json index df87b16bced25..e9217c50786ac 100644 --- a/api_docs/osquery.devdocs.json +++ b/api_docs/osquery.devdocs.json @@ -309,7 +309,9 @@ "section": "def-common.MultiField", "text": "MultiField" }, - "[]; }; readonly \"kibana.alert.rule.execution.timestamp\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.execution.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.parameters\": { readonly array: false; readonly type: \"flattened\"; readonly ignore_above: 4096; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.severity_improving\": { readonly type: \"boolean\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.time_range\": { readonly type: \"date_range\"; readonly format: \"epoch_millis||strict_date_optional_time\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.url\": { readonly type: \"keyword\"; readonly array: false; readonly index: false; readonly required: false; readonly ignore_above: 2048; }; readonly \"kibana.alert.workflow_assignee_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; }>> & { _index: string; }) | undefined) => Promise<{ response: { action_id: string; '@timestamp': string; expiration: string; type: string; input_type: string; alert_ids: string[] | undefined; event_ids: string[] | undefined; case_ids: string[] | undefined; agent_ids: string[] | undefined; agent_all: boolean | undefined; agent_platforms: string[] | undefined; agent_policy_ids: string[] | undefined; agents: string[]; user_id: string | undefined; metadata: object | undefined; pack_id: string | undefined; pack_name: string | undefined; pack_prebuilt: boolean | undefined; queries: _.Dictionary[]; }; fleetActionsCount: number; }>; stop: () => void; }" + "[]; }; readonly \"kibana.alert.rule.execution.timestamp\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.execution.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.parameters\": { readonly array: false; readonly type: \"flattened\"; readonly ignore_above: 4096; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.severity_improving\": { readonly type: \"boolean\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.time_range\": { readonly type: \"date_range\"; readonly format: \"epoch_millis||strict_date_optional_time\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.url\": { readonly type: \"keyword\"; readonly array: false; readonly index: false; readonly required: false; readonly ignore_above: 2048; }; readonly \"kibana.alert.workflow_assignee_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; }>> & { _index: string; }) | undefined) => Promise<{ response: { action_id: string; '@timestamp': string; expiration: string; type: string; input_type: string; alert_ids: string[] | undefined; event_ids: string[] | undefined; case_ids: string[] | undefined; agent_ids: string[] | undefined; agent_all: boolean | undefined; agent_platforms: string[] | undefined; agent_policy_ids: string[] | undefined; agents: string[]; user_id: string | undefined; metadata: object | undefined; pack_id: string | undefined; pack_name: string | undefined; pack_prebuilt: boolean | undefined; queries: ", + "Dictionary", + "[]; }; fleetActionsCount: number; }>; stop: () => void; }" ], "path": "x-pack/platform/plugins/shared/osquery/server/types.ts", "deprecated": false, diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index c4496e5543bd4..271c21bf2b5fc 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/osquery title: "osquery" image: https://source.unsplash.com/400x175/?github description: API docs for the osquery plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery'] --- import osqueryObj from './osquery.devdocs.json'; diff --git a/api_docs/painless_lab.mdx b/api_docs/painless_lab.mdx index 14769fd07c3ba..432e02abdfff2 100644 --- a/api_docs/painless_lab.mdx +++ b/api_docs/painless_lab.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/painlessLab title: "painlessLab" image: https://source.unsplash.com/400x175/?github description: API docs for the painlessLab plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'painlessLab'] --- import painlessLabObj from './painless_lab.devdocs.json'; diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index e3f7b15017290..177db6b28422b 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -7,7 +7,7 @@ id: kibDevDocsPluginDirectory slug: /kibana-dev-docs/api-meta/plugin-api-directory title: Directory description: Directory of public APIs available through plugins or packages. -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana'] --- @@ -15,13 +15,13 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 906 | 770 | 43 | +| 908 | 772 | 43 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 54834 | 241 | 41170 | 2032 | +| 54974 | 253 | 41303 | 2061 | ## Plugin Directory @@ -31,10 +31,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 0 | | | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 4 | 0 | 4 | 1 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | AIOps plugin maintained by ML team. | 72 | 0 | 8 | 2 | -| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 872 | 1 | 839 | 50 | +| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 874 | 1 | 841 | 50 | | | [@elastic/obs-ux-infra_services-team](https://github.com/orgs/elastic/teams/obs-ux-infra_services-team) | The user interface for Elastic APM | 29 | 0 | 29 | 119 | | | [@elastic/obs-ux-infra_services-team](https://github.com/orgs/elastic/teams/obs-ux-infra_services-team) | - | 93 | 0 | 93 | 3 | -| | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | Centralized asset inventory experience within the Elastic Security solution. A central place for users to view and manage all their assets from different environments | 6 | 0 | 6 | 0 | +| | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | Centralized asset inventory experience within the Elastic Security solution. A central place for users to view and manage all their assets from different environments | 8 | 0 | 8 | 1 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 9 | 0 | 9 | 0 | | | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Canvas application to Kibana | 9 | 0 | 8 | 3 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | The Case management system in Kibana | 125 | 0 | 105 | 28 | @@ -116,7 +116,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | Image embeddable | 1 | 0 | 1 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 4 | 0 | 4 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 244 | 0 | 239 | 1 | -| | [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai-infra) | - | 40 | 0 | 28 | 6 | +| | [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai-infra) | - | 40 | 0 | 28 | 5 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin visualizes data from Filebeat and Metricbeat, and integrates with other Observability solutions | 24 | 0 | 24 | 5 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 4 | 0 | 4 | 0 | | inputControlVis | [@elastic/kibana-presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Input Control visualization to Kibana | 0 | 0 | 0 | 0 | @@ -155,7 +155,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 3 | 0 | 3 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 1 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 697 | 2 | 689 | 23 | -| | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 385 | 1 | 383 | 30 | +| | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 381 | 1 | 379 | 30 | | | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 8 | 0 | 7 | 0 | | | [@elastic/obs-ai-assistant](https://github.com/orgs/elastic/teams/obs-ai-assistant) | - | 2 | 0 | 2 | 0 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | This plugin exposes and registers observability log consumption features. | 19 | 0 | 19 | 1 | @@ -204,7 +204,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides the Spaces feature, which allows saved objects to be organized into meaningful categories. | 269 | 0 | 73 | 1 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 25 | 0 | 25 | 3 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 10 | 0 | 10 | 0 | -| | [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) | A manager for Streams | 13 | 0 | 13 | 3 | +| | [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) | A manager for Streams | 9 | 0 | 9 | 2 | | | [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) | - | 8 | 0 | 8 | 0 | | synthetics | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | This plugin visualizes data from Synthetics and Heartbeat, and integrates with other Observability solutions. | 0 | 0 | 0 | 0 | | | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 105 | 0 | 62 | 6 | @@ -286,10 +286,10 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 2 | 0 | 2 | 0 | | | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 93 | 1 | 93 | 0 | | | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 122 | 0 | 120 | 1 | -| | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 25 | 0 | 16 | 6 | +| | [@elastic/kibana-cloud-security-posture](https://github.com/orgs/elastic/teams/kibana-cloud-security-posture) | - | 27 | 0 | 18 | 6 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 41 | 0 | 17 | 0 | | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 2 | 0 | 2 | 0 | -| | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 12 | 0 | 5 | 0 | +| | [@elastic/appex-qa](https://github.com/orgs/elastic/teams/appex-qa) | - | 22 | 0 | 11 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 190 | 0 | 149 | 8 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 79 | 0 | 50 | 9 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 24 | 0 | 24 | 0 | @@ -307,18 +307,18 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/appex-sharedux](https://github.com/orgs/elastic/teams/appex-sharedux) | - | 34 | 0 | 34 | 0 | | | [@elastic/kibana-data-discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 195 | 1 | 128 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 100 | 0 | 0 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 1 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 4 | 0 | 4 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 99 | 0 | 0 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 5 | 0 | 5 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 105 | 0 | 26 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 20 | 0 | 17 | 3 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 20 | 0 | 17 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 13 | 0 | 13 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 2 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 24 | 0 | 23 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2 | 0 | 2 | 0 | -| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 1 | +| | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 3 | 0 | 3 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 14 | 0 | 4 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 7 | 2 | @@ -520,8 +520,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 38 | 0 | 29 | 3 | | | [@elastic/security-threat-hunting-explore](https://github.com/orgs/elastic/teams/security-threat-hunting-explore) | - | 16 | 0 | 8 | 0 | | | [@elastic/obs-ux-logs-team](https://github.com/orgs/elastic/teams/obs-ux-logs-team) | - | 42 | 0 | 41 | 0 | -| | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | - | 170 | 0 | 141 | 10 | -| | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | - | 442 | 0 | 405 | 0 | +| | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | - | 174 | 0 | 145 | 10 | +| | [@elastic/security-generative-ai](https://github.com/orgs/elastic/teams/security-generative-ai) | - | 447 | 0 | 410 | 0 | | | [@elastic/obs-entities](https://github.com/orgs/elastic/teams/obs-entities) | - | 51 | 0 | 51 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 55 | 0 | 40 | 7 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 32 | 0 | 19 | 1 | @@ -560,7 +560,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/security-threat-hunting](https://github.com/orgs/elastic/teams/security-threat-hunting) | - | 85 | 0 | 80 | 2 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 75 | 0 | 73 | 0 | | | [@elastic/kibana-management](https://github.com/orgs/elastic/teams/kibana-management) | - | 126 | 3 | 126 | 0 | -| | [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai-infra) | - | 141 | 0 | 40 | 3 | +| | [@elastic/appex-ai-infra](https://github.com/orgs/elastic/teams/appex-ai-infra) | - | 150 | 0 | 46 | 4 | +| | [@elastic/response-ops](https://github.com/orgs/elastic/teams/response-ops) | - | 30 | 0 | 30 | 0 | | | [@elastic/ml-ui](https://github.com/orgs/elastic/teams/ml-ui) | - | 7 | 1 | 7 | 1 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 9 | 0 | 9 | 0 | | | [@elastic/kibana-visualizations](https://github.com/orgs/elastic/teams/kibana-visualizations) | - | 52 | 12 | 43 | 0 | @@ -794,6 +795,7 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 108 | 2 | 70 | 1 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 4 | 0 | 2 | 0 | | | [@elastic/kibana-operations](https://github.com/orgs/elastic/teams/kibana-operations) | - | 41 | 2 | 21 | 0 | +| | [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/streams-program-team) | - | 84 | 12 | 84 | 0 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 9 | 0 | 9 | 0 | | | [@elastic/obs-ux-management-team](https://github.com/orgs/elastic/teams/obs-ux-management-team) | - | 19 | 0 | 19 | 0 | | | [@elastic/kibana-core](https://github.com/orgs/elastic/teams/kibana-core) | - | 7 | 0 | 5 | 1 | diff --git a/api_docs/presentation_panel.devdocs.json b/api_docs/presentation_panel.devdocs.json index ed8d46e52734d..931703ce6f8e7 100644 --- a/api_docs/presentation_panel.devdocs.json +++ b/api_docs/presentation_panel.devdocs.json @@ -14,7 +14,7 @@ "() => ", "EditPanelAction" ], - "path": "src/plugins/presentation_panel/public/panel_actions/panel_actions.ts", + "path": "src/platform/plugins/private/presentation_panel/public/panel_actions/panel_actions.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -47,7 +47,7 @@ "PanelCompatibleComponent", " | null>; } & { hidePanelChrome?: boolean | undefined; }) => React.JSX.Element | null" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -73,7 +73,7 @@ "PanelCompatibleComponent", " | null>; } & { hidePanelChrome?: boolean | undefined; }" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "DefaultPresentationPanelApi", " | undefined; }) => React.JSX.Element" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -113,7 +113,7 @@ "tags": [], "label": "{\n api,\n error,\n}", "description": [], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -142,7 +142,7 @@ }, " | undefined; }" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx", "deprecated": false, "trackAdoption": false }, @@ -157,7 +157,7 @@ "DefaultPresentationPanelApi", " | undefined" ], - "path": "src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx", "deprecated": false, "trackAdoption": false } @@ -181,7 +181,7 @@ "signature": [ "\"ACTION_CUSTOMIZE_PANEL\"" ], - "path": "src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx", + "path": "src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -208,7 +208,7 @@ "PanelCompatibleComponent", " | null>; }" ], - "path": "src/plugins/presentation_panel/public/panel_component/types.ts", + "path": "src/platform/plugins/private/presentation_panel/public/panel_component/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -240,7 +240,7 @@ "signature": [ "\"presentationPanel\"" ], - "path": "src/plugins/presentation_panel/common/index.ts", + "path": "src/platform/plugins/private/presentation_panel/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -255,7 +255,7 @@ "signature": [ "\"presentationPanel\"" ], - "path": "src/plugins/presentation_panel/common/index.ts", + "path": "src/platform/plugins/private/presentation_panel/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/presentation_panel.mdx b/api_docs/presentation_panel.mdx index a8df67f6bc886..a17d1436cc1f7 100644 --- a/api_docs/presentation_panel.mdx +++ b/api_docs/presentation_panel.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationPanel title: "presentationPanel" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationPanel plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationPanel'] --- import presentationPanelObj from './presentation_panel.devdocs.json'; diff --git a/api_docs/presentation_util.devdocs.json b/api_docs/presentation_util.devdocs.json index ea50ab8480f1e..e08e196fc1845 100644 --- a/api_docs/presentation_util.devdocs.json +++ b/api_docs/presentation_util.devdocs.json @@ -15,7 +15,7 @@ "DashboardDrilldownOptionsProps", " & React.RefAttributes<{}>>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -49,7 +49,7 @@ "FloatingActionsProps", ") => React.JSX.Element" ], - "path": "src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -63,7 +63,7 @@ "signature": [ "FloatingActionsProps" ], - "path": "src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -84,7 +84,7 @@ "DashboardPickerProps", ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -128,7 +128,7 @@ "EuiSelectableProps", "<{}>> | undefined; }) => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -170,7 +170,7 @@ }, ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -204,7 +204,7 @@ "FieldPickerProps", ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -238,7 +238,7 @@ "Props", ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -272,7 +272,7 @@ "Props", ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -312,7 +312,7 @@ }, ") => React.JSX.Element>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -354,7 +354,7 @@ }, "[]) => Promise" ], - "path": "src/plugins/presentation_util/public/index.ts", + "path": "src/platform/plugins/shared/presentation_util/public/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -377,7 +377,7 @@ }, "[]" ], - "path": "src/plugins/presentation_util/public/index.ts", + "path": "src/platform/plugins/shared/presentation_util/public/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -398,7 +398,7 @@ "signature": [ "

(Component: React.ComponentType

, fallback?: React.ReactElement> | null) => React.ForwardRefExoticComponent & React.RefAttributes>" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "children": [ @@ -414,7 +414,7 @@ "signature": [ "React.ComponentType

" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -431,7 +431,7 @@ "signature": [ "React.ReactElement> | null" ], - "path": "src/plugins/presentation_util/public/components/index.tsx", + "path": "src/platform/plugins/shared/presentation_util/public/components/index.tsx", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -461,7 +461,7 @@ }, " extends Pick, \"className\" | \"style\">" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -484,7 +484,7 @@ }, "[]" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -497,7 +497,7 @@ "description": [ "Value of expression" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -513,7 +513,7 @@ "signature": [ "(value?: string | undefined) => void" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -527,7 +527,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -547,7 +547,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -564,7 +564,7 @@ "Property", ".Height | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -587,7 +587,7 @@ }, " | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -608,7 +608,7 @@ }, " | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false } @@ -622,7 +622,7 @@ "tags": [], "label": "PresentationLabsService", "description": [], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -636,7 +636,7 @@ "signature": [ "(id: \"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\") => boolean" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -650,7 +650,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -675,7 +675,7 @@ "text": "Project" } ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -689,7 +689,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -715,7 +715,7 @@ }, ">" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -729,7 +729,7 @@ "signature": [ "(\"canvas\" | \"presentation\" | \"dashboard\")[] | undefined" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -747,7 +747,7 @@ "signature": [ "(id: \"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\", env: \"kibana\" | \"browser\" | \"session\", status: boolean) => void" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -761,7 +761,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -776,7 +776,7 @@ "signature": [ "\"kibana\" | \"browser\" | \"session\"" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -791,7 +791,7 @@ "signature": [ "boolean" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -809,7 +809,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/presentation_util/public/services/presentation_labs_service.ts", + "path": "src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -825,7 +825,7 @@ "tags": [], "label": "SaveModalDashboardProps", "description": [], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -839,7 +839,7 @@ "signature": [ "SaveModalDocumentInfo" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -850,7 +850,7 @@ "tags": [], "label": "canSaveByReference", "description": [], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -861,7 +861,7 @@ "tags": [], "label": "objectType", "description": [], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -875,7 +875,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -899,7 +899,7 @@ }, " & { dashboardId: string | null; addToLibrary: boolean; }) => void" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -920,7 +920,7 @@ }, " & { dashboardId: string | null; addToLibrary: boolean; }" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -946,7 +946,7 @@ }, ") => React.ReactNode)" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false }, @@ -960,7 +960,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false } @@ -980,7 +980,7 @@ "signature": [ "{ useCurrentFilters: boolean; useCurrentDateRange: boolean; openInNewTab: boolean; }" ], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -999,7 +999,7 @@ "editor", ".IStandaloneCodeEditor | null>" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1016,7 +1016,7 @@ "editor", ".IStandaloneCodeEditor | null) => void" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1032,7 +1032,7 @@ "editor", ".IStandaloneCodeEditor | null" ], - "path": "src/plugins/presentation_util/public/components/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/types.ts", "deprecated": false, "trackAdoption": false } @@ -1048,7 +1048,7 @@ "tags": [], "label": "DEFAULT_DASHBOARD_DRILLDOWN_OPTIONS", "description": [], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1062,7 +1062,7 @@ "signature": [ "false" ], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1076,7 +1076,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1090,7 +1090,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts", "deprecated": false, "trackAdoption": false } @@ -1105,7 +1105,7 @@ "tags": [], "label": "PresentationUtilPluginSetup", "description": [], - "path": "src/plugins/presentation_util/public/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1119,7 +1119,7 @@ "tags": [], "label": "PresentationUtilPluginStart", "description": [], - "path": "src/plugins/presentation_util/public/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/types.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1139,7 +1139,7 @@ "text": "PresentationLabsService" } ], - "path": "src/plugins/presentation_util/public/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/types.ts", "deprecated": false, "trackAdoption": false }, @@ -1161,7 +1161,7 @@ }, "[]) => Promise" ], - "path": "src/plugins/presentation_util/public/types.ts", + "path": "src/platform/plugins/shared/presentation_util/public/types.ts", "deprecated": false, "trackAdoption": false, "returnComment": [], @@ -1183,7 +1183,7 @@ }, "[]" ], - "path": "src/plugins/presentation_util/public/index.ts", + "path": "src/platform/plugins/shared/presentation_util/public/index.ts", "deprecated": false, "trackAdoption": false } @@ -1210,7 +1210,7 @@ "signature": [ "\"Presentation Labs\"" ], - "path": "src/plugins/presentation_util/server/ui_settings.ts", + "path": "src/platform/plugins/shared/presentation_util/server/ui_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1231,7 +1231,7 @@ "signature": [ "(data: any, type: string) => Promise" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1245,7 +1245,7 @@ "signature": [ "any" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1260,7 +1260,7 @@ "signature": [ "string" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1278,10 +1278,10 @@ "description": [], "signature": [ "() => Promise" ], - "path": "src/plugins/presentation_util/common/lib/utils/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1297,10 +1297,10 @@ "description": [], "signature": [ "() => Promise" ], - "path": "src/plugins/presentation_util/common/lib/utils/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1317,7 +1317,7 @@ "signature": [ "() => readonly [\"labs:dashboard:deferBelowFold\", \"labs:canvas:byValueEmbeddable\"]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -1342,7 +1342,7 @@ }, ") => boolean" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1356,7 +1356,7 @@ "signature": [ "boolean" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1377,7 +1377,7 @@ "text": "EnvironmentStatus" } ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1396,7 +1396,7 @@ "signature": [ "(str: string) => boolean" ], - "path": "src/plugins/presentation_util/common/lib/utils/httpurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1410,7 +1410,7 @@ "signature": [ "string" ], - "path": "src/plugins/presentation_util/common/lib/utils/httpurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1429,7 +1429,7 @@ "signature": [ "(url: string) => boolean" ], - "path": "src/plugins/presentation_util/common/lib/utils/url.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1443,7 +1443,7 @@ "signature": [ "string" ], - "path": "src/plugins/presentation_util/common/lib/utils/url.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1462,7 +1462,7 @@ "signature": [ "(str: string, withData: boolean) => { mimetype: string; encoding: string; charset: string; data: string | null; isImage: boolean; extension: any; } | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1476,7 +1476,7 @@ "signature": [ "string" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1491,7 +1491,7 @@ "signature": [ "boolean" ], - "path": "src/plugins/presentation_util/common/lib/utils/dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1510,7 +1510,7 @@ "signature": [ "(args: any, defaultDataurl?: string | null) => string" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1524,7 +1524,7 @@ "signature": [ "any" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -1539,7 +1539,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1558,7 +1558,7 @@ "signature": [ "(img: string | null, alt?: string | null) => string | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1572,7 +1572,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1587,7 +1587,7 @@ "signature": [ "string | null" ], - "path": "src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts", + "path": "src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -1605,7 +1605,7 @@ "tags": [], "label": "ProjectConfig", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1619,7 +1619,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1630,7 +1630,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1641,7 +1641,7 @@ "tags": [], "label": "isActive", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1652,7 +1652,7 @@ "tags": [], "label": "isDisplayed", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1666,7 +1666,7 @@ "signature": [ "(\"kibana\" | \"browser\" | \"session\")[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1677,7 +1677,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1691,7 +1691,7 @@ "signature": [ "(\"canvas\" | \"presentation\" | \"dashboard\")[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false } @@ -1711,7 +1711,7 @@ "signature": [ "\"kibana\" | \"browser\" | \"session\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1726,7 +1726,7 @@ "signature": [ "{ kibana?: boolean | undefined; browser?: boolean | undefined; session?: boolean | undefined; }" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1743,7 +1743,7 @@ "signature": [ "\"kibana-expressions\"" ], - "path": "src/plugins/presentation_util/common/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1758,7 +1758,7 @@ "signature": [ "\"labs:\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1773,7 +1773,7 @@ "signature": [ "\"presentationUtil\"" ], - "path": "src/plugins/presentation_util/common/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1788,7 +1788,7 @@ "signature": [ "\"presentationUtil\"" ], - "path": "src/plugins/presentation_util/common/index.ts", + "path": "src/platform/plugins/shared/presentation_util/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1818,7 +1818,7 @@ }, "; }" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1833,7 +1833,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\" | \"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1855,7 +1855,7 @@ "text": "EnvironmentStatus" } ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1870,7 +1870,7 @@ "signature": [ "\"canvas\" | \"presentation\" | \"dashboard\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1887,7 +1887,7 @@ "signature": [ "readonly [\"kibana\", \"browser\", \"session\"]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1902,7 +1902,7 @@ "signature": [ "readonly [\"labs:dashboard:deferBelowFold\", \"labs:canvas:byValueEmbeddable\"]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1916,7 +1916,7 @@ "description": [ "\nThis is a list of active Labs Projects for the Presentation Team. It is the \"source of truth\" for all projects\nprovided to users of our solutions in Kibana." ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1927,7 +1927,7 @@ "tags": [], "label": "[DEFER_BELOW_FOLD]", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -1941,7 +1941,7 @@ "signature": [ "\"labs:dashboard:deferBelowFold\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1955,7 +1955,7 @@ "signature": [ "false" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1969,7 +1969,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1983,7 +1983,7 @@ "signature": [ "(\"kibana\" | \"browser\" | \"session\")[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -1994,7 +1994,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2005,7 +2005,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2019,7 +2019,7 @@ "signature": [ "\"dashboard\"[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false } @@ -2032,7 +2032,7 @@ "tags": [], "label": "[BY_VALUE_EMBEDDABLE]", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -2046,7 +2046,7 @@ "signature": [ "\"labs:canvas:byValueEmbeddable\"" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2060,7 +2060,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2074,7 +2074,7 @@ "signature": [ "true" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2088,7 +2088,7 @@ "signature": [ "(\"kibana\" | \"browser\" | \"session\")[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2099,7 +2099,7 @@ "tags": [], "label": "name", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2110,7 +2110,7 @@ "tags": [], "label": "description", "description": [], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false }, @@ -2124,7 +2124,7 @@ "signature": [ "\"canvas\"[]" ], - "path": "src/plugins/presentation_util/common/labs.ts", + "path": "src/platform/plugins/shared/presentation_util/common/labs.ts", "deprecated": false, "trackAdoption": false } diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index ba7169a12adde..54c667a0de0f2 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/presentationUtil title: "presentationUtil" image: https://source.unsplash.com/400x175/?github description: API docs for the presentationUtil plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'presentationUtil'] --- import presentationUtilObj from './presentation_util.devdocs.json'; diff --git a/api_docs/product_doc_base.mdx b/api_docs/product_doc_base.mdx index 5ea3cc4bb7d88..942e5f13559ad 100644 --- a/api_docs/product_doc_base.mdx +++ b/api_docs/product_doc_base.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/productDocBase title: "productDocBase" image: https://source.unsplash.com/400x175/?github description: API docs for the productDocBase plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'productDocBase'] --- import productDocBaseObj from './product_doc_base.devdocs.json'; diff --git a/api_docs/profiling.mdx b/api_docs/profiling.mdx index 178496a6f8ee8..b9b8542a24904 100644 --- a/api_docs/profiling.mdx +++ b/api_docs/profiling.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profiling title: "profiling" image: https://source.unsplash.com/400x175/?github description: API docs for the profiling plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profiling'] --- import profilingObj from './profiling.devdocs.json'; diff --git a/api_docs/profiling_data_access.mdx b/api_docs/profiling_data_access.mdx index 1ba6341f5facb..698bf9ddd0a32 100644 --- a/api_docs/profiling_data_access.mdx +++ b/api_docs/profiling_data_access.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/profilingDataAccess title: "profilingDataAccess" image: https://source.unsplash.com/400x175/?github description: API docs for the profilingDataAccess plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'profilingDataAccess'] --- import profilingDataAccessObj from './profiling_data_access.devdocs.json'; diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index 7eac333fc0ed6..62c655e229d3f 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/remoteClusters title: "remoteClusters" image: https://source.unsplash.com/400x175/?github description: API docs for the remoteClusters plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'remoteClusters'] --- import remoteClustersObj from './remote_clusters.devdocs.json'; diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index 213eaa182fad0..5cfaf869efd95 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/reporting title: "reporting" image: https://source.unsplash.com/400x175/?github description: API docs for the reporting plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'reporting'] --- import reportingObj from './reporting.devdocs.json'; diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index db662e4487ac0..92b8be15e6e21 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/rollup title: "rollup" image: https://source.unsplash.com/400x175/?github description: API docs for the rollup plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'rollup'] --- import rollupObj from './rollup.devdocs.json'; diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index fdd4304b555e4..4a8e022aef10f 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ruleRegistry title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github description: API docs for the ruleRegistry plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ruleRegistry'] --- import ruleRegistryObj from './rule_registry.devdocs.json'; diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index bca2c6dc3fba9..dbd4c7cf0f48a 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/runtimeFields title: "runtimeFields" image: https://source.unsplash.com/400x175/?github description: API docs for the runtimeFields plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'runtimeFields'] --- import runtimeFieldsObj from './runtime_fields.devdocs.json'; diff --git a/api_docs/saved_objects.devdocs.json b/api_docs/saved_objects.devdocs.json index 56c2bcd5d8cd7..1f6ec0c2f2dc6 100644 --- a/api_docs/saved_objects.devdocs.json +++ b/api_docs/saved_objects.devdocs.json @@ -36,11 +36,11 @@ "references": [ { "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" + "path": "src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" }, { "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" + "path": "src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" }, { "plugin": "visualizations", @@ -60,19 +60,19 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx" + "path": "src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx" }, { "plugin": "discover", @@ -92,11 +92,11 @@ }, { "plugin": "links", - "path": "src/plugins/links/public/content_management/save_to_library.tsx" + "path": "src/platform/plugins/private/links/public/content_management/save_to_library.tsx" }, { "plugin": "links", - "path": "src/plugins/links/public/content_management/save_to_library.tsx" + "path": "src/platform/plugins/private/links/public/content_management/save_to_library.tsx" } ], "children": [ diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 38c97596c6b48..5bb0703ec09f9 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjects title: "savedObjects" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjects plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjects'] --- import savedObjectsObj from './saved_objects.devdocs.json'; diff --git a/api_docs/saved_objects_finder.mdx b/api_docs/saved_objects_finder.mdx index 5047ccb6ed140..dd2a5b4c544de 100644 --- a/api_docs/saved_objects_finder.mdx +++ b/api_docs/saved_objects_finder.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsFinder title: "savedObjectsFinder" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsFinder plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsFinder'] --- import savedObjectsFinderObj from './saved_objects_finder.devdocs.json'; diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 00f657325e8e8..1f8176415f58f 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsManagement title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsManagement plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsManagement'] --- import savedObjectsManagementObj from './saved_objects_management.devdocs.json'; diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index 6eb4c73e0aebc..4ff368fb4fcd9 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTagging title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTagging plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTagging'] --- import savedObjectsTaggingObj from './saved_objects_tagging.devdocs.json'; diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index 08c4d96695b10..fa944a6bbe9b9 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedObjectsTaggingOss title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github description: API docs for the savedObjectsTaggingOss plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedObjectsTaggingOss'] --- import savedObjectsTaggingOssObj from './saved_objects_tagging_oss.devdocs.json'; diff --git a/api_docs/saved_search.mdx b/api_docs/saved_search.mdx index dcdeb93901bbd..6b4f95b37b26e 100644 --- a/api_docs/saved_search.mdx +++ b/api_docs/saved_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/savedSearch title: "savedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the savedSearch plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'savedSearch'] --- import savedSearchObj from './saved_search.devdocs.json'; diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index e28d0c47a0cb7..ed1f5b3547aef 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotMode title: "screenshotMode" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotMode plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotMode'] --- import screenshotModeObj from './screenshot_mode.devdocs.json'; diff --git a/api_docs/screenshotting.mdx b/api_docs/screenshotting.mdx index 6e331ce2c14a1..afb6737c73eb5 100644 --- a/api_docs/screenshotting.mdx +++ b/api_docs/screenshotting.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/screenshotting title: "screenshotting" image: https://source.unsplash.com/400x175/?github description: API docs for the screenshotting plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'screenshotting'] --- import screenshottingObj from './screenshotting.devdocs.json'; diff --git a/api_docs/search_assistant.mdx b/api_docs/search_assistant.mdx index 8e0ca4a99b2e9..3ce6002824003 100644 --- a/api_docs/search_assistant.mdx +++ b/api_docs/search_assistant.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchAssistant title: "searchAssistant" image: https://source.unsplash.com/400x175/?github description: API docs for the searchAssistant plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchAssistant'] --- import searchAssistantObj from './search_assistant.devdocs.json'; diff --git a/api_docs/search_connectors.mdx b/api_docs/search_connectors.mdx index 88ad488258c02..ae7e6b07b1378 100644 --- a/api_docs/search_connectors.mdx +++ b/api_docs/search_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchConnectors title: "searchConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the searchConnectors plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchConnectors'] --- import searchConnectorsObj from './search_connectors.devdocs.json'; diff --git a/api_docs/search_homepage.mdx b/api_docs/search_homepage.mdx index d2ee5ebb013e0..e1802ca99776f 100644 --- a/api_docs/search_homepage.mdx +++ b/api_docs/search_homepage.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchHomepage title: "searchHomepage" image: https://source.unsplash.com/400x175/?github description: API docs for the searchHomepage plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchHomepage'] --- import searchHomepageObj from './search_homepage.devdocs.json'; diff --git a/api_docs/search_indices.devdocs.json b/api_docs/search_indices.devdocs.json index ee436dbc5ddd7..699243d6082b8 100644 --- a/api_docs/search_indices.devdocs.json +++ b/api_docs/search_indices.devdocs.json @@ -85,7 +85,7 @@ "label": "startAppId", "description": [], "signature": [ - "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" + "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:asset_inventory\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" ], "path": "x-pack/plugins/search_indices/public/types.ts", "deprecated": false, diff --git a/api_docs/search_indices.mdx b/api_docs/search_indices.mdx index cd38902288c66..5c241faefe866 100644 --- a/api_docs/search_indices.mdx +++ b/api_docs/search_indices.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchIndices title: "searchIndices" image: https://source.unsplash.com/400x175/?github description: API docs for the searchIndices plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchIndices'] --- import searchIndicesObj from './search_indices.devdocs.json'; diff --git a/api_docs/search_inference_endpoints.mdx b/api_docs/search_inference_endpoints.mdx index 1d5d18c471822..050218ccfacf8 100644 --- a/api_docs/search_inference_endpoints.mdx +++ b/api_docs/search_inference_endpoints.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchInferenceEndpoints title: "searchInferenceEndpoints" image: https://source.unsplash.com/400x175/?github description: API docs for the searchInferenceEndpoints plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchInferenceEndpoints'] --- import searchInferenceEndpointsObj from './search_inference_endpoints.devdocs.json'; diff --git a/api_docs/search_navigation.devdocs.json b/api_docs/search_navigation.devdocs.json index 94e0857bfcb6b..55b0e6b4b958b 100644 --- a/api_docs/search_navigation.devdocs.json +++ b/api_docs/search_navigation.devdocs.json @@ -132,7 +132,7 @@ "label": "link", "description": [], "signature": [ - "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" + "\"fleet\" | \"graph\" | \"ml\" | \"monitoring\" | \"profiling\" | \"metrics\" | \"management\" | \"apm\" | \"synthetics\" | \"ux\" | \"canvas\" | \"logs\" | \"dashboards\" | \"slo\" | \"observabilityAIAssistant\" | \"home\" | \"integrations\" | \"discover\" | \"observability-overview\" | \"streams\" | \"appSearch\" | \"inventory\" | \"dev_tools\" | \"maps\" | \"visualize\" | \"dev_tools:console\" | \"dev_tools:searchprofiler\" | \"dev_tools:painless_lab\" | \"dev_tools:grokdebugger\" | \"ml:notifications\" | \"ml:nodes\" | \"ml:overview\" | \"ml:memoryUsage\" | \"ml:settings\" | \"ml:dataVisualizer\" | \"ml:logPatternAnalysis\" | \"ml:logRateAnalysis\" | \"ml:singleMetricViewer\" | \"ml:anomalyDetection\" | \"ml:anomalyExplorer\" | \"ml:dataDrift\" | \"ml:dataFrameAnalytics\" | \"ml:resultExplorer\" | \"ml:analyticsMap\" | \"ml:aiOps\" | \"ml:changePointDetections\" | \"ml:modelManagement\" | \"ml:nodesOverview\" | \"ml:esqlDataVisualizer\" | \"ml:fileUpload\" | \"ml:indexDataVisualizer\" | \"ml:calendarSettings\" | \"ml:filterListsSettings\" | \"ml:suppliedConfigurations\" | \"osquery\" | \"management:transform\" | \"management:watcher\" | \"management:cases\" | \"management:tags\" | \"management:maintenanceWindows\" | \"management:cross_cluster_replication\" | \"management:dataViews\" | \"management:spaces\" | \"management:settings\" | \"management:users\" | \"management:migrate_data\" | \"management:search_sessions\" | \"management:data_quality\" | \"management:filesManagement\" | \"management:pipelines\" | \"management:roles\" | \"management:reporting\" | \"management:aiAssistantManagementSelection\" | \"management:securityAiAssistantManagement\" | \"management:observabilityAiAssistantManagement\" | \"management:api_keys\" | \"management:license_management\" | \"management:index_lifecycle_management\" | \"management:index_management\" | \"management:ingest_pipelines\" | \"management:jobsListLink\" | \"management:objects\" | \"management:remote_clusters\" | \"management:role_mappings\" | \"management:rollup_jobs\" | \"management:snapshot_restore\" | \"management:triggersActions\" | \"management:triggersActionsConnectors\" | \"management:upgrade_assistant\" | \"enterpriseSearch\" | \"enterpriseSearchContent\" | \"enterpriseSearchApplications\" | \"enterpriseSearchAnalytics\" | \"workplaceSearch\" | \"serverlessElasticsearch\" | \"serverlessConnectors\" | \"serverlessWebCrawlers\" | \"searchPlayground\" | \"searchInferenceEndpoints\" | \"searchHomepage\" | \"enterpriseSearchContent:connectors\" | \"enterpriseSearchContent:searchIndices\" | \"enterpriseSearchContent:webCrawlers\" | \"enterpriseSearchApplications:searchApplications\" | \"appSearch:engines\" | \"searchInferenceEndpoints:inferenceEndpoints\" | \"elasticsearchStart\" | \"elasticsearchIndices\" | \"enterpriseSearchElasticsearch\" | \"enterpriseSearchVectorSearch\" | \"enterpriseSearchSemanticSearch\" | \"enterpriseSearchAISearch\" | \"elasticsearchIndices:createIndex\" | \"observability-logs-explorer\" | \"last-used-logs-viewer\" | \"observabilityOnboarding\" | \"logs:settings\" | \"logs:stream\" | \"logs:log-categories\" | \"logs:anomalies\" | \"observability-overview:cases\" | \"observability-overview:alerts\" | \"observability-overview:rules\" | \"observability-overview:cases_create\" | \"observability-overview:cases_configure\" | \"metrics:settings\" | \"metrics:hosts\" | \"metrics:inventory\" | \"metrics:metrics-explorer\" | \"metrics:assetDetails\" | \"apm:services\" | \"apm:traces\" | \"apm:dependencies\" | \"apm:service-map\" | \"apm:settings\" | \"apm:service-groups-list\" | \"apm:storage-explorer\" | \"synthetics:overview\" | \"synthetics:certificates\" | \"profiling:functions\" | \"profiling:stacktraces\" | \"profiling:flamegraphs\" | \"inventory:datastreams\" | \"streams:overview\" | \"securitySolutionUI\" | \"securitySolutionUI:\" | \"securitySolutionUI:cases\" | \"securitySolutionUI:alerts\" | \"securitySolutionUI:rules\" | \"securitySolutionUI:policy\" | \"securitySolutionUI:overview\" | \"securitySolutionUI:dashboards\" | \"securitySolutionUI:kubernetes\" | \"securitySolutionUI:cases_create\" | \"securitySolutionUI:cases_configure\" | \"securitySolutionUI:hosts\" | \"securitySolutionUI:users\" | \"securitySolutionUI:cloud_defend-policies\" | \"securitySolutionUI:cloud_security_posture-dashboard\" | \"securitySolutionUI:cloud_security_posture-findings\" | \"securitySolutionUI:cloud_security_posture-benchmarks\" | \"securitySolutionUI:network\" | \"securitySolutionUI:data_quality\" | \"securitySolutionUI:explore\" | \"securitySolutionUI:assets\" | \"securitySolutionUI:cloud_defend\" | \"securitySolutionUI:notes\" | \"securitySolutionUI:administration\" | \"securitySolutionUI:asset_inventory\" | \"securitySolutionUI:attack_discovery\" | \"securitySolutionUI:blocklist\" | \"securitySolutionUI:cloud_security_posture-rules\" | \"securitySolutionUI:detections\" | \"securitySolutionUI:detection_response\" | \"securitySolutionUI:endpoints\" | \"securitySolutionUI:event_filters\" | \"securitySolutionUI:exceptions\" | \"securitySolutionUI:host_isolation_exceptions\" | \"securitySolutionUI:hosts-all\" | \"securitySolutionUI:hosts-anomalies\" | \"securitySolutionUI:hosts-risk\" | \"securitySolutionUI:hosts-events\" | \"securitySolutionUI:hosts-sessions\" | \"securitySolutionUI:hosts-uncommon_processes\" | \"securitySolutionUI:investigations\" | \"securitySolutionUI:get_started\" | \"securitySolutionUI:machine_learning-landing\" | \"securitySolutionUI:network-anomalies\" | \"securitySolutionUI:network-dns\" | \"securitySolutionUI:network-events\" | \"securitySolutionUI:network-flows\" | \"securitySolutionUI:network-http\" | \"securitySolutionUI:network-tls\" | \"securitySolutionUI:response_actions_history\" | \"securitySolutionUI:rules-add\" | \"securitySolutionUI:rules-create\" | \"securitySolutionUI:rules-landing\" | \"securitySolutionUI:siem_migrations-rules\" | \"securitySolutionUI:threat_intelligence\" | \"securitySolutionUI:timelines\" | \"securitySolutionUI:timelines-templates\" | \"securitySolutionUI:trusted_apps\" | \"securitySolutionUI:users-all\" | \"securitySolutionUI:users-anomalies\" | \"securitySolutionUI:users-authentications\" | \"securitySolutionUI:users-events\" | \"securitySolutionUI:users-risk\" | \"securitySolutionUI:entity_analytics\" | \"securitySolutionUI:entity_analytics-management\" | \"securitySolutionUI:entity_analytics-asset-classification\" | \"securitySolutionUI:entity_analytics-entity_store_management\" | \"securitySolutionUI:coverage-overview\" | \"fleet:settings\" | \"fleet:agents\" | \"fleet:policies\" | \"fleet:data_streams\" | \"fleet:enrollment_tokens\" | \"fleet:uninstall_tokens\"" ], "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", "deprecated": false, @@ -289,13 +289,7 @@ "description": [], "signature": [ "(history: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", ") => ", { "pluginId": "@kbn/shared-ux-page-solution-nav", @@ -318,13 +312,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/plugins/search_solution/search_navigation/public/types.ts", diff --git a/api_docs/search_navigation.mdx b/api_docs/search_navigation.mdx index 8a358c5301d0d..f94b9ba7dcbc1 100644 --- a/api_docs/search_navigation.mdx +++ b/api_docs/search_navigation.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchNavigation title: "searchNavigation" image: https://source.unsplash.com/400x175/?github description: API docs for the searchNavigation plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchNavigation'] --- import searchNavigationObj from './search_navigation.devdocs.json'; diff --git a/api_docs/search_notebooks.mdx b/api_docs/search_notebooks.mdx index 0224c6aabdf19..124b23c3d24b8 100644 --- a/api_docs/search_notebooks.mdx +++ b/api_docs/search_notebooks.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchNotebooks title: "searchNotebooks" image: https://source.unsplash.com/400x175/?github description: API docs for the searchNotebooks plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchNotebooks'] --- import searchNotebooksObj from './search_notebooks.devdocs.json'; diff --git a/api_docs/search_playground.mdx b/api_docs/search_playground.mdx index 68815d70013be..4fb5fa86afa2a 100644 --- a/api_docs/search_playground.mdx +++ b/api_docs/search_playground.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/searchPlayground title: "searchPlayground" image: https://source.unsplash.com/400x175/?github description: API docs for the searchPlayground plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'searchPlayground'] --- import searchPlaygroundObj from './search_playground.devdocs.json'; diff --git a/api_docs/security.devdocs.json b/api_docs/security.devdocs.json index b0ba5fec59831..1cc7c8e5459c2 100644 --- a/api_docs/security.devdocs.json +++ b/api_docs/security.devdocs.json @@ -1207,13 +1207,7 @@ "text": "I18nStart" }, "; analytics: ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", "; theme: ", { "pluginId": "@kbn/core-theme-browser", @@ -1946,55 +1940,55 @@ }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/security.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/security.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/agent_policy/handlers.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/handlers.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/app/index.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/app/index.ts" }, { "plugin": "profiling", @@ -2036,10 +2030,6 @@ "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/privileges/privileges.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/security/fleet_router.test.ts" - }, { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/actions/api.test.ts" @@ -2399,6 +2389,10 @@ { "plugin": "@kbn/security-authorization-core", "path": "x-pack/packages/security/authorization_core/src/privileges/privileges.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.test.ts" } ], "children": [ @@ -6535,22 +6529,6 @@ "plugin": "observabilityAIAssistant", "path": "x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/server/service/index.ts" }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/api_keys/security.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.ts" - }, { "plugin": "serverlessSearch", "path": "x-pack/plugins/serverless_search/server/routes/api_key_routes.ts" @@ -6567,6 +6545,22 @@ "plugin": "upgradeAssistant", "path": "x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts" + }, { "plugin": "entityManager", "path": "x-pack/platform/plugins/shared/entity_manager/server/lib/auth/api_key/api_key.ts" @@ -6592,20 +6586,20 @@ "path": "x-pack/platform/plugins/shared/entity_manager/server/routes/enablement/disable.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "plugin": "transform", + "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/routes/setup/handlers.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { - "plugin": "transform", - "path": "x-pack/platform/plugins/private/transform/server/routes/api/reauthorize_transforms/route_handler_factory.ts" + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts" }, { "plugin": "synthetics", diff --git a/api_docs/security.mdx b/api_docs/security.mdx index ffe5eb78d2a85..fd69742f4f4a7 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/security title: "security" image: https://source.unsplash.com/400x175/?github description: API docs for the security plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'security'] --- import securityObj from './security.devdocs.json'; diff --git a/api_docs/security_solution.devdocs.json b/api_docs/security_solution.devdocs.json index ec1092b175975..018e688768ea4 100644 --- a/api_docs/security_solution.devdocs.json +++ b/api_docs/security_solution.devdocs.json @@ -522,7 +522,7 @@ "\nExperimental flag needed to enable the link" ], "signature": [ - "\"assistantModelEvaluation\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | \"newExpandableFlyoutNavigationEnabled\" | \"crowdstrikeRunScriptEnabled\" | \"assetInventoryStoreEnabled\" | undefined" + "\"assistantModelEvaluation\" | \"attackDiscoveryAlertFiltering\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | \"newExpandableFlyoutNavigationEnabled\" | \"crowdstrikeRunScriptEnabled\" | \"assetInventoryStoreEnabled\" | undefined" ], "path": "x-pack/solutions/security/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -602,7 +602,7 @@ "\nExperimental flag needed to disable the link. Opposite of experimentalKey" ], "signature": [ - "\"assistantModelEvaluation\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | \"newExpandableFlyoutNavigationEnabled\" | \"crowdstrikeRunScriptEnabled\" | \"assetInventoryStoreEnabled\" | undefined" + "\"assistantModelEvaluation\" | \"attackDiscoveryAlertFiltering\" | \"defendInsights\" | \"alertSuppressionForSequenceEqlRuleEnabled\" | \"excludePoliciesInFilterEnabled\" | \"kubernetesEnabled\" | \"donutChartEmbeddablesEnabled\" | \"previewTelemetryUrlEnabled\" | \"extendedRuleExecutionLoggingEnabled\" | \"socTrendsEnabled\" | \"responseActionUploadEnabled\" | \"automatedProcessActionsEnabled\" | \"responseActionsSentinelOneV1Enabled\" | \"responseActionsSentinelOneV2Enabled\" | \"responseActionsSentinelOneGetFileEnabled\" | \"responseActionsSentinelOneKillProcessEnabled\" | \"responseActionsSentinelOneProcessesEnabled\" | \"responseActionsCrowdstrikeManualHostIsolationEnabled\" | \"endpointManagementSpaceAwarenessEnabled\" | \"securitySolutionNotesDisabled\" | \"newUserDetailsFlyoutManagedUser\" | \"riskScoringPersistence\" | \"riskScoringRoutesEnabled\" | \"esqlRulesDisabled\" | \"protectionUpdatesEnabled\" | \"disableTimelineSaveTour\" | \"riskEnginePrivilegesRouteEnabled\" | \"sentinelOneDataInAnalyzerEnabled\" | \"sentinelOneManualHostActionsEnabled\" | \"crowdstrikeDataInAnalyzerEnabled\" | \"responseActionsTelemetryEnabled\" | \"jamfDataInAnalyzerEnabled\" | \"timelineEsqlTabDisabled\" | \"analyzerDatePickersAndSourcererDisabled\" | \"graphVisualizationInFlyoutEnabled\" | \"prebuiltRulesCustomizationEnabled\" | \"malwareOnWriteScanOptionAvailable\" | \"unifiedManifestEnabled\" | \"valueListItemsModalEnabled\" | \"filterProcessDescendantsForEventFiltersEnabled\" | \"dataIngestionHubEnabled\" | \"entityStoreDisabled\" | \"serviceEntityStoreEnabled\" | \"siemMigrationsEnabled\" | \"newExpandableFlyoutNavigationEnabled\" | \"crowdstrikeRunScriptEnabled\" | \"assetInventoryStoreEnabled\" | undefined" ], "path": "x-pack/solutions/security/plugins/security_solution/public/common/links/types.ts", "deprecated": false, @@ -851,13 +851,7 @@ "\nLocations where the link is visible in the UI" ], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLinkLocations", - "text": "AppDeepLinkLocations" - }, + "AppDeepLinkLocations", "[] | undefined" ], "path": "x-pack/solutions/security/plugins/security_solution/public/common/links/types.ts", @@ -1882,7 +1876,7 @@ "label": "experimentalFeatures", "description": [], "signature": [ - "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" + "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly attackDiscoveryAlertFiltering: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" ], "path": "x-pack/solutions/security/plugins/security_solution/public/types.ts", "deprecated": false, @@ -3130,7 +3124,7 @@ "\nThe security solution generic experimental features" ], "signature": [ - "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" + "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly attackDiscoveryAlertFiltering: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" ], "path": "x-pack/solutions/security/plugins/security_solution/server/plugin_contract.ts", "deprecated": false, @@ -3303,7 +3297,7 @@ "label": "ExperimentalFeatures", "description": [], "signature": [ - "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" + "{ readonly alertSuppressionForSequenceEqlRuleEnabled: boolean; readonly excludePoliciesInFilterEnabled: boolean; readonly kubernetesEnabled: boolean; readonly donutChartEmbeddablesEnabled: boolean; readonly previewTelemetryUrlEnabled: boolean; readonly extendedRuleExecutionLoggingEnabled: boolean; readonly socTrendsEnabled: boolean; readonly responseActionUploadEnabled: boolean; readonly automatedProcessActionsEnabled: boolean; readonly responseActionsSentinelOneV1Enabled: boolean; readonly responseActionsSentinelOneV2Enabled: boolean; readonly responseActionsSentinelOneGetFileEnabled: boolean; readonly responseActionsSentinelOneKillProcessEnabled: boolean; readonly responseActionsSentinelOneProcessesEnabled: boolean; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: boolean; readonly endpointManagementSpaceAwarenessEnabled: boolean; readonly securitySolutionNotesDisabled: boolean; readonly assistantModelEvaluation: boolean; readonly attackDiscoveryAlertFiltering: boolean; readonly newUserDetailsFlyoutManagedUser: boolean; readonly riskScoringPersistence: boolean; readonly riskScoringRoutesEnabled: boolean; readonly esqlRulesDisabled: boolean; readonly protectionUpdatesEnabled: boolean; readonly disableTimelineSaveTour: boolean; readonly riskEnginePrivilegesRouteEnabled: boolean; readonly sentinelOneDataInAnalyzerEnabled: boolean; readonly sentinelOneManualHostActionsEnabled: boolean; readonly crowdstrikeDataInAnalyzerEnabled: boolean; readonly responseActionsTelemetryEnabled: boolean; readonly jamfDataInAnalyzerEnabled: boolean; readonly timelineEsqlTabDisabled: boolean; readonly analyzerDatePickersAndSourcererDisabled: boolean; readonly graphVisualizationInFlyoutEnabled: boolean; readonly prebuiltRulesCustomizationEnabled: boolean; readonly malwareOnWriteScanOptionAvailable: boolean; readonly unifiedManifestEnabled: boolean; readonly valueListItemsModalEnabled: boolean; readonly filterProcessDescendantsForEventFiltersEnabled: boolean; readonly dataIngestionHubEnabled: boolean; readonly entityStoreDisabled: boolean; readonly serviceEntityStoreEnabled: boolean; readonly siemMigrationsEnabled: boolean; readonly defendInsights: boolean; readonly newExpandableFlyoutNavigationEnabled: boolean; readonly crowdstrikeRunScriptEnabled: boolean; readonly assetInventoryStoreEnabled: boolean; }" ], "path": "x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts", "deprecated": false, @@ -3369,7 +3363,7 @@ "\nA list of allowed values that can be used in `xpack.securitySolution.enableExperimental`.\nThis object is then used to validate and parse the value entered." ], "signature": [ - "{ readonly alertSuppressionForSequenceEqlRuleEnabled: true; readonly excludePoliciesInFilterEnabled: false; readonly kubernetesEnabled: false; readonly donutChartEmbeddablesEnabled: false; readonly previewTelemetryUrlEnabled: false; readonly extendedRuleExecutionLoggingEnabled: false; readonly socTrendsEnabled: false; readonly responseActionUploadEnabled: true; readonly automatedProcessActionsEnabled: true; readonly responseActionsSentinelOneV1Enabled: true; readonly responseActionsSentinelOneV2Enabled: true; readonly responseActionsSentinelOneGetFileEnabled: true; readonly responseActionsSentinelOneKillProcessEnabled: true; readonly responseActionsSentinelOneProcessesEnabled: true; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: true; readonly endpointManagementSpaceAwarenessEnabled: false; readonly securitySolutionNotesDisabled: false; readonly assistantModelEvaluation: false; readonly newUserDetailsFlyoutManagedUser: false; readonly riskScoringPersistence: true; readonly riskScoringRoutesEnabled: true; readonly esqlRulesDisabled: false; readonly protectionUpdatesEnabled: true; readonly disableTimelineSaveTour: false; readonly riskEnginePrivilegesRouteEnabled: true; readonly sentinelOneDataInAnalyzerEnabled: true; readonly sentinelOneManualHostActionsEnabled: true; readonly crowdstrikeDataInAnalyzerEnabled: true; readonly responseActionsTelemetryEnabled: false; readonly jamfDataInAnalyzerEnabled: true; readonly timelineEsqlTabDisabled: false; readonly analyzerDatePickersAndSourcererDisabled: false; readonly graphVisualizationInFlyoutEnabled: false; readonly prebuiltRulesCustomizationEnabled: false; readonly malwareOnWriteScanOptionAvailable: true; readonly unifiedManifestEnabled: true; readonly valueListItemsModalEnabled: true; readonly filterProcessDescendantsForEventFiltersEnabled: true; readonly dataIngestionHubEnabled: false; readonly entityStoreDisabled: false; readonly serviceEntityStoreEnabled: false; readonly siemMigrationsEnabled: false; readonly defendInsights: false; readonly newExpandableFlyoutNavigationEnabled: false; readonly crowdstrikeRunScriptEnabled: false; readonly assetInventoryStoreEnabled: false; }" + "{ readonly alertSuppressionForSequenceEqlRuleEnabled: true; readonly excludePoliciesInFilterEnabled: false; readonly kubernetesEnabled: false; readonly donutChartEmbeddablesEnabled: false; readonly previewTelemetryUrlEnabled: false; readonly extendedRuleExecutionLoggingEnabled: false; readonly socTrendsEnabled: false; readonly responseActionUploadEnabled: true; readonly automatedProcessActionsEnabled: true; readonly responseActionsSentinelOneV1Enabled: true; readonly responseActionsSentinelOneV2Enabled: true; readonly responseActionsSentinelOneGetFileEnabled: true; readonly responseActionsSentinelOneKillProcessEnabled: true; readonly responseActionsSentinelOneProcessesEnabled: true; readonly responseActionsCrowdstrikeManualHostIsolationEnabled: true; readonly endpointManagementSpaceAwarenessEnabled: false; readonly securitySolutionNotesDisabled: false; readonly assistantModelEvaluation: false; readonly attackDiscoveryAlertFiltering: false; readonly newUserDetailsFlyoutManagedUser: false; readonly riskScoringPersistence: true; readonly riskScoringRoutesEnabled: true; readonly esqlRulesDisabled: false; readonly protectionUpdatesEnabled: true; readonly disableTimelineSaveTour: false; readonly riskEnginePrivilegesRouteEnabled: true; readonly sentinelOneDataInAnalyzerEnabled: true; readonly sentinelOneManualHostActionsEnabled: true; readonly crowdstrikeDataInAnalyzerEnabled: true; readonly responseActionsTelemetryEnabled: false; readonly jamfDataInAnalyzerEnabled: true; readonly timelineEsqlTabDisabled: false; readonly analyzerDatePickersAndSourcererDisabled: false; readonly graphVisualizationInFlyoutEnabled: false; readonly prebuiltRulesCustomizationEnabled: false; readonly malwareOnWriteScanOptionAvailable: true; readonly unifiedManifestEnabled: true; readonly valueListItemsModalEnabled: true; readonly filterProcessDescendantsForEventFiltersEnabled: true; readonly dataIngestionHubEnabled: false; readonly entityStoreDisabled: false; readonly serviceEntityStoreEnabled: false; readonly siemMigrationsEnabled: false; readonly defendInsights: false; readonly newExpandableFlyoutNavigationEnabled: false; readonly crowdstrikeRunScriptEnabled: false; readonly assetInventoryStoreEnabled: false; }" ], "path": "x-pack/solutions/security/plugins/security_solution/common/experimental_features.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index 3b5feba458987..f99235462fcfb 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolution title: "securitySolution" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolution plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolution'] --- import securitySolutionObj from './security_solution.devdocs.json'; diff --git a/api_docs/security_solution_ess.mdx b/api_docs/security_solution_ess.mdx index 0908185957cb5..d9dee83f7e421 100644 --- a/api_docs/security_solution_ess.mdx +++ b/api_docs/security_solution_ess.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionEss title: "securitySolutionEss" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionEss plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionEss'] --- import securitySolutionEssObj from './security_solution_ess.devdocs.json'; diff --git a/api_docs/security_solution_serverless.mdx b/api_docs/security_solution_serverless.mdx index 520a54ce27c66..6c74ea5ce231d 100644 --- a/api_docs/security_solution_serverless.mdx +++ b/api_docs/security_solution_serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/securitySolutionServerless title: "securitySolutionServerless" image: https://source.unsplash.com/400x175/?github description: API docs for the securitySolutionServerless plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'securitySolutionServerless'] --- import securitySolutionServerlessObj from './security_solution_serverless.devdocs.json'; diff --git a/api_docs/serverless.mdx b/api_docs/serverless.mdx index 00ae94ae23ed7..73aa5e784798a 100644 --- a/api_docs/serverless.mdx +++ b/api_docs/serverless.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverless title: "serverless" image: https://source.unsplash.com/400x175/?github description: API docs for the serverless plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverless'] --- import serverlessObj from './serverless.devdocs.json'; diff --git a/api_docs/serverless_observability.mdx b/api_docs/serverless_observability.mdx index 3ada99171b077..cd38bf2f77de6 100644 --- a/api_docs/serverless_observability.mdx +++ b/api_docs/serverless_observability.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessObservability title: "serverlessObservability" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessObservability plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessObservability'] --- import serverlessObservabilityObj from './serverless_observability.devdocs.json'; diff --git a/api_docs/serverless_search.mdx b/api_docs/serverless_search.mdx index 8cf09c5aa74fe..1be99925d2d20 100644 --- a/api_docs/serverless_search.mdx +++ b/api_docs/serverless_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/serverlessSearch title: "serverlessSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the serverlessSearch plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'serverlessSearch'] --- import serverlessSearchObj from './serverless_search.devdocs.json'; diff --git a/api_docs/session_view.mdx b/api_docs/session_view.mdx index 61811c4ea2ca8..9d0cf6a316d51 100644 --- a/api_docs/session_view.mdx +++ b/api_docs/session_view.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/sessionView title: "sessionView" image: https://source.unsplash.com/400x175/?github description: API docs for the sessionView plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'sessionView'] --- import sessionViewObj from './session_view.devdocs.json'; diff --git a/api_docs/share.devdocs.json b/api_docs/share.devdocs.json index 36ca1c42b9b08..99be9475ead0f 100644 --- a/api_docs/share.devdocs.json +++ b/api_docs/share.devdocs.json @@ -901,13 +901,13 @@ "deprecated": true, "trackAdoption": false, "references": [ - { - "plugin": "@kbn/reporting-public", - "path": "packages/kbn-reporting/public/share/share_context_menu/register_pdf_png_modal_reporting.tsx" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/main/components/top_nav/app_menu_actions/get_share.tsx" + }, + { + "plugin": "@kbn/reporting-public", + "path": "packages/kbn-reporting/public/share/share_context_menu/register_pdf_png_modal_reporting.tsx" } ] }, diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 9f3775149e532..97c021292c147 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/share title: "share" image: https://source.unsplash.com/400x175/?github description: API docs for the share plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'share'] --- import shareObj from './share.devdocs.json'; diff --git a/api_docs/slo.devdocs.json b/api_docs/slo.devdocs.json index 10274a3f7c2c0..1469c068bd2ca 100644 --- a/api_docs/slo.devdocs.json +++ b/api_docs/slo.devdocs.json @@ -846,23 +846,11 @@ "text": "NavigationSection" }, "[]>) => void; }; updateGlobalNavigation: ({ capabilities, deepLinks, updater$, }: { capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>; deepLinks: ", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppDeepLink", - "text": "AppDeepLink" - }, + "AppDeepLink", "[]; updater$: ", "Subject", "<", - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.AppUpdater", - "text": "AppUpdater" - }, + "AppUpdater", ">; }) => void; }" ], "path": "x-pack/solutions/observability/plugins/slo/public/types.ts", diff --git a/api_docs/slo.mdx b/api_docs/slo.mdx index 45d0b4391d793..05135e9a94fb9 100644 --- a/api_docs/slo.mdx +++ b/api_docs/slo.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/slo title: "slo" image: https://source.unsplash.com/400x175/?github description: API docs for the slo plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'slo'] --- import sloObj from './slo.devdocs.json'; diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index 982bb1c7af239..51fea46d7896c 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/snapshotRestore title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github description: API docs for the snapshotRestore plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'snapshotRestore'] --- import snapshotRestoreObj from './snapshot_restore.devdocs.json'; diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index b2983ff1de61c..ef9f4c49f3546 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/spaces title: "spaces" image: https://source.unsplash.com/400x175/?github description: API docs for the spaces plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'spaces'] --- import spacesObj from './spaces.devdocs.json'; diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 36e02d9096ae0..f839c1ce44082 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackAlerts title: "stackAlerts" image: https://source.unsplash.com/400x175/?github description: API docs for the stackAlerts plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackAlerts'] --- import stackAlertsObj from './stack_alerts.devdocs.json'; diff --git a/api_docs/stack_connectors.mdx b/api_docs/stack_connectors.mdx index 7a25e6aba1565..21d7e6c28333c 100644 --- a/api_docs/stack_connectors.mdx +++ b/api_docs/stack_connectors.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/stackConnectors title: "stackConnectors" image: https://source.unsplash.com/400x175/?github description: API docs for the stackConnectors plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'stackConnectors'] --- import stackConnectorsObj from './stack_connectors.devdocs.json'; diff --git a/api_docs/streams.devdocs.json b/api_docs/streams.devdocs.json index 4e6151b341ba7..742a88ca60f17 100644 --- a/api_docs/streams.devdocs.json +++ b/api_docs/streams.devdocs.json @@ -71,7 +71,7 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"POST /api/streams/{id}/schema/fields_simulation\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ field_definitions: Zod.ZodArray; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }>, ", + "<\"POST /api/streams/{id}/schema/fields_simulation\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ field_definitions: Zod.ZodArray; format: Zod.ZodOptional; }, { name: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }>, ", "StreamsRouteHandlerResources", ", { status: \"unknown\" | \"success\" | \"failure\"; simulationError: string | null; documentsWithRuntimeFieldsApplied: unknown[] | null; }, undefined>; \"GET /api/streams/{id}/schema/unmapped_fields\": ", { @@ -92,17 +92,53 @@ "text": "ServerRoute" }, "<\"POST /api/streams/{id}/_sample\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ condition: Zod.ZodOptional>; start: Zod.ZodOptional; end: Zod.ZodOptional; number: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }, { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }, { path: { id: string; }; body: { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }>, ", "StreamsRouteHandlerResources", ", { documents: unknown[]; }, undefined>; \"POST /api/streams/_disable\": ", @@ -147,11 +183,39 @@ }, "<\"GET /api/streams\", Zod.ZodObject<{}, \"strip\", Zod.ZodTypeAny, {}, {}>, ", "StreamsRouteHandlerResources", - ", { definitions: { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }[]; }, undefined>; \"DELETE /api/streams/{id}\": ", + ", { streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }, undefined>; \"DELETE /api/streams/{id}\": ", { "pluginId": "@kbn/server-route-repository-utils", "scope": "common", @@ -169,39 +233,327 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"PUT /api/streams/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ processing: Zod.ZodDefault; body: Zod.ZodUnion<[Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodDiscriminatedUnion<\"type\", [Zod.ZodObject<{ type: Zod.ZodLiteral<\"grok\">; field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"dissect\">; field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { type: \"dissect\"; field: string; pattern: string; }, { type: \"dissect\"; field: string; pattern: string; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }>, \"many\">>; fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">>; managed: Zod.ZodDefault; children: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { id: string; condition?: ", - "Condition", - "; }, { id: string; condition?: ", - "Condition", - "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; }, { children?: { id: string; condition?: ", - "Condition", - "; }[] | undefined; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; }; }, { path: { id: string; }; body: { children?: { id: string; condition?: ", - "Condition", - "; }[] | undefined; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; }; }>, ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>, Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; } | { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; }, { path: { id: string; }; body: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; } | { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; }>, ", "StreamsRouteHandlerResources", ", { acknowledged: boolean; }, undefined>; \"GET /api/streams/{id}\": ", { @@ -213,11 +565,39 @@ }, "<\"GET /api/streams/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; }, { path: { id: string; }; }>, ", "StreamsRouteHandlerResources", - ", { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; inheritedFields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; from: string; format?: string | undefined; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, undefined>; \"POST /api/streams/{id}/_fork\": ", + ", { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, undefined>; \"POST /api/streams/{id}/_fork\": ", { "pluginId": "@kbn/server-route-repository-utils", "scope": "common", @@ -225,46 +605,54 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"POST /api/streams/{id}/_fork\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ stream: Zod.ZodObject>; config: Zod.ZodDiscriminatedUnion<\"type\", [Zod.ZodObject<{ type: Zod.ZodLiteral<\"grok\">; field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"dissect\">; field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { type: \"dissect\"; field: string; pattern: string; }, { type: \"dissect\"; field: string; pattern: string; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }>, \"many\">>; fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">>; managed: Zod.ZodDefault; children: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { id: string; condition?: ", - "Condition", - "; }, { id: string; condition?: ", - "Condition", - "; }>, \"many\">>; }, { id: Zod.ZodString; unmanaged_elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; }>, \"children\">, \"strip\", Zod.ZodTypeAny, { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>; condition: Zod.ZodType<", - "Condition", + "<\"POST /api/streams/{id}/_fork\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ stream: Zod.ZodObject<{ name: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { name: string; }, { name: string; }>; condition: Zod.ZodType<", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, ", Zod.ZodTypeDef, ", - "Condition", - ">; }, \"strip\", Zod.ZodTypeAny, { stream: { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }, { stream: { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { stream: { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }; }, { path: { id: string; }; body: { stream: { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">; }, \"strip\", Zod.ZodTypeAny, { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }; }, { path: { id: string; }; body: { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }>, ", "StreamsRouteHandlerResources", ", { acknowledged: true; }, undefined>; \"POST /api/streams/_resync\": ", @@ -318,40 +706,7 @@ "server": { "classes": [], "functions": [], - "interfaces": [ - { - "parentPluginId": "streams", - "id": "def-server.ListStreamResponse", - "type": "Interface", - "tags": [], - "label": "ListStreamResponse", - "description": [], - "path": "x-pack/solutions/observability/plugins/streams/server/lib/streams/stream_crud.ts", - "deprecated": false, - "trackAdoption": false, - "children": [ - { - "parentPluginId": "streams", - "id": "def-server.ListStreamResponse.definitions", - "type": "Array", - "tags": [], - "label": "definitions", - "description": [], - "signature": [ - "{ id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }[]" - ], - "path": "x-pack/solutions/observability/plugins/streams/server/lib/streams/stream_crud.ts", - "deprecated": false, - "trackAdoption": false - } - ], - "initialIsOpen": false - } - ], + "interfaces": [], "enums": [], "misc": [ { @@ -385,7 +740,7 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"POST /api/streams/{id}/schema/fields_simulation\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ field_definitions: Zod.ZodArray; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }>, ", + "<\"POST /api/streams/{id}/schema/fields_simulation\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ field_definitions: Zod.ZodArray; format: Zod.ZodOptional; }, { name: Zod.ZodString; }>, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">; }, \"strip\", Zod.ZodTypeAny, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }, { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }, { path: { id: string; }; body: { field_definitions: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; }; }>, ", "StreamsRouteHandlerResources", ", { status: \"unknown\" | \"success\" | \"failure\"; simulationError: string | null; documentsWithRuntimeFieldsApplied: unknown[] | null; }, undefined>; \"GET /api/streams/{id}/schema/unmapped_fields\": ", { @@ -406,17 +761,53 @@ "text": "ServerRoute" }, "<\"POST /api/streams/{id}/_sample\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ condition: Zod.ZodOptional>; start: Zod.ZodOptional; end: Zod.ZodOptional; number: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }, { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }, { path: { id: string; }; body: { number?: number | undefined; start?: number | undefined; end?: number | undefined; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }>, ", "StreamsRouteHandlerResources", ", { documents: unknown[]; }, undefined>; \"POST /api/streams/_disable\": ", @@ -461,11 +852,39 @@ }, "<\"GET /api/streams\", Zod.ZodObject<{}, \"strip\", Zod.ZodTypeAny, {}, {}>, ", "StreamsRouteHandlerResources", - ", { definitions: { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }[]; }, undefined>; \"DELETE /api/streams/{id}\": ", + ", { streams: ({ name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; })[]; }, undefined>; \"DELETE /api/streams/{id}\": ", { "pluginId": "@kbn/server-route-repository-utils", "scope": "common", @@ -483,39 +902,327 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"PUT /api/streams/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ processing: Zod.ZodDefault; body: Zod.ZodUnion<[Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodDiscriminatedUnion<\"type\", [Zod.ZodObject<{ type: Zod.ZodLiteral<\"grok\">; field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"dissect\">; field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { type: \"dissect\"; field: string; pattern: string; }, { type: \"dissect\"; field: string; pattern: string; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }>, \"many\">>; fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">>; managed: Zod.ZodDefault; children: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; wired: Zod.ZodObject<{ fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; format?: string | undefined; }>>>; }, \"strip\", Zod.ZodTypeAny, { fields: Record; }, { fields?: Record | undefined; }>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { id: string; condition?: ", - "Condition", - "; }, { id: string; condition?: ", - "Condition", - "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; }, { children?: { id: string; condition?: ", - "Condition", - "; }[] | undefined; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; }; }, { path: { id: string; }; body: { children?: { id: string; condition?: ", - "Condition", - "; }[] | undefined; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; }; }>, ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }, { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }, { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>, Zod.ZodObject<{ ingest: Zod.ZodObject<{ processing: Zod.ZodDefault>; config: Zod.ZodUnion<[Zod.ZodObject<{ grok: Zod.ZodObject<{ field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>; }, \"strip\", Zod.ZodTypeAny, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }, { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; }>, Zod.ZodObject<{ dissect: Zod.ZodObject<{ field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { field: string; pattern: string; }, { field: string; pattern: string; }>; }, \"strip\", Zod.ZodTypeAny, { dissect: { field: string; pattern: string; }; }, { dissect: { field: string; pattern: string; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; routing: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>, \"many\">>; }, \"strip\", Zod.ZodTypeAny, { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }, { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }>; }, \"strict\", Zod.ZodTypeAny, { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }, { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }>]>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; } | { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; }, { path: { id: string; }; body: { ingest: { wired: { fields?: Record | undefined; }; routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; } | { ingest: { routing?: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; processing?: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[] | undefined; }; }; }>, ", "StreamsRouteHandlerResources", ", { acknowledged: boolean; }, undefined>; \"GET /api/streams/{id}\": ", { @@ -527,11 +1234,39 @@ }, "<\"GET /api/streams/{id}\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; }, { path: { id: string; }; }>, ", "StreamsRouteHandlerResources", - ", { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; inheritedFields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; from: string; format?: string | undefined; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, undefined>; \"POST /api/streams/{id}/_fork\": ", + ", { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; inherited_fields: Record; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, undefined>; \"POST /api/streams/{id}/_fork\": ", { "pluginId": "@kbn/server-route-repository-utils", "scope": "common", @@ -539,46 +1274,54 @@ "section": "def-common.ServerRoute", "text": "ServerRoute" }, - "<\"POST /api/streams/{id}/_fork\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ stream: Zod.ZodObject>; config: Zod.ZodDiscriminatedUnion<\"type\", [Zod.ZodObject<{ type: Zod.ZodLiteral<\"grok\">; field: Zod.ZodString; patterns: Zod.ZodArray; pattern_definitions: Zod.ZodOptional>; }, \"strip\", Zod.ZodTypeAny, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }, { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; }>, Zod.ZodObject<{ type: Zod.ZodLiteral<\"dissect\">; field: Zod.ZodString; pattern: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { type: \"dissect\"; field: string; pattern: string; }, { type: \"dissect\"; field: string; pattern: string; }>]>; }, \"strip\", Zod.ZodTypeAny, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }, { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }>, \"many\">>; fields: Zod.ZodDefault; format: Zod.ZodOptional; }, \"strip\", Zod.ZodTypeAny, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }, { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }>, \"many\">>; managed: Zod.ZodDefault; children: Zod.ZodDefault>; }, \"strip\", Zod.ZodTypeAny, { id: string; condition?: ", - "Condition", - "; }, { id: string; condition?: ", - "Condition", - "; }>, \"many\">>; }, { id: Zod.ZodString; unmanaged_elasticsearch_assets: Zod.ZodOptional; id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }, { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }>, \"many\">>; }>, \"children\">, \"strip\", Zod.ZodTypeAny, { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }, { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }>; condition: Zod.ZodType<", - "Condition", + "<\"POST /api/streams/{id}/_fork\", Zod.ZodObject<{ path: Zod.ZodObject<{ id: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { id: string; }, { id: string; }>; body: Zod.ZodObject<{ stream: Zod.ZodObject<{ name: Zod.ZodString; }, \"strip\", Zod.ZodTypeAny, { name: string; }, { name: string; }>; condition: Zod.ZodType<", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, ", Zod.ZodTypeDef, ", - "Condition", - ">; }, \"strip\", Zod.ZodTypeAny, { stream: { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }, { stream: { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { stream: { id: string; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", - "; }; }, { path: { id: string; }; body: { stream: { id: string; fields?: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[] | undefined; managed?: boolean | undefined; processing?: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[] | undefined; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; condition?: ", - "Condition", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + ">; }, \"strip\", Zod.ZodTypeAny, { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }, { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }>; }, \"strip\", Zod.ZodTypeAny, { path: { id: string; }; body: { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }; }, { path: { id: string; }; body: { stream: { name: string; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, "; }; }>, ", "StreamsRouteHandlerResources", ", { acknowledged: true; }, undefined>; \"POST /api/streams/_resync\": ", @@ -644,46 +1387,7 @@ "functions": [], "interfaces": [], "enums": [], - "misc": [ - { - "parentPluginId": "streams", - "id": "def-common.ReadStreamDefinition", - "type": "Type", - "tags": [], - "label": "ReadStreamDefinition", - "description": [], - "signature": [ - "{ id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; inheritedFields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; from: string; format?: string | undefined; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" - ], - "path": "x-pack/solutions/observability/plugins/streams/common/types.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - }, - { - "parentPluginId": "streams", - "id": "def-common.StreamDefinition", - "type": "Type", - "tags": [], - "label": "StreamDefinition", - "description": [], - "signature": [ - "{ id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }" - ], - "path": "x-pack/solutions/observability/plugins/streams/common/types.ts", - "deprecated": false, - "trackAdoption": false, - "initialIsOpen": false - } - ], + "misc": [], "objects": [] } } \ No newline at end of file diff --git a/api_docs/streams.mdx b/api_docs/streams.mdx index 603f7a7aee902..a028f29cc38b6 100644 --- a/api_docs/streams.mdx +++ b/api_docs/streams.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/streams title: "streams" image: https://source.unsplash.com/400x175/?github description: API docs for the streams plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'streams'] --- import streamsObj from './streams.devdocs.json'; @@ -21,7 +21,7 @@ Contact [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/st | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 13 | 0 | 13 | 3 | +| 9 | 0 | 9 | 2 | ## Client @@ -39,14 +39,6 @@ Contact [@elastic/streams-program-team](https://github.com/orgs/elastic/teams/st ### Start -### Interfaces - - ### Consts, variables and types -## Common - -### Consts, variables and types - - diff --git a/api_docs/streams_app.devdocs.json b/api_docs/streams_app.devdocs.json index 0c7fcf59a750f..e8d864dd253ec 100644 --- a/api_docs/streams_app.devdocs.json +++ b/api_docs/streams_app.devdocs.json @@ -112,11 +112,39 @@ "label": "Entity", "description": [], "signature": [ - "EntityBase & { type: \"stream\"; properties: { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; }" + "EntityBase & { type: \"stream\"; properties: { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; }" ], "path": "x-pack/solutions/observability/plugins/streams_app/common/index.ts", "deprecated": false, @@ -131,11 +159,39 @@ "label": "StreamEntity", "description": [], "signature": [ - "EntityBase & { type: \"stream\"; properties: { id: string; children: { id: string; condition?: ", - "Condition", - "; }[]; fields: { type: \"boolean\" | \"ip\" | \"keyword\" | \"date\" | \"long\" | \"double\" | \"match_only_text\"; name: string; format?: string | undefined; }[]; managed: boolean; processing: { config: { type: \"grok\"; field: string; patterns: string[]; pattern_definitions?: Record | undefined; } | { type: \"dissect\"; field: string; pattern: string; }; condition?: ", - "Condition", - "; }[]; unmanaged_elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; }" + "EntityBase & { type: \"stream\"; properties: { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; wired: { fields: Record; }; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; } | { name: string; stream: { ingest: { routing: { name: string; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; processing: { config: { grok: { field: string; patterns: string[]; pattern_definitions?: Record | undefined; }; } | { dissect: { field: string; pattern: string; }; }; condition?: ", + { + "pluginId": "@kbn/streams-schema", + "scope": "common", + "docId": "kibKbnStreamsSchemaPluginApi", + "section": "def-common.Condition", + "text": "Condition" + }, + "; }[]; }; }; elasticsearch_assets?: { id: string; type: \"ingest_pipeline\" | \"data_stream\" | \"index_template\" | \"component_template\"; }[] | undefined; }; }" ], "path": "x-pack/solutions/observability/plugins/streams_app/common/index.ts", "deprecated": false, diff --git a/api_docs/streams_app.mdx b/api_docs/streams_app.mdx index 8d4cac039be64..e88ca34320adb 100644 --- a/api_docs/streams_app.mdx +++ b/api_docs/streams_app.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/streamsApp title: "streamsApp" image: https://source.unsplash.com/400x175/?github description: API docs for the streamsApp plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'streamsApp'] --- import streamsAppObj from './streams_app.devdocs.json'; diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 86d2807a8bf14..5ab8e0d5b694e 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/taskManager title: "taskManager" image: https://source.unsplash.com/400x175/?github description: API docs for the taskManager plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'taskManager'] --- import taskManagerObj from './task_manager.devdocs.json'; diff --git a/api_docs/telemetry.devdocs.json b/api_docs/telemetry.devdocs.json index 9d6b148161993..2ca90344270ea 100644 --- a/api_docs/telemetry.devdocs.json +++ b/api_docs/telemetry.devdocs.json @@ -805,15 +805,7 @@ "references": [ { "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/telemetry/sender.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/telemetry/sender.test.ts" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/server/telemetry/sender.test.ts" + "path": "x-pack/platform/plugins/shared/fleet/server/telemetry/sender.ts" }, { "plugin": "datasetQuality", @@ -827,6 +819,14 @@ "plugin": "securitySolution", "path": "x-pack/solutions/security/plugins/security_solution/server/lib/telemetry/sender_helpers.ts" }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/telemetry/sender.test.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/platform/plugins/shared/fleet/server/telemetry/sender.test.ts" + }, { "plugin": "synthetics", "path": "x-pack/solutions/observability/plugins/synthetics/server/telemetry/sender.ts" diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index fddec6a03f87a..33df16ef57e92 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetry title: "telemetry" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetry plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetry'] --- import telemetryObj from './telemetry.devdocs.json'; diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 0b29801ec48f9..b3b492a12fa41 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryCollectionManager title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryCollectionManager plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryCollectionManager'] --- import telemetryCollectionManagerObj from './telemetry_collection_manager.devdocs.json'; diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 037e4ce392cc8..0981bb1fc7fb5 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/telemetryManagementSection title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github description: API docs for the telemetryManagementSection plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'telemetryManagementSection'] --- import telemetryManagementSectionObj from './telemetry_management_section.devdocs.json'; diff --git a/api_docs/threat_intelligence.mdx b/api_docs/threat_intelligence.mdx index 43f1f898340d4..559a2a520352b 100644 --- a/api_docs/threat_intelligence.mdx +++ b/api_docs/threat_intelligence.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/threatIntelligence title: "threatIntelligence" image: https://source.unsplash.com/400x175/?github description: API docs for the threatIntelligence plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'threatIntelligence'] --- import threatIntelligenceObj from './threat_intelligence.devdocs.json'; diff --git a/api_docs/timelines.devdocs.json b/api_docs/timelines.devdocs.json index 5b3aed833470c..4b0fbbe202505 100644 --- a/api_docs/timelines.devdocs.json +++ b/api_docs/timelines.devdocs.json @@ -1017,13 +1017,7 @@ "text": "I18nStart" }, "; analytics: ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", "; theme: ", { "pluginId": "@kbn/core-theme-browser", @@ -1178,13 +1172,7 @@ "text": "I18nStart" }, "; analytics: ", - { - "pluginId": "@kbn/core-analytics-browser", - "scope": "public", - "docId": "kibKbnCoreAnalyticsBrowserPluginApi", - "section": "def-public.AnalyticsServiceStart", - "text": "AnalyticsServiceStart" - }, + "AnalyticsServiceStart", "; theme: ", { "pluginId": "@kbn/core-theme-browser", diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index ff00b7f747d4b..4a3e0f1b484a5 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/timelines title: "timelines" image: https://source.unsplash.com/400x175/?github description: API docs for the timelines plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'timelines'] --- import timelinesObj from './timelines.devdocs.json'; diff --git a/api_docs/transform.mdx b/api_docs/transform.mdx index e261a7ede948c..35c063a8b7c53 100644 --- a/api_docs/transform.mdx +++ b/api_docs/transform.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/transform title: "transform" image: https://source.unsplash.com/400x175/?github description: API docs for the transform plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'transform'] --- import transformObj from './transform.devdocs.json'; diff --git a/api_docs/triggers_actions_ui.devdocs.json b/api_docs/triggers_actions_ui.devdocs.json index 8d469da5e53df..29cf93d49aa38 100644 --- a/api_docs/triggers_actions_ui.devdocs.json +++ b/api_docs/triggers_actions_ui.devdocs.json @@ -5744,13 +5744,7 @@ "label": "history", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ScopedHistory", - "text": "ScopedHistory" - }, + "ScopedHistory", "" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/rules_app.tsx", diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 31b08672aa1d2..25f66cdaa46ca 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/triggersActionsUi title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github description: API docs for the triggersActionsUi plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'triggersActionsUi'] --- import triggersActionsUiObj from './triggers_actions_ui.devdocs.json'; diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 0d5e78b0534f5..57f93e7f00d9f 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActions title: "uiActions" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActions plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActions'] --- import uiActionsObj from './ui_actions.devdocs.json'; diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 56e0202da126f..e5d53b30e6c6b 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uiActionsEnhanced title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github description: API docs for the uiActionsEnhanced plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uiActionsEnhanced'] --- import uiActionsEnhancedObj from './ui_actions_enhanced.devdocs.json'; diff --git a/api_docs/unified_doc_viewer.mdx b/api_docs/unified_doc_viewer.mdx index 69ba5da96dba5..40fdeb94647ea 100644 --- a/api_docs/unified_doc_viewer.mdx +++ b/api_docs/unified_doc_viewer.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedDocViewer title: "unifiedDocViewer" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedDocViewer plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedDocViewer'] --- import unifiedDocViewerObj from './unified_doc_viewer.devdocs.json'; diff --git a/api_docs/unified_histogram.mdx b/api_docs/unified_histogram.mdx index 26f1472298184..57501e26d22f5 100644 --- a/api_docs/unified_histogram.mdx +++ b/api_docs/unified_histogram.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedHistogram title: "unifiedHistogram" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedHistogram plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedHistogram'] --- import unifiedHistogramObj from './unified_histogram.devdocs.json'; diff --git a/api_docs/unified_search.devdocs.json b/api_docs/unified_search.devdocs.json index 7cf8791b9a017..8297dd04d1d15 100644 --- a/api_docs/unified_search.devdocs.json +++ b/api_docs/unified_search.devdocs.json @@ -1503,13 +1503,7 @@ "label": "application", "description": [], "signature": [ - { - "pluginId": "@kbn/core-application-browser", - "scope": "public", - "docId": "kibKbnCoreApplicationBrowserPluginApi", - "section": "def-public.ApplicationStart", - "text": "ApplicationStart" - } + "ApplicationStart" ], "path": "src/plugins/unified_search/public/types.ts", "deprecated": false, diff --git a/api_docs/unified_search.mdx b/api_docs/unified_search.mdx index 0894f9585033f..016d3274babac 100644 --- a/api_docs/unified_search.mdx +++ b/api_docs/unified_search.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch title: "unifiedSearch" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch'] --- import unifiedSearchObj from './unified_search.devdocs.json'; diff --git a/api_docs/unified_search_autocomplete.mdx b/api_docs/unified_search_autocomplete.mdx index c294c0c4bf70f..591a72c36e131 100644 --- a/api_docs/unified_search_autocomplete.mdx +++ b/api_docs/unified_search_autocomplete.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/unifiedSearch-autocomplete title: "unifiedSearch.autocomplete" image: https://source.unsplash.com/400x175/?github description: API docs for the unifiedSearch.autocomplete plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'unifiedSearch.autocomplete'] --- import unifiedSearchAutocompleteObj from './unified_search_autocomplete.devdocs.json'; diff --git a/api_docs/uptime.mdx b/api_docs/uptime.mdx index bee481d502838..f10273349b27e 100644 --- a/api_docs/uptime.mdx +++ b/api_docs/uptime.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/uptime title: "uptime" image: https://source.unsplash.com/400x175/?github description: API docs for the uptime plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'uptime'] --- import uptimeObj from './uptime.devdocs.json'; diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 5b2100fb8bd58..1592f37cafc68 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/urlForwarding title: "urlForwarding" image: https://source.unsplash.com/400x175/?github description: API docs for the urlForwarding plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'urlForwarding'] --- import urlForwardingObj from './url_forwarding.devdocs.json'; diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index c84419490492c..c21e5dff08ee0 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/usageCollection title: "usageCollection" image: https://source.unsplash.com/400x175/?github description: API docs for the usageCollection plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'usageCollection'] --- import usageCollectionObj from './usage_collection.devdocs.json'; diff --git a/api_docs/ux.mdx b/api_docs/ux.mdx index fd1e23ac0cb76..f4c547c9d6a7b 100644 --- a/api_docs/ux.mdx +++ b/api_docs/ux.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/ux title: "ux" image: https://source.unsplash.com/400x175/?github description: API docs for the ux plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'ux'] --- import uxObj from './ux.devdocs.json'; diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 2f331689077e5..c67a89ad896a5 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visDefaultEditor title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github description: API docs for the visDefaultEditor plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visDefaultEditor'] --- import visDefaultEditorObj from './vis_default_editor.devdocs.json'; diff --git a/api_docs/vis_type_gauge.mdx b/api_docs/vis_type_gauge.mdx index cd97f3161e2ce..55031b72b781a 100644 --- a/api_docs/vis_type_gauge.mdx +++ b/api_docs/vis_type_gauge.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeGauge title: "visTypeGauge" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeGauge plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeGauge'] --- import visTypeGaugeObj from './vis_type_gauge.devdocs.json'; diff --git a/api_docs/vis_type_heatmap.mdx b/api_docs/vis_type_heatmap.mdx index 4946d9952b8d8..7ffe4e3e88222 100644 --- a/api_docs/vis_type_heatmap.mdx +++ b/api_docs/vis_type_heatmap.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeHeatmap title: "visTypeHeatmap" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeHeatmap plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeHeatmap'] --- import visTypeHeatmapObj from './vis_type_heatmap.devdocs.json'; diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index 687dd4d4af126..f9f935396273c 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypePie title: "visTypePie" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypePie plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypePie'] --- import visTypePieObj from './vis_type_pie.devdocs.json'; diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index efe006644b1fc..013f3365da300 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTable title: "visTypeTable" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTable plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTable'] --- import visTypeTableObj from './vis_type_table.devdocs.json'; diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index e402aae56d787..d55c167c78fd8 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimelion title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimelion plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimelion'] --- import visTypeTimelionObj from './vis_type_timelion.devdocs.json'; diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index 78192285cec3b..67a1c4e8a7136 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeTimeseries title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeTimeseries plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeTimeseries'] --- import visTypeTimeseriesObj from './vis_type_timeseries.devdocs.json'; diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 7a6af373968b2..a41379b8f1f62 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVega title: "visTypeVega" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVega plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVega'] --- import visTypeVegaObj from './vis_type_vega.devdocs.json'; diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 87bc72ae23455..7bbd976befa98 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeVislib title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeVislib plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeVislib'] --- import visTypeVislibObj from './vis_type_vislib.devdocs.json'; diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 678d5f6d86d23..e47ed8e4df024 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visTypeXy title: "visTypeXy" image: https://source.unsplash.com/400x175/?github description: API docs for the visTypeXy plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visTypeXy'] --- import visTypeXyObj from './vis_type_xy.devdocs.json'; diff --git a/api_docs/visualizations.devdocs.json b/api_docs/visualizations.devdocs.json index b2d6fbc1eeec7..0a94dce7a5404 100644 --- a/api_docs/visualizations.devdocs.json +++ b/api_docs/visualizations.devdocs.json @@ -1339,15 +1339,15 @@ "references": [ { "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts" + "path": "x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts" + "path": "x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts" + "path": "x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts" } ], "children": [ diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index a955c583983a5..3880e0c0d0b00 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/visualizations title: "visualizations" image: https://source.unsplash.com/400x175/?github description: API docs for the visualizations plugin -date: 2024-12-21 +date: 2024-12-26 tags: ['contributor', 'dev', 'apidocs', 'kibana', 'visualizations'] --- import visualizationsObj from './visualizations.devdocs.json'; diff --git a/docs/action-type-template.asciidoc b/docs/action-type-template.asciidoc index ad59f2a2d9ed6..c58084eafb741 100644 --- a/docs/action-type-template.asciidoc +++ b/docs/action-type-template.asciidoc @@ -24,7 +24,7 @@ or as needed when you're creating a rule. //// List of user-facing connector configurations. This should align with the fields available in the Create connector flyout form for this connector type. -To include these configuration details in the API documentation, add appropriate files in x-pack/plugins/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml +To include these configuration details in the API documentation, add appropriate files in x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml //// Property1:: A short description of this property. @@ -45,7 +45,7 @@ You can test connectors as you're creating or editing the connector in {kib}. //// List of user-facing action configurations. This should align with the fields available in the Action section of the Create/Update alert flyout. -To include these configuration details in the API documentation, add appropriate files in x-pack/plugins/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml +To include these configuration details in the API documentation, add appropriate files in x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ and reference them from oas_docs/overlays/connectors.overlays.yaml //// Property1:: A short description of this property. diff --git a/docs/developer/architecture/core/application_service.asciidoc b/docs/developer/architecture/core/application_service.asciidoc index 31b0a3d2a4356..66a0c09c60eb3 100644 --- a/docs/developer/architecture/core/application_service.asciidoc +++ b/docs/developer/architecture/core/application_service.asciidoc @@ -29,7 +29,7 @@ export class MyPlugin implements Plugin { } } ---- -<1> Refer to {kib-repo}/blob/8.9/packages/core/application/core-application-browser/src/contracts.ts[application.register interface] +<1> Refer to {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[application.register interface] <2> Application specific URL. <3> `mount` callback is invoked when a user navigates to the application-specific URL. <4> `core.getStartServices` method provides API available during `start` lifecycle. diff --git a/docs/developer/architecture/security/feature-registration.asciidoc b/docs/developer/architecture/security/feature-registration.asciidoc index b16142311cc75..b53df66f9a94e 100644 --- a/docs/developer/architecture/security/feature-registration.asciidoc +++ b/docs/developer/architecture/security/feature-registration.asciidoc @@ -39,7 +39,7 @@ Registering a feature consists of the following fields. For more information, co |A human readable name for your feature. |`category` (required) -|{kib-repo}blob/{branch}/packages/core/application/core-application-common/src/app_category.ts[`AppCategory`] +|{kib-repo}blob/{branch}/src/core/packages/application/common/src/app_category.ts[`AppCategory`] |`DEFAULT_APP_CATEGORIES.kibana` |The `AppCategory` which best represents your feature. Used to organize the display of features within the management screens. diff --git a/docs/developer/best-practices/index.asciidoc b/docs/developer/best-practices/index.asciidoc index 57a10ee06a697..f4c6baab43281 100644 --- a/docs/developer/best-practices/index.asciidoc +++ b/docs/developer/best-practices/index.asciidoc @@ -78,7 +78,7 @@ strategies] *** Use the `esSearchStrategy` to make raw queries to ES that will support async searching and partial results, as well as injecting the right advanced settings like whether to include frozen indices or not. -* {kib-repo}blob/{branch}/src/plugins/embeddable/README.md[Embeddables] +* {kib-repo}blob/{branch}/src/platform/plugins/shared/embeddable/README.md[Embeddables] ** Rendering maps, visualizations, dashboards in your application ** Register new widgets that will can be added to a dashboard or Canvas workpad, or rendered in another plugin. diff --git a/docs/developer/best-practices/navigation.asciidoc b/docs/developer/best-practices/navigation.asciidoc index 6d6ebb38e558b..05247574641af 100644 --- a/docs/developer/best-practices/navigation.asciidoc +++ b/docs/developer/best-practices/navigation.asciidoc @@ -87,13 +87,13 @@ window.location.href = urlToADashboard; To navigate between different {kib} apps without a page reload (by default) there are APIs in `core`: -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToApp] -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToUrl] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToApp] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToUrl] Both methods offer customization such as opening the target in a new page, with an `options` parameter. All the options are optional be default. -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToApp options] -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/contracts.ts[core.application.navigateToUrl options] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToApp options] +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/contracts.ts[core.application.navigateToUrl options] *Rendering a link to a different {kib} app on its own would also cause a full page reload:* @@ -163,8 +163,8 @@ Common rules to follow in this scenario: This is required to make sure `core` is aware of navigations triggered inside your app, so it could act accordingly when needed. -* `Core`'s {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] instance. -* {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/app_mount.ts[Example usage] +* `Core`'s {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] instance. +* {kib-repo}tree/{branch}/src/core/packages/application/browser/src/app_mount.ts[Example usage] * {kib-repo}tree/{branch}/test/plugin_functional/plugins/core_plugin_a/public/application.tsx#L120[Example plugin] Relative links will be resolved relative to your app's route (e.g.: `http://localhost5601/app/{your-app-id}`) @@ -181,14 +181,14 @@ const MyInternalLink = () => === Using history and browser location Try to avoid using `window.location` and `window.history` directly. + -Instead, consider using {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] +Instead, consider using {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] instance provided by `core`. * This way `core` will know about location changes triggered within your app, and it would act accordingly. * Some plugins are listening to location changes. Triggering location change manually could lead to unpredictable and hard-to-catch bugs. Common use-case for using -`core`'s {kib-repo}tree/{branch}/packages/core/application/core-application-browser/src/scoped_history.ts[ScopedHistory] directly: +`core`'s {kib-repo}tree/{branch}/src/core/packages/application/browser/src/scoped_history.ts[ScopedHistory] directly: * Reading/writing query params or hash. * Imperatively triggering internal navigations within your app. diff --git a/docs/developer/contributing/development-tests.asciidoc b/docs/developer/contributing/development-tests.asciidoc index d4a478040b4f8..fc610a2ffca84 100644 --- a/docs/developer/contributing/development-tests.asciidoc +++ b/docs/developer/contributing/development-tests.asciidoc @@ -33,27 +33,27 @@ Kibana primarily uses Jest for unit testing. Each plugin or package defines a `j [source,bash] ---- -yarn jest --config src/plugins/dashboard/jest.config.js +yarn jest --config src/platform/plugins/shared/dashboard/jest.config.js ---- A script is available to provide a better user experience when testing while navigating throughout the repository. To run the tests within your current working directory, use `yarn test:jest`. Like the Jest CLI, you can also supply a path to determine which tests to run. [source,bash] ---- -kibana/src/plugins/dashboard/server$ yarn test:jest #or -kibana/src/plugins/dashboard$ yarn test:jest server #or -kibana$ yarn test:jest src/plugins/dashboard/server +kibana/src/platform/plugins/shared/dashboard/server$ yarn test:jest #or +kibana/src/platform/plugins/shared/dashboard$ yarn test:jest server #or +kibana$ yarn test:jest src/platform/plugins/shared/dashboard/server ---- Any additional options supplied to `test:jest` will be passed onto the Jest CLI with the resulting Jest command always being outputted. [source,bash] ---- -kibana/src/plugins/dashboard/server$ yarn test:jest --coverage +kibana/src/platform/plugins/shared/dashboard/server$ yarn test:jest --coverage # is equivalent to -yarn jest --coverage --verbose --config /home/tyler/elastic/kibana/src/plugins/dashboard/jest.config.js server +yarn jest --coverage --verbose --config /home/tyler/elastic/kibana/src/platform/plugins/shared/dashboard/jest.config.js server ---- You can generate code coverage report for a single plugin. diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index a83771cf598c2..783db9a7919a0 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -44,11 +44,11 @@ as uiSettings within the code. |The content management plugin provides functionality to manage content in Kibana. -|{kib-repo}blob/{branch}/src/plugins/controls/README.mdx[controls] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/controls/README.mdx[controls] |The Controls plugin contains Embeddables which can be used to add user-friendly interactivity to apps. -|{kib-repo}blob/{branch}/src/plugins/custom_integrations/README.md[customIntegrations] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/custom_integrations/README.md[customIntegrations] |Register add-data cards @@ -94,7 +94,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |A stateful layer to register shared features and provide an access point to discover without a direct dependency. -|{kib-repo}blob/{branch}/src/plugins/embeddable/README.md[embeddable] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/embeddable/README.md[embeddable] |Embeddables are React components that manage their own state, can be serialized and deserialized, and return an API that can be used to interact with them imperatively. @@ -118,7 +118,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |This plugin contains the library listing page for event annotation groups. -|{kib-repo}blob/{branch}/src/plugins/expression_error/README.md[expressionError] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_error/README.md[expressionError] |Expression Error plugin adds an error renderer to the expression plugin. The renderer will display the error image. @@ -130,7 +130,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/expression_image/README.md[expressionImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_image/README.md[expressionImage] |Expression Image plugin adds an image renderer to the expression plugin. The renderer will display the given image. @@ -138,7 +138,7 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression MetricVis plugin adds a metric renderer and function to the expression plugin. The renderer will display the metric chart. -|{kib-repo}blob/{branch}/src/plugins/expression_metric/README.md[expressionMetric] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_metric/README.md[expressionMetric] |Expression Metric plugin adds a metric renderer and function to the expression plugin. @@ -150,11 +150,11 @@ This API doesn't support angular, for registering angular dev tools, bootstrap a |Expression Partition Visualization plugin adds a partitionVis renderer and pieVis, mosaicVis, treemapVis, waffleVis functions to the expression plugin. The renderer will display the pie, waffle, treemap and mosaic charts. -|{kib-repo}blob/{branch}/src/plugins/expression_repeat_image/README.md[expressionRepeatImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_repeat_image/README.md[expressionRepeatImage] |Expression Repeat Image plugin adds a repeatImage function to the expression plugin and an associated renderer. The renderer will display the given image in mutliple instances. -|{kib-repo}blob/{branch}/src/plugins/expression_reveal_image/README.md[expressionRevealImage] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_reveal_image/README.md[expressionRevealImage] |Expression Reveal Image plugin adds a revealImage function to the expression plugin and an associated renderer. The renderer will display the given percentage of a given image. @@ -180,7 +180,7 @@ want to incorporate their own functions, types, and renderers into the service for use in their own application. -|{kib-repo}blob/{branch}/src/plugins/expression_shape/README.md[expressionShape] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/expression_shape/README.md[expressionShape] |Expression Shape plugin adds a shape function to the expression plugin and an associated renderer. The renderer will display the given shape with selected decorations. @@ -221,11 +221,11 @@ for use in their own application. Images can be added either by URL or by uploading the image file via file service. -|{kib-repo}blob/{branch}/src/plugins/input_control_vis/README.md[inputControlVis] +|{kib-repo}blob/{branch}/src/platform/plugins/private/input_control_vis/README.md[inputControlVis] |Contains the input control visualization allowing to place custom filter controls on a dashboard. -|{kib-repo}blob/{branch}/src/plugins/inspector/README.md[inspector] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/inspector/README.md[inspector] |The inspector is a contextual tool to gain insights into different elements in Kibana, e.g. visualizations. It has the form of a flyout panel. @@ -250,7 +250,7 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel. |Utilities for building Kibana plugins. -|{kib-repo}blob/{branch}/src/plugins/links/README.md[links] +|{kib-repo}blob/{branch}/src/platform/plugins/private/links/README.md[links] |This plugin adds the Links panel which allows authors to create hard links to navigate on click and bring all context from the source dashboard to the destination dashboard. @@ -260,7 +260,7 @@ to link individual management section into it. This plugin does not contain any management section itself. -|{kib-repo}blob/{branch}/src/plugins/maps_ems/README.md[mapsEms] +|{kib-repo}blob/{branch}/src/platform/plugins/private/maps_ems/README.md[mapsEms] |Utility plugin: @@ -278,11 +278,11 @@ Content is fetched from the remote (https://feeds.elastic.co) once a day, with p |Helps to globally configure the no data page components -|{kib-repo}blob/{branch}/src/plugins/presentation_panel/README.md[presentationPanel] +|{kib-repo}blob/{branch}/src/platform/plugins/private/presentation_panel/README.md[presentationPanel] |The Presentation Panel is the point of contact between any React component and any registered UI actions. Components provided to the Presentation Panel should use an imperative handle to expose methods and state. -|{kib-repo}blob/{branch}/src/plugins/presentation_util/README.mdx[presentationUtil] +|{kib-repo}blob/{branch}/src/platform/plugins/shared/presentation_util/README.mdx[presentationUtil] |The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). @@ -392,7 +392,7 @@ The plugin exposes the static DefaultEditorController class to consume. |WARNING: Missing README. -|{kib-repo}blob/{branch}/src/plugins/vis_type_markdown/README.md[visTypeMarkdown] +|{kib-repo}blob/{branch}/src/platform/plugins/private/vis_type_markdown/README.md[visTypeMarkdown] |The markdown visualization that can be used to place text panels on dashboards. @@ -447,7 +447,7 @@ The plugin exposes the static DefaultEditorController class to consume. |Description -|{kib-repo}blob/{branch}/x-pack/plugins/actions/README.md[actions] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/actions/README.md[actions] |The Kibana actions plugin provides a framework to create executable actions. You can: @@ -455,7 +455,7 @@ The plugin exposes the static DefaultEditorController class to consume. |The plugin provides APIs and components for AIOps features, including the “Log rate analysis” UI, maintained by the ML team. -|{kib-repo}blob/{branch}/x-pack/plugins/alerting/README.md[alerting] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/alerting/README.md[alerting] |The Kibana Alerting plugin provides a common place to set up rules. You can: @@ -475,11 +475,11 @@ The plugin exposes the static DefaultEditorController class to consume. |Allow to add a header banner that will be displayed on every page of the Kibana application -|{kib-repo}blob/{branch}/x-pack/plugins/canvas/README.md[canvas] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/canvas/README.md[canvas] |"Never look back. The past is done. The future is a blank canvas." ― Suzy Kassem, Rise Up and Salute the Sun -|{kib-repo}blob/{branch}/x-pack/plugins/cases/README.md[cases] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/cases/README.md[cases] |This plugin provides cases management in Kibana @@ -584,7 +584,7 @@ security and spaces filtering. |This plugin provides a user interface to interact with the Entity Manager. -|{kib-repo}blob/{branch}/x-pack/plugins/event_log/README.md[eventLog] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/event_log/README.md[eventLog] |The event log plugin provides a persistent history of alerting and action activities. @@ -601,11 +601,11 @@ activities. |The @kbn/fields-metadata-plugin is designed to provide a centralized and asynchronous way to consume field metadata across Kibana. This plugin addresses the need for on-demand retrieval of field metadata from static ECS/Metadata definitions and integration manifests, with the flexibility to extend to additional resolution sources in the future. -|{kib-repo}blob/{branch}/x-pack/plugins/file_upload[fileUpload] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/file_upload[fileUpload] |WARNING: Missing README. -|{kib-repo}blob/{branch}/x-pack/plugins/fleet/README.md[fleet] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/fleet/README.md[fleet] |Fleet provides a web-based UI in Kibana for centrally managing Elastic Agents and their policies. @@ -711,11 +711,11 @@ using the CURL scripts in the scripts folder. |Exposes the shared components and APIs to access and visualize logs. -|{kib-repo}blob/{branch}/x-pack/plugins/logstash[logstash] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/logstash[logstash] |WARNING: Missing README. -|{kib-repo}blob/{branch}/x-pack/plugins/maps/README.md[maps] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/maps/README.md[maps] |Visualize geo data from Elasticsearch or 3rd party geo-services. @@ -728,11 +728,11 @@ using the CURL scripts in the scripts folder. Elastic. -|{kib-repo}blob/{branch}/x-pack/plugins/monitoring/readme.md[monitoring] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/monitoring/readme.md[monitoring] |This plugin provides the Stack Monitoring kibana application. -|{kib-repo}blob/{branch}/x-pack/plugins/monitoring_collection/README.md[monitoringCollection] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/monitoring_collection/README.md[monitoringCollection] |This plugin allows for other plugins to add data to Kibana stack monitoring documents. @@ -764,7 +764,7 @@ Elastic. |This plugin provides an onboarding framework for observability solutions: Logs and APM. -|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/observability_shared/README.md[observabilityShared] +|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/observability_shared/README.md[observabilityShared] |A plugin that contains components and utilities shared by all Observability plugins. @@ -800,7 +800,7 @@ Elastic. |Welcome to the Kibana rollup plugin! This plugin provides Kibana support for Elasticsearch's rollup feature. Please refer to the Elasticsearch documentation to understand rollup indices and how to create rollup jobs. -|{kib-repo}blob/{branch}/x-pack/plugins/rule_registry/README.md[ruleRegistry] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/rule_registry/README.md[ruleRegistry] |The rule registry plugin aims to make it easy for rule type producers to have their rules produce the data that they need to build rich experiences on top of a unified experience, without the risk of mapping conflicts. @@ -903,14 +903,14 @@ This plugin is only enabled when the application is built for serverless project |See Configuring Kibana Spaces. -|{kib-repo}blob/{branch}/x-pack/plugins/stack_alerts/README.md[stackAlerts] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/stack_alerts/README.md[stackAlerts] |This plugin provides alertTypes shipped with Kibana for use with the the alerting plugin. When enabled, it will register the alertTypes by the Stack in the alerting plugin, register associated HTTP routes, etc. -|{kib-repo}blob/{branch}/x-pack/plugins/stack_connectors/README.md[stackConnectors] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/stack_connectors/README.md[stackConnectors] |The stack_connectors plugin provides connector types shipped with Kibana, built on top of the framework provided in the actions plugin. @@ -927,7 +927,7 @@ routes, etc. in their infrastructure. -|{kib-repo}blob/{branch}/x-pack/plugins/task_manager/README.md[taskManager] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/task_manager/README.md[taskManager] |The task manager is a generic system for running background tasks. @@ -952,7 +952,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: @@ -980,9 +980,9 @@ in their infrastructure. |=== -include::{kibana-root}/src/plugins/dashboard/README.asciidoc[leveloffset=+1] +include::{kibana-root}/src/platform/plugins/shared/dashboard/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/expressions/README.asciidoc[leveloffset=+1] include::{kibana-root}/src/plugins/ui_actions/README.asciidoc[leveloffset=+1] -include::{kibana-root}/x-pack/plugins/dashboard_enhanced/README.asciidoc[leveloffset=+1] -include::{kibana-root}/x-pack/plugins/embeddable_enhanced/README.asciidoc[leveloffset=+1] +include::{kibana-root}/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc[leveloffset=+1] +include::{kibana-root}/x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc[leveloffset=+1] include::{kibana-root}/x-pack/platform/plugins/private/translations/README.asciidoc[leveloffset=+1] diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc index 34a9daa1f3d2a..d37bdd96face0 100644 --- a/docs/redirects.asciidoc +++ b/docs/redirects.asciidoc @@ -428,7 +428,7 @@ This connector was renamed. Refer to <>. == APIs For the most up-to-date API details, refer to the -{kib-repo}/tree/{branch}/x-pack/plugins/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/plugins/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/plugins/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications. +{kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/alerting/docs/openapi[alerting], {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/cases/docs/openapi[cases], {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/actions/docs/openapi[connectors], and {kib-repo}/tree/{branch}/x-pack/platform/plugins/shared/ml/common/openapi[machine learning] open API specifications. [role="exclude",id="add-case-connectors"] == Add connectors to cases diff --git a/docs/settings/cases-settings.asciidoc b/docs/settings/cases-settings.asciidoc index 4923e043f8d2b..77c1a514e1c09 100644 --- a/docs/settings/cases-settings.asciidoc +++ b/docs/settings/cases-settings.asciidoc @@ -9,7 +9,7 @@ To provide greater control over case features, you can configure the following s `xpack.cases.files.allowedMimeTypes`:: The MIME types that you can attach to a case, represented in an array of strings. For example: `['image/tiff','text/csv','application/zip'].` -The default MIME types are specified in https://github.com/elastic/kibana/blob/{branch}/x-pack/plugins/cases/common/constants/mime_types.ts[mime_types.ts]. +The default MIME types are specified in https://github.com/elastic/kibana/blob/{branch}/x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts[mime_types.ts]. `xpack.cases.files.maxSize`:: The size limit for files that you can attach to a case, represented as the number of bytes. By default, the limit is 10 MiB for images and 100 MiB for all other MIME types. If you specify a value for this setting, it affects all file types. diff --git a/legacy_rfcs/text/0018_timeslider.md b/legacy_rfcs/text/0018_timeslider.md index aa8e7263260d2..4367c42421d7f 100644 --- a/legacy_rfcs/text/0018_timeslider.md +++ b/legacy_rfcs/text/0018_timeslider.md @@ -82,7 +82,7 @@ export interface TimesliderProps { Any change to `timeslice`, either by dragging the handles of the timeslider, or pressing the back or forward buttons, calls the `onTimesliceChanged` handler. -Since the initial use is inside Maps, the initial location of this React-component is inside the Maps plugin, `x-pack/plugins/maps/public/timeslider`. +Since the initial use is inside Maps, the initial location of this React-component is inside the Maps plugin, `x-pack/platform/plugins/shared/maps/public/timeslider`. Nonetheless, this UI-component should be easily "cut-and-pastable" to another location. diff --git a/oas_docs/overlays/alerting.overlays.yaml b/oas_docs/overlays/alerting.overlays.yaml index cec723bfabd2f..a89547e29419f 100644 --- a/oas_docs/overlays/alerting.overlays.yaml +++ b/oas_docs/overlays/alerting.overlays.yaml @@ -97,13 +97,13 @@ actions: # APM transaction error rate rule (apm.transaction_error_rate) - $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml' # Elasticsearch DSL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml' # Elasticsearch ES|QL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml' # Elasticsearch KQL query rule (.es-query) - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml' # Index threshold rule () - - $ref: '../../x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml' + - $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml' # Infra inventory rule (metrics.alert.inventory.threshold) - $ref: '../../x-pack/solutions/observability/plugins/infra/server/lib/alerting/docs/params_property_infra_inventory.yaml' # Log threshold rule (logs.alert.document.count) diff --git a/oas_docs/overlays/connectors.overlays.yaml b/oas_docs/overlays/connectors.overlays.yaml index 816542a450e3a..892422e577778 100644 --- a/oas_docs/overlays/connectors.overlays.yaml +++ b/oas_docs/overlays/connectors.overlays.yaml @@ -141,109 +141,109 @@ actions: description: The connector configuration details. oneOf: # AI (.inference) TBD - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml' # Index (.index) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml' # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml' # Microsoft Teams (.teams) N/A # Observability AI Assistant (.observability-ai-assistant) TBD # Azure OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml' # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml' # Server log (.server-log) N/A # ServiceNow ITSM (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml' secrets: additionalProperties: {} default: {} oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml' # Index (.index) N/A # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml' # Microsoft Teams (.teams) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml' # Observability AI Assistant (.observability-ai-assistant) TBD # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' # ServiceNow (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' # ServiceNow Sec Ops (.servicenow-sir) TBD # ServiceNow (.servicenow-itom) TBD # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' - target: "$.paths['/api/actions/connector/{id}']['put']" description: "Add config and secrets to update connector API" update: @@ -258,109 +258,109 @@ actions: description: The connector configuration details. oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml' # Index (.index) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml' # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml' # Microsoft Teams (.teams) N/A # Observability AI Assistant (.observability-ai-assistant) TBD # Azue OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml' # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml' # Server log (.server-log) N/A # ServiceNow ITSM (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml' # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml' secrets: additionalProperties: {} default: {} oneOf: # AI (.inference) - # - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml' + # - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml' # Bedrock (.bedrock) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml' # Crowdstrike (.crowdstrike) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml' # D3 Security (.d3security) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml' # Email (.email) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml' # Google Gemini (.gemini) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml' # IBM Resilient (.resilient) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml' # Index (.index) N/A # Jira (.jira) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml' # Microsoft Teams (.teams) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml' # Observability AI Assistant (.observability-ai-assistant) TBD # OpenAI (.gen-ai) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml' # Opsgenie (.opsgenie) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml' # PagerDuty (.pagerduty) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml' # SentinelOne (.sentinelone) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml' # ServiceNow (.servicenow) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml' # ServiceNow SecOps (.servicenow-sir) TBD # ServiceNow ITOM (.servicenow-itom) TBD # Slack (.slack_api) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml' # Swimlane (.swimlane) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml' # TheHive (.thehive) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml' # Tines (.tines) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml' # Torq (.torq) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml' # Webhook (.webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml' # Webhook - Case Management (.cases-webhook) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml' # xMatters (.xmatters) - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml' # Remove the automated empty run connector params - target: "$.paths['/api/actions/connector/{id}/_execute']['post'].requestBody.content.*.schema.properties.params" description: "Remove params in run connector API" @@ -377,23 +377,23 @@ actions: params: additionalProperties: {} oneOf: - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml' - - $ref: '../../x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml' \ No newline at end of file + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml' + - $ref: '../../x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml' \ No newline at end of file diff --git a/oas_docs/scripts/merge_ess_oas.js b/oas_docs/scripts/merge_ess_oas.js index df0b6e5a4ac04..e4a139f7189aa 100644 --- a/oas_docs/scripts/merge_ess_oas.js +++ b/oas_docs/scripts/merge_ess_oas.js @@ -15,8 +15,8 @@ const { REPO_ROOT } = require('@kbn/repo-info'); await merge({ sourceGlobs: [ `${REPO_ROOT}/oas_docs/bundle.json`, - `${REPO_ROOT}/x-pack/plugins/alerting/docs/openapi/bundled.yaml`, - `${REPO_ROOT}/x-pack/plugins/cases/docs/openapi/bundled.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml`, + `${REPO_ROOT}/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml`, `${REPO_ROOT}/src/plugins/data_views/docs/openapi/bundled.yaml`, `${REPO_ROOT}/x-pack/platform/plugins/shared/ml/common/openapi/ml_apis.yaml`, `${REPO_ROOT}/packages/core/saved-objects/docs/openapi/bundled.yaml`, diff --git a/package.json b/package.json index b0d9f7c093c1f..d9a3ed79e323e 100644 --- a/package.json +++ b/package.json @@ -154,9 +154,9 @@ "@hapi/wreck": "^18.1.0", "@hello-pangea/dnd": "16.6.0", "@kbn/aad-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/aad", - "@kbn/actions-plugin": "link:x-pack/plugins/actions", + "@kbn/actions-plugin": "link:x-pack/platform/plugins/shared/actions", "@kbn/actions-simulators-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/actions_simulators", - "@kbn/actions-types": "link:packages/kbn-actions-types", + "@kbn/actions-types": "link:src/platform/packages/shared/kbn-actions-types", "@kbn/advanced-settings-plugin": "link:src/plugins/advanced_settings", "@kbn/ai-assistant": "link:x-pack/packages/kbn-ai-assistant", "@kbn/ai-assistant-common": "link:x-pack/platform/packages/shared/ai-assistant/common", @@ -170,16 +170,16 @@ "@kbn/aiops-plugin": "link:x-pack/platform/plugins/shared/aiops", "@kbn/aiops-test-utils": "link:x-pack/platform/packages/private/ml/aiops_test_utils", "@kbn/alerting-api-integration-test-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts", - "@kbn/alerting-comparators": "link:x-pack/packages/kbn-alerting-comparators", + "@kbn/alerting-comparators": "link:x-pack/platform/packages/shared/kbn-alerting-comparators", "@kbn/alerting-example-plugin": "link:x-pack/examples/alerting_example", "@kbn/alerting-fixture-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/alerts", - "@kbn/alerting-plugin": "link:x-pack/plugins/alerting", - "@kbn/alerting-state-types": "link:x-pack/packages/kbn-alerting-state-types", - "@kbn/alerting-types": "link:packages/kbn-alerting-types", - "@kbn/alerts-as-data-utils": "link:packages/kbn-alerts-as-data-utils", - "@kbn/alerts-grouping": "link:packages/kbn-alerts-grouping", + "@kbn/alerting-plugin": "link:x-pack/platform/plugins/shared/alerting", + "@kbn/alerting-state-types": "link:x-pack/platform/packages/private/kbn-alerting-state-types", + "@kbn/alerting-types": "link:src/platform/packages/shared/kbn-alerting-types", + "@kbn/alerts-as-data-utils": "link:src/platform/packages/shared/kbn-alerts-as-data-utils", + "@kbn/alerts-grouping": "link:x-pack/solutions/observability/packages/kbn-alerts-grouping", "@kbn/alerts-restricted-fixtures-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/alerts_restricted", - "@kbn/alerts-ui-shared": "link:packages/kbn-alerts-ui-shared", + "@kbn/alerts-ui-shared": "link:src/platform/packages/shared/kbn-alerts-ui-shared", "@kbn/analytics": "link:packages/kbn-analytics", "@kbn/analytics-collection-utils": "link:packages/analytics/utils/analytics_collection_utils", "@kbn/analytics-ftr-helpers-plugin": "link:test/analytics/plugins/analytics_ftr_helpers", @@ -198,10 +198,10 @@ "@kbn/banners-plugin": "link:x-pack/plugins/banners", "@kbn/calculate-auto": "link:packages/kbn-calculate-auto", "@kbn/calculate-width-from-char-count": "link:packages/kbn-calculate-width-from-char-count", - "@kbn/canvas-plugin": "link:x-pack/plugins/canvas", + "@kbn/canvas-plugin": "link:x-pack/platform/plugins/private/canvas", "@kbn/cases-api-integration-test-plugin": "link:x-pack/test/cases_api_integration/common/plugins/cases", - "@kbn/cases-components": "link:packages/kbn-cases-components", - "@kbn/cases-plugin": "link:x-pack/plugins/cases", + "@kbn/cases-components": "link:src/platform/packages/shared/kbn-cases-components", + "@kbn/cases-plugin": "link:x-pack/platform/plugins/shared/cases", "@kbn/cbor": "link:packages/kbn-cbor", "@kbn/cell-actions": "link:src/platform/packages/shared/kbn-cell-actions", "@kbn/chart-expressions-common": "link:src/plugins/chart_expressions/common", @@ -243,20 +243,20 @@ "@kbn/content-management-user-profiles": "link:packages/content-management/user_profiles", "@kbn/content-management-utils": "link:packages/kbn-content-management-utils", "@kbn/controls-example-plugin": "link:examples/controls_example", - "@kbn/controls-plugin": "link:src/plugins/controls", + "@kbn/controls-plugin": "link:src/platform/plugins/shared/controls", "@kbn/core": "link:src/core", - "@kbn/core-analytics-browser": "link:packages/core/analytics/core-analytics-browser", - "@kbn/core-analytics-browser-internal": "link:packages/core/analytics/core-analytics-browser-internal", - "@kbn/core-analytics-server": "link:packages/core/analytics/core-analytics-server", - "@kbn/core-analytics-server-internal": "link:packages/core/analytics/core-analytics-server-internal", + "@kbn/core-analytics-browser": "link:src/core/packages/analytics/browser", + "@kbn/core-analytics-browser-internal": "link:src/core/packages/analytics/browser-internal", + "@kbn/core-analytics-server": "link:src/core/packages/analytics/server", + "@kbn/core-analytics-server-internal": "link:src/core/packages/analytics/server-internal", "@kbn/core-app-status-plugin": "link:test/plugin_functional/plugins/core_app_status", - "@kbn/core-application-browser": "link:packages/core/application/core-application-browser", - "@kbn/core-application-browser-internal": "link:packages/core/application/core-application-browser-internal", - "@kbn/core-application-common": "link:packages/core/application/core-application-common", - "@kbn/core-apps-browser-internal": "link:packages/core/apps/core-apps-browser-internal", - "@kbn/core-apps-server-internal": "link:packages/core/apps/core-apps-server-internal", - "@kbn/core-base-browser-internal": "link:packages/core/base/core-base-browser-internal", - "@kbn/core-base-common": "link:packages/core/base/core-base-common", + "@kbn/core-application-browser": "link:src/core/packages/application/browser", + "@kbn/core-application-browser-internal": "link:src/core/packages/application/browser-internal", + "@kbn/core-application-common": "link:src/core/packages/application/common", + "@kbn/core-apps-browser-internal": "link:src/core/packages/apps/browser-internal", + "@kbn/core-apps-server-internal": "link:src/core/packages/apps/server-internal", + "@kbn/core-base-browser-internal": "link:src/core/packages/base/browser-internal", + "@kbn/core-base-common": "link:src/core/packages/base/common", "@kbn/core-base-common-internal": "link:packages/core/base/core-base-common-internal", "@kbn/core-base-server-internal": "link:packages/core/base/core-base-server-internal", "@kbn/core-capabilities-browser-internal": "link:packages/core/capabilities/core-capabilities-browser-internal", @@ -419,9 +419,9 @@ "@kbn/custom-branding-plugin": "link:x-pack/plugins/custom_branding", "@kbn/custom-icons": "link:src/platform/packages/shared/kbn-custom-icons", "@kbn/custom-integrations": "link:x-pack/solutions/observability/packages/kbn-custom-integrations", - "@kbn/custom-integrations-plugin": "link:src/plugins/custom_integrations", - "@kbn/dashboard-enhanced-plugin": "link:x-pack/plugins/dashboard_enhanced", - "@kbn/dashboard-plugin": "link:src/plugins/dashboard", + "@kbn/custom-integrations-plugin": "link:src/platform/plugins/shared/custom_integrations", + "@kbn/dashboard-enhanced-plugin": "link:x-pack/platform/plugins/shared/dashboard_enhanced", + "@kbn/dashboard-plugin": "link:src/platform/plugins/shared/dashboard", "@kbn/data-forge": "link:x-pack/platform/packages/shared/kbn-data-forge", "@kbn/data-plugin": "link:src/plugins/data", "@kbn/data-quality-plugin": "link:x-pack/platform/plugins/shared/data_quality", @@ -440,7 +440,7 @@ "@kbn/datemath": "link:packages/kbn-datemath", "@kbn/deeplinks-analytics": "link:packages/deeplinks/analytics", "@kbn/deeplinks-devtools": "link:src/platform/packages/shared/deeplinks/devtools", - "@kbn/deeplinks-fleet": "link:packages/deeplinks/fleet", + "@kbn/deeplinks-fleet": "link:src/platform/packages/shared/deeplinks/fleet", "@kbn/deeplinks-management": "link:src/platform/packages/shared/deeplinks/management", "@kbn/deeplinks-ml": "link:src/platform/packages/shared/deeplinks/ml", "@kbn/deeplinks-observability": "link:src/platform/packages/shared/deeplinks/observability", @@ -470,9 +470,9 @@ "@kbn/elastic-assistant-plugin": "link:x-pack/solutions/security/plugins/elastic_assistant", "@kbn/elasticsearch-client-plugin": "link:test/plugin_functional/plugins/elasticsearch_client_plugin", "@kbn/elasticsearch-client-xpack-plugin": "link:x-pack/test/plugin_api_integration/plugins/elasticsearch_client", - "@kbn/embeddable-enhanced-plugin": "link:x-pack/plugins/embeddable_enhanced", + "@kbn/embeddable-enhanced-plugin": "link:x-pack/platform/plugins/shared/embeddable_enhanced", "@kbn/embeddable-examples-plugin": "link:examples/embeddable_examples", - "@kbn/embeddable-plugin": "link:src/plugins/embeddable", + "@kbn/embeddable-plugin": "link:src/platform/plugins/shared/embeddable", "@kbn/embedded-lens-example-plugin": "link:x-pack/examples/embedded_lens_example", "@kbn/encrypted-saved-objects-plugin": "link:x-pack/plugins/encrypted_saved_objects", "@kbn/enterprise-search-plugin": "link:x-pack/plugins/enterprise_search", @@ -502,21 +502,21 @@ "@kbn/event-annotation-listing-plugin": "link:src/plugins/event_annotation_listing", "@kbn/event-annotation-plugin": "link:src/plugins/event_annotation", "@kbn/event-log-fixture-plugin": "link:x-pack/test/plugin_api_integration/plugins/event_log", - "@kbn/event-log-plugin": "link:x-pack/plugins/event_log", + "@kbn/event-log-plugin": "link:x-pack/platform/plugins/shared/event_log", "@kbn/expandable-flyout": "link:x-pack/solutions/security/packages/expandable-flyout", "@kbn/exploratory-view-example-plugin": "link:x-pack/examples/exploratory_view_example", "@kbn/exploratory-view-plugin": "link:x-pack/solutions/observability/plugins/exploratory_view", - "@kbn/expression-error-plugin": "link:src/plugins/expression_error", + "@kbn/expression-error-plugin": "link:src/platform/plugins/shared/expression_error", "@kbn/expression-gauge-plugin": "link:src/plugins/chart_expressions/expression_gauge", "@kbn/expression-heatmap-plugin": "link:src/plugins/chart_expressions/expression_heatmap", - "@kbn/expression-image-plugin": "link:src/plugins/expression_image", + "@kbn/expression-image-plugin": "link:src/platform/plugins/shared/expression_image", "@kbn/expression-legacy-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_legacy_metric", - "@kbn/expression-metric-plugin": "link:src/plugins/expression_metric", + "@kbn/expression-metric-plugin": "link:src/platform/plugins/shared/expression_metric", "@kbn/expression-metric-vis-plugin": "link:src/plugins/chart_expressions/expression_metric", "@kbn/expression-partition-vis-plugin": "link:src/plugins/chart_expressions/expression_partition_vis", - "@kbn/expression-repeat-image-plugin": "link:src/plugins/expression_repeat_image", - "@kbn/expression-reveal-image-plugin": "link:src/plugins/expression_reveal_image", - "@kbn/expression-shape-plugin": "link:src/plugins/expression_shape", + "@kbn/expression-repeat-image-plugin": "link:src/platform/plugins/shared/expression_repeat_image", + "@kbn/expression-reveal-image-plugin": "link:src/platform/plugins/shared/expression_reveal_image", + "@kbn/expression-shape-plugin": "link:src/platform/plugins/shared/expression_shape", "@kbn/expression-tagcloud-plugin": "link:src/plugins/chart_expressions/expression_tagcloud", "@kbn/expression-xy-plugin": "link:src/plugins/chart_expressions/expression_xy", "@kbn/expressions-explorer-plugin": "link:examples/expressions_explorer", @@ -532,12 +532,12 @@ "@kbn/field-types": "link:packages/kbn-field-types", "@kbn/field-utils": "link:packages/kbn-field-utils", "@kbn/fields-metadata-plugin": "link:x-pack/platform/plugins/shared/fields_metadata", - "@kbn/file-upload-plugin": "link:x-pack/plugins/file_upload", + "@kbn/file-upload-plugin": "link:x-pack/platform/plugins/private/file_upload", "@kbn/files-example-plugin": "link:examples/files_example", "@kbn/files-management-plugin": "link:src/plugins/files_management", "@kbn/files-plugin": "link:src/plugins/files", - "@kbn/fleet-plugin": "link:x-pack/plugins/fleet", - "@kbn/flot-charts": "link:packages/kbn-flot-charts", + "@kbn/fleet-plugin": "link:x-pack/platform/plugins/shared/fleet", + "@kbn/flot-charts": "link:src/platform/packages/shared/kbn-flot-charts", "@kbn/foo-plugin": "link:x-pack/test/ui_capabilities/common/plugins/foo_plugin", "@kbn/formatters": "link:packages/kbn-formatters", "@kbn/ftr-apis-plugin": "link:src/plugins/ftr_apis", @@ -553,7 +553,7 @@ "@kbn/grid-example-plugin": "link:examples/grid_example", "@kbn/grid-layout": "link:packages/kbn-grid-layout", "@kbn/grokdebugger-plugin": "link:x-pack/platform/plugins/private/grokdebugger", - "@kbn/grouping": "link:packages/kbn-grouping", + "@kbn/grouping": "link:src/platform/packages/shared/kbn-grouping", "@kbn/guided-onboarding": "link:packages/kbn-guided-onboarding", "@kbn/guided-onboarding-example-plugin": "link:examples/guided_onboarding_example", "@kbn/guided-onboarding-plugin": "link:src/plugins/guided_onboarding", @@ -577,13 +577,14 @@ "@kbn/index-management-shared-types": "link:x-pack/platform/packages/shared/index-management/index_management_shared_types", "@kbn/index-patterns-test-plugin": "link:test/plugin_functional/plugins/index_patterns", "@kbn/inference-common": "link:x-pack/platform/packages/shared/ai-infra/inference-common", + "@kbn/inference-endpoint-ui-common": "link:x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common", "@kbn/inference-plugin": "link:x-pack/platform/plugins/shared/inference", "@kbn/inference_integration_flyout": "link:x-pack/platform/packages/private/ml/inference_integration_flyout", "@kbn/infra-forge": "link:x-pack/platform/packages/private/kbn-infra-forge", "@kbn/infra-plugin": "link:x-pack/solutions/observability/plugins/infra", "@kbn/ingest-pipelines-plugin": "link:x-pack/platform/plugins/shared/ingest_pipelines", - "@kbn/input-control-vis-plugin": "link:src/plugins/input_control_vis", - "@kbn/inspector-plugin": "link:src/plugins/inspector", + "@kbn/input-control-vis-plugin": "link:src/platform/plugins/private/input_control_vis", + "@kbn/inspector-plugin": "link:src/platform/plugins/shared/inspector", "@kbn/integration-assistant-plugin": "link:x-pack/platform/plugins/shared/integration_assistant", "@kbn/interactive-setup-plugin": "link:src/plugins/interactive_setup", "@kbn/interactive-setup-test-endpoints-plugin": "link:test/interactive_setup_api_integration/plugins/test_endpoints", @@ -617,7 +618,7 @@ "@kbn/license-api-guard-plugin": "link:x-pack/platform/plugins/private/license_api_guard", "@kbn/license-management-plugin": "link:x-pack/platform/plugins/shared/license_management", "@kbn/licensing-plugin": "link:x-pack/plugins/licensing", - "@kbn/links-plugin": "link:src/plugins/links", + "@kbn/links-plugin": "link:src/platform/plugins/private/links", "@kbn/lists-plugin": "link:x-pack/solutions/security/plugins/lists", "@kbn/llm-tasks-plugin": "link:x-pack/platform/plugins/shared/ai_infra/llm_tasks", "@kbn/locator-examples-plugin": "link:examples/locator_examples", @@ -627,7 +628,7 @@ "@kbn/logs-data-access-plugin": "link:x-pack/platform/plugins/shared/logs_data_access", "@kbn/logs-explorer-plugin": "link:x-pack/solutions/observability/plugins/logs_explorer", "@kbn/logs-shared-plugin": "link:x-pack/platform/plugins/shared/logs_shared", - "@kbn/logstash-plugin": "link:x-pack/plugins/logstash", + "@kbn/logstash-plugin": "link:x-pack/platform/plugins/private/logstash", "@kbn/managed-content-badge": "link:packages/kbn-managed-content-badge", "@kbn/management-cards-navigation": "link:src/platform/packages/shared/kbn-management/cards_navigation", "@kbn/management-plugin": "link:src/platform/plugins/shared/management", @@ -642,11 +643,11 @@ "@kbn/management-settings-types": "link:src/platform/packages/shared/kbn-management/settings/types", "@kbn/management-settings-utilities": "link:src/platform/packages/shared/kbn-management/settings/utilities", "@kbn/management-test-plugin": "link:test/plugin_functional/plugins/management_test_plugin", - "@kbn/mapbox-gl": "link:packages/kbn-mapbox-gl", + "@kbn/mapbox-gl": "link:src/platform/packages/private/kbn-mapbox-gl", "@kbn/maps-custom-raster-source-plugin": "link:x-pack/examples/third_party_maps_source_example", - "@kbn/maps-ems-plugin": "link:src/plugins/maps_ems", - "@kbn/maps-plugin": "link:x-pack/plugins/maps", - "@kbn/maps-vector-tile-utils": "link:x-pack/packages/maps/vector_tile_utils", + "@kbn/maps-ems-plugin": "link:src/platform/plugins/private/maps_ems", + "@kbn/maps-plugin": "link:x-pack/platform/plugins/shared/maps", + "@kbn/maps-vector-tile-utils": "link:x-pack/platform/packages/private/maps/vector_tile_utils", "@kbn/metrics-data-access-plugin": "link:x-pack/plugins/observability_solution/metrics_data_access", "@kbn/ml-agg-utils": "link:x-pack/platform/packages/private/ml/agg_utils", "@kbn/ml-anomaly-utils": "link:x-pack/platform/packages/shared/ml/anomaly_utils", @@ -682,8 +683,8 @@ "@kbn/ml-url-state": "link:x-pack/platform/packages/private/ml/url_state", "@kbn/ml-validators": "link:x-pack/platform/packages/private/ml/validators", "@kbn/monaco": "link:packages/kbn-monaco", - "@kbn/monitoring-collection-plugin": "link:x-pack/plugins/monitoring_collection", - "@kbn/monitoring-plugin": "link:x-pack/plugins/monitoring", + "@kbn/monitoring-collection-plugin": "link:x-pack/platform/plugins/private/monitoring_collection", + "@kbn/monitoring-plugin": "link:x-pack/platform/plugins/private/monitoring", "@kbn/navigation-plugin": "link:src/plugins/navigation", "@kbn/newsfeed-plugin": "link:src/plugins/newsfeed", "@kbn/newsfeed-test-plugin": "link:test/common/plugins/newsfeed", @@ -705,11 +706,11 @@ "@kbn/observability-logs-overview": "link:x-pack/platform/packages/shared/observability/logs_overview", "@kbn/observability-onboarding-plugin": "link:x-pack/solutions/observability/plugins/observability_onboarding", "@kbn/observability-plugin": "link:x-pack/solutions/observability/plugins/observability", - "@kbn/observability-shared-plugin": "link:x-pack/plugins/observability_solution/observability_shared", + "@kbn/observability-shared-plugin": "link:x-pack/solutions/observability/plugins/observability_shared", "@kbn/observability-synthetics-test-data": "link:x-pack/solutions/observability/packages/synthetics_test_data", - "@kbn/observability-utils-browser": "link:x-pack/packages/observability/observability_utils/observability_utils_browser", - "@kbn/observability-utils-common": "link:x-pack/packages/observability/observability_utils/observability_utils_common", - "@kbn/observability-utils-server": "link:x-pack/packages/observability/observability_utils/observability_utils_server", + "@kbn/observability-utils-browser": "link:x-pack/solutions/observability/packages/utils_browser", + "@kbn/observability-utils-common": "link:x-pack/solutions/observability/packages/utils_common", + "@kbn/observability-utils-server": "link:x-pack/solutions/observability/packages/utils_server", "@kbn/oidc-provider-plugin": "link:x-pack/test/security_api_integration/plugins/oidc_provider", "@kbn/open-telemetry-instrumented-plugin": "link:test/common/plugins/otel_metrics", "@kbn/openapi-common": "link:src/platform/packages/shared/kbn-openapi-common", @@ -718,14 +719,14 @@ "@kbn/paertial-results-example-plugin": "link:examples/partial_results_example", "@kbn/painless-lab-plugin": "link:x-pack/platform/plugins/private/painless_lab", "@kbn/palettes": "link:packages/kbn-palettes", - "@kbn/panel-loader": "link:packages/kbn-panel-loader", + "@kbn/panel-loader": "link:src/platform/packages/private/kbn-panel-loader", "@kbn/plugin-check": "link:packages/kbn-plugin-check", "@kbn/portable-dashboards-example": "link:examples/portable_dashboards_example", "@kbn/preboot-example-plugin": "link:examples/preboot_example", - "@kbn/presentation-containers": "link:packages/presentation/presentation_containers", - "@kbn/presentation-panel-plugin": "link:src/plugins/presentation_panel", - "@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing", - "@kbn/presentation-util-plugin": "link:src/plugins/presentation_util", + "@kbn/presentation-containers": "link:src/platform/packages/shared/presentation/presentation_containers", + "@kbn/presentation-panel-plugin": "link:src/platform/plugins/private/presentation_panel", + "@kbn/presentation-publishing": "link:src/platform/packages/shared/presentation/presentation_publishing", + "@kbn/presentation-util-plugin": "link:src/platform/plugins/shared/presentation_util", "@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base", "@kbn/product-doc-common": "link:x-pack/platform/packages/shared/ai-infra/product-doc-common", "@kbn/profiling-data-access-plugin": "link:x-pack/plugins/observability_solution/profiling_data_access", @@ -763,7 +764,7 @@ "@kbn/resolver-test-plugin": "link:x-pack/test/plugin_functional/plugins/resolver_test", "@kbn/response-ops-feature-flag-service": "link:packages/response-ops/feature_flag_service", "@kbn/response-ops-rule-form": "link:packages/response-ops/rule_form", - "@kbn/response-ops-rule-params": "link:packages/response-ops/rule_params", + "@kbn/response-ops-rule-params": "link:src/platform/packages/private/response-ops/rule_params", "@kbn/response-stream-plugin": "link:examples/response_stream", "@kbn/rison": "link:packages/kbn-rison", "@kbn/rollup": "link:x-pack/platform/packages/private/rollup", @@ -771,9 +772,9 @@ "@kbn/router-to-openapispec": "link:packages/kbn-router-to-openapispec", "@kbn/router-utils": "link:src/platform/packages/shared/kbn-router-utils", "@kbn/routing-example-plugin": "link:examples/routing_example", - "@kbn/rrule": "link:packages/kbn-rrule", + "@kbn/rrule": "link:src/platform/packages/shared/kbn-rrule", "@kbn/rule-data-utils": "link:src/platform/packages/shared/kbn-rule-data-utils", - "@kbn/rule-registry-plugin": "link:x-pack/plugins/rule_registry", + "@kbn/rule-registry-plugin": "link:x-pack/platform/plugins/shared/rule_registry", "@kbn/runtime-fields-plugin": "link:x-pack/platform/plugins/private/runtime_fields", "@kbn/safer-lodash-set": "link:packages/kbn-safer-lodash-set", "@kbn/saml-provider-plugin": "link:x-pack/test/security_api_integration/plugins/saml_provider", @@ -936,8 +937,8 @@ "@kbn/sse-utils": "link:src/platform/packages/shared/kbn-sse-utils", "@kbn/sse-utils-client": "link:src/platform/packages/shared/kbn-sse-utils-client", "@kbn/sse-utils-server": "link:src/platform/packages/shared/kbn-sse-utils-server", - "@kbn/stack-alerts-plugin": "link:x-pack/plugins/stack_alerts", - "@kbn/stack-connectors-plugin": "link:x-pack/plugins/stack_connectors", + "@kbn/stack-alerts-plugin": "link:x-pack/platform/plugins/shared/stack_alerts", + "@kbn/stack-connectors-plugin": "link:x-pack/platform/plugins/shared/stack_connectors", "@kbn/stack-management-usage-test-plugin": "link:x-pack/test/usage_collection/plugins/stack_management_usage_test", "@kbn/state-containers-examples-plugin": "link:examples/state_containers_examples", "@kbn/status-plugin-a-plugin": "link:test/server_integration/plugins/status_plugin_a", @@ -945,11 +946,12 @@ "@kbn/std": "link:packages/kbn-std", "@kbn/streams-app-plugin": "link:x-pack/solutions/observability/plugins/streams_app", "@kbn/streams-plugin": "link:x-pack/solutions/observability/plugins/streams", + "@kbn/streams-schema": "link:x-pack/packages/kbn-streams-schema", "@kbn/synthetics-plugin": "link:x-pack/solutions/observability/plugins/synthetics", "@kbn/synthetics-private-location": "link:x-pack/packages/kbn-synthetics-private-location", "@kbn/task-manager-fixture-plugin": "link:x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture", "@kbn/task-manager-performance-plugin": "link:x-pack/test/plugin_api_perf/plugins/task_manager_performance", - "@kbn/task-manager-plugin": "link:x-pack/plugins/task_manager", + "@kbn/task-manager-plugin": "link:x-pack/platform/plugins/shared/task_manager", "@kbn/telemetry-collection-manager-plugin": "link:src/plugins/telemetry_collection_manager", "@kbn/telemetry-collection-xpack-plugin": "link:x-pack/plugins/telemetry_collection_xpack", "@kbn/telemetry-management-section-plugin": "link:src/plugins/telemetry_management_section", @@ -968,8 +970,8 @@ "@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-types": "link:packages/kbn-triggers-actions-ui-types", + "@kbn/triggers-actions-ui-plugin": "link:x-pack/platform/plugins/shared/triggers_actions_ui", + "@kbn/triggers-actions-ui-types": "link:src/platform/packages/shared/kbn-triggers-actions-ui-types", "@kbn/try-in-console": "link:packages/kbn-try-in-console", "@kbn/typed-react-router-config": "link:src/platform/packages/shared/kbn-typed-react-router-config", "@kbn/ui-actions-browser": "link:packages/kbn-ui-actions-browser", @@ -1010,7 +1012,7 @@ "@kbn/vis-default-editor-plugin": "link:src/plugins/vis_default_editor", "@kbn/vis-type-gauge-plugin": "link:src/plugins/vis_types/gauge", "@kbn/vis-type-heatmap-plugin": "link:src/plugins/vis_types/heatmap", - "@kbn/vis-type-markdown-plugin": "link:src/plugins/vis_type_markdown", + "@kbn/vis-type-markdown-plugin": "link:src/platform/plugins/private/vis_type_markdown", "@kbn/vis-type-metric-plugin": "link:src/plugins/vis_types/metric", "@kbn/vis-type-pie-plugin": "link:src/plugins/vis_types/pie", "@kbn/vis-type-table-plugin": "link:src/plugins/vis_types/table", diff --git a/packages/core/base/core-base-browser-internal/jest.config.js b/packages/core/base/core-base-browser-internal/jest.config.js deleted file mode 100644 index 3456994fafa4b..0000000000000 --- a/packages/core/base/core-base-browser-internal/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-browser-internal'], -}; diff --git a/packages/kbn-alerts-grouping/index.ts b/packages/kbn-alerts-grouping/index.ts deleted file mode 100644 index 0a5d44153ae25..0000000000000 --- a/packages/kbn-alerts-grouping/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export { AlertsGrouping } from './src/components/alerts_grouping'; -export { - type AlertsGroupingProps, - type BaseAlertsGroupAggregations, - type AlertsGroupAggregationBucket, -} from './src/types'; -export { useAlertsGroupingState } from './src/contexts/alerts_grouping_context'; diff --git a/packages/kbn-alerts-grouping/jest.config.js b/packages/kbn-alerts-grouping/jest.config.js deleted file mode 100644 index 4d2bdb1859c02..0000000000000 --- a/packages/kbn-alerts-grouping/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerts-grouping'], - setupFilesAfterEnv: ['/packages/kbn-alerts-grouping/setup_tests.ts'], -}; diff --git a/packages/kbn-alerts-grouping/src/constants.ts b/packages/kbn-alerts-grouping/src/constants.ts deleted file mode 100644 index 2743ef18731c6..0000000000000 --- a/packages/kbn-alerts-grouping/src/constants.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export const DEFAULT_PAGE_SIZE = 25; -export const DEFAULT_PAGE_INDEX = 0; -export const MAX_GROUPING_LEVELS = 3; diff --git a/packages/kbn-alerts-grouping/src/index.ts b/packages/kbn-alerts-grouping/src/index.ts deleted file mode 100644 index a056bd0b3ddff..0000000000000 --- a/packages/kbn-alerts-grouping/src/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -export * from './components/alerts_grouping'; -export * from './contexts/alerts_grouping_context'; -export * from './types'; diff --git a/packages/kbn-alerts-ui-shared/jest.config.js b/packages/kbn-alerts-ui-shared/jest.config.js deleted file mode 100644 index 62a49421c9bc6..0000000000000 --- a/packages/kbn-alerts-ui-shared/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerts-ui-shared'], - setupFilesAfterEnv: ['/packages/kbn-alerts-ui-shared/setup_tests.ts'], -}; diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js index d1b09556a8bf2..b72eba6793f3f 100644 --- a/packages/kbn-babel-preset/styled_components_files.js +++ b/packages/kbn-babel-preset/styled_components_files.js @@ -17,9 +17,9 @@ module.exports = { /packages[\/\\]kbn-ui-shared-deps-src[\/\\]/, /src[\/\\]plugins[\/\\]kibana_react[\/\\]/, /x-pack[\/\\]platform[\/\\]packages[\/\\]shared[\/\\]kbn-elastic-assistant[\/\\]/, - /x-pack[\/\\]plugins[\/\\]fleet[\/\\]/, - /x-pack[\/\\]plugins[\/\\]observability_solution[\/\\]observability_shared[\/\\]/, + /x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]fleet[\/\\]/, /x-pack[\/\\]plugins[\/\\]security_solution[\/\\]/, + /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_shared[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]exploratory_view[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability[\/\\]/, /x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]synthetics[\/\\]/, diff --git a/packages/kbn-cases-components/jest.config.js b/packages/kbn-cases-components/jest.config.js deleted file mode 100644 index 3518a7c7adbfa..0000000000000 --- a/packages/kbn-cases-components/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-cases-components'], - setupFilesAfterEnv: ['/packages/kbn-cases-components/setup_tests.ts'], -}; diff --git a/packages/kbn-check-mappings-update-cli/current_fields.json b/packages/kbn-check-mappings-update-cli/current_fields.json index b902407b92e7a..5f3ec0c8552b1 100644 --- a/packages/kbn-check-mappings-update-cli/current_fields.json +++ b/packages/kbn-check-mappings-update-cli/current_fields.json @@ -169,6 +169,9 @@ "external_service.pushed_by.full_name", "external_service.pushed_by.profile_uid", "external_service.pushed_by.username", + "observables", + "observables.typeKey", + "observables.value", "owner", "settings", "settings.syncAlerts", diff --git a/packages/kbn-check-mappings-update-cli/current_mappings.json b/packages/kbn-check-mappings-update-cli/current_mappings.json index 352e753162a36..64dc6150ab4b0 100644 --- a/packages/kbn-check-mappings-update-cli/current_mappings.json +++ b/packages/kbn-check-mappings-update-cli/current_mappings.json @@ -585,6 +585,17 @@ } } }, + "observables": { + "properties": { + "typeKey": { + "type": "keyword" + }, + "value": { + "type": "keyword" + } + }, + "type": "nested" + }, "owner": { "type": "keyword" }, diff --git a/packages/kbn-cli-dev-mode/src/watcher.ts b/packages/kbn-cli-dev-mode/src/watcher.ts index 193458495aa21..ddbe5eb2844a1 100644 --- a/packages/kbn-cli-dev-mode/src/watcher.ts +++ b/packages/kbn-cli-dev-mode/src/watcher.ts @@ -20,7 +20,7 @@ const packageMatcher = makeMatcher([ '**/*', '!**/.*', '!x-pack/platform/plugins/shared/screenshotting/chromium/**', - '!x-pack/plugins/canvas/shareable_runtime/**', + '!x-pack/platform/plugins/private/canvas/shareable_runtime/**', ]); /** diff --git a/packages/kbn-code-owners/index.ts b/packages/kbn-code-owners/index.ts index df85bb6d9c624..dd68409299f0e 100644 --- a/packages/kbn-code-owners/index.ts +++ b/packages/kbn-code-owners/index.ts @@ -14,3 +14,9 @@ export { findCodeOwnersEntryForPath, getOwningTeamsForPath, } from './src/code_owners'; +export { + type CodeOwnerArea, + CODE_OWNER_AREAS, + CODE_OWNER_AREA_MAPPINGS, + findAreaForCodeOwner, +} from './src/code_owner_areas'; diff --git a/packages/kbn-code-owners/src/cli.ts b/packages/kbn-code-owners/src/cli.ts index 9e7a839e0546c..b8cc102101235 100644 --- a/packages/kbn-code-owners/src/cli.ts +++ b/packages/kbn-code-owners/src/cli.ts @@ -40,6 +40,7 @@ export async function findCodeOwnersForPath() { log.write(`Matching pattern: ${codeOwnersEntry.pattern}`); log.write('Teams:', codeOwnersEntry.teams); + log.write('Areas:', codeOwnersEntry.areas); }, { description: `Find code owners for a given path in this local Kibana repository`, diff --git a/packages/kbn-code-owners/src/code_owner_areas.ts b/packages/kbn-code-owners/src/code_owner_areas.ts new file mode 100644 index 0000000000000..fc961fd6d463e --- /dev/null +++ b/packages/kbn-code-owners/src/code_owner_areas.ts @@ -0,0 +1,98 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +/** + * Code owner area names + */ +export const CODE_OWNER_AREAS = ['platform', 'search', 'observability', 'security'] as const; +export type CodeOwnerArea = (typeof CODE_OWNER_AREAS)[number]; + +/** + * Area mappings for code owners + */ +export const CODE_OWNER_AREA_MAPPINGS: { [area in CodeOwnerArea]: string[] } = { + platform: [ + 'elastic/appex-ai-infra', + 'elastic/appex-qa', + 'elastic/appex-sharedux', + 'elastic/docs', + 'elastic/eui-team', + 'elastic/fleet', + 'elastic/kibana-core', + 'elastic/kibana-data-discovery', + 'elastic/kibana-design', + 'elastic/kibana-esql', + 'elastic/kibana-localization', + 'elastic/kibana-management', + 'elastic/kibana-operations', + 'elastic/kibana-performance-testing', + 'elastic/kibana-presentation', + 'elastic/kibana-qa', + 'elastic/kibana-reporting-services', + 'elastic/kibana-security', + 'elastic/kibana-tech-leads', + 'elastic/kibana-visualizations', + 'elastic/logstash', + 'elastic/ml-ui', + 'elastic/platform-docs', + 'elastic/response-ops', + 'elastic/stack-monitoring', + ], + search: ['elastic/search-design', 'elastic/search-kibana'], + observability: [ + 'elastic/obs-ai-assistant', + 'elastic/obs-cloudnative-monitoring', + 'elastic/obs-docs', + 'elastic/obs-entities', + 'elastic/obs-knowledge-team', + 'elastic/obs-ux-infra_services-team', + 'elastic/obs-ux-logs-team', + 'elastic/obs-ux-management-team', + 'elastic/obs-ux-onboarding-team', + 'elastic/observability-design', + 'elastic/observability-ui', + 'elastic/observablt-robots', + 'elastic/streams-program-team', + ], + security: [ + 'elastic/kibana-cloud-security-posture', + 'elastic/security-asset-management', + 'elastic/security-data-analytics', + 'elastic/security-defend-workflows', + 'elastic/security-design', + 'elastic/security-detection-engine', + 'elastic/security-detection-rule-management', + 'elastic/security-detections-response', + 'elastic/security-engineering-productivity', + 'elastic/security-entity-analytics', + 'elastic/security-generative-ai', + 'elastic/security-scalability', + 'elastic/security-service-integrations', + 'elastic/security-solution', + 'elastic/security-threat-hunting', + 'elastic/security-threat-hunting-explore', + 'elastic/security-threat-hunting-investigations', + ], +}; + +/** + * Find what area a code owner belongs to + * + * @param owner Owner to find an area name + * @returns The code owner area if a match for the given owner is found + */ +export function findAreaForCodeOwner(owner: string): CodeOwnerArea | undefined { + for (const area of CODE_OWNER_AREAS) { + const owners = CODE_OWNER_AREA_MAPPINGS[area]; + + if (owners.includes(owner)) { + return area; + } + } +} diff --git a/packages/kbn-code-owners/src/code_owners.ts b/packages/kbn-code-owners/src/code_owners.ts index 47aa2a67171c0..88e9772a76cc4 100644 --- a/packages/kbn-code-owners/src/code_owners.ts +++ b/packages/kbn-code-owners/src/code_owners.ts @@ -13,11 +13,13 @@ import path from 'node:path'; import ignore, { Ignore } from 'ignore'; import { CODE_OWNERS_FILE, throwIfPathIsMissing, throwIfPathNotInRepo } from './path'; +import { CodeOwnerArea, findAreaForCodeOwner } from './code_owner_areas'; export interface CodeOwnersEntry { pattern: string; matcher: Ignore; teams: string[]; + areas: CodeOwnerArea[]; comment?: string; } @@ -64,9 +66,19 @@ export function getCodeOwnersEntries(): CodeOwnersEntry[] { const pathPattern = rawPathPattern.replace(/\/$/, ''); + const teams = rawTeams.map((team) => team.replace('@', '')).filter((team) => team.length > 0); + const areas: CodeOwnerArea[] = []; + + for (const team of teams) { + const area = findAreaForCodeOwner(team); + if (area === undefined || areas.includes(area)) continue; + areas.push(area); + } + entries.push({ pattern: pathPattern, - teams: rawTeams.map((t) => t.replace('@', '')).filter((t) => t.length > 0), + teams, + areas, comment, // Register code owner entry with the `ignores` lib for easy pattern matching later on @@ -85,7 +97,7 @@ export function getCodeOwnersEntries(): CodeOwnersEntry[] { * * Tip: * If you're making a lot of calls to this function, fetch the code owner paths once using - * `getCodeOwnersEntries` and pass it in the `getCodeOwnersEntries` parameter to speed up your queries.. + * `getCodeOwnersEntries` and pass it in the `getCodeOwnersEntries` parameter to speed up your queries. * * @param searchPath The path to find code owners for * @param codeOwnersEntries Pre-defined list of code owner paths to search in diff --git a/packages/kbn-docs-utils/src/utils.test.ts b/packages/kbn-docs-utils/src/utils.test.ts index 8f3b11b9700b9..6b4a08fe9b50a 100644 --- a/packages/kbn-docs-utils/src/utils.test.ts +++ b/packages/kbn-docs-utils/src/utils.test.ts @@ -28,7 +28,10 @@ it('getFileName', () => { it('test getPluginForPath', () => { const plugins = findPlugins(); - const path = Path.resolve(REPO_ROOT, 'src/plugins/embeddable/public/service/file.ts'); + const path = Path.resolve( + REPO_ROOT, + 'src/platform/plugins/shared/embeddable/public/service/file.ts' + ); expect(getPluginForPath(path, plugins)).toBeDefined(); }); diff --git a/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts b/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts index fc7bf0b6bb509..20c5a2090b5cb 100644 --- a/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts +++ b/packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts @@ -20,13 +20,16 @@ const testMap = [ 'x-pack/plugins/observability_solution/apm/common/components/app/correlations/correlations_table.tsx', 'xpack.apm', ], - ['x-pack/plugins/cases/server/components/foo.tsx', 'xpack.cases'], + ['x-pack/platform/plugins/shared/cases/server/components/foo.tsx', 'xpack.cases'], [ 'x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/alerts/toggle_alert_flyout_button.tsx', 'xpack.synthetics', ], ['src/plugins/vis_types/gauge/public/editor/collections.ts', 'visTypeGauge'], - ['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'alertsUIShared'], + [ + 'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', + 'alertsUIShared', + ], ]; describe('Get i18n Identifier for file', () => { diff --git a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts index 5053c4ca5a8e2..01cea6c4aa354 100644 --- a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts +++ b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts @@ -14,11 +14,11 @@ const SYSTEMPATH = 'systemPath'; const testMap = [ ['x-pack/solutions/observability/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'], ['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'], - ['x-pack/plugins/apm/public/components/app/correlations/correlations_table.tsx', 'apm'], - ['x-pack/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'], - ['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'], - ['x-pack/plugins/cases/public/components/foo.tsx', 'cases'], - ['packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', 'kbnAlertsUiShared'], + ['x-pack/platform/plugins/shared/cases/public/components/foo.tsx', 'cases'], + [ + 'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx', + 'kbnAlertsUiShared', + ], ]; describe('Get App Name', () => { diff --git a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts index 66cb162fdd211..5f3d7b96e33b9 100644 --- a/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts +++ b/packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.ts @@ -8,46 +8,23 @@ */ import { camelCase } from 'lodash'; -import path from 'path'; +import { basename, parse } from 'path'; import { getPkgDirMap } from '@kbn/repo-packages'; import { REPO_ROOT } from '@kbn/repo-info'; +const APP_ALIASES: Record = { + observability: 'o11y', +}; + export function getAppName(fileName: string, cwd: string) { - const { dir } = path.parse(fileName); + const { dir } = parse(fileName); const relativePathToFile = dir.replace(cwd, ''); - const packageDirs = Array.from( - Array.from(getPkgDirMap(REPO_ROOT).values()).reduce((acc, currentDir) => { - const topDirectory = currentDir.normalizedRepoRelativeDir.split('/')[0]; - - if (topDirectory) { - acc.add(topDirectory); - } - - return acc; - }, new Set()) - ); - - const relativePathArray = relativePathToFile.split('/'); - - const appName = camelCase( - packageDirs.reduce((acc, repoPath) => { - if (!relativePathArray[1]) return ''; - - if (relativePathArray[1] === 'x-pack') { - if (relativePathArray[3] === 'observability_solution') { - return relativePathArray[4]; - } - return relativePathArray[3]; - } - - if (relativePathArray[1].includes(repoPath)) { - return relativePathArray[2]; - } - - return acc; - }, '') - ); + const allPaths = Array.from(getPkgDirMap(REPO_ROOT).values()) + .map((module) => module.directory.replace(REPO_ROOT, '')) + .sort((a, b) => b.length - a.length); - return appName === 'observability' ? 'o11y' : appName; + const moduleDir = allPaths.find((path) => relativePathToFile.startsWith(path)) ?? ''; + const moduleBasename = camelCase(basename(moduleDir)); + return APP_ALIASES[moduleBasename] ?? moduleBasename; } diff --git a/packages/kbn-grouping/jest.config.js b/packages/kbn-grouping/jest.config.js deleted file mode 100644 index 9c8994be4f711..0000000000000 --- a/packages/kbn-grouping/jest.config.js +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-grouping'], - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/packages/kbn-grouping/**/*.{ts,tsx}', - '!/packages/kbn-grouping/**/*.test', - '!/packages/kbn-grouping/**/types/*', - '!/packages/kbn-grouping/**/*.type', - '!/packages/kbn-grouping/**/*.styles', - '!/packages/kbn-grouping/**/mocks/*', - '!/packages/kbn-grouping/**/*.config', - '!/packages/kbn-grouping/**/translations', - '!/packages/kbn-grouping/**/types/*', - ], - setupFilesAfterEnv: ['/packages/kbn-grouping/setup_tests.ts'], -}; diff --git a/packages/kbn-grouping/setup_tests.ts b/packages/kbn-grouping/setup_tests.ts deleted file mode 100644 index 5ebc6d3dac1ca..0000000000000 --- a/packages/kbn-grouping/setup_tests.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -// eslint-disable-next-line import/no-extraneous-dependencies -import '@testing-library/jest-dom'; diff --git a/packages/kbn-relocate/relocate.ts b/packages/kbn-relocate/relocate.ts index a96c58629bab7..f9ead5f815736 100644 --- a/packages/kbn-relocate/relocate.ts +++ b/packages/kbn-relocate/relocate.ts @@ -110,11 +110,13 @@ const findModules = ({ teams, paths, included, excluded }: FindModulesParams, lo .filter(({ manifest }) => !manifest.devOnly) // explicit exclusions .filter(({ id }) => !EXCLUDED_MODULES.includes(id) && !excluded.includes(id)) - // we don't want to move test modules (just yet) + // we don't want to move test and example modules (just yet) .filter( ({ directory }) => !directory.includes(`/${KIBANA_FOLDER}/test/`) && - !directory.includes(`/${KIBANA_FOLDER}/x-pack/test/`) + !directory.includes(`/${KIBANA_FOLDER}/x-pack/test/`) && + !directory.includes(`/${KIBANA_FOLDER}/examples/`) && + !directory.includes(`/${KIBANA_FOLDER}/x-pack/examples/`) ) // the module is under the umbrella specified by the user .filter( diff --git a/packages/kbn-relocate/utils/transforms.ts b/packages/kbn-relocate/utils/transforms.ts index ed584abeb55ab..267d570169d67 100644 --- a/packages/kbn-relocate/utils/transforms.ts +++ b/packages/kbn-relocate/utils/transforms.ts @@ -14,6 +14,8 @@ const TRANSFORMS: Record = { 'x-pack/solutions/security/packages/security-solution/': 'x-pack/solutions/security/packages/', 'x-pack/solutions/observability/plugins/observability_solution/': 'x-pack/solutions/observability/plugins/', + 'x-pack/solutions/observability/packages/observability/observability_utils/observability_': + 'x-pack/solutions/observability/packages/', 'x-pack/solutions/observability/packages/observability/': 'x-pack/solutions/observability/packages/', 'src/core/packages/core/': (path: string) => { diff --git a/packages/kbn-rrule/jest.config.js b/packages/kbn-rrule/jest.config.js deleted file mode 100644 index bcc7921064cb5..0000000000000 --- a/packages/kbn-rrule/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-rrule'], -}; diff --git a/packages/kbn-storybook/README.md b/packages/kbn-storybook/README.md index fe2af5c69d5b1..d1eb2e7405137 100644 --- a/packages/kbn-storybook/README.md +++ b/packages/kbn-storybook/README.md @@ -1,6 +1,6 @@ # Kibana Storybook -This package provides ability to add [Storybook](https://storybook.js.org/) to any Kibana plugin. +This package provides ability to add [Storybook](https://storybook.js.org/) to any Kibana package or plugin. - [Kibana Storybook](#kibana-storybook) - [Setup Instructions](#setup-instructions) @@ -22,19 +22,26 @@ This package provides ability to add [Storybook](https://storybook.js.org/) to a the following [Component Story Format](https://storybook.js.org/docs/react/api/csf) contents: ```jsx - import { MyComponent } from './my_component'; - - export default { + import type { Meta, StoryObj } from '@storybook/react'; + + import { MyComponent } from './MyComponent'; + + const meta: Meta = { component: MyComponent, - title: 'Path/In/Side/Navigation/ToComponent', }; - - export function Example() { - return ; - } + + export default meta; + type Story = StoryObj; + + export const Basic: Story = {}; + + export const WithProp: Story = { + render: () => , + }; ``` - Launch Storybook with `yarn storybook `, or build a static site with `yarn storybook --site `. + ## Customizing configuration The `defaultConfig` object provided by the `@kbn/storybook` package should be all you need to get running, but you can diff --git a/packages/kbn-storybook/src/webpack.config.ts b/packages/kbn-storybook/src/webpack.config.ts index fad795a1e4619..f2c17e2313d99 100644 --- a/packages/kbn-storybook/src/webpack.config.ts +++ b/packages/kbn-storybook/src/webpack.config.ts @@ -14,6 +14,7 @@ import webpack, { Configuration, Stats } from 'webpack'; import webpackMerge from 'webpack-merge'; import { REPO_ROOT } from './lib/constants'; import { IgnoreNotFoundExportPlugin } from './ignore_not_found_export_plugin'; +import 'webpack-dev-server'; // Extends webpack configuration with `devServer` property type Preset = string | [string, Record] | Record; @@ -70,9 +71,11 @@ function isDesiredPreset(preset: Preset) { // Extend the Storybook Webpack config with some customizations /* eslint-disable import/no-default-export */ export default ({ config: storybookConfig }: { config: Configuration }) => { - const config = { + const config: Configuration = { devServer: { - stats, + devMiddleware: { + stats, + }, }, externals, module: { @@ -81,6 +84,11 @@ export default ({ config: storybookConfig }: { config: Configuration }) => { // already bundled with all its necessary dependencies noParse: [/[\/\\]node_modules[\/\\]vega[\/\\]build-es5[\/\\]vega\.js$/], rules: [ + { + test: /\.mjs$/, + include: /node_modules/, + type: 'javascript/auto', + }, { test: /\.(html|md|txt|tmpl)$/, use: { @@ -159,7 +167,7 @@ export default ({ config: storybookConfig }: { config: Configuration }) => { }, plugins: [new IgnoreNotFoundExportPlugin()], resolve: { - extensions: ['.js', '.ts', '.tsx', '.json', '.mdx'], + extensions: ['.js', '.mjs', '.ts', '.tsx', '.json', '.mdx'], mainFields: ['browser', 'main'], alias: { core_app_image_assets: resolve(REPO_ROOT, 'src/core/public/styles/core_app/images'), diff --git a/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js b/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js index 259f9ae914f18..4a3edd0559a79 100644 --- a/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js +++ b/packages/kbn-test/src/functional_tests/lib/babel_register_for_test_plugins.js @@ -18,7 +18,7 @@ require('@kbn/babel-register').install({ 'examples', 'x-pack/examples', // TODO: should should probably remove this link back to the source - 'x-pack/plugins/task_manager/server/config.ts', + 'x-pack/platform/plugins/shared/task_manager/server/config.ts', 'src/plugins/field_formats/common', 'packages', 'x-pack/packages', diff --git a/packages/kbn-test/src/jest/setup/polyfills.jsdom.js b/packages/kbn-test/src/jest/setup/polyfills.jsdom.js index e6616c2bccfa1..1aaeede644b9b 100644 --- a/packages/kbn-test/src/jest/setup/polyfills.jsdom.js +++ b/packages/kbn-test/src/jest/setup/polyfills.jsdom.js @@ -25,7 +25,7 @@ if (!Object.hasOwn(global, 'TextEncoder')) { // NOTE: We should evaluate removing this once we upgrade to Node 18 and find out if loaders.gl already fixed this usage // or instead check if we can use the official Blob implementation. -// This is needed for x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js +// This is needed for x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js // // https://github.com/jsdom/jsdom/issues/2555 global.Blob = require('blob-polyfill').Blob; diff --git a/packages/kbn-triggers-actions-ui-types/jest.config.js b/packages/kbn-triggers-actions-ui-types/jest.config.js deleted file mode 100644 index a8875bc7569d6..0000000000000 --- a/packages/kbn-triggers-actions-ui-types/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-triggers-actions-ui-types'], -}; diff --git a/packages/presentation/presentation_containers/jest.config.js b/packages/presentation/presentation_containers/jest.config.js deleted file mode 100644 index 94c17f63078df..0000000000000 --- a/packages/presentation/presentation_containers/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/presentation/presentation_containers'], -}; diff --git a/packages/presentation/presentation_publishing/jest.config.js b/packages/presentation/presentation_publishing/jest.config.js deleted file mode 100644 index dca7812d88eb3..0000000000000 --- a/packages/presentation/presentation_publishing/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/presentation/presentation_publishing'], -}; diff --git a/packages/react/kibana_context/root/BUILD.bazel b/packages/react/kibana_context/root/BUILD.bazel index fc073da074a61..e78f513deeac6 100644 --- a/packages/react/kibana_context/root/BUILD.bazel +++ b/packages/react/kibana_context/root/BUILD.bazel @@ -25,7 +25,7 @@ DEPS = [ "@npm//react", "@npm//tslib", "@npm//@elastic/eui", - "//packages/core/base/core-base-common", + "//src/core/packages/base/common:core-base-common", "//packages/shared-ux/router/impl:shared-ux-router", ] diff --git a/run_fleet_setup_parallel.sh b/run_fleet_setup_parallel.sh index e7ab3f5d33338..48df819821613 100755 --- a/run_fleet_setup_parallel.sh +++ b/run_fleet_setup_parallel.sh @@ -1,7 +1,7 @@ -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/es.test.ts & +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/es.test.ts & sleep 5 -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts & -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts & -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts & +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts & +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts & +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts & exit 0 \ No newline at end of file diff --git a/packages/core/analytics/core-analytics-browser-internal/README.md b/src/core/packages/analytics/browser-internal/README.md similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/README.md rename to src/core/packages/analytics/browser-internal/README.md diff --git a/packages/core/analytics/core-analytics-browser-internal/index.ts b/src/core/packages/analytics/browser-internal/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/index.ts rename to src/core/packages/analytics/browser-internal/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/jest.config.js b/src/core/packages/analytics/browser-internal/jest.config.js similarity index 83% rename from packages/core/apps/core-apps-browser-internal/jest.config.js rename to src/core/packages/analytics/browser-internal/jest.config.js index 70aafc13bdadb..53a81b4d9c6ef 100644 --- a/packages/core/apps/core-apps-browser-internal/jest.config.js +++ b/src/core/packages/analytics/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/apps/core-apps-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/browser-internal'], }; diff --git a/packages/core/analytics/core-analytics-browser-internal/kibana.jsonc b/src/core/packages/analytics/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/kibana.jsonc rename to src/core/packages/analytics/browser-internal/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-browser-internal/package.json b/src/core/packages/analytics/browser-internal/package.json similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/package.json rename to src/core/packages/analytics/browser-internal/package.json diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.mocks.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.test.mocks.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.test.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts b/src/core/packages/analytics/browser-internal/src/analytics_service.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/analytics_service.ts rename to src/core/packages/analytics/browser-internal/src/analytics_service.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/get_session_id.test.ts b/src/core/packages/analytics/browser-internal/src/get_session_id.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/get_session_id.test.ts rename to src/core/packages/analytics/browser-internal/src/get_session_id.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/get_session_id.ts b/src/core/packages/analytics/browser-internal/src/get_session_id.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/get_session_id.ts rename to src/core/packages/analytics/browser-internal/src/get_session_id.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts b/src/core/packages/analytics/browser-internal/src/track_clicks.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_clicks.test.ts rename to src/core/packages/analytics/browser-internal/src/track_clicks.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts b/src/core/packages/analytics/browser-internal/src/track_clicks.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_clicks.ts rename to src/core/packages/analytics/browser-internal/src/track_clicks.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts b/src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.test.ts rename to src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.ts b/src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_performance_measure_entries.ts rename to src/core/packages/analytics/browser-internal/src/track_performance_measure_entries.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts b/src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.test.ts rename to src/core/packages/analytics/browser-internal/src/track_viewport_size.test.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts b/src/core/packages/analytics/browser-internal/src/track_viewport_size.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser-internal/src/track_viewport_size.ts rename to src/core/packages/analytics/browser-internal/src/track_viewport_size.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json b/src/core/packages/analytics/browser-internal/tsconfig.json similarity index 89% rename from packages/core/analytics/core-analytics-browser-internal/tsconfig.json rename to src/core/packages/analytics/browser-internal/tsconfig.json index 152fbeeaa9edd..9dc1d2c37c791 100644 --- a/packages/core/analytics/core-analytics-browser-internal/tsconfig.json +++ b/src/core/packages/analytics/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node"] diff --git a/packages/core/analytics/core-analytics-browser/README.md b/src/core/packages/analytics/browser/README.md similarity index 100% rename from packages/core/analytics/core-analytics-browser/README.md rename to src/core/packages/analytics/browser/README.md diff --git a/packages/core/analytics/core-analytics-browser/index.ts b/src/core/packages/analytics/browser/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser/index.ts rename to src/core/packages/analytics/browser/index.ts diff --git a/packages/kbn-alerting-types/jest.config.js b/src/core/packages/analytics/browser/jest.config.js similarity index 85% rename from packages/kbn-alerting-types/jest.config.js rename to src/core/packages/analytics/browser/jest.config.js index 8d37bf9581dad..67d507722acad 100644 --- a/packages/kbn-alerting-types/jest.config.js +++ b/src/core/packages/analytics/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerting-types'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/browser'], }; diff --git a/packages/core/analytics/core-analytics-browser/kibana.jsonc b/src/core/packages/analytics/browser/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-browser/kibana.jsonc rename to src/core/packages/analytics/browser/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-browser/package.json b/src/core/packages/analytics/browser/package.json similarity index 100% rename from packages/core/analytics/core-analytics-browser/package.json rename to src/core/packages/analytics/browser/package.json diff --git a/packages/core/analytics/core-analytics-browser/src/types.ts b/src/core/packages/analytics/browser/src/types.ts similarity index 100% rename from packages/core/analytics/core-analytics-browser/src/types.ts rename to src/core/packages/analytics/browser/src/types.ts diff --git a/packages/core/analytics/core-analytics-server/tsconfig.json b/src/core/packages/analytics/browser/tsconfig.json similarity index 80% rename from packages/core/analytics/core-analytics-server/tsconfig.json rename to src/core/packages/analytics/browser/tsconfig.json index 99505f519996c..c6bb0972b56ae 100644 --- a/packages/core/analytics/core-analytics-server/tsconfig.json +++ b/src/core/packages/analytics/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/analytics/core-analytics-server-internal/README.md b/src/core/packages/analytics/server-internal/README.md similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/README.md rename to src/core/packages/analytics/server-internal/README.md diff --git a/packages/core/analytics/core-analytics-server-internal/index.ts b/src/core/packages/analytics/server-internal/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/index.ts rename to src/core/packages/analytics/server-internal/index.ts diff --git a/packages/core/apps/core-apps-server-internal/jest.config.js b/src/core/packages/analytics/server-internal/jest.config.js similarity index 84% rename from packages/core/apps/core-apps-server-internal/jest.config.js rename to src/core/packages/analytics/server-internal/jest.config.js index a8f73275f70a8..c272930b953d6 100644 --- a/packages/core/apps/core-apps-server-internal/jest.config.js +++ b/src/core/packages/analytics/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/apps/core-apps-server-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/server-internal'], }; diff --git a/packages/core/analytics/core-analytics-server-internal/kibana.jsonc b/src/core/packages/analytics/server-internal/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/kibana.jsonc rename to src/core/packages/analytics/server-internal/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-server-internal/package.json b/src/core/packages/analytics/server-internal/package.json similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/package.json rename to src/core/packages/analytics/server-internal/package.json diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts b/src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.mocks.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.test.mocks.ts diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts b/src/core/packages/analytics/server-internal/src/analytics_service.test.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.test.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.test.ts diff --git a/packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts b/src/core/packages/analytics/server-internal/src/analytics_service.ts similarity index 100% rename from packages/core/analytics/core-analytics-server-internal/src/analytics_service.ts rename to src/core/packages/analytics/server-internal/src/analytics_service.ts diff --git a/packages/core/analytics/core-analytics-server-internal/tsconfig.json b/src/core/packages/analytics/server-internal/tsconfig.json similarity index 87% rename from packages/core/analytics/core-analytics-server-internal/tsconfig.json rename to src/core/packages/analytics/server-internal/tsconfig.json index a9d2e7cf47b9d..d62b5cf6aea65 100644 --- a/packages/core/analytics/core-analytics-server-internal/tsconfig.json +++ b/src/core/packages/analytics/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/analytics/core-analytics-server/README.md b/src/core/packages/analytics/server/README.md similarity index 100% rename from packages/core/analytics/core-analytics-server/README.md rename to src/core/packages/analytics/server/README.md diff --git a/packages/core/analytics/core-analytics-server/index.ts b/src/core/packages/analytics/server/index.ts similarity index 100% rename from packages/core/analytics/core-analytics-server/index.ts rename to src/core/packages/analytics/server/index.ts diff --git a/packages/core/base/core-base-common/jest.config.js b/src/core/packages/analytics/server/jest.config.js similarity index 85% rename from packages/core/base/core-base-common/jest.config.js rename to src/core/packages/analytics/server/jest.config.js index 2d868d29fa4bf..d9d5d56cdb9d0 100644 --- a/packages/core/base/core-base-common/jest.config.js +++ b/src/core/packages/analytics/server/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/base/core-base-common'], + rootDir: '../../../../..', + roots: ['/src/core/packages/analytics/server'], }; diff --git a/packages/core/analytics/core-analytics-server/kibana.jsonc b/src/core/packages/analytics/server/kibana.jsonc similarity index 100% rename from packages/core/analytics/core-analytics-server/kibana.jsonc rename to src/core/packages/analytics/server/kibana.jsonc diff --git a/packages/core/analytics/core-analytics-server/package.json b/src/core/packages/analytics/server/package.json similarity index 100% rename from packages/core/analytics/core-analytics-server/package.json rename to src/core/packages/analytics/server/package.json diff --git a/packages/core/analytics/core-analytics-server/src/contracts.ts b/src/core/packages/analytics/server/src/contracts.ts similarity index 100% rename from packages/core/analytics/core-analytics-server/src/contracts.ts rename to src/core/packages/analytics/server/src/contracts.ts diff --git a/packages/core/analytics/core-analytics-browser/tsconfig.json b/src/core/packages/analytics/server/tsconfig.json similarity index 80% rename from packages/core/analytics/core-analytics-browser/tsconfig.json rename to src/core/packages/analytics/server/tsconfig.json index 99505f519996c..c6bb0972b56ae 100644 --- a/packages/core/analytics/core-analytics-browser/tsconfig.json +++ b/src/core/packages/analytics/server/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/application/core-application-browser-internal/README.md b/src/core/packages/application/browser-internal/README.md similarity index 100% rename from packages/core/application/core-application-browser-internal/README.md rename to src/core/packages/application/browser-internal/README.md diff --git a/packages/core/application/core-application-browser-internal/index.ts b/src/core/packages/application/browser-internal/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/index.ts rename to src/core/packages/application/browser-internal/index.ts diff --git a/packages/core/application/core-application-browser-internal/integration_tests/application_service.test.tsx b/src/core/packages/application/browser-internal/integration_tests/application_service.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/application_service.test.tsx rename to src/core/packages/application/browser-internal/integration_tests/application_service.test.tsx diff --git a/packages/core/application/core-application-browser-internal/integration_tests/router.test.tsx b/src/core/packages/application/browser-internal/integration_tests/router.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/router.test.tsx rename to src/core/packages/application/browser-internal/integration_tests/router.test.tsx diff --git a/packages/core/application/core-application-browser-internal/integration_tests/utils.tsx b/src/core/packages/application/browser-internal/integration_tests/utils.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/integration_tests/utils.tsx rename to src/core/packages/application/browser-internal/integration_tests/utils.tsx diff --git a/packages/core/application/core-application-common/jest.config.js b/src/core/packages/application/browser-internal/jest.config.js similarity index 83% rename from packages/core/application/core-application-common/jest.config.js rename to src/core/packages/application/browser-internal/jest.config.js index bf825b81c6e01..fac6160093b0a 100644 --- a/packages/core/application/core-application-common/jest.config.js +++ b/src/core/packages/application/browser-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-common'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser-internal'], }; diff --git a/packages/core/application/core-application-browser-internal/jest.integration.config.js b/src/core/packages/application/browser-internal/jest.integration.config.js similarity index 82% rename from packages/core/application/core-application-browser-internal/jest.integration.config.js rename to src/core/packages/application/browser-internal/jest.integration.config.js index dac107a009695..ba7f5c3320f66 100644 --- a/packages/core/application/core-application-browser-internal/jest.integration.config.js +++ b/src/core/packages/application/browser-internal/jest.integration.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser-internal'], }; diff --git a/packages/core/application/core-application-browser-internal/kibana.jsonc b/src/core/packages/application/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-browser-internal/kibana.jsonc rename to src/core/packages/application/browser-internal/kibana.jsonc diff --git a/packages/core/application/core-application-browser-internal/package.json b/src/core/packages/application/browser-internal/package.json similarity index 100% rename from packages/core/application/core-application-browser-internal/package.json rename to src/core/packages/application/browser-internal/package.json diff --git a/packages/core/application/core-application-browser-internal/src/__snapshots__/application_service.test.ts.snap b/src/core/packages/application/browser-internal/src/__snapshots__/application_service.test.ts.snap similarity index 100% rename from packages/core/application/core-application-browser-internal/src/__snapshots__/application_service.test.ts.snap rename to src/core/packages/application/browser-internal/src/__snapshots__/application_service.test.ts.snap diff --git a/packages/core/application/core-application-browser-internal/src/application_leave.test.ts b/src/core/packages/application/browser-internal/src/application_leave.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_leave.test.ts rename to src/core/packages/application/browser-internal/src/application_leave.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_leave.tsx b/src/core/packages/application/browser-internal/src/application_leave.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_leave.tsx rename to src/core/packages/application/browser-internal/src/application_leave.tsx diff --git a/packages/core/application/core-application-browser-internal/src/application_service.test.mocks.ts b/src/core/packages/application/browser-internal/src/application_service.test.mocks.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.test.mocks.ts rename to src/core/packages/application/browser-internal/src/application_service.test.mocks.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_service.test.ts b/src/core/packages/application/browser-internal/src/application_service.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.test.ts rename to src/core/packages/application/browser-internal/src/application_service.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/application_service.tsx b/src/core/packages/application/browser-internal/src/application_service.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/application_service.tsx rename to src/core/packages/application/browser-internal/src/application_service.tsx diff --git a/packages/core/application/core-application-browser-internal/src/navigation_confirm.test.ts b/src/core/packages/application/browser-internal/src/navigation_confirm.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/navigation_confirm.test.ts rename to src/core/packages/application/browser-internal/src/navigation_confirm.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/navigation_confirm.ts b/src/core/packages/application/browser-internal/src/navigation_confirm.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/navigation_confirm.ts rename to src/core/packages/application/browser-internal/src/navigation_confirm.ts diff --git a/packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts b/src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.test.ts rename to src/core/packages/application/browser-internal/src/register_analytics_context_provider.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts b/src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/register_analytics_context_provider.ts rename to src/core/packages/application/browser-internal/src/register_analytics_context_provider.ts diff --git a/packages/core/application/core-application-browser-internal/src/scoped_history.test.ts b/src/core/packages/application/browser-internal/src/scoped_history.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/scoped_history.test.ts rename to src/core/packages/application/browser-internal/src/scoped_history.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/scoped_history.ts b/src/core/packages/application/browser-internal/src/scoped_history.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/scoped_history.ts rename to src/core/packages/application/browser-internal/src/scoped_history.ts diff --git a/packages/core/application/core-application-browser-internal/src/test_helpers/test_types.ts b/src/core/packages/application/browser-internal/src/test_helpers/test_types.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/test_helpers/test_types.ts rename to src/core/packages/application/browser-internal/src/test_helpers/test_types.ts diff --git a/packages/core/application/core-application-browser-internal/src/types.ts b/src/core/packages/application/browser-internal/src/types.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/types.ts rename to src/core/packages/application/browser-internal/src/types.ts diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_container.test.tsx b/src/core/packages/application/browser-internal/src/ui/app_container.test.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_container.test.tsx rename to src/core/packages/application/browser-internal/src/ui/app_container.test.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx b/src/core/packages/application/browser-internal/src/ui/app_container.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_container.tsx rename to src/core/packages/application/browser-internal/src/ui/app_container.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_not_found_screen.tsx b/src/core/packages/application/browser-internal/src/ui/app_not_found_screen.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_not_found_screen.tsx rename to src/core/packages/application/browser-internal/src/ui/app_not_found_screen.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_router.tsx b/src/core/packages/application/browser-internal/src/ui/app_router.tsx similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/app_router.tsx rename to src/core/packages/application/browser-internal/src/ui/app_router.tsx diff --git a/packages/core/application/core-application-browser-internal/src/ui/index.ts b/src/core/packages/application/browser-internal/src/ui/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/ui/index.ts rename to src/core/packages/application/browser-internal/src/ui/index.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/append_app_path.test.ts b/src/core/packages/application/browser-internal/src/utils/append_app_path.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/append_app_path.test.ts rename to src/core/packages/application/browser-internal/src/utils/append_app_path.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts b/src/core/packages/application/browser-internal/src/utils/append_app_path.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/append_app_path.ts rename to src/core/packages/application/browser-internal/src/utils/append_app_path.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/constants.ts b/src/core/packages/application/browser-internal/src/utils/constants.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/constants.ts rename to src/core/packages/application/browser-internal/src/utils/constants.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_app_info.test.ts b/src/core/packages/application/browser-internal/src/utils/get_app_info.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_app_info.test.ts rename to src/core/packages/application/browser-internal/src/utils/get_app_info.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts b/src/core/packages/application/browser-internal/src/utils/get_app_info.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_app_info.ts rename to src/core/packages/application/browser-internal/src/utils/get_app_info.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_location_observable.test.ts b/src/core/packages/application/browser-internal/src/utils/get_location_observable.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_location_observable.test.ts rename to src/core/packages/application/browser-internal/src/utils/get_location_observable.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/get_location_observable.ts b/src/core/packages/application/browser-internal/src/utils/get_location_observable.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/get_location_observable.ts rename to src/core/packages/application/browser-internal/src/utils/get_location_observable.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/index.ts b/src/core/packages/application/browser-internal/src/utils/index.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/index.ts rename to src/core/packages/application/browser-internal/src/utils/index.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/parse_app_url.test.ts b/src/core/packages/application/browser-internal/src/utils/parse_app_url.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/parse_app_url.test.ts rename to src/core/packages/application/browser-internal/src/utils/parse_app_url.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts b/src/core/packages/application/browser-internal/src/utils/parse_app_url.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/parse_app_url.ts rename to src/core/packages/application/browser-internal/src/utils/parse_app_url.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.test.ts b/src/core/packages/application/browser-internal/src/utils/relative_to_absolute.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.test.ts rename to src/core/packages/application/browser-internal/src/utils/relative_to_absolute.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts b/src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/relative_to_absolute.ts rename to src/core/packages/application/browser-internal/src/utils/relative_to_absolute.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/remove_slashes.test.ts b/src/core/packages/application/browser-internal/src/utils/remove_slashes.test.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/remove_slashes.test.ts rename to src/core/packages/application/browser-internal/src/utils/remove_slashes.test.ts diff --git a/packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts b/src/core/packages/application/browser-internal/src/utils/remove_slashes.ts similarity index 100% rename from packages/core/application/core-application-browser-internal/src/utils/remove_slashes.ts rename to src/core/packages/application/browser-internal/src/utils/remove_slashes.ts diff --git a/packages/core/application/core-application-browser-internal/tsconfig.json b/src/core/packages/application/browser-internal/tsconfig.json similarity index 95% rename from packages/core/application/core-application-browser-internal/tsconfig.json rename to src/core/packages/application/browser-internal/tsconfig.json index 497d069efc596..8db83fe2e2e2e 100644 --- a/packages/core/application/core-application-browser-internal/tsconfig.json +++ b/src/core/packages/application/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/application/core-application-browser/README.md b/src/core/packages/application/browser/README.md similarity index 100% rename from packages/core/application/core-application-browser/README.md rename to src/core/packages/application/browser/README.md diff --git a/packages/core/application/core-application-browser/index.ts b/src/core/packages/application/browser/index.ts similarity index 100% rename from packages/core/application/core-application-browser/index.ts rename to src/core/packages/application/browser/index.ts diff --git a/packages/kbn-actions-types/jest.config.js b/src/core/packages/application/browser/jest.config.js similarity index 84% rename from packages/kbn-actions-types/jest.config.js rename to src/core/packages/application/browser/jest.config.js index f15cdb2ecb201..21356fe119018 100644 --- a/packages/kbn-actions-types/jest.config.js +++ b/src/core/packages/application/browser/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-actions-types'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/browser'], }; diff --git a/packages/core/application/core-application-browser/kibana.jsonc b/src/core/packages/application/browser/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-browser/kibana.jsonc rename to src/core/packages/application/browser/kibana.jsonc diff --git a/packages/core/application/core-application-browser/package.json b/src/core/packages/application/browser/package.json similarity index 100% rename from packages/core/application/core-application-browser/package.json rename to src/core/packages/application/browser/package.json diff --git a/packages/core/application/core-application-browser/src/app_leave.ts b/src/core/packages/application/browser/src/app_leave.ts similarity index 100% rename from packages/core/application/core-application-browser/src/app_leave.ts rename to src/core/packages/application/browser/src/app_leave.ts diff --git a/packages/core/application/core-application-browser/src/app_mount.ts b/src/core/packages/application/browser/src/app_mount.ts similarity index 100% rename from packages/core/application/core-application-browser/src/app_mount.ts rename to src/core/packages/application/browser/src/app_mount.ts diff --git a/packages/core/application/core-application-browser/src/application.ts b/src/core/packages/application/browser/src/application.ts similarity index 100% rename from packages/core/application/core-application-browser/src/application.ts rename to src/core/packages/application/browser/src/application.ts diff --git a/packages/core/application/core-application-browser/src/contracts.ts b/src/core/packages/application/browser/src/contracts.ts similarity index 98% rename from packages/core/application/core-application-browser/src/contracts.ts rename to src/core/packages/application/browser/src/contracts.ts index e8b2cd77028f6..7aada384d8378 100644 --- a/packages/core/application/core-application-browser/src/contracts.ts +++ b/src/core/packages/application/browser/src/contracts.ts @@ -109,7 +109,7 @@ export interface ApplicationStart { * application.navigateToUrl('/app/discover/some-path') // does not include the current basePath * application.navigateToUrl('/base-path/s/my-space/app/unknown-app/some-path') // unknown application * application.navigateToUrl('../discover') // resolve to `/base-path/s/my-space/discover` which is not a path of a known app. - * application.navigateToUrl('../../other-space/discover') // resolve to `/base-path/s/other-space/discover` which is not within the current basePath. + * application.navigateToUrl('../../../other-space/discover') // resolve to `/base-path/s/other-space/discover` which is not within the current basePath. * ``` * * @param url - an absolute URL, an absolute path or a relative path, to navigate to. diff --git a/packages/core/application/core-application-browser/src/scoped_history.ts b/src/core/packages/application/browser/src/scoped_history.ts similarity index 100% rename from packages/core/application/core-application-browser/src/scoped_history.ts rename to src/core/packages/application/browser/src/scoped_history.ts diff --git a/packages/core/application/core-application-browser/tsconfig.json b/src/core/packages/application/browser/tsconfig.json similarity index 88% rename from packages/core/application/core-application-browser/tsconfig.json rename to src/core/packages/application/browser/tsconfig.json index d22e0c337382a..c7b86c46c1ee2 100644 --- a/packages/core/application/core-application-browser/tsconfig.json +++ b/src/core/packages/application/browser/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/application/core-application-common/README.md b/src/core/packages/application/common/README.md similarity index 100% rename from packages/core/application/core-application-common/README.md rename to src/core/packages/application/common/README.md diff --git a/packages/core/application/core-application-common/index.ts b/src/core/packages/application/common/index.ts similarity index 100% rename from packages/core/application/core-application-common/index.ts rename to src/core/packages/application/common/index.ts diff --git a/packages/deeplinks/fleet/jest.config.js b/src/core/packages/application/common/jest.config.js similarity index 85% rename from packages/deeplinks/fleet/jest.config.js rename to src/core/packages/application/common/jest.config.js index c983811e743a1..4724ccc6350c8 100644 --- a/packages/deeplinks/fleet/jest.config.js +++ b/src/core/packages/application/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/deeplinks/fleet'], + rootDir: '../../../../..', + roots: ['/src/core/packages/application/common'], }; diff --git a/packages/core/application/core-application-common/kibana.jsonc b/src/core/packages/application/common/kibana.jsonc similarity index 100% rename from packages/core/application/core-application-common/kibana.jsonc rename to src/core/packages/application/common/kibana.jsonc diff --git a/packages/core/application/core-application-common/package.json b/src/core/packages/application/common/package.json similarity index 100% rename from packages/core/application/core-application-common/package.json rename to src/core/packages/application/common/package.json diff --git a/packages/core/application/core-application-common/src/app_category.ts b/src/core/packages/application/common/src/app_category.ts similarity index 100% rename from packages/core/application/core-application-common/src/app_category.ts rename to src/core/packages/application/common/src/app_category.ts diff --git a/packages/core/application/core-application-common/src/app_wrapper_class.ts b/src/core/packages/application/common/src/app_wrapper_class.ts similarity index 100% rename from packages/core/application/core-application-common/src/app_wrapper_class.ts rename to src/core/packages/application/common/src/app_wrapper_class.ts diff --git a/packages/core/application/core-application-common/src/default_app_categories.ts b/src/core/packages/application/common/src/default_app_categories.ts similarity index 100% rename from packages/core/application/core-application-common/src/default_app_categories.ts rename to src/core/packages/application/common/src/default_app_categories.ts diff --git a/packages/core/application/core-application-common/src/global_app_style.tsx b/src/core/packages/application/common/src/global_app_style.tsx similarity index 100% rename from packages/core/application/core-application-common/src/global_app_style.tsx rename to src/core/packages/application/common/src/global_app_style.tsx diff --git a/packages/core/application/core-application-common/tsconfig.json b/src/core/packages/application/common/tsconfig.json similarity index 82% rename from packages/core/application/core-application-common/tsconfig.json rename to src/core/packages/application/common/tsconfig.json index da0657512bb06..e4d2c85fd93d6 100644 --- a/packages/core/application/core-application-common/tsconfig.json +++ b/src/core/packages/application/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/apps/core-apps-browser-internal/README.md b/src/core/packages/apps/browser-internal/README.md similarity index 100% rename from packages/core/apps/core-apps-browser-internal/README.md rename to src/core/packages/apps/browser-internal/README.md diff --git a/packages/core/apps/core-apps-browser-internal/index.ts b/src/core/packages/apps/browser-internal/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/index.ts rename to src/core/packages/apps/browser-internal/index.ts diff --git a/src/core/packages/apps/browser-internal/jest.config.js b/src/core/packages/apps/browser-internal/jest.config.js new file mode 100644 index 0000000000000..8346aa238f169 --- /dev/null +++ b/src/core/packages/apps/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/apps/browser-internal'], +}; diff --git a/packages/core/apps/core-apps-browser-internal/kibana.jsonc b/src/core/packages/apps/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/apps/core-apps-browser-internal/kibana.jsonc rename to src/core/packages/apps/browser-internal/kibana.jsonc diff --git a/packages/core/apps/core-apps-browser-internal/package.json b/src/core/packages/apps/browser-internal/package.json similarity index 100% rename from packages/core/apps/core-apps-browser-internal/package.json rename to src/core/packages/apps/browser-internal/package.json diff --git a/packages/core/apps/core-apps-browser-internal/src/core_app.ts b/src/core/packages/apps/browser-internal/src/core_app.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/core_app.ts rename to src/core/packages/apps/browser-internal/src/core_app.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/error_application.test.ts b/src/core/packages/apps/browser-internal/src/errors/error_application.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/error_application.test.ts rename to src/core/packages/apps/browser-internal/src/errors/error_application.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx b/src/core/packages/apps/browser-internal/src/errors/error_application.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx rename to src/core/packages/apps/browser-internal/src/errors/error_application.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/index.ts b/src/core/packages/apps/browser-internal/src/errors/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/index.ts rename to src/core/packages/apps/browser-internal/src/errors/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.test.tsx b/src/core/packages/apps/browser-internal/src/errors/public_base_url.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.test.tsx rename to src/core/packages/apps/browser-internal/src/errors/public_base_url.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.tsx b/src/core/packages/apps/browser-internal/src/errors/public_base_url.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/public_base_url.tsx rename to src/core/packages/apps/browser-internal/src/errors/public_base_url.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.test.ts b/src/core/packages/apps/browser-internal/src/errors/url_overflow.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.test.ts rename to src/core/packages/apps/browser-internal/src/errors/url_overflow.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx b/src/core/packages/apps/browser-internal/src/errors/url_overflow.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow.tsx rename to src/core/packages/apps/browser-internal/src/errors/url_overflow.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/url_overflow_ui.tsx b/src/core/packages/apps/browser-internal/src/errors/url_overflow_ui.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/errors/url_overflow_ui.tsx rename to src/core/packages/apps/browser-internal/src/errors/url_overflow_ui.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/index.ts b/src/core/packages/apps/browser-internal/src/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/index.ts rename to src/core/packages/apps/browser-internal/src/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/metric_tiles.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/server_status.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap b/src/core/packages/apps/browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap rename to src/core/packages/apps/browser-internal/src/status/components/__snapshots__/status_table.test.tsx.snap diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/index.ts b/src/core/packages/apps/browser-internal/src/status/components/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/index.ts rename to src/core/packages/apps/browser-internal/src/status/components/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/metric_tiles.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/metric_tiles.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.tsx b/src/core/packages/apps/browser-internal/src/status/components/metric_tiles.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/metric_tiles.tsx rename to src/core/packages/apps/browser-internal/src/status/components/metric_tiles.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/server_status.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/server_status.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/server_status.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/server_status.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/server_status.tsx b/src/core/packages/apps/browser-internal/src/status/components/server_status.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/server_status.tsx rename to src/core/packages/apps/browser-internal/src/status/components/server_status.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_badge.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_badge.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_badge.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_badge.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_badge.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_expanded_row.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_expanded_row.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_expanded_row.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_expanded_row.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_section.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_section.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_section.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_section.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_table.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_table.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_table.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_table.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/status_table.tsx b/src/core/packages/apps/browser-internal/src/status/components/status_table.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/status_table.tsx rename to src/core/packages/apps/browser-internal/src/status/components/status_table.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/version_header.test.tsx b/src/core/packages/apps/browser-internal/src/status/components/version_header.test.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/version_header.test.tsx rename to src/core/packages/apps/browser-internal/src/status/components/version_header.test.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/components/version_header.tsx b/src/core/packages/apps/browser-internal/src/status/components/version_header.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/components/version_header.tsx rename to src/core/packages/apps/browser-internal/src/status/components/version_header.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/index.ts b/src/core/packages/apps/browser-internal/src/status/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/index.ts rename to src/core/packages/apps/browser-internal/src/status/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/format_number.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/format_number.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.ts b/src/core/packages/apps/browser-internal/src/status/lib/format_number.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/format_number.ts rename to src/core/packages/apps/browser-internal/src/status/lib/format_number.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/index.ts b/src/core/packages/apps/browser-internal/src/status/lib/index.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/index.ts rename to src/core/packages/apps/browser-internal/src/status/lib/index.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/load_status.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/load_status.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts b/src/core/packages/apps/browser-internal/src/status/lib/load_status.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/load_status.ts rename to src/core/packages/apps/browser-internal/src/status/lib/load_status.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.test.ts b/src/core/packages/apps/browser-internal/src/status/lib/status_level.test.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.test.ts rename to src/core/packages/apps/browser-internal/src/status/lib/status_level.test.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.ts b/src/core/packages/apps/browser-internal/src/status/lib/status_level.ts similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/lib/status_level.ts rename to src/core/packages/apps/browser-internal/src/status/lib/status_level.ts diff --git a/packages/core/apps/core-apps-browser-internal/src/status/render_app.tsx b/src/core/packages/apps/browser-internal/src/status/render_app.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/render_app.tsx rename to src/core/packages/apps/browser-internal/src/status/render_app.tsx diff --git a/packages/core/apps/core-apps-browser-internal/src/status/status_app.tsx b/src/core/packages/apps/browser-internal/src/status/status_app.tsx similarity index 100% rename from packages/core/apps/core-apps-browser-internal/src/status/status_app.tsx rename to src/core/packages/apps/browser-internal/src/status/status_app.tsx diff --git a/packages/core/apps/core-apps-browser-internal/tsconfig.json b/src/core/packages/apps/browser-internal/tsconfig.json similarity index 96% rename from packages/core/apps/core-apps-browser-internal/tsconfig.json rename to src/core/packages/apps/browser-internal/tsconfig.json index 499f4b975f6d8..23c8d34721eaa 100644 --- a/packages/core/apps/core-apps-browser-internal/tsconfig.json +++ b/src/core/packages/apps/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/apps/core-apps-server-internal/README.md b/src/core/packages/apps/server-internal/README.md similarity index 100% rename from packages/core/apps/core-apps-server-internal/README.md rename to src/core/packages/apps/server-internal/README.md diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg b/src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg rename to src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico b/src/core/packages/apps/server-internal/assets/favicons/favicon.ico similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico rename to src/core/packages/apps/server-internal/assets/favicons/favicon.ico diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png b/src/core/packages/apps/server-internal/assets/favicons/favicon.png similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png rename to src/core/packages/apps/server-internal/assets/favicons/favicon.png diff --git a/packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg b/src/core/packages/apps/server-internal/assets/favicons/favicon.svg similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg rename to src/core/packages/apps/server-internal/assets/favicons/favicon.svg diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Black.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Black.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BlackItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Bold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Bold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-BoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraBoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLight.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ExtraLightItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Italic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Italic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Light.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Light.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-LightItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-LightItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Medium.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Medium.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-MediumItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Regular.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Regular.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBold.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBold.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-SemiBoldItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-Thin.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-Thin.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-ThinItalic.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-italic.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-italic.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-italic.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-italic.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-roman.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter-roman.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter-roman.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter-roman.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter.var.woff2 b/src/core/packages/apps/server-internal/assets/fonts/inter/Inter.var.woff2 similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/Inter.var.woff2 rename to src/core/packages/apps/server-internal/assets/fonts/inter/Inter.var.woff2 diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/inter/LICENSE.txt b/src/core/packages/apps/server-internal/assets/fonts/inter/LICENSE.txt similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/inter/LICENSE.txt rename to src/core/packages/apps/server-internal/assets/fonts/inter/LICENSE.txt diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/readme.md b/src/core/packages/apps/server-internal/assets/fonts/readme.md similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/readme.md rename to src/core/packages/apps/server-internal/assets/fonts/readme.md diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/LICENSE.txt b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/LICENSE.txt similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/LICENSE.txt rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/LICENSE.txt diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Bold.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-BoldItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Italic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Light.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-LightItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Medium.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-MediumItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Regular.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-Thin.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf b/src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf rename to src/core/packages/apps/server-internal/assets/fonts/roboto_mono/RobotoMono-ThinItalic.ttf diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.css b/src/core/packages/apps/server-internal/assets/legacy_dark_theme.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.css rename to src/core/packages/apps/server-internal/assets/legacy_dark_theme.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.min.css b/src/core/packages/apps/server-internal/assets/legacy_dark_theme.min.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_dark_theme.min.css rename to src/core/packages/apps/server-internal/assets/legacy_dark_theme.min.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.css b/src/core/packages/apps/server-internal/assets/legacy_light_theme.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.css rename to src/core/packages/apps/server-internal/assets/legacy_light_theme.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.min.css b/src/core/packages/apps/server-internal/assets/legacy_light_theme.min.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_light_theme.min.css rename to src/core/packages/apps/server-internal/assets/legacy_light_theme.min.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_styles.css b/src/core/packages/apps/server-internal/assets/legacy_styles.css similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_styles.css rename to src/core/packages/apps/server-internal/assets/legacy_styles.css diff --git a/packages/core/apps/core-apps-server-internal/assets/legacy_theme.js b/src/core/packages/apps/server-internal/assets/legacy_theme.js similarity index 100% rename from packages/core/apps/core-apps-server-internal/assets/legacy_theme.js rename to src/core/packages/apps/server-internal/assets/legacy_theme.js diff --git a/packages/core/apps/core-apps-server-internal/index.ts b/src/core/packages/apps/server-internal/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/index.ts rename to src/core/packages/apps/server-internal/index.ts diff --git a/packages/response-ops/rule_params/jest.config.js b/src/core/packages/apps/server-internal/jest.config.js similarity index 85% rename from packages/response-ops/rule_params/jest.config.js rename to src/core/packages/apps/server-internal/jest.config.js index ee60f7ea42272..50706961a694a 100644 --- a/packages/response-ops/rule_params/jest.config.js +++ b/src/core/packages/apps/server-internal/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../..', - roots: ['/packages/response-ops/rule_params'], + rootDir: '../../../../..', + roots: ['/src/core/packages/apps/server-internal'], }; diff --git a/packages/core/apps/core-apps-server-internal/kibana.jsonc b/src/core/packages/apps/server-internal/kibana.jsonc similarity index 100% rename from packages/core/apps/core-apps-server-internal/kibana.jsonc rename to src/core/packages/apps/server-internal/kibana.jsonc diff --git a/packages/core/apps/core-apps-server-internal/package.json b/src/core/packages/apps/server-internal/package.json similarity index 100% rename from packages/core/apps/core-apps-server-internal/package.json rename to src/core/packages/apps/server-internal/package.json diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundle_route.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundle_route.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts b/src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/bundles_route.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/bundles_route.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.ts b/src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/dynamic_asset_response.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/dynamic_asset_response.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.ts b/src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/file_hash_cache.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/file_hash_cache.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/fs.ts b/src/core/packages/apps/server-internal/src/bundle_routes/fs.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/fs.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/fs.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/index.ts b/src/core/packages/apps/server-internal/src/bundle_routes/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/index.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/index.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.test.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts b/src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/select_compressed_file.ts b/src/core/packages/apps/server-internal/src/bundle_routes/select_compressed_file.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/select_compressed_file.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/select_compressed_file.ts diff --git a/packages/core/apps/core-apps-server-internal/src/bundle_routes/utils.ts b/src/core/packages/apps/server-internal/src/bundle_routes/utils.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/bundle_routes/utils.ts rename to src/core/packages/apps/server-internal/src/bundle_routes/utils.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.test.mocks.ts b/src/core/packages/apps/server-internal/src/core_app.test.mocks.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.test.mocks.ts rename to src/core/packages/apps/server-internal/src/core_app.test.mocks.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.test.ts b/src/core/packages/apps/server-internal/src/core_app.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.test.ts rename to src/core/packages/apps/server-internal/src/core_app.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app.ts b/src/core/packages/apps/server-internal/src/core_app.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app.ts rename to src/core/packages/apps/server-internal/src/core_app.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app_config.test.ts b/src/core/packages/apps/server-internal/src/core_app_config.test.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app_config.test.ts rename to src/core/packages/apps/server-internal/src/core_app_config.test.ts diff --git a/packages/core/apps/core-apps-server-internal/src/core_app_config.ts b/src/core/packages/apps/server-internal/src/core_app_config.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/core_app_config.ts rename to src/core/packages/apps/server-internal/src/core_app_config.ts diff --git a/packages/core/apps/core-apps-server-internal/src/index.ts b/src/core/packages/apps/server-internal/src/index.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/index.ts rename to src/core/packages/apps/server-internal/src/index.ts diff --git a/packages/core/apps/core-apps-server-internal/src/internal_types.ts b/src/core/packages/apps/server-internal/src/internal_types.ts similarity index 100% rename from packages/core/apps/core-apps-server-internal/src/internal_types.ts rename to src/core/packages/apps/server-internal/src/internal_types.ts diff --git a/packages/core/apps/core-apps-server-internal/tsconfig.json b/src/core/packages/apps/server-internal/tsconfig.json similarity index 95% rename from packages/core/apps/core-apps-server-internal/tsconfig.json rename to src/core/packages/apps/server-internal/tsconfig.json index cc84d62f4faa4..5fc120ad7dc15 100644 --- a/packages/core/apps/core-apps-server-internal/tsconfig.json +++ b/src/core/packages/apps/server-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "stripInternal": false, diff --git a/packages/core/base/core-base-browser-internal/README.md b/src/core/packages/base/browser-internal/README.md similarity index 100% rename from packages/core/base/core-base-browser-internal/README.md rename to src/core/packages/base/browser-internal/README.md diff --git a/packages/core/base/core-base-browser-internal/index.ts b/src/core/packages/base/browser-internal/index.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/index.ts rename to src/core/packages/base/browser-internal/index.ts diff --git a/src/core/packages/base/browser-internal/jest.config.js b/src/core/packages/base/browser-internal/jest.config.js new file mode 100644 index 0000000000000..b4bdea09b3803 --- /dev/null +++ b/src/core/packages/base/browser-internal/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/core/packages/base/browser-internal'], +}; diff --git a/packages/core/base/core-base-browser-internal/kibana.jsonc b/src/core/packages/base/browser-internal/kibana.jsonc similarity index 100% rename from packages/core/base/core-base-browser-internal/kibana.jsonc rename to src/core/packages/base/browser-internal/kibana.jsonc diff --git a/packages/core/base/core-base-browser-internal/package.json b/src/core/packages/base/browser-internal/package.json similarity index 100% rename from packages/core/base/core-base-browser-internal/package.json rename to src/core/packages/base/browser-internal/package.json diff --git a/packages/core/base/core-base-browser-internal/src/core_context.ts b/src/core/packages/base/browser-internal/src/core_context.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/src/core_context.ts rename to src/core/packages/base/browser-internal/src/core_context.ts diff --git a/packages/core/base/core-base-browser-internal/src/services.ts b/src/core/packages/base/browser-internal/src/services.ts similarity index 100% rename from packages/core/base/core-base-browser-internal/src/services.ts rename to src/core/packages/base/browser-internal/src/services.ts diff --git a/packages/core/base/core-base-browser-internal/tsconfig.json b/src/core/packages/base/browser-internal/tsconfig.json similarity index 86% rename from packages/core/base/core-base-browser-internal/tsconfig.json rename to src/core/packages/base/browser-internal/tsconfig.json index a3e5d5fc950b9..6ee4dfcc17547 100644 --- a/packages/core/base/core-base-browser-internal/tsconfig.json +++ b/src/core/packages/base/browser-internal/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/core/base/core-base-common/BUILD.bazel b/src/core/packages/base/common/BUILD.bazel similarity index 100% rename from packages/core/base/core-base-common/BUILD.bazel rename to src/core/packages/base/common/BUILD.bazel diff --git a/packages/core/base/core-base-common/README.md b/src/core/packages/base/common/README.md similarity index 100% rename from packages/core/base/core-base-common/README.md rename to src/core/packages/base/common/README.md diff --git a/packages/core/base/core-base-common/index.ts b/src/core/packages/base/common/index.ts similarity index 100% rename from packages/core/base/core-base-common/index.ts rename to src/core/packages/base/common/index.ts diff --git a/packages/kbn-panel-loader/jest.config.js b/src/core/packages/base/common/jest.config.js similarity index 86% rename from packages/kbn-panel-loader/jest.config.js rename to src/core/packages/base/common/jest.config.js index 6017709bffef4..8d4d5a7856044 100644 --- a/packages/kbn-panel-loader/jest.config.js +++ b/src/core/packages/base/common/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../..', - roots: ['/packages/kbn-panel-loader'], + rootDir: '../../../../..', + roots: ['/src/core/packages/base/common'], }; diff --git a/packages/core/base/core-base-common/kibana.jsonc b/src/core/packages/base/common/kibana.jsonc similarity index 100% rename from packages/core/base/core-base-common/kibana.jsonc rename to src/core/packages/base/common/kibana.jsonc diff --git a/packages/core/base/core-base-common/package.json b/src/core/packages/base/common/package.json similarity index 100% rename from packages/core/base/core-base-common/package.json rename to src/core/packages/base/common/package.json diff --git a/packages/core/base/core-base-common/src/eui.ts b/src/core/packages/base/common/src/eui.ts similarity index 100% rename from packages/core/base/core-base-common/src/eui.ts rename to src/core/packages/base/common/src/eui.ts diff --git a/packages/core/base/core-base-common/src/plugins.ts b/src/core/packages/base/common/src/plugins.ts similarity index 100% rename from packages/core/base/core-base-common/src/plugins.ts rename to src/core/packages/base/common/src/plugins.ts diff --git a/packages/core/base/core-base-common/tsconfig.json b/src/core/packages/base/common/tsconfig.json similarity index 81% rename from packages/core/base/core-base-common/tsconfig.json rename to src/core/packages/base/common/tsconfig.json index 40ac62b671e04..20ffd85947c56 100644 --- a/packages/core/base/core-base-common/tsconfig.json +++ b/src/core/packages/base/common/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts b/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts index 5aca6f1c04446..f2bbcd85834ff 100644 --- a/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts +++ b/src/core/server/integration_tests/ci_checks/saved_objects/check_registered_types.test.ts @@ -73,7 +73,7 @@ describe('checking migration metadata changes on all registered SO types', () => "canvas-element": "cdedc2123eb8a1506b87a56b0bcce60f4ec08bc8", "canvas-workpad": "9d82aafb19586b119e5c9382f938abe28c26ca5c", "canvas-workpad-template": "c077b0087346776bb3542b51e1385d172cb24179", - "cases": "5433a9f1277f8f17bbc4fd20d33b1fc6d997931e", + "cases": "91771732e2e488e4c1b1ac468057925d1c6b32b5", "cases-comments": "5cb0a421588831c2a950e50f486048b8aabbae25", "cases-configure": "44ed7b8e0f44df39516b8870589b89e32224d2bf", "cases-connector-mappings": "f9d1ac57e484e69506c36a8051e4d61f4a8cfd25", diff --git a/src/dev/build/lib/archive_utils.ts b/src/dev/build/lib/archive_utils.ts index 4c886096426c0..9accec17c7b37 100644 --- a/src/dev/build/lib/archive_utils.ts +++ b/src/dev/build/lib/archive_utils.ts @@ -12,7 +12,7 @@ import yauzl from 'yauzl'; import yazl from 'yazl'; // The utilities in this file are largely copied with minor modifications from -// `x-pack/plugins/fleet/server/services/epm/extract.ts`. We can't import them directly +// `x-pack/platform/plugins/shared/fleet/server/services/epm/extract.ts`. We can't import them directly // in the bundled package task due to tsconfig limitation, so they're copied here instead. export interface ZipEntry { @@ -63,7 +63,7 @@ export async function createZipFile(entries: ZipEntry[], destination: string): P }); } -// Copied over some utilities from x-pack/plugins/fleet/server/services/epm/archive/extract.ts since we can't +// Copied over some utilities from x-pack/platform/plugins/shared/fleet/server/services/epm/archive/extract.ts since we can't // import them directly due to `tsconfig` limitations in the `kibana/src/` directory. function yauzlFromBuffer(buffer: Buffer, opts: yauzl.Options): Promise { return new Promise((resolve, reject) => diff --git a/src/dev/build/tasks/build_canvas_shareable_runtime.ts b/src/dev/build/tasks/build_canvas_shareable_runtime.ts index ff67fc06aab5c..8f8145c197d7c 100644 --- a/src/dev/build/tasks/build_canvas_shareable_runtime.ts +++ b/src/dev/build/tasks/build_canvas_shareable_runtime.ts @@ -19,11 +19,18 @@ export const BuildCanvasShareableRuntime: Task = { log.info('Skipping Canvas shareable runtime for serverless builds'); return; } - await del(config.resolveFromRepo('x-pack/plugins/canvas/shareable_runtime/build')); + await del( + config.resolveFromRepo('x-pack/platform/plugins/private/canvas/shareable_runtime/build') + ); - await exec(log, process.execPath, ['plugins/canvas/scripts/shareable_runtime'], { - cwd: config.resolveFromRepo('x-pack'), - level: 'info', - }); + await exec( + log, + process.execPath, + ['platform/plugins/private/canvas/scripts/shareable_runtime'], + { + cwd: config.resolveFromRepo('x-pack'), + level: 'info', + } + ); }, }; diff --git a/src/dev/build/tasks/create_archives_sources_task.ts b/src/dev/build/tasks/create_archives_sources_task.ts index dcf63d6beb0b1..920faae57c1a3 100644 --- a/src/dev/build/tasks/create_archives_sources_task.ts +++ b/src/dev/build/tasks/create_archives_sources_task.ts @@ -44,7 +44,7 @@ export const CreateArchivesSources: Task = { if (platform.isServerless()) { await deleteAll( [ - 'x-pack/plugins/canvas/shareable_runtime/build', + 'x-pack/platform/plugins/private/canvas/shareable_runtime/build', 'node_modules/@kbn/screenshotting-plugin/server/assets', ].map((path) => build.resolvePathForPlatform(platform, path)), log diff --git a/src/dev/build/tasks/create_cdn_assets_task.ts b/src/dev/build/tasks/create_cdn_assets_task.ts index c7316a9030c98..97e6dc884fd1e 100644 --- a/src/dev/build/tasks/create_cdn_assets_task.ts +++ b/src/dev/build/tasks/create_cdn_assets_task.ts @@ -51,7 +51,7 @@ export const CreateCdnAssets: Task = { const manifest = Jsonc.parse(readFileSync(path, 'utf8')) as any; if (manifest?.plugin?.id) { const pluginRoot = resolve(dirname(path)); - // packages/core/apps/core-apps-server-internal/src/core_app.ts + // src/core/packages/apps/server-internal/src/core_app.ts const assetsSource = resolve(pluginRoot, 'public', 'assets'); const assetsDest = resolve(assets, buildSha, 'plugins', manifest.plugin.id, 'assets'); try { @@ -63,7 +63,7 @@ export const CreateCdnAssets: Task = { } try { - // packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts + // src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts const bundlesSource = resolve(pluginRoot, 'target', 'public'); const bundlesDest = resolve(bundles, 'plugin', manifest.plugin.id, '1.0.0'); await access(bundlesSource); @@ -76,7 +76,7 @@ export const CreateCdnAssets: Task = { } }); - // packages/core/apps/core-apps-server-internal/src/bundle_routes/register_bundle_routes.ts + // src/core/packages/apps/server-internal/src/bundle_routes/register_bundle_routes.ts await copyAll( resolve(buildSource, 'node_modules/@kbn/ui-shared-deps-npm/shared_built_assets'), resolve(bundles, 'kbn-ui-shared-deps-npm') @@ -94,7 +94,7 @@ export const CreateCdnAssets: Task = { resolve(bundles, 'kbn-monaco') ); - // packages/core/apps/core-apps-server-internal/src/core_app.ts + // src/core/packages/apps/server-internal/src/core_app.ts await copyAll( resolve(buildSource, 'node_modules/@kbn/core-apps-server-internal/assets'), resolve(assets, buildSha, 'ui') diff --git a/src/dev/build/tasks/fetch_agent_versions_list.ts b/src/dev/build/tasks/fetch_agent_versions_list.ts index 2a65fe124c92b..c4a606b26d9fa 100644 --- a/src/dev/build/tasks/fetch_agent_versions_list.ts +++ b/src/dev/build/tasks/fetch_agent_versions_list.ts @@ -71,7 +71,8 @@ export const FetchAgentVersionsList: Task = { } const versionsList = await getAvailableVersions(log); - const AGENT_VERSION_BUILD_FILE = 'x-pack/plugins/fleet/target/agent_versions_list.json'; + const AGENT_VERSION_BUILD_FILE = + 'x-pack/platform/plugins/shared/fleet/target/agent_versions_list.json'; if (versionsList.length !== 0) { log.info(`Writing versions list to ${AGENT_VERSION_BUILD_FILE}`); diff --git a/src/dev/build/tasks/os_packages/docker_generator/run.ts b/src/dev/build/tasks/os_packages/docker_generator/run.ts index 4014aa771e510..8d3271f78fdc5 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/run.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/run.ts @@ -51,7 +51,7 @@ export async function runDockerGenerator( */ if (flags.baseImage === 'wolfi') baseImageName = - 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:bfdeddb33330a281950c2a54adef991dbbe6a42832bc505d13b11beaf50ae73f'; + 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:3a6e9134cf3142da74153a522822c8fa56d09376e294627e51db8aa28f5d20d3'; let imageFlavor = ''; if (flags.baseImage === 'ubi') imageFlavor += `-ubi`; diff --git a/src/dev/build/tasks/replace_favicon.ts b/src/dev/build/tasks/replace_favicon.ts index b2f63d40aba1c..4b55c0a6b749d 100644 --- a/src/dev/build/tasks/replace_favicon.ts +++ b/src/dev/build/tasks/replace_favicon.ts @@ -15,23 +15,23 @@ export const ReplaceFavicon: Task = { async run(config, log, build) { await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.ico' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.ico' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.ico') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.ico') ); await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.png' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.png' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.png') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.png') ); await copy( config.resolveFromRepo( - 'packages/core/apps/core-apps-server-internal/assets/favicons/favicon.distribution.svg' + 'src/core/packages/apps/server-internal/assets/favicons/favicon.distribution.svg' ), - build.resolvePath('packages/core/apps/core-apps-server-internal/assets/favicons/favicon.svg') + build.resolvePath('src/core/packages/apps/server-internal/assets/favicons/favicon.svg') ); }, }; diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt index b04178ec71c6f..565187b84aac9 100644 --- a/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt +++ b/src/dev/code_coverage/ingest_coverage/__tests__/mocks/team_assign_mock.txt @@ -1,36 +1,36 @@ -x-pack/plugins/dashboard_enhanced/public/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/mocks.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/plugin.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/test_helpers.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/collect_config_container.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.story.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/constants.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.test.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.tsx kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/i18n.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/types.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/public/services/index.ts kibana-app -x-pack/plugins/dashboard_enhanced/scripts/storybook.js kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/test_helpers.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/collect_config_container.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.story.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/dashboard_drilldown_config/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/components/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/constants.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.test.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/drilldown.tsx kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/i18n.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_to_dashboard_drilldown/types.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts kibana-app +x-pack/platform/plugins/shared/dashboard_enhanced/scripts/storybook.js kibana-app x-pack/plugins/discover_enhanced/common/config.ts kibana-app x-pack/plugins/discover_enhanced/common/index.ts kibana-app x-pack/plugins/discover_enhanced/public/actions/explore_data/abstract_explore_data_action.ts kibana-app diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 3d90324426247..b46c0af12ea2f 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -26,17 +26,17 @@ export const IGNORE_FILE_GLOBS = [ '**/LICENSE', '**/*.txt', '**/{Dockerfile,docker-compose.yml}', - 'x-pack/plugins/canvas/tasks/**/*', - 'x-pack/plugins/canvas/canvas_plugin_src/**/*', - 'x-pack/plugins/canvas/server/templates/assets/*.{png,jpg,svg}', - 'x-pack/plugins/cases/docs/**/*', - 'x-pack/plugins/monitoring/public/lib/jquery_flot/**/*', - 'x-pack/plugins/fleet/cypress/packages/*.zip', + 'x-pack/platform/plugins/private/canvas/tasks/**/*', + 'x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*', + 'x-pack/platform/plugins/private/canvas/server/templates/assets/*.{png,jpg,svg}', + 'x-pack/platform/plugins/shared/cases/docs/**/*', + 'x-pack/platform/plugins/private/monitoring/public/lib/jquery_flot/**/*', + 'x-pack/platform/plugins/shared/fleet/cypress/packages/*.zip', '**/apm-diagnostics-*.json', '**/.*', '**/__mocks__/**/*', 'x-pack/docs/**/*', - 'packages/core/apps/core-apps-server-internal/assets/fonts/**/*', + 'src/core/packages/apps/server-internal/assets/fonts/**/*', 'src/dev/code_coverage/ingest_coverage/integration_tests/mocks/**/*', 'packages/kbn-utility-types/test-d/**/*', 'Dockerfile*', @@ -68,7 +68,7 @@ export const IGNORE_FILE_GLOBS = [ 'packages/kbn-handlebars/src/upstream/**/*', 'packages/kbn-handlebars/.patches/**/*', - 'x-pack/plugins/maps/server/fonts/**/*', + 'x-pack/platform/plugins/shared/maps/server/fonts/**/*', 'x-pack/plugins/observability_solution/profiling/Makefile', @@ -178,10 +178,10 @@ export const TEMPORARILY_IGNORED_PATHS = [ 'test/functional/apps/management/exports/_import_objects-conflicts.json', 'x-pack/legacy/platform/plugins/shared/index_management/public/lib/editSettings.js', 'x-pack/legacy/platform/plugins/shared/license_management/public/store/reducers/licenseManagement.js', - 'x-pack/plugins/monitoring/public/icons/health-gray.svg', - 'x-pack/plugins/monitoring/public/icons/health-green.svg', - 'x-pack/plugins/monitoring/public/icons/health-red.svg', - 'x-pack/plugins/monitoring/public/icons/health-yellow.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/noto/NotoSansCJKtc-Medium.ttf', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/noto/NotoSansCJKtc-Regular.ttf', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/roboto/Roboto-Italic.ttf', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index d2aeb97d648fd..7f825bc00be42 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -14,8 +14,8 @@ export const storybookAliases = { ai_assistant: 'x-pack/packages/kbn-ai-assistant/.storybook', apm: 'x-pack/plugins/observability_solution/apm/.storybook', - canvas: 'x-pack/plugins/canvas/storybook', - cases: 'packages/kbn-cases-components/.storybook', + canvas: 'x-pack/platform/plugins/private/canvas/storybook', + cases: 'src/platform/packages/shared/kbn-cases-components/.storybook', cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook', cloud_security_posture_packages: 'x-pack/solutions/security/packages/kbn-cloud-security-posture/.storybook', @@ -26,25 +26,25 @@ export const storybookAliases = { chart_icons: 'packages/kbn-chart-icons/.storybook', content_management_examples: 'examples/content_management_examples/.storybook', custom_icons: 'src/platform/packages/shared/kbn-custom-icons/.storybook', - custom_integrations: 'src/plugins/custom_integrations/storybook', - dashboard_enhanced: 'x-pack/plugins/dashboard_enhanced/.storybook', - dashboard: 'src/plugins/dashboard/.storybook', + custom_integrations: 'src/platform/plugins/shared/custom_integrations/storybook', + dashboard_enhanced: 'x-pack/platform/plugins/shared/dashboard_enhanced/.storybook', + dashboard: 'src/platform/plugins/shared/dashboard/.storybook', data: 'src/plugins/data/.storybook', discover: 'src/plugins/discover/.storybook', esql_ast_inspector: 'examples/esql_ast_inspector/.storybook', es_ui_shared: 'src/platform/plugins/shared/es_ui_shared/.storybook', - expandable_flyout: 'x-pack/solutions/security/packages/kbn-expandable-flyout/.storybook', - expression_error: 'src/plugins/expression_error/.storybook', - expression_image: 'src/plugins/expression_image/.storybook', + expandable_flyout: 'x-pack/solutions/security/packages/expandable-flyout/.storybook', + expression_error: 'src/platform/plugins/shared/expression_error/.storybook', + expression_image: 'src/platform/plugins/shared/expression_image/.storybook', expression_metric_vis: 'src/plugins/chart_expressions/expression_legacy_metric/.storybook', - expression_metric: 'src/plugins/expression_metric/.storybook', + expression_metric: 'src/platform/plugins/shared/expression_metric/.storybook', expression_partition_vis: 'src/plugins/chart_expressions/expression_partition_vis/.storybook', - expression_repeat_image: 'src/plugins/expression_repeat_image/.storybook', - expression_reveal_image: 'src/plugins/expression_reveal_image/.storybook', - expression_shape: 'src/plugins/expression_shape/.storybook', + expression_repeat_image: 'src/platform/plugins/shared/expression_repeat_image/.storybook', + expression_reveal_image: 'src/platform/plugins/shared/expression_reveal_image/.storybook', + expression_shape: 'src/platform/plugins/shared/expression_shape/.storybook', expression_tagcloud: 'src/plugins/chart_expressions/expression_tagcloud/.storybook', - fleet: 'x-pack/plugins/fleet/.storybook', - grouping: 'packages/kbn-grouping/.storybook', + fleet: 'x-pack/platform/plugins/shared/fleet/.storybook', + grouping: 'src/platform/packages/shared/kbn-grouping/.storybook', home: 'src/plugins/home/.storybook', infra: 'x-pack/solutions/observability/plugins/infra/.storybook', inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', @@ -59,18 +59,17 @@ export const storybookAliases = { observability_ai_assistant_app: 'x-pack/solutions/observability/plugins/observability_ai_assistant_app/.storybook', observability_inventory: 'x-pack/plugins/observability_solution/inventory/.storybook', - observability_shared: 'x-pack/plugins/observability_solution/observability_shared/.storybook', + observability_shared: 'x-pack/solutions/observability/plugins/observability_shared/.storybook', observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook', - presentation: 'src/plugins/presentation_util/storybook', + presentation: 'src/platform/plugins/shared/presentation_util/storybook', random_sampling: 'x-pack/packages/kbn-random-sampling/.storybook', esql_editor: 'src/platform/packages/private/kbn-esql-editor/.storybook', security_solution: 'x-pack/solutions/security/plugins/security_solution/.storybook', security_solution_packages: 'x-pack/solutions/security/packages/storybook/config', serverless: 'packages/serverless/storybook/config', shared_ux: 'packages/shared-ux/storybook/config', - slo: 'x-pack/solutions/observability/plugins/slo/.storybook', threat_intelligence: 'x-pack/solutions/security/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/packages/kbn-mapbox-gl/README.md b/src/platform/packages/private/kbn-mapbox-gl/README.md similarity index 100% rename from packages/kbn-mapbox-gl/README.md rename to src/platform/packages/private/kbn-mapbox-gl/README.md diff --git a/packages/kbn-mapbox-gl/index.ts b/src/platform/packages/private/kbn-mapbox-gl/index.ts similarity index 100% rename from packages/kbn-mapbox-gl/index.ts rename to src/platform/packages/private/kbn-mapbox-gl/index.ts diff --git a/packages/kbn-mapbox-gl/kibana.jsonc b/src/platform/packages/private/kbn-mapbox-gl/kibana.jsonc similarity index 100% rename from packages/kbn-mapbox-gl/kibana.jsonc rename to src/platform/packages/private/kbn-mapbox-gl/kibana.jsonc diff --git a/packages/kbn-mapbox-gl/package.json b/src/platform/packages/private/kbn-mapbox-gl/package.json similarity index 100% rename from packages/kbn-mapbox-gl/package.json rename to src/platform/packages/private/kbn-mapbox-gl/package.json diff --git a/packages/kbn-mapbox-gl/tsconfig.json b/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json similarity index 75% rename from packages/kbn-mapbox-gl/tsconfig.json rename to src/platform/packages/private/kbn-mapbox-gl/tsconfig.json index 225d37d8136ea..9a47088cfbaa3 100644 --- a/packages/kbn-mapbox-gl/tsconfig.json +++ b/src/platform/packages/private/kbn-mapbox-gl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/kbn-panel-loader/README.md b/src/platform/packages/private/kbn-panel-loader/README.md similarity index 100% rename from packages/kbn-panel-loader/README.md rename to src/platform/packages/private/kbn-panel-loader/README.md diff --git a/packages/kbn-panel-loader/index.tsx b/src/platform/packages/private/kbn-panel-loader/index.tsx similarity index 100% rename from packages/kbn-panel-loader/index.tsx rename to src/platform/packages/private/kbn-panel-loader/index.tsx diff --git a/packages/core/analytics/core-analytics-server/jest.config.js b/src/platform/packages/private/kbn-panel-loader/jest.config.js similarity index 83% rename from packages/core/analytics/core-analytics-server/jest.config.js rename to src/platform/packages/private/kbn-panel-loader/jest.config.js index 92cead0f9e0a7..c21eb096920ec 100644 --- a/packages/core/analytics/core-analytics-server/jest.config.js +++ b/src/platform/packages/private/kbn-panel-loader/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-server'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/private/kbn-panel-loader'], }; diff --git a/packages/kbn-panel-loader/kibana.jsonc b/src/platform/packages/private/kbn-panel-loader/kibana.jsonc similarity index 100% rename from packages/kbn-panel-loader/kibana.jsonc rename to src/platform/packages/private/kbn-panel-loader/kibana.jsonc diff --git a/packages/kbn-panel-loader/package.json b/src/platform/packages/private/kbn-panel-loader/package.json similarity index 100% rename from packages/kbn-panel-loader/package.json rename to src/platform/packages/private/kbn-panel-loader/package.json diff --git a/packages/kbn-panel-loader/tsconfig.json b/src/platform/packages/private/kbn-panel-loader/tsconfig.json similarity index 81% rename from packages/kbn-panel-loader/tsconfig.json rename to src/platform/packages/private/kbn-panel-loader/tsconfig.json index f885e788791b7..6fb0b772da7fd 100644 --- a/packages/kbn-panel-loader/tsconfig.json +++ b/src/platform/packages/private/kbn-panel-loader/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/response-ops/rule_params/README.md b/src/platform/packages/private/response-ops/rule_params/README.md similarity index 100% rename from packages/response-ops/rule_params/README.md rename to src/platform/packages/private/response-ops/rule_params/README.md diff --git a/packages/response-ops/rule_params/index.ts b/src/platform/packages/private/response-ops/rule_params/index.ts similarity index 100% rename from packages/response-ops/rule_params/index.ts rename to src/platform/packages/private/response-ops/rule_params/index.ts diff --git a/packages/core/analytics/core-analytics-server-internal/jest.config.js b/src/platform/packages/private/response-ops/rule_params/jest.config.js similarity index 82% rename from packages/core/analytics/core-analytics-server-internal/jest.config.js rename to src/platform/packages/private/response-ops/rule_params/jest.config.js index 8999f9acbc468..76636c7d4fc78 100644 --- a/packages/core/analytics/core-analytics-server-internal/jest.config.js +++ b/src/platform/packages/private/response-ops/rule_params/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-server-internal'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/private/response-ops/rule_params'], }; diff --git a/packages/response-ops/rule_params/kibana.jsonc b/src/platform/packages/private/response-ops/rule_params/kibana.jsonc similarity index 100% rename from packages/response-ops/rule_params/kibana.jsonc rename to src/platform/packages/private/response-ops/rule_params/kibana.jsonc diff --git a/packages/kbn-alerting-types/flapping/latest.ts b/src/platform/packages/private/response-ops/rule_params/latest.ts similarity index 100% rename from packages/kbn-alerting-types/flapping/latest.ts rename to src/platform/packages/private/response-ops/rule_params/latest.ts diff --git a/packages/response-ops/rule_params/package.json b/src/platform/packages/private/response-ops/rule_params/package.json similarity index 100% rename from packages/response-ops/rule_params/package.json rename to src/platform/packages/private/response-ops/rule_params/package.json diff --git a/packages/response-ops/rule_params/tsconfig.json b/src/platform/packages/private/response-ops/rule_params/tsconfig.json similarity index 81% rename from packages/response-ops/rule_params/tsconfig.json rename to src/platform/packages/private/response-ops/rule_params/tsconfig.json index 3df73f778fdc1..bd6cfc03c6683 100644 --- a/packages/response-ops/rule_params/tsconfig.json +++ b/src/platform/packages/private/response-ops/rule_params/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/response-ops/rule_params/v1.ts b/src/platform/packages/private/response-ops/rule_params/v1.ts similarity index 100% rename from packages/response-ops/rule_params/v1.ts rename to src/platform/packages/private/response-ops/rule_params/v1.ts diff --git a/packages/deeplinks/fleet/README.md b/src/platform/packages/shared/deeplinks/fleet/README.md similarity index 100% rename from packages/deeplinks/fleet/README.md rename to src/platform/packages/shared/deeplinks/fleet/README.md diff --git a/packages/deeplinks/fleet/deep_links.ts b/src/platform/packages/shared/deeplinks/fleet/deep_links.ts similarity index 100% rename from packages/deeplinks/fleet/deep_links.ts rename to src/platform/packages/shared/deeplinks/fleet/deep_links.ts diff --git a/packages/deeplinks/fleet/index.ts b/src/platform/packages/shared/deeplinks/fleet/index.ts similarity index 100% rename from packages/deeplinks/fleet/index.ts rename to src/platform/packages/shared/deeplinks/fleet/index.ts diff --git a/packages/core/application/core-application-browser/jest.config.js b/src/platform/packages/shared/deeplinks/fleet/jest.config.js similarity index 83% rename from packages/core/application/core-application-browser/jest.config.js rename to src/platform/packages/shared/deeplinks/fleet/jest.config.js index 13f7c9e97b7e1..6b2a05c07f35a 100644 --- a/packages/core/application/core-application-browser/jest.config.js +++ b/src/platform/packages/shared/deeplinks/fleet/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/deeplinks/fleet'], }; diff --git a/packages/deeplinks/fleet/kibana.jsonc b/src/platform/packages/shared/deeplinks/fleet/kibana.jsonc similarity index 100% rename from packages/deeplinks/fleet/kibana.jsonc rename to src/platform/packages/shared/deeplinks/fleet/kibana.jsonc diff --git a/packages/deeplinks/fleet/package.json b/src/platform/packages/shared/deeplinks/fleet/package.json similarity index 100% rename from packages/deeplinks/fleet/package.json rename to src/platform/packages/shared/deeplinks/fleet/package.json diff --git a/packages/deeplinks/fleet/tsconfig.json b/src/platform/packages/shared/deeplinks/fleet/tsconfig.json similarity index 81% rename from packages/deeplinks/fleet/tsconfig.json rename to src/platform/packages/shared/deeplinks/fleet/tsconfig.json index d1414086f2187..18d16ae2e8837 100644 --- a/packages/deeplinks/fleet/tsconfig.json +++ b/src/platform/packages/shared/deeplinks/fleet/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/platform/packages/shared/deeplinks/security/deep_links.ts b/src/platform/packages/shared/deeplinks/security/deep_links.ts index 464003abd369c..bf312230d4cf1 100644 --- a/src/platform/packages/shared/deeplinks/security/deep_links.ts +++ b/src/platform/packages/shared/deeplinks/security/deep_links.ts @@ -11,11 +11,12 @@ export enum SecurityPageName { administration = 'administration', alerts = 'alerts', assets = 'assets', + assetInventory = 'asset_inventory', attackDiscovery = 'attack_discovery', blocklist = 'blocklist', /* * Warning: Computed values are not permitted in an enum with string valued members - * All Cases page names must match `CasesDeepLinkId` in x-pack/plugins/cases/public/common/navigation/deep_links.ts + * All Cases page names must match `CasesDeepLinkId` in x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts */ case = 'cases', // must match `CasesDeepLinkId.cases` caseConfigure = 'cases_configure', // must match `CasesDeepLinkId.casesConfigure` diff --git a/packages/kbn-actions-types/README.md b/src/platform/packages/shared/kbn-actions-types/README.md similarity index 100% rename from packages/kbn-actions-types/README.md rename to src/platform/packages/shared/kbn-actions-types/README.md diff --git a/packages/kbn-actions-types/action_types.ts b/src/platform/packages/shared/kbn-actions-types/action_types.ts similarity index 100% rename from packages/kbn-actions-types/action_types.ts rename to src/platform/packages/shared/kbn-actions-types/action_types.ts diff --git a/packages/kbn-actions-types/index.ts b/src/platform/packages/shared/kbn-actions-types/index.ts similarity index 100% rename from packages/kbn-actions-types/index.ts rename to src/platform/packages/shared/kbn-actions-types/index.ts diff --git a/packages/core/analytics/core-analytics-browser/jest.config.js b/src/platform/packages/shared/kbn-actions-types/jest.config.js similarity index 83% rename from packages/core/analytics/core-analytics-browser/jest.config.js rename to src/platform/packages/shared/kbn-actions-types/jest.config.js index 3d19085e50e12..231d779e54cb9 100644 --- a/packages/core/analytics/core-analytics-browser/jest.config.js +++ b/src/platform/packages/shared/kbn-actions-types/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-browser'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-actions-types'], }; diff --git a/packages/kbn-actions-types/kibana.jsonc b/src/platform/packages/shared/kbn-actions-types/kibana.jsonc similarity index 100% rename from packages/kbn-actions-types/kibana.jsonc rename to src/platform/packages/shared/kbn-actions-types/kibana.jsonc diff --git a/packages/kbn-actions-types/package.json b/src/platform/packages/shared/kbn-actions-types/package.json similarity index 100% rename from packages/kbn-actions-types/package.json rename to src/platform/packages/shared/kbn-actions-types/package.json diff --git a/packages/kbn-actions-types/rewrite_request_case_types.ts b/src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts similarity index 100% rename from packages/kbn-actions-types/rewrite_request_case_types.ts rename to src/platform/packages/shared/kbn-actions-types/rewrite_request_case_types.ts diff --git a/packages/kbn-actions-types/tsconfig.json b/src/platform/packages/shared/kbn-actions-types/tsconfig.json similarity index 84% rename from packages/kbn-actions-types/tsconfig.json rename to src/platform/packages/shared/kbn-actions-types/tsconfig.json index f581a6d61b88f..ee8d7f40d8bc5 100644 --- a/packages/kbn-actions-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-actions-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-alerting-types/README.md b/src/platform/packages/shared/kbn-alerting-types/README.md similarity index 100% rename from packages/kbn-alerting-types/README.md rename to src/platform/packages/shared/kbn-alerting-types/README.md diff --git a/packages/kbn-alerting-types/action_group_types.ts b/src/platform/packages/shared/kbn-alerting-types/action_group_types.ts similarity index 100% rename from packages/kbn-alerting-types/action_group_types.ts rename to src/platform/packages/shared/kbn-alerting-types/action_group_types.ts diff --git a/packages/kbn-alerting-types/action_variable.ts b/src/platform/packages/shared/kbn-alerting-types/action_variable.ts similarity index 100% rename from packages/kbn-alerting-types/action_variable.ts rename to src/platform/packages/shared/kbn-alerting-types/action_variable.ts diff --git a/packages/kbn-alerting-types/alert_fields_type.ts b/src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts similarity index 100% rename from packages/kbn-alerting-types/alert_fields_type.ts rename to src/platform/packages/shared/kbn-alerting-types/alert_fields_type.ts diff --git a/packages/kbn-alerting-types/alert_type.ts b/src/platform/packages/shared/kbn-alerting-types/alert_type.ts similarity index 100% rename from packages/kbn-alerting-types/alert_type.ts rename to src/platform/packages/shared/kbn-alerting-types/alert_type.ts diff --git a/packages/kbn-alerting-types/alerting_framework_health_types.ts b/src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts similarity index 100% rename from packages/kbn-alerting-types/alerting_framework_health_types.ts rename to src/platform/packages/shared/kbn-alerting-types/alerting_framework_health_types.ts diff --git a/packages/kbn-alerting-types/builtin_action_groups_types.ts b/src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts similarity index 100% rename from packages/kbn-alerting-types/builtin_action_groups_types.ts rename to src/platform/packages/shared/kbn-alerting-types/builtin_action_groups_types.ts diff --git a/packages/kbn-alerting-types/circuit_breaker_message_header.ts b/src/platform/packages/shared/kbn-alerting-types/circuit_breaker_message_header.ts similarity index 100% rename from packages/kbn-alerting-types/circuit_breaker_message_header.ts rename to src/platform/packages/shared/kbn-alerting-types/circuit_breaker_message_header.ts diff --git a/packages/response-ops/rule_params/latest.ts b/src/platform/packages/shared/kbn-alerting-types/flapping/latest.ts similarity index 100% rename from packages/response-ops/rule_params/latest.ts rename to src/platform/packages/shared/kbn-alerting-types/flapping/latest.ts diff --git a/packages/kbn-alerting-types/flapping/v1.ts b/src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts similarity index 100% rename from packages/kbn-alerting-types/flapping/v1.ts rename to src/platform/packages/shared/kbn-alerting-types/flapping/v1.ts diff --git a/packages/kbn-alerting-types/index.ts b/src/platform/packages/shared/kbn-alerting-types/index.ts similarity index 100% rename from packages/kbn-alerting-types/index.ts rename to src/platform/packages/shared/kbn-alerting-types/index.ts diff --git a/src/platform/packages/shared/kbn-alerting-types/jest.config.js b/src/platform/packages/shared/kbn-alerting-types/jest.config.js new file mode 100644 index 0000000000000..637f626646175 --- /dev/null +++ b/src/platform/packages/shared/kbn-alerting-types/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-alerting-types'], +}; diff --git a/packages/kbn-alerting-types/kibana.jsonc b/src/platform/packages/shared/kbn-alerting-types/kibana.jsonc similarity index 100% rename from packages/kbn-alerting-types/kibana.jsonc rename to src/platform/packages/shared/kbn-alerting-types/kibana.jsonc diff --git a/packages/kbn-alerting-types/package.json b/src/platform/packages/shared/kbn-alerting-types/package.json similarity index 100% rename from packages/kbn-alerting-types/package.json rename to src/platform/packages/shared/kbn-alerting-types/package.json diff --git a/packages/kbn-alerting-types/r_rule_types.ts b/src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts similarity index 100% rename from packages/kbn-alerting-types/r_rule_types.ts rename to src/platform/packages/shared/kbn-alerting-types/r_rule_types.ts diff --git a/packages/kbn-alerting-types/rule_notify_when_type.ts b/src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts similarity index 100% rename from packages/kbn-alerting-types/rule_notify_when_type.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_notify_when_type.ts diff --git a/packages/kbn-alerting-types/rule_settings.ts b/src/platform/packages/shared/kbn-alerting-types/rule_settings.ts similarity index 100% rename from packages/kbn-alerting-types/rule_settings.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_settings.ts diff --git a/packages/kbn-alerting-types/rule_type_types.ts b/src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts similarity index 100% rename from packages/kbn-alerting-types/rule_type_types.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_type_types.ts diff --git a/packages/kbn-alerting-types/rule_types.ts b/src/platform/packages/shared/kbn-alerting-types/rule_types.ts similarity index 100% rename from packages/kbn-alerting-types/rule_types.ts rename to src/platform/packages/shared/kbn-alerting-types/rule_types.ts diff --git a/packages/kbn-alerting-types/search_strategy_types.ts b/src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts similarity index 100% rename from packages/kbn-alerting-types/search_strategy_types.ts rename to src/platform/packages/shared/kbn-alerting-types/search_strategy_types.ts diff --git a/packages/kbn-alerting-types/tsconfig.json b/src/platform/packages/shared/kbn-alerting-types/tsconfig.json similarity index 90% rename from packages/kbn-alerting-types/tsconfig.json rename to src/platform/packages/shared/kbn-alerting-types/tsconfig.json index dbc417aa76ade..feac5e5147156 100644 --- a/packages/kbn-alerting-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-alerting-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-alerts-as-data-utils/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/index.ts diff --git a/packages/core/analytics/core-analytics-browser-internal/jest.config.js b/src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js similarity index 82% rename from packages/core/analytics/core-analytics-browser-internal/jest.config.js rename to src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js index 4432335062f1e..c52df32bd8d45 100644 --- a/packages/core/analytics/core-analytics-browser-internal/jest.config.js +++ b/src/platform/packages/shared/kbn-alerts-as-data-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/analytics/core-analytics-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-alerts-as-data-utils'], }; diff --git a/packages/kbn-alerts-as-data-utils/kibana.jsonc b/src/platform/packages/shared/kbn-alerts-as-data-utils/kibana.jsonc similarity index 100% rename from packages/kbn-alerts-as-data-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-alerts-as-data-utils/kibana.jsonc diff --git a/packages/kbn-alerts-as-data-utils/package.json b/src/platform/packages/shared/kbn-alerts-as-data-utils/package.json similarity index 100% rename from packages/kbn-alerts-as-data-utils/package.json rename to src/platform/packages/shared/kbn-alerts-as-data-utils/package.json diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/alert_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/ecs_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_alert_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/legacy_experimental_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/field_maps/types.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/field_maps/types.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/field_maps/types.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/create_schema_from_field_map.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/alert_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/default_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ecs_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/legacy_alert_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_health_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/ml_anomaly_detection_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_apm_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_logs_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_metrics_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_slo_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_threshold_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/observability_uptime_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/security_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/stack_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/generated/transform_health_schema.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/schemas/lib/line_writer.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/index.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.test.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/build_fields_request.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/fields.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/fields.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/fields.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/fields.ts diff --git a/packages/kbn-alerts-as-data-utils/src/search/security/index.ts b/src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/index.ts similarity index 100% rename from packages/kbn-alerts-as-data-utils/src/search/security/index.ts rename to src/platform/packages/shared/kbn-alerts-as-data-utils/src/search/security/index.ts diff --git a/packages/kbn-alerts-as-data-utils/tsconfig.json b/src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json similarity index 84% rename from packages/kbn-alerts-as-data-utils/tsconfig.json rename to src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json index d2a0a93d5f1db..fd6fade27713b 100644 --- a/packages/kbn-alerts-as-data-utils/tsconfig.json +++ b/src/platform/packages/shared/kbn-alerts-as-data-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-alerts-ui-shared/README.mdx b/src/platform/packages/shared/kbn-alerts-ui-shared/README.mdx similarity index 100% rename from packages/kbn-alerts-ui-shared/README.mdx rename to src/platform/packages/shared/kbn-alerts-ui-shared/README.mdx diff --git a/packages/kbn-alerts-ui-shared/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/index.ts diff --git a/src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js b/src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js new file mode 100644 index 0000000000000..b6d9bd0e16927 --- /dev/null +++ b/src/platform/packages/shared/kbn-alerts-ui-shared/jest.config.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-alerts-ui-shared'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts', + ], +}; diff --git a/packages/kbn-alerts-ui-shared/kibana.jsonc b/src/platform/packages/shared/kbn-alerts-ui-shared/kibana.jsonc similarity index 100% rename from packages/kbn-alerts-ui-shared/kibana.jsonc rename to src/platform/packages/shared/kbn-alerts-ui-shared/kibana.jsonc diff --git a/packages/kbn-alerts-ui-shared/lib/README.md b/src/platform/packages/shared/kbn-alerts-ui-shared/lib/README.md similarity index 100% rename from packages/kbn-alerts-ui-shared/lib/README.md rename to src/platform/packages/shared/kbn-alerts-ui-shared/lib/README.md diff --git a/packages/kbn-alerts-ui-shared/lib/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/lib/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/lib/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/lib/index.ts diff --git a/packages/kbn-alerts-ui-shared/package.json b/src/platform/packages/shared/kbn-alerts-ui-shared/package.json similarity index 100% rename from packages/kbn-alerts-ui-shared/package.json rename to src/platform/packages/shared/kbn-alerts-ui-shared/package.json diff --git a/packages/kbn-alerts-grouping/setup_tests.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts similarity index 100% rename from packages/kbn-alerts-grouping/setup_tests.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/setup_tests.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/action_variables.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/action_variables.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/get_available_action_variables.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/action_variables/transforms.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/action_variables/transforms.ts diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/add_message_variables/truncated_text.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/alert_filter_controls.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/buttons.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/context_menu.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filter_group_context.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/filters_changed_banner.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_control_group_sync_to_local_storage.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_filters_sync_to_local_storage.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/hooks/use_view_edit_mode.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.scss diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/loading.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/control_group_renderer.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/data.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/mocks/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_filter_controls/utils.ts diff --git a/packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/alerts_search_bar/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.scss diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/check_action_type_enabled.ts diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/get_license_check_result.tsx diff --git a/packages/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/check_action_type_enabled/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/fetch_alerting_framework_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerting_framework_health/transform_alerting_framework_health_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/fetch_alerts_fields.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_fields/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/fetch_alerts_index_names.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_alerts_index_names/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/fetch_connector_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connector_types/transform_connector_types_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/fetch_connectors.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_connectors/transform_connectors_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/fetch_flapping_settings.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_flapping_settings/transform_flapping_settings_response.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/fetch_rule_type_aad_template_fields.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_type_aad_template_fields/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_rule_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/fetch_ui_health_status.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/fetch_ui_health_status/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/apis/search_alerts/search_alerts.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/alerts.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/alerts.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/alerts.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/alerts.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/i18n_weekdays.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/routes.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/routes.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/routes.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/routes.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/constants/rule_flapping.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/contexts/alerts_query_context.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_alerts_data_view.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_fields_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_alerts_index_names_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_fetch_flapping_settings.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_find_alerts_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_get_alerts_group_aggregations_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_health_check.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_alerting_framework_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_rule_types_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_load_ui_health.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_search_alerts_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/hooks/use_virtual_data_view_query.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/action_type_registry.mock.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/test_utils/test_query_client_config.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/transformations/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/transformations/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/transformations/transform_action.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/type_registry.test.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.test.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/type_registry.test.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.test.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/type_registry.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/type_registry.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/type_registry.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/action_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/action_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/action_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/alerts_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/alerts_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/rule_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/rule_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/common/types/tanstack_query_utility_types.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/api.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/constants.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.test.tsx diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/index.tsx diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/mock.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/translations.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/types.ts diff --git a/packages/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/maintenance_window_callout/use_fetch_active_maintenance_windows.ts diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/index.ts b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/index.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/index.ts rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/index.ts diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_form.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_inputs.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_message.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_flapping_title_tooltip.tsx diff --git a/packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx b/src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx similarity index 100% rename from packages/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx rename to src/platform/packages/shared/kbn-alerts-ui-shared/src/rule_settings/rule_settings_range_input.tsx diff --git a/packages/kbn-alerts-ui-shared/tsconfig.json b/src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json similarity index 95% rename from packages/kbn-alerts-ui-shared/tsconfig.json rename to src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json index 30be2e17af3ea..f51993a610f0b 100644 --- a/packages/kbn-alerts-ui-shared/tsconfig.json +++ b/src/platform/packages/shared/kbn-alerts-ui-shared/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/packages/kbn-cases-components/.storybook/main.js b/src/platform/packages/shared/kbn-cases-components/.storybook/main.js similarity index 100% rename from packages/kbn-cases-components/.storybook/main.js rename to src/platform/packages/shared/kbn-cases-components/.storybook/main.js diff --git a/packages/kbn-cases-components/README.md b/src/platform/packages/shared/kbn-cases-components/README.md similarity index 100% rename from packages/kbn-cases-components/README.md rename to src/platform/packages/shared/kbn-cases-components/README.md diff --git a/packages/kbn-cases-components/index.ts b/src/platform/packages/shared/kbn-cases-components/index.ts similarity index 100% rename from packages/kbn-cases-components/index.ts rename to src/platform/packages/shared/kbn-cases-components/index.ts diff --git a/src/platform/packages/shared/kbn-cases-components/jest.config.js b/src/platform/packages/shared/kbn-cases-components/jest.config.js new file mode 100644 index 0000000000000..d1e9bcaee95fa --- /dev/null +++ b/src/platform/packages/shared/kbn-cases-components/jest.config.js @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-cases-components'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/kbn-cases-components/setup_tests.ts', + ], +}; diff --git a/packages/kbn-cases-components/kibana.jsonc b/src/platform/packages/shared/kbn-cases-components/kibana.jsonc similarity index 100% rename from packages/kbn-cases-components/kibana.jsonc rename to src/platform/packages/shared/kbn-cases-components/kibana.jsonc diff --git a/packages/kbn-cases-components/package.json b/src/platform/packages/shared/kbn-cases-components/package.json similarity index 100% rename from packages/kbn-cases-components/package.json rename to src/platform/packages/shared/kbn-cases-components/package.json diff --git a/packages/kbn-alerts-ui-shared/setup_tests.ts b/src/platform/packages/shared/kbn-cases-components/setup_tests.ts similarity index 100% rename from packages/kbn-alerts-ui-shared/setup_tests.ts rename to src/platform/packages/shared/kbn-cases-components/setup_tests.ts diff --git a/packages/kbn-cases-components/src/__stories__/tooltip.stories.tsx b/src/platform/packages/shared/kbn-cases-components/src/__stories__/tooltip.stories.tsx similarity index 100% rename from packages/kbn-cases-components/src/__stories__/tooltip.stories.tsx rename to src/platform/packages/shared/kbn-cases-components/src/__stories__/tooltip.stories.tsx diff --git a/packages/kbn-cases-components/src/status/config.ts b/src/platform/packages/shared/kbn-cases-components/src/status/config.ts similarity index 100% rename from packages/kbn-cases-components/src/status/config.ts rename to src/platform/packages/shared/kbn-cases-components/src/status/config.ts diff --git a/packages/kbn-cases-components/src/status/status.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/status/status.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/status/status.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/status/status.test.tsx diff --git a/packages/kbn-cases-components/src/status/status.tsx b/src/platform/packages/shared/kbn-cases-components/src/status/status.tsx similarity index 100% rename from packages/kbn-cases-components/src/status/status.tsx rename to src/platform/packages/shared/kbn-cases-components/src/status/status.tsx diff --git a/packages/kbn-cases-components/src/status/translations.ts b/src/platform/packages/shared/kbn-cases-components/src/status/translations.ts similarity index 100% rename from packages/kbn-cases-components/src/status/translations.ts rename to src/platform/packages/shared/kbn-cases-components/src/status/translations.ts diff --git a/packages/kbn-cases-components/src/status/types.ts b/src/platform/packages/shared/kbn-cases-components/src/status/types.ts similarity index 91% rename from packages/kbn-cases-components/src/status/types.ts rename to src/platform/packages/shared/kbn-cases-components/src/status/types.ts index 6064f3ee888b3..f764c8a2299d1 100644 --- a/packages/kbn-cases-components/src/status/types.ts +++ b/src/platform/packages/shared/kbn-cases-components/src/status/types.ts @@ -9,7 +9,7 @@ /** * This is being used by Cases in - * x-pack/plugins/cases/common/types/domain/case/v1.ts. + * x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts. * Introducing a breaking change in this enum will * force cases to create a version of the domain object * which in turn will force cases to create a new version diff --git a/packages/kbn-cases-components/src/tooltip/icon_with_count.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/icon_with_count.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.test.tsx diff --git a/packages/kbn-cases-components/src/tooltip/icon_with_count.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/icon_with_count.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/icon_with_count.tsx diff --git a/packages/kbn-cases-components/src/tooltip/skeleton.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/skeleton.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/skeleton.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/skeleton.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip.test.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.test.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip.test.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.test.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip.tsx diff --git a/packages/kbn-cases-components/src/tooltip/tooltip_content.tsx b/src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip_content.tsx similarity index 100% rename from packages/kbn-cases-components/src/tooltip/tooltip_content.tsx rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/tooltip_content.tsx diff --git a/packages/kbn-cases-components/src/tooltip/translations.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/translations.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/translations.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/translations.ts diff --git a/packages/kbn-cases-components/src/tooltip/types.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/types.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/types.ts diff --git a/packages/kbn-cases-components/src/tooltip/utils.test.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.test.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/utils.test.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.test.ts diff --git a/packages/kbn-cases-components/src/tooltip/utils.ts b/src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.ts similarity index 100% rename from packages/kbn-cases-components/src/tooltip/utils.ts rename to src/platform/packages/shared/kbn-cases-components/src/tooltip/utils.ts diff --git a/packages/kbn-cases-components/tsconfig.json b/src/platform/packages/shared/kbn-cases-components/tsconfig.json similarity index 84% rename from packages/kbn-cases-components/tsconfig.json rename to src/platform/packages/shared/kbn-cases-components/tsconfig.json index 09abcbdb81a3e..2a80b6c8bada0 100644 --- a/packages/kbn-cases-components/tsconfig.json +++ b/src/platform/packages/shared/kbn-cases-components/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index b79fab50089f4..881dbf2069c60 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -901,7 +901,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D dataStreams: `${ELASTIC_WEBSITE_URL}guide/en/ecs/${ECS_VERSION}/ecs-data_stream.html`, }, clients: { - /** Changes to these URLs must also be synched in src/plugins/custom_integrations/server/language_clients/index.ts */ + /** Changes to these URLs must also be synched in src/platform/plugins/shared/custom_integrations/server/language_clients/index.ts */ guide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/index.html`, goConnecting: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/go-api/${DOC_LINK_VERSION}/connecting.html`, goGettingStarted: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/go-api/${DOC_LINK_VERSION}/getting-started-go.html`, diff --git a/packages/kbn-flot-charts/API.md b/src/platform/packages/shared/kbn-flot-charts/API.md similarity index 100% rename from packages/kbn-flot-charts/API.md rename to src/platform/packages/shared/kbn-flot-charts/API.md diff --git a/packages/kbn-flot-charts/BUILD.bazel b/src/platform/packages/shared/kbn-flot-charts/BUILD.bazel similarity index 100% rename from packages/kbn-flot-charts/BUILD.bazel rename to src/platform/packages/shared/kbn-flot-charts/BUILD.bazel diff --git a/packages/kbn-flot-charts/index.js b/src/platform/packages/shared/kbn-flot-charts/index.js similarity index 100% rename from packages/kbn-flot-charts/index.js rename to src/platform/packages/shared/kbn-flot-charts/index.js diff --git a/packages/kbn-flot-charts/kibana.jsonc b/src/platform/packages/shared/kbn-flot-charts/kibana.jsonc similarity index 100% rename from packages/kbn-flot-charts/kibana.jsonc rename to src/platform/packages/shared/kbn-flot-charts/kibana.jsonc diff --git a/packages/kbn-flot-charts/lib/jquery_colorhelpers.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_colorhelpers.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_colorhelpers.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_colorhelpers.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_axislabels.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_axislabels.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_axislabels.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_axislabels.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_canvas.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_canvas.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_canvas.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_canvas.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_categories.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_categories.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_categories.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_categories.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_crosshair.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_crosshair.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_crosshair.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_crosshair.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_errorbars.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_errorbars.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_errorbars.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_errorbars.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_fillbetween.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_fillbetween.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_fillbetween.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_fillbetween.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_image.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_image.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_image.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_image.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_log.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_log.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_log.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_log.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_navigate.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_navigate.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_navigate.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_navigate.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_pie.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_pie.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_pie.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_pie.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_resize.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_resize.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_resize.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_resize.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_selection.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_selection.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_selection.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_selection.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_stack.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_stack.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_stack.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_stack.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_symbol.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_symbol.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_symbol.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_symbol.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_threshold.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_threshold.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_threshold.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_threshold.js diff --git a/packages/kbn-flot-charts/lib/jquery_flot_time.js b/src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_time.js similarity index 100% rename from packages/kbn-flot-charts/lib/jquery_flot_time.js rename to src/platform/packages/shared/kbn-flot-charts/lib/jquery_flot_time.js diff --git a/packages/kbn-flot-charts/package.json b/src/platform/packages/shared/kbn-flot-charts/package.json similarity index 100% rename from packages/kbn-flot-charts/package.json rename to src/platform/packages/shared/kbn-flot-charts/package.json diff --git a/packages/kbn-flot-charts/tsconfig.json b/src/platform/packages/shared/kbn-flot-charts/tsconfig.json similarity index 77% rename from packages/kbn-flot-charts/tsconfig.json rename to src/platform/packages/shared/kbn-flot-charts/tsconfig.json index 7718842c7491f..74fbac0a101b6 100644 --- a/packages/kbn-flot-charts/tsconfig.json +++ b/src/platform/packages/shared/kbn-flot-charts/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/packages/kbn-grouping/.storybook/main.js b/src/platform/packages/shared/kbn-grouping/.storybook/main.js similarity index 100% rename from packages/kbn-grouping/.storybook/main.js rename to src/platform/packages/shared/kbn-grouping/.storybook/main.js diff --git a/packages/kbn-grouping/README.mdx b/src/platform/packages/shared/kbn-grouping/README.mdx similarity index 100% rename from packages/kbn-grouping/README.mdx rename to src/platform/packages/shared/kbn-grouping/README.mdx diff --git a/packages/kbn-grouping/index.tsx b/src/platform/packages/shared/kbn-grouping/index.tsx similarity index 100% rename from packages/kbn-grouping/index.tsx rename to src/platform/packages/shared/kbn-grouping/index.tsx diff --git a/src/platform/packages/shared/kbn-grouping/jest.config.js b/src/platform/packages/shared/kbn-grouping/jest.config.js new file mode 100644 index 0000000000000..720c752f13067 --- /dev/null +++ b/src/platform/packages/shared/kbn-grouping/jest.config.js @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-grouping'], + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/packages/shared/kbn-grouping/**/*.{ts,tsx}', + '!/src/platform/packages/shared/kbn-grouping/**/*.test', + '!/src/platform/packages/shared/kbn-grouping/**/types/*', + '!/src/platform/packages/shared/kbn-grouping/**/*.type', + '!/src/platform/packages/shared/kbn-grouping/**/*.styles', + '!/src/platform/packages/shared/kbn-grouping/**/mocks/*', + '!/src/platform/packages/shared/kbn-grouping/**/*.config', + '!/src/platform/packages/shared/kbn-grouping/**/translations', + '!/src/platform/packages/shared/kbn-grouping/**/types/*', + ], + setupFilesAfterEnv: ['/src/platform/packages/shared/kbn-grouping/setup_tests.ts'], +}; diff --git a/packages/kbn-grouping/kibana.jsonc b/src/platform/packages/shared/kbn-grouping/kibana.jsonc similarity index 100% rename from packages/kbn-grouping/kibana.jsonc rename to src/platform/packages/shared/kbn-grouping/kibana.jsonc diff --git a/packages/kbn-grouping/package.json b/src/platform/packages/shared/kbn-grouping/package.json similarity index 100% rename from packages/kbn-grouping/package.json rename to src/platform/packages/shared/kbn-grouping/package.json diff --git a/packages/kbn-cases-components/setup_tests.ts b/src/platform/packages/shared/kbn-grouping/setup_tests.ts similarity index 100% rename from packages/kbn-cases-components/setup_tests.ts rename to src/platform/packages/shared/kbn-grouping/setup_tests.ts diff --git a/packages/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.test.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/group_stats.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/group_stats.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/group_stats.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/index.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/index.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.test.tsx diff --git a/packages/kbn-grouping/src/components/accordion_panel/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/accordion_panel/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/accordion_panel/index.tsx diff --git a/packages/kbn-grouping/src/components/empty_results_panel.tsx b/src/platform/packages/shared/kbn-grouping/src/components/empty_results_panel.tsx similarity index 100% rename from packages/kbn-grouping/src/components/empty_results_panel.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/empty_results_panel.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/custom_field_panel.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/custom_field_panel.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/custom_field_panel.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/custom_field_panel.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/index.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/index.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.test.tsx diff --git a/packages/kbn-grouping/src/components/group_selector/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/group_selector/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/group_selector/index.tsx diff --git a/packages/kbn-grouping/src/components/grouping.mock.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.mock.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.mock.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.mock.tsx diff --git a/packages/kbn-grouping/src/components/grouping.stories.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.stories.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.stories.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.stories.tsx diff --git a/packages/kbn-grouping/src/components/grouping.test.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.test.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.test.tsx diff --git a/packages/kbn-grouping/src/components/grouping.tsx b/src/platform/packages/shared/kbn-grouping/src/components/grouping.tsx similarity index 100% rename from packages/kbn-grouping/src/components/grouping.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/grouping.tsx diff --git a/packages/kbn-grouping/src/components/index.tsx b/src/platform/packages/shared/kbn-grouping/src/components/index.tsx similarity index 100% rename from packages/kbn-grouping/src/components/index.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/index.tsx diff --git a/packages/kbn-grouping/src/components/styles.tsx b/src/platform/packages/shared/kbn-grouping/src/components/styles.tsx similarity index 100% rename from packages/kbn-grouping/src/components/styles.tsx rename to src/platform/packages/shared/kbn-grouping/src/components/styles.tsx diff --git a/packages/kbn-grouping/src/components/translations.ts b/src/platform/packages/shared/kbn-grouping/src/components/translations.ts similarity index 100% rename from packages/kbn-grouping/src/components/translations.ts rename to src/platform/packages/shared/kbn-grouping/src/components/translations.ts diff --git a/packages/kbn-grouping/src/components/types.ts b/src/platform/packages/shared/kbn-grouping/src/components/types.ts similarity index 100% rename from packages/kbn-grouping/src/components/types.ts rename to src/platform/packages/shared/kbn-grouping/src/components/types.ts diff --git a/packages/kbn-grouping/src/containers/index.ts b/src/platform/packages/shared/kbn-grouping/src/containers/index.ts similarity index 100% rename from packages/kbn-grouping/src/containers/index.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/index.ts diff --git a/packages/kbn-grouping/src/containers/query/helpers.test.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.test.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/helpers.test.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.test.ts diff --git a/packages/kbn-grouping/src/containers/query/helpers.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/helpers.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/helpers.ts diff --git a/packages/kbn-grouping/src/containers/query/index.test.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/index.test.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/index.test.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/index.test.ts diff --git a/packages/kbn-grouping/src/containers/query/index.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/index.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/index.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/index.ts diff --git a/packages/kbn-grouping/src/containers/query/types.ts b/src/platform/packages/shared/kbn-grouping/src/containers/query/types.ts similarity index 100% rename from packages/kbn-grouping/src/containers/query/types.ts rename to src/platform/packages/shared/kbn-grouping/src/containers/query/types.ts diff --git a/packages/kbn-grouping/src/helpers.ts b/src/platform/packages/shared/kbn-grouping/src/helpers.ts similarity index 100% rename from packages/kbn-grouping/src/helpers.ts rename to src/platform/packages/shared/kbn-grouping/src/helpers.ts diff --git a/packages/kbn-grouping/src/hooks/state/actions.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/actions.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/actions.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/actions.ts diff --git a/packages/kbn-grouping/src/hooks/state/index.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/index.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/index.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/index.ts diff --git a/packages/kbn-grouping/src/hooks/state/reducer.test.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.test.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/reducer.test.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.test.ts diff --git a/packages/kbn-grouping/src/hooks/state/reducer.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/reducer.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/reducer.ts diff --git a/packages/kbn-grouping/src/hooks/state/selectors.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/state/selectors.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/state/selectors.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/state/selectors.ts diff --git a/packages/kbn-grouping/src/hooks/types.ts b/src/platform/packages/shared/kbn-grouping/src/hooks/types.ts similarity index 100% rename from packages/kbn-grouping/src/hooks/types.ts rename to src/platform/packages/shared/kbn-grouping/src/hooks/types.ts diff --git a/packages/kbn-grouping/src/hooks/use_get_group_selector.test.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.test.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_get_group_selector.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.test.tsx diff --git a/packages/kbn-grouping/src/hooks/use_get_group_selector.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_get_group_selector.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_get_group_selector.tsx diff --git a/packages/kbn-grouping/src/hooks/use_grouping.test.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.test.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_grouping.test.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.test.tsx diff --git a/packages/kbn-grouping/src/hooks/use_grouping.tsx b/src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx similarity index 100% rename from packages/kbn-grouping/src/hooks/use_grouping.tsx rename to src/platform/packages/shared/kbn-grouping/src/hooks/use_grouping.tsx diff --git a/packages/kbn-grouping/src/index.ts b/src/platform/packages/shared/kbn-grouping/src/index.ts similarity index 100% rename from packages/kbn-grouping/src/index.ts rename to src/platform/packages/shared/kbn-grouping/src/index.ts diff --git a/packages/kbn-grouping/src/mocks.ts b/src/platform/packages/shared/kbn-grouping/src/mocks.ts similarity index 100% rename from packages/kbn-grouping/src/mocks.ts rename to src/platform/packages/shared/kbn-grouping/src/mocks.ts diff --git a/packages/kbn-grouping/src/telemetry/const.ts b/src/platform/packages/shared/kbn-grouping/src/telemetry/const.ts similarity index 100% rename from packages/kbn-grouping/src/telemetry/const.ts rename to src/platform/packages/shared/kbn-grouping/src/telemetry/const.ts diff --git a/packages/kbn-grouping/tsconfig.json b/src/platform/packages/shared/kbn-grouping/tsconfig.json similarity index 90% rename from packages/kbn-grouping/tsconfig.json rename to src/platform/packages/shared/kbn-grouping/tsconfig.json index 6322bf0596c70..118c5c53fa2b8 100644 --- a/packages/kbn-grouping/tsconfig.json +++ b/src/platform/packages/shared/kbn-grouping/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-rrule/README.md b/src/platform/packages/shared/kbn-rrule/README.md similarity index 100% rename from packages/kbn-rrule/README.md rename to src/platform/packages/shared/kbn-rrule/README.md diff --git a/packages/kbn-rrule/index.ts b/src/platform/packages/shared/kbn-rrule/index.ts similarity index 100% rename from packages/kbn-rrule/index.ts rename to src/platform/packages/shared/kbn-rrule/index.ts diff --git a/packages/kbn-alerts-as-data-utils/jest.config.js b/src/platform/packages/shared/kbn-rrule/jest.config.js similarity index 84% rename from packages/kbn-alerts-as-data-utils/jest.config.js rename to src/platform/packages/shared/kbn-rrule/jest.config.js index faca19e88d573..d27db1d057ed2 100644 --- a/packages/kbn-alerts-as-data-utils/jest.config.js +++ b/src/platform/packages/shared/kbn-rrule/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-alerts-as-data-utils'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-rrule'], }; diff --git a/packages/kbn-rrule/kibana.jsonc b/src/platform/packages/shared/kbn-rrule/kibana.jsonc similarity index 100% rename from packages/kbn-rrule/kibana.jsonc rename to src/platform/packages/shared/kbn-rrule/kibana.jsonc diff --git a/packages/kbn-rrule/package.json b/src/platform/packages/shared/kbn-rrule/package.json similarity index 100% rename from packages/kbn-rrule/package.json rename to src/platform/packages/shared/kbn-rrule/package.json diff --git a/packages/kbn-rrule/rrule.test.ts b/src/platform/packages/shared/kbn-rrule/rrule.test.ts similarity index 100% rename from packages/kbn-rrule/rrule.test.ts rename to src/platform/packages/shared/kbn-rrule/rrule.test.ts diff --git a/packages/kbn-rrule/rrule.ts b/src/platform/packages/shared/kbn-rrule/rrule.ts similarity index 100% rename from packages/kbn-rrule/rrule.ts rename to src/platform/packages/shared/kbn-rrule/rrule.ts diff --git a/packages/kbn-rrule/tsconfig.json b/src/platform/packages/shared/kbn-rrule/tsconfig.json similarity index 82% rename from packages/kbn-rrule/tsconfig.json rename to src/platform/packages/shared/kbn-rrule/tsconfig.json index 87f865132f4b4..447899d604592 100644 --- a/packages/kbn-rrule/tsconfig.json +++ b/src/platform/packages/shared/kbn-rrule/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-triggers-actions-ui-types/README.md b/src/platform/packages/shared/kbn-triggers-actions-ui-types/README.md similarity index 100% rename from packages/kbn-triggers-actions-ui-types/README.md rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/README.md diff --git a/packages/kbn-triggers-actions-ui-types/action_group_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/action_group_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/action_group_types.ts diff --git a/packages/kbn-triggers-actions-ui-types/action_variable_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/action_variable_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/action_variable_types.ts diff --git a/packages/kbn-triggers-actions-ui-types/index.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/index.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/index.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/index.ts diff --git a/packages/core/application/core-application-browser-internal/jest.config.js b/src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js similarity index 82% rename from packages/core/application/core-application-browser-internal/jest.config.js rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js index 223e310d5daf3..99bc1a3987b95 100644 --- a/packages/core/application/core-application-browser-internal/jest.config.js +++ b/src/platform/packages/shared/kbn-triggers-actions-ui-types/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/core/application/core-application-browser-internal'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-triggers-actions-ui-types'], }; diff --git a/packages/kbn-triggers-actions-ui-types/kibana.jsonc b/src/platform/packages/shared/kbn-triggers-actions-ui-types/kibana.jsonc similarity index 100% rename from packages/kbn-triggers-actions-ui-types/kibana.jsonc rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/kibana.jsonc diff --git a/packages/kbn-triggers-actions-ui-types/package.json b/src/platform/packages/shared/kbn-triggers-actions-ui-types/package.json similarity index 100% rename from packages/kbn-triggers-actions-ui-types/package.json rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/package.json diff --git a/packages/kbn-triggers-actions-ui-types/rule_types.ts b/src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts similarity index 100% rename from packages/kbn-triggers-actions-ui-types/rule_types.ts rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/rule_types.ts diff --git a/packages/kbn-triggers-actions-ui-types/tsconfig.json b/src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json similarity index 84% rename from packages/kbn-triggers-actions-ui-types/tsconfig.json rename to src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json index 6807322253645..17d71c0b4f0b0 100644 --- a/packages/kbn-triggers-actions-ui-types/tsconfig.json +++ b/src/platform/packages/shared/kbn-triggers-actions-ui-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/presentation/presentation_containers/README.md b/src/platform/packages/shared/presentation/presentation_containers/README.md similarity index 100% rename from packages/presentation/presentation_containers/README.md rename to src/platform/packages/shared/presentation/presentation_containers/README.md diff --git a/packages/presentation/presentation_containers/index.ts b/src/platform/packages/shared/presentation/presentation_containers/index.ts similarity index 100% rename from packages/presentation/presentation_containers/index.ts rename to src/platform/packages/shared/presentation/presentation_containers/index.ts diff --git a/packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/can_add_new_panel.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/can_add_new_panel.ts diff --git a/packages/presentation/presentation_containers/interfaces/child_state.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/child_state.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/child_state.ts diff --git a/packages/presentation/presentation_containers/interfaces/has_save_notification.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/has_save_notification.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/has_save_notification.ts diff --git a/packages/presentation/presentation_containers/interfaces/panel_management.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/panel_management.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/panel_management.ts diff --git a/packages/presentation/presentation_containers/interfaces/performance_trackers.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/performance_trackers.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/performance_trackers.ts diff --git a/packages/presentation/presentation_containers/interfaces/presentation_container.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/presentation_container.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/presentation_container.ts diff --git a/packages/presentation/presentation_containers/interfaces/publishes_settings.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/publishes_settings.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/publishes_settings.ts diff --git a/packages/presentation/presentation_containers/interfaces/serialized_state.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/serialized_state.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/serialized_state.ts diff --git a/packages/presentation/presentation_containers/interfaces/tracks_overlays.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/tracks_overlays.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/tracks_overlays.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.test.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/children_unsaved_changes.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.test.ts diff --git a/packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_containers/interfaces/unsaved_changes/initialize_unsaved_changes.ts diff --git a/src/platform/packages/shared/presentation/presentation_containers/jest.config.js b/src/platform/packages/shared/presentation/presentation_containers/jest.config.js new file mode 100644 index 0000000000000..6e9b6067aea25 --- /dev/null +++ b/src/platform/packages/shared/presentation/presentation_containers/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/presentation/presentation_containers'], +}; diff --git a/packages/presentation/presentation_containers/kibana.jsonc b/src/platform/packages/shared/presentation/presentation_containers/kibana.jsonc similarity index 100% rename from packages/presentation/presentation_containers/kibana.jsonc rename to src/platform/packages/shared/presentation/presentation_containers/kibana.jsonc diff --git a/packages/presentation/presentation_containers/mocks.ts b/src/platform/packages/shared/presentation/presentation_containers/mocks.ts similarity index 100% rename from packages/presentation/presentation_containers/mocks.ts rename to src/platform/packages/shared/presentation/presentation_containers/mocks.ts diff --git a/packages/presentation/presentation_containers/package.json b/src/platform/packages/shared/presentation/presentation_containers/package.json similarity index 100% rename from packages/presentation/presentation_containers/package.json rename to src/platform/packages/shared/presentation/presentation_containers/package.json diff --git a/packages/presentation/presentation_containers/tsconfig.json b/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json similarity index 85% rename from packages/presentation/presentation_containers/tsconfig.json rename to src/platform/packages/shared/presentation/presentation_containers/tsconfig.json index 8e25a7b80c6e2..e6e2a00a07655 100644 --- a/packages/presentation/presentation_containers/tsconfig.json +++ b/src/platform/packages/shared/presentation/presentation_containers/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/packages/presentation/presentation_publishing/README.md b/src/platform/packages/shared/presentation/presentation_publishing/README.md similarity index 100% rename from packages/presentation/presentation_publishing/README.md rename to src/platform/packages/shared/presentation/presentation_publishing/README.md diff --git a/packages/presentation/presentation_publishing/comparators/fallback_comparator.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/fallback_comparator.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/fallback_comparator.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/fallback_comparator.ts diff --git a/packages/presentation/presentation_publishing/comparators/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/index.ts diff --git a/packages/presentation/presentation_publishing/comparators/state_comparators.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/state_comparators.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/state_comparators.ts diff --git a/packages/presentation/presentation_publishing/comparators/types.ts b/src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts similarity index 100% rename from packages/presentation/presentation_publishing/comparators/types.ts rename to src/platform/packages/shared/presentation/presentation_publishing/comparators/types.ts diff --git a/packages/presentation/presentation_publishing/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/index.ts diff --git a/packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/can_access_view_mode.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_access_view_mode.ts diff --git a/packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/can_lock_hover_actions.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/fetch.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/fetch.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/initialize_time_range.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_reload.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_search_session.ts diff --git a/packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/fetch/publishes_unified_search.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_app_context.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_app_context.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_app_context.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_disable_triggers.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_disable_triggers.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_execution_context.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_execution_context.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_execution_context.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_library_transforms.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_library_transforms.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_parent_api.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_parent_api.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_parent_api.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_supported_triggers.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_supported_triggers.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_type.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_type.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_type.ts diff --git a/packages/presentation/presentation_publishing/interfaces/has_uuid.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/has_uuid.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_uuid.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_data_loading.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_loading.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_data_views.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_data_views.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_disabled_action_ids.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_phase_events.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_phase_events.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_rendered.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_rendered.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_saved_object_id.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_unsaved_changes.ts diff --git a/packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/publishes_view_mode.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_view_mode.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_description.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.test.ts diff --git a/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts b/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts similarity index 100% rename from packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts rename to src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts diff --git a/src/platform/packages/shared/presentation/presentation_publishing/jest.config.js b/src/platform/packages/shared/presentation/presentation_publishing/jest.config.js new file mode 100644 index 0000000000000..5472459fba481 --- /dev/null +++ b/src/platform/packages/shared/presentation/presentation_publishing/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/presentation/presentation_publishing'], +}; diff --git a/packages/presentation/presentation_publishing/kibana.jsonc b/src/platform/packages/shared/presentation/presentation_publishing/kibana.jsonc similarity index 100% rename from packages/presentation/presentation_publishing/kibana.jsonc rename to src/platform/packages/shared/presentation/presentation_publishing/kibana.jsonc diff --git a/packages/presentation/presentation_publishing/package.json b/src/platform/packages/shared/presentation/presentation_publishing/package.json similarity index 100% rename from packages/presentation/presentation_publishing/package.json rename to src/platform/packages/shared/presentation/presentation_publishing/package.json diff --git a/packages/presentation/presentation_publishing/publishing_subject/index.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/index.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/index.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/index.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_batcher.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.test.tsx diff --git a/packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/publishing_subject.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/publishing_subject.ts diff --git a/packages/presentation/presentation_publishing/publishing_subject/types.ts b/src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/types.ts similarity index 100% rename from packages/presentation/presentation_publishing/publishing_subject/types.ts rename to src/platform/packages/shared/presentation/presentation_publishing/publishing_subject/types.ts diff --git a/packages/presentation/presentation_publishing/tsconfig.json b/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json similarity index 85% rename from packages/presentation/presentation_publishing/tsconfig.json rename to src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json index a08944f9674da..58edc9d14270d 100644 --- a/packages/presentation/presentation_publishing/tsconfig.json +++ b/src/platform/packages/shared/presentation/presentation_publishing/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/src/plugins/input_control_vis/README.md b/src/platform/plugins/private/input_control_vis/README.md similarity index 100% rename from src/plugins/input_control_vis/README.md rename to src/platform/plugins/private/input_control_vis/README.md diff --git a/src/platform/plugins/private/input_control_vis/jest.config.js b/src/platform/plugins/private/input_control_vis/jest.config.js new file mode 100644 index 0000000000000..2bf36692b93ce --- /dev/null +++ b/src/platform/plugins/private/input_control_vis/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/input_control_vis'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/input_control_vis', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/input_control_vis/public/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/input_control_vis/kibana.jsonc b/src/platform/plugins/private/input_control_vis/kibana.jsonc similarity index 100% rename from src/plugins/input_control_vis/kibana.jsonc rename to src/platform/plugins/private/input_control_vis/kibana.jsonc diff --git a/src/plugins/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap b/src/platform/plugins/private/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap similarity index 100% rename from src/plugins/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap rename to src/platform/plugins/private/input_control_vis/public/__snapshots__/input_control_fn.test.ts.snap diff --git a/src/plugins/input_control_vis/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/input_control_vis/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/input_control_vis/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/input_control_vis/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/controls_tab.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/list_control_editor.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/options_tab.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/editor/__snapshots__/range_control_editor.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/editor/control_editor.scss b/src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/control_editor.scss rename to src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.scss diff --git a/src/plugins/input_control_vis/public/components/editor/control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/controls_tab.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/controls_tab.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/controls_tab.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/field_select.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/field_select.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/field_select.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/field_select.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/index.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/index.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/index.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/index.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/index_pattern_select_form_row.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/list_control_editor.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/list_control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/options_tab.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/options_tab.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/options_tab.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/options_tab.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/range_control_editor.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.test.tsx diff --git a/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx b/src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx rename to src/platform/plugins/private/input_control_vis/public/components/editor/range_control_editor.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/input_control_vis.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/list_control.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap b/src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap rename to src/platform/plugins/private/input_control_vis/public/components/vis/__snapshots__/range_control.test.tsx.snap diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/form_row.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/form_row.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/form_row.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/form_row.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/form_row.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/form_row.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.scss b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.scss similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.scss rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.scss diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/input_control_vis.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/input_control_vis.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/list_control.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/list_control.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/list_control.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/list_control.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/list_control.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/list_control.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/list_control.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.test.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/range_control.test.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/range_control.test.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/range_control.test.tsx diff --git a/src/plugins/input_control_vis/public/components/vis/range_control.tsx b/src/platform/plugins/private/input_control_vis/public/components/vis/range_control.tsx similarity index 100% rename from src/plugins/input_control_vis/public/components/vis/range_control.tsx rename to src/platform/plugins/private/input_control_vis/public/components/vis/range_control.tsx diff --git a/src/plugins/input_control_vis/public/control/control.test.ts b/src/platform/plugins/private/input_control_vis/public/control/control.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/control.test.ts diff --git a/src/plugins/input_control_vis/public/control/control.ts b/src/platform/plugins/private/input_control_vis/public/control/control.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control.ts rename to src/platform/plugins/private/input_control_vis/public/control/control.ts diff --git a/src/plugins/input_control_vis/public/control/control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/control_factory.ts diff --git a/src/plugins/input_control_vis/public/control/create_search_source.ts b/src/platform/plugins/private/input_control_vis/public/control/create_search_source.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/create_search_source.ts rename to src/platform/plugins/private/input_control_vis/public/control/create_search_source.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts b/src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts rename to src/platform/plugins/private/input_control_vis/public/control/filter_manager/range_filter_manager.ts diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.test.ts b/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/list_control_factory.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/list_control_factory.test.ts diff --git a/src/plugins/input_control_vis/public/control/list_control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/list_control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/list_control_factory.ts diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.test.ts b/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/range_control_factory.test.ts rename to src/platform/plugins/private/input_control_vis/public/control/range_control_factory.test.ts diff --git a/src/plugins/input_control_vis/public/control/range_control_factory.ts b/src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts similarity index 100% rename from src/plugins/input_control_vis/public/control/range_control_factory.ts rename to src/platform/plugins/private/input_control_vis/public/control/range_control_factory.ts diff --git a/src/plugins/input_control_vis/public/deprecation_badge.ts b/src/platform/plugins/private/input_control_vis/public/deprecation_badge.ts similarity index 100% rename from src/plugins/input_control_vis/public/deprecation_badge.ts rename to src/platform/plugins/private/input_control_vis/public/deprecation_badge.ts diff --git a/src/plugins/input_control_vis/public/editor_utils.ts b/src/platform/plugins/private/input_control_vis/public/editor_utils.ts similarity index 100% rename from src/plugins/input_control_vis/public/editor_utils.ts rename to src/platform/plugins/private/input_control_vis/public/editor_utils.ts diff --git a/src/plugins/input_control_vis/public/index.ts b/src/platform/plugins/private/input_control_vis/public/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/index.ts rename to src/platform/plugins/private/input_control_vis/public/index.ts diff --git a/src/plugins/input_control_vis/public/input_control_fn.test.ts b/src/platform/plugins/private/input_control_vis/public/input_control_fn.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_fn.test.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_fn.test.ts diff --git a/src/plugins/input_control_vis/public/input_control_fn.ts b/src/platform/plugins/private/input_control_vis/public/input_control_fn.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_fn.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_fn.ts diff --git a/src/plugins/input_control_vis/public/input_control_vis_renderer.tsx b/src/platform/plugins/private/input_control_vis/public/input_control_vis_renderer.tsx similarity index 100% rename from src/plugins/input_control_vis/public/input_control_vis_renderer.tsx rename to src/platform/plugins/private/input_control_vis/public/input_control_vis_renderer.tsx diff --git a/src/plugins/input_control_vis/public/input_control_vis_type.ts b/src/platform/plugins/private/input_control_vis/public/input_control_vis_type.ts similarity index 100% rename from src/plugins/input_control_vis/public/input_control_vis_type.ts rename to src/platform/plugins/private/input_control_vis/public/input_control_vis_type.ts diff --git a/src/plugins/input_control_vis/public/lineage/index.ts b/src/platform/plugins/private/input_control_vis/public/lineage/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/index.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/index.ts diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.test.ts b/src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/lineage_map.test.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.test.ts diff --git a/src/plugins/input_control_vis/public/lineage/lineage_map.ts b/src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/lineage_map.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/lineage_map.ts diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts b/src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/parent_candidates.test.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.test.ts diff --git a/src/plugins/input_control_vis/public/lineage/parent_candidates.ts b/src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.ts similarity index 100% rename from src/plugins/input_control_vis/public/lineage/parent_candidates.ts rename to src/platform/plugins/private/input_control_vis/public/lineage/parent_candidates.ts diff --git a/src/plugins/input_control_vis/public/plugin.ts b/src/platform/plugins/private/input_control_vis/public/plugin.ts similarity index 100% rename from src/plugins/input_control_vis/public/plugin.ts rename to src/platform/plugins/private/input_control_vis/public/plugin.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx b/src/platform/plugins/private/input_control_vis/public/test_utils/get_deps_mock.tsx similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_deps_mock.tsx rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_deps_mock.tsx diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_index_pattern_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_index_patterns_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_index_patterns_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_index_patterns_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/get_search_service_mock.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/get_search_service_mock.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/get_search_service_mock.ts diff --git a/src/plugins/input_control_vis/public/test_utils/index.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/index.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/index.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/index.ts diff --git a/src/plugins/input_control_vis/public/test_utils/update_component.ts b/src/platform/plugins/private/input_control_vis/public/test_utils/update_component.ts similarity index 100% rename from src/plugins/input_control_vis/public/test_utils/update_component.ts rename to src/platform/plugins/private/input_control_vis/public/test_utils/update_component.ts diff --git a/src/plugins/input_control_vis/public/to_ast.test.ts b/src/platform/plugins/private/input_control_vis/public/to_ast.test.ts similarity index 100% rename from src/plugins/input_control_vis/public/to_ast.test.ts rename to src/platform/plugins/private/input_control_vis/public/to_ast.test.ts diff --git a/src/plugins/input_control_vis/public/to_ast.ts b/src/platform/plugins/private/input_control_vis/public/to_ast.ts similarity index 100% rename from src/plugins/input_control_vis/public/to_ast.ts rename to src/platform/plugins/private/input_control_vis/public/to_ast.ts diff --git a/src/plugins/input_control_vis/public/types.ts b/src/platform/plugins/private/input_control_vis/public/types.ts similarity index 100% rename from src/plugins/input_control_vis/public/types.ts rename to src/platform/plugins/private/input_control_vis/public/types.ts diff --git a/src/plugins/input_control_vis/public/vis_controller.tsx b/src/platform/plugins/private/input_control_vis/public/vis_controller.tsx similarity index 100% rename from src/plugins/input_control_vis/public/vis_controller.tsx rename to src/platform/plugins/private/input_control_vis/public/vis_controller.tsx diff --git a/src/plugins/input_control_vis/server/config.ts b/src/platform/plugins/private/input_control_vis/server/config.ts similarity index 100% rename from src/plugins/input_control_vis/server/config.ts rename to src/platform/plugins/private/input_control_vis/server/config.ts diff --git a/src/plugins/input_control_vis/server/index.ts b/src/platform/plugins/private/input_control_vis/server/index.ts similarity index 100% rename from src/plugins/input_control_vis/server/index.ts rename to src/platform/plugins/private/input_control_vis/server/index.ts diff --git a/src/plugins/input_control_vis/tsconfig.json b/src/platform/plugins/private/input_control_vis/tsconfig.json similarity index 93% rename from src/plugins/input_control_vis/tsconfig.json rename to src/platform/plugins/private/input_control_vis/tsconfig.json index 5b4900ad1845c..4f9370c591ee4 100644 --- a/src/plugins/input_control_vis/tsconfig.json +++ b/src/platform/plugins/private/input_control_vis/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/links/README.md b/src/platform/plugins/private/links/README.md similarity index 100% rename from src/plugins/links/README.md rename to src/platform/plugins/private/links/README.md diff --git a/src/plugins/links/common/constants.ts b/src/platform/plugins/private/links/common/constants.ts similarity index 100% rename from src/plugins/links/common/constants.ts rename to src/platform/plugins/private/links/common/constants.ts diff --git a/src/plugins/links/common/content_management/index.ts b/src/platform/plugins/private/links/common/content_management/index.ts similarity index 100% rename from src/plugins/links/common/content_management/index.ts rename to src/platform/plugins/private/links/common/content_management/index.ts diff --git a/src/plugins/links/common/content_management/latest.ts b/src/platform/plugins/private/links/common/content_management/latest.ts similarity index 100% rename from src/plugins/links/common/content_management/latest.ts rename to src/platform/plugins/private/links/common/content_management/latest.ts diff --git a/src/plugins/links/common/content_management/v1/constants.ts b/src/platform/plugins/private/links/common/content_management/v1/constants.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/constants.ts rename to src/platform/plugins/private/links/common/content_management/v1/constants.ts diff --git a/src/plugins/links/common/content_management/v1/index.ts b/src/platform/plugins/private/links/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/index.ts rename to src/platform/plugins/private/links/common/content_management/v1/index.ts diff --git a/src/plugins/links/common/content_management/v1/types.ts b/src/platform/plugins/private/links/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/links/common/content_management/v1/types.ts rename to src/platform/plugins/private/links/common/content_management/v1/types.ts diff --git a/src/plugins/links/common/index.ts b/src/platform/plugins/private/links/common/index.ts similarity index 100% rename from src/plugins/links/common/index.ts rename to src/platform/plugins/private/links/common/index.ts diff --git a/src/plugins/links/common/persistable_state/index.ts b/src/platform/plugins/private/links/common/persistable_state/index.ts similarity index 100% rename from src/plugins/links/common/persistable_state/index.ts rename to src/platform/plugins/private/links/common/persistable_state/index.ts diff --git a/src/plugins/links/common/persistable_state/references.test.ts b/src/platform/plugins/private/links/common/persistable_state/references.test.ts similarity index 100% rename from src/plugins/links/common/persistable_state/references.test.ts rename to src/platform/plugins/private/links/common/persistable_state/references.test.ts diff --git a/src/plugins/links/common/persistable_state/references.ts b/src/platform/plugins/private/links/common/persistable_state/references.ts similarity index 100% rename from src/plugins/links/common/persistable_state/references.ts rename to src/platform/plugins/private/links/common/persistable_state/references.ts diff --git a/src/plugins/links/common/types.ts b/src/platform/plugins/private/links/common/types.ts similarity index 100% rename from src/plugins/links/common/types.ts rename to src/platform/plugins/private/links/common/types.ts diff --git a/src/plugins/expression_image/jest.config.js b/src/platform/plugins/private/links/jest.config.js similarity index 69% rename from src/plugins/expression_image/jest.config.js rename to src/platform/plugins/private/links/jest.config.js index c8c330398a233..8c5479c486cd9 100644 --- a/src/plugins/expression_image/jest.config.js +++ b/src/platform/plugins/private/links/jest.config.js @@ -9,11 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/links'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/links', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/links/{common,public,server}/**/*.{ts,tsx}', ], + setupFiles: ['/src/platform/plugins/private/links/jest_setup.ts'], }; diff --git a/src/plugins/links/jest_setup.ts b/src/platform/plugins/private/links/jest_setup.ts similarity index 100% rename from src/plugins/links/jest_setup.ts rename to src/platform/plugins/private/links/jest_setup.ts diff --git a/src/plugins/links/kibana.jsonc b/src/platform/plugins/private/links/kibana.jsonc similarity index 100% rename from src/plugins/links/kibana.jsonc rename to src/platform/plugins/private/links/kibana.jsonc diff --git a/src/plugins/links/public/_mixins.scss b/src/platform/plugins/private/links/public/_mixins.scss similarity index 93% rename from src/plugins/links/public/_mixins.scss rename to src/platform/plugins/private/links/public/_mixins.scss index b41c0d7f1ab62..d4025a7ef57b9 100644 --- a/src/plugins/links/public/_mixins.scss +++ b/src/platform/plugins/private/links/public/_mixins.scss @@ -1,4 +1,4 @@ -@import '../../../core/public/mixins'; +@import '../../../../../core/public/mixins'; @keyframes euiFlyoutOpenAnimation { 0% { diff --git a/src/plugins/links/public/actions/compatibility_check.ts b/src/platform/plugins/private/links/public/actions/compatibility_check.ts similarity index 100% rename from src/plugins/links/public/actions/compatibility_check.ts rename to src/platform/plugins/private/links/public/actions/compatibility_check.ts diff --git a/src/plugins/links/public/actions/create_links_panel_action.ts b/src/platform/plugins/private/links/public/actions/create_links_panel_action.ts similarity index 100% rename from src/plugins/links/public/actions/create_links_panel_action.ts rename to src/platform/plugins/private/links/public/actions/create_links_panel_action.ts diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_component.test.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.test.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_component.test.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.test.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_component.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_component.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_component.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_destination_picker.tsx diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_strings.ts b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_strings.ts similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_strings.ts rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_strings.ts diff --git a/src/plugins/links/public/components/dashboard_link/dashboard_link_tools.ts b/src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_tools.ts similarity index 100% rename from src/plugins/links/public/components/dashboard_link/dashboard_link_tools.ts rename to src/platform/plugins/private/links/public/components/dashboard_link/dashboard_link_tools.ts diff --git a/src/plugins/links/public/components/editor/constants.ts b/src/platform/plugins/private/links/public/components/editor/constants.ts similarity index 100% rename from src/plugins/links/public/components/editor/constants.ts rename to src/platform/plugins/private/links/public/components/editor/constants.ts diff --git a/src/plugins/links/public/components/editor/link_destination.tsx b/src/platform/plugins/private/links/public/components/editor/link_destination.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_destination.tsx rename to src/platform/plugins/private/links/public/components/editor/link_destination.tsx diff --git a/src/plugins/links/public/components/editor/link_editor.tsx b/src/platform/plugins/private/links/public/components/editor/link_editor.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_editor.tsx rename to src/platform/plugins/private/links/public/components/editor/link_editor.tsx diff --git a/src/plugins/links/public/components/editor/link_options.tsx b/src/platform/plugins/private/links/public/components/editor/link_options.tsx similarity index 100% rename from src/plugins/links/public/components/editor/link_options.tsx rename to src/platform/plugins/private/links/public/components/editor/link_options.tsx diff --git a/src/plugins/links/public/components/editor/links_editor.scss b/src/platform/plugins/private/links/public/components/editor/links_editor.scss similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.scss rename to src/platform/plugins/private/links/public/components/editor/links_editor.scss diff --git a/src/plugins/links/public/components/editor/links_editor.test.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor.test.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.test.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor.test.tsx diff --git a/src/plugins/links/public/components/editor/links_editor.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor.tsx diff --git a/src/plugins/links/public/components/editor/links_editor_empty_prompt.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor_empty_prompt.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor_empty_prompt.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor_empty_prompt.tsx diff --git a/src/plugins/links/public/components/editor/links_editor_single_link.tsx b/src/platform/plugins/private/links/public/components/editor/links_editor_single_link.tsx similarity index 100% rename from src/plugins/links/public/components/editor/links_editor_single_link.tsx rename to src/platform/plugins/private/links/public/components/editor/links_editor_single_link.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_component.test.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_component.test.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_component.test.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_component.test.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_component.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_component.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_component.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_component.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_destination_picker.tsx b/src/platform/plugins/private/links/public/components/external_link/external_link_destination_picker.tsx similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_destination_picker.tsx rename to src/platform/plugins/private/links/public/components/external_link/external_link_destination_picker.tsx diff --git a/src/plugins/links/public/components/external_link/external_link_strings.ts b/src/platform/plugins/private/links/public/components/external_link/external_link_strings.ts similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_strings.ts rename to src/platform/plugins/private/links/public/components/external_link/external_link_strings.ts diff --git a/src/plugins/links/public/components/external_link/external_link_tools.ts b/src/platform/plugins/private/links/public/components/external_link/external_link_tools.ts similarity index 100% rename from src/plugins/links/public/components/external_link/external_link_tools.ts rename to src/platform/plugins/private/links/public/components/external_link/external_link_tools.ts diff --git a/src/plugins/links/public/components/links_component.scss b/src/platform/plugins/private/links/public/components/links_component.scss similarity index 100% rename from src/plugins/links/public/components/links_component.scss rename to src/platform/plugins/private/links/public/components/links_component.scss diff --git a/src/plugins/links/public/components/links_strings.ts b/src/platform/plugins/private/links/public/components/links_strings.ts similarity index 100% rename from src/plugins/links/public/components/links_strings.ts rename to src/platform/plugins/private/links/public/components/links_strings.ts diff --git a/src/plugins/links/public/components/tooltip_wrapper.tsx b/src/platform/plugins/private/links/public/components/tooltip_wrapper.tsx similarity index 100% rename from src/plugins/links/public/components/tooltip_wrapper.tsx rename to src/platform/plugins/private/links/public/components/tooltip_wrapper.tsx diff --git a/src/plugins/links/public/content_management/duplicate_title_check.ts b/src/platform/plugins/private/links/public/content_management/duplicate_title_check.ts similarity index 100% rename from src/plugins/links/public/content_management/duplicate_title_check.ts rename to src/platform/plugins/private/links/public/content_management/duplicate_title_check.ts diff --git a/src/plugins/links/public/content_management/index.ts b/src/platform/plugins/private/links/public/content_management/index.ts similarity index 100% rename from src/plugins/links/public/content_management/index.ts rename to src/platform/plugins/private/links/public/content_management/index.ts diff --git a/src/plugins/links/public/content_management/links_content_management_client.ts b/src/platform/plugins/private/links/public/content_management/links_content_management_client.ts similarity index 100% rename from src/plugins/links/public/content_management/links_content_management_client.ts rename to src/platform/plugins/private/links/public/content_management/links_content_management_client.ts diff --git a/src/plugins/links/public/content_management/save_to_library.tsx b/src/platform/plugins/private/links/public/content_management/save_to_library.tsx similarity index 100% rename from src/plugins/links/public/content_management/save_to_library.tsx rename to src/platform/plugins/private/links/public/content_management/save_to_library.tsx diff --git a/src/plugins/links/public/editor/links_editor_tools.tsx b/src/platform/plugins/private/links/public/editor/links_editor_tools.tsx similarity index 100% rename from src/plugins/links/public/editor/links_editor_tools.tsx rename to src/platform/plugins/private/links/public/editor/links_editor_tools.tsx diff --git a/src/plugins/links/public/editor/open_editor_flyout.tsx b/src/platform/plugins/private/links/public/editor/open_editor_flyout.tsx similarity index 100% rename from src/plugins/links/public/editor/open_editor_flyout.tsx rename to src/platform/plugins/private/links/public/editor/open_editor_flyout.tsx diff --git a/src/plugins/links/public/editor/open_link_editor_flyout.tsx b/src/platform/plugins/private/links/public/editor/open_link_editor_flyout.tsx similarity index 100% rename from src/plugins/links/public/editor/open_link_editor_flyout.tsx rename to src/platform/plugins/private/links/public/editor/open_link_editor_flyout.tsx diff --git a/src/plugins/links/public/embeddable/links_embeddable.test.tsx b/src/platform/plugins/private/links/public/embeddable/links_embeddable.test.tsx similarity index 100% rename from src/plugins/links/public/embeddable/links_embeddable.test.tsx rename to src/platform/plugins/private/links/public/embeddable/links_embeddable.test.tsx diff --git a/src/plugins/links/public/embeddable/links_embeddable.tsx b/src/platform/plugins/private/links/public/embeddable/links_embeddable.tsx similarity index 100% rename from src/plugins/links/public/embeddable/links_embeddable.tsx rename to src/platform/plugins/private/links/public/embeddable/links_embeddable.tsx diff --git a/src/plugins/links/public/index.ts b/src/platform/plugins/private/links/public/index.ts similarity index 100% rename from src/plugins/links/public/index.ts rename to src/platform/plugins/private/links/public/index.ts diff --git a/src/plugins/links/public/lib/deserialize_from_library.ts b/src/platform/plugins/private/links/public/lib/deserialize_from_library.ts similarity index 100% rename from src/plugins/links/public/lib/deserialize_from_library.ts rename to src/platform/plugins/private/links/public/lib/deserialize_from_library.ts diff --git a/src/plugins/links/public/lib/resolve_links.test.ts b/src/platform/plugins/private/links/public/lib/resolve_links.test.ts similarity index 100% rename from src/plugins/links/public/lib/resolve_links.test.ts rename to src/platform/plugins/private/links/public/lib/resolve_links.test.ts diff --git a/src/plugins/links/public/lib/resolve_links.ts b/src/platform/plugins/private/links/public/lib/resolve_links.ts similarity index 100% rename from src/plugins/links/public/lib/resolve_links.ts rename to src/platform/plugins/private/links/public/lib/resolve_links.ts diff --git a/src/plugins/links/public/lib/serialize_attributes.ts b/src/platform/plugins/private/links/public/lib/serialize_attributes.ts similarity index 100% rename from src/plugins/links/public/lib/serialize_attributes.ts rename to src/platform/plugins/private/links/public/lib/serialize_attributes.ts diff --git a/src/plugins/links/public/mocks.ts b/src/platform/plugins/private/links/public/mocks.ts similarity index 100% rename from src/plugins/links/public/mocks.ts rename to src/platform/plugins/private/links/public/mocks.ts diff --git a/src/plugins/links/public/plugin.ts b/src/platform/plugins/private/links/public/plugin.ts similarity index 100% rename from src/plugins/links/public/plugin.ts rename to src/platform/plugins/private/links/public/plugin.ts diff --git a/src/plugins/links/public/services/kibana_services.ts b/src/platform/plugins/private/links/public/services/kibana_services.ts similarity index 100% rename from src/plugins/links/public/services/kibana_services.ts rename to src/platform/plugins/private/links/public/services/kibana_services.ts diff --git a/src/plugins/links/public/types.ts b/src/platform/plugins/private/links/public/types.ts similarity index 100% rename from src/plugins/links/public/types.ts rename to src/platform/plugins/private/links/public/types.ts diff --git a/src/plugins/links/server/content_management/index.ts b/src/platform/plugins/private/links/server/content_management/index.ts similarity index 100% rename from src/plugins/links/server/content_management/index.ts rename to src/platform/plugins/private/links/server/content_management/index.ts diff --git a/src/plugins/links/server/content_management/links_storage.ts b/src/platform/plugins/private/links/server/content_management/links_storage.ts similarity index 100% rename from src/plugins/links/server/content_management/links_storage.ts rename to src/platform/plugins/private/links/server/content_management/links_storage.ts diff --git a/src/plugins/links/server/content_management/schema/cm_services.ts b/src/platform/plugins/private/links/server/content_management/schema/cm_services.ts similarity index 100% rename from src/plugins/links/server/content_management/schema/cm_services.ts rename to src/platform/plugins/private/links/server/content_management/schema/cm_services.ts diff --git a/src/plugins/links/server/content_management/schema/v1/cm_services.ts b/src/platform/plugins/private/links/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from src/plugins/links/server/content_management/schema/v1/cm_services.ts rename to src/platform/plugins/private/links/server/content_management/schema/v1/cm_services.ts diff --git a/src/plugins/links/server/index.ts b/src/platform/plugins/private/links/server/index.ts similarity index 100% rename from src/plugins/links/server/index.ts rename to src/platform/plugins/private/links/server/index.ts diff --git a/src/plugins/links/server/plugin.ts b/src/platform/plugins/private/links/server/plugin.ts similarity index 100% rename from src/plugins/links/server/plugin.ts rename to src/platform/plugins/private/links/server/plugin.ts diff --git a/src/plugins/links/server/saved_objects/index.ts b/src/platform/plugins/private/links/server/saved_objects/index.ts similarity index 100% rename from src/plugins/links/server/saved_objects/index.ts rename to src/platform/plugins/private/links/server/saved_objects/index.ts diff --git a/src/plugins/links/server/saved_objects/links.ts b/src/platform/plugins/private/links/server/saved_objects/links.ts similarity index 100% rename from src/plugins/links/server/saved_objects/links.ts rename to src/platform/plugins/private/links/server/saved_objects/links.ts diff --git a/src/plugins/links/tsconfig.json b/src/platform/plugins/private/links/tsconfig.json similarity index 95% rename from src/plugins/links/tsconfig.json rename to src/platform/plugins/private/links/tsconfig.json index 321809cb507d0..ac7594cc5d76a 100644 --- a/src/plugins/links/tsconfig.json +++ b/src/platform/plugins/private/links/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/maps_ems/README.md b/src/platform/plugins/private/maps_ems/README.md similarity index 100% rename from src/plugins/maps_ems/README.md rename to src/platform/plugins/private/maps_ems/README.md diff --git a/src/plugins/maps_ems/common/ems_defaults.ts b/src/platform/plugins/private/maps_ems/common/ems_defaults.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_defaults.ts rename to src/platform/plugins/private/maps_ems/common/ems_defaults.ts diff --git a/src/plugins/maps_ems/common/ems_settings.test.ts b/src/platform/plugins/private/maps_ems/common/ems_settings.test.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_settings.test.ts rename to src/platform/plugins/private/maps_ems/common/ems_settings.test.ts diff --git a/src/plugins/maps_ems/common/ems_settings.ts b/src/platform/plugins/private/maps_ems/common/ems_settings.ts similarity index 100% rename from src/plugins/maps_ems/common/ems_settings.ts rename to src/platform/plugins/private/maps_ems/common/ems_settings.ts diff --git a/src/plugins/maps_ems/common/index.ts b/src/platform/plugins/private/maps_ems/common/index.ts similarity index 100% rename from src/plugins/maps_ems/common/index.ts rename to src/platform/plugins/private/maps_ems/common/index.ts diff --git a/src/plugins/expression_reveal_image/jest.config.js b/src/platform/plugins/private/maps_ems/jest.config.js similarity index 74% rename from src/plugins/expression_reveal_image/jest.config.js rename to src/platform/plugins/private/maps_ems/jest.config.js index bb6affeacc2bd..6949452fb43d0 100644 --- a/src/plugins/expression_reveal_image/jest.config.js +++ b/src/platform/plugins/private/maps_ems/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_reveal_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_reveal_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/maps_ems'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/maps_ems', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/private/maps_ems/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/maps_ems/kibana.jsonc b/src/platform/plugins/private/maps_ems/kibana.jsonc similarity index 100% rename from src/plugins/maps_ems/kibana.jsonc rename to src/platform/plugins/private/maps_ems/kibana.jsonc diff --git a/src/plugins/maps_ems/public/index.ts b/src/platform/plugins/private/maps_ems/public/index.ts similarity index 100% rename from src/plugins/maps_ems/public/index.ts rename to src/platform/plugins/private/maps_ems/public/index.ts diff --git a/src/plugins/maps_ems/public/kibana_services.ts b/src/platform/plugins/private/maps_ems/public/kibana_services.ts similarity index 100% rename from src/plugins/maps_ems/public/kibana_services.ts rename to src/platform/plugins/private/maps_ems/public/kibana_services.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.test.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/create_ems_client.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/create_ems_client.ts diff --git a/src/plugins/maps_ems/public/lazy_load_bundle/index.ts b/src/platform/plugins/private/maps_ems/public/lazy_load_bundle/index.ts similarity index 100% rename from src/plugins/maps_ems/public/lazy_load_bundle/index.ts rename to src/platform/plugins/private/maps_ems/public/lazy_load_bundle/index.ts diff --git a/src/plugins/maps_ems/public/plugin.ts b/src/platform/plugins/private/maps_ems/public/plugin.ts similarity index 100% rename from src/plugins/maps_ems/public/plugin.ts rename to src/platform/plugins/private/maps_ems/public/plugin.ts diff --git a/src/plugins/maps_ems/server/config.ts b/src/platform/plugins/private/maps_ems/server/config.ts similarity index 100% rename from src/plugins/maps_ems/server/config.ts rename to src/platform/plugins/private/maps_ems/server/config.ts diff --git a/src/plugins/maps_ems/server/index.ts b/src/platform/plugins/private/maps_ems/server/index.ts similarity index 100% rename from src/plugins/maps_ems/server/index.ts rename to src/platform/plugins/private/maps_ems/server/index.ts diff --git a/src/plugins/maps_ems/server/plugin.ts b/src/platform/plugins/private/maps_ems/server/plugin.ts similarity index 100% rename from src/plugins/maps_ems/server/plugin.ts rename to src/platform/plugins/private/maps_ems/server/plugin.ts diff --git a/src/plugins/maps_ems/tsconfig.json b/src/platform/plugins/private/maps_ems/tsconfig.json similarity index 88% rename from src/plugins/maps_ems/tsconfig.json rename to src/platform/plugins/private/maps_ems/tsconfig.json index 95c001e37d28d..8fe46eb8a885f 100644 --- a/src/plugins/maps_ems/tsconfig.json +++ b/src/platform/plugins/private/maps_ems/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/presentation_panel/README.md b/src/platform/plugins/private/presentation_panel/README.md similarity index 100% rename from src/plugins/presentation_panel/README.md rename to src/platform/plugins/private/presentation_panel/README.md diff --git a/src/plugins/presentation_panel/common/index.ts b/src/platform/plugins/private/presentation_panel/common/index.ts similarity index 100% rename from src/plugins/presentation_panel/common/index.ts rename to src/platform/plugins/private/presentation_panel/common/index.ts diff --git a/src/platform/plugins/private/presentation_panel/jest.config.js b/src/platform/plugins/private/presentation_panel/jest.config.js new file mode 100644 index 0000000000000..e8ee68f6a0047 --- /dev/null +++ b/src/platform/plugins/private/presentation_panel/jest.config.js @@ -0,0 +1,21 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/presentation_panel'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/presentation_panel', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/presentation_panel/{common,public,server}/**/*.{ts,tsx}', + ], + setupFiles: ['/src/platform/plugins/private/presentation_panel/jest_setup.ts'], +}; diff --git a/src/plugins/embeddable/jest_setup.ts b/src/platform/plugins/private/presentation_panel/jest_setup.ts similarity index 100% rename from src/plugins/embeddable/jest_setup.ts rename to src/platform/plugins/private/presentation_panel/jest_setup.ts diff --git a/src/plugins/presentation_panel/kibana.jsonc b/src/platform/plugins/private/presentation_panel/kibana.jsonc similarity index 100% rename from src/plugins/presentation_panel/kibana.jsonc rename to src/platform/plugins/private/presentation_panel/kibana.jsonc diff --git a/src/plugins/presentation_panel/public/index.ts b/src/platform/plugins/private/presentation_panel/public/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/index.ts rename to src/platform/plugins/private/presentation_panel/public/index.ts diff --git a/src/plugins/presentation_panel/public/kibana_services.ts b/src/platform/plugins/private/presentation_panel/public/kibana_services.ts similarity index 100% rename from src/plugins/presentation_panel/public/kibana_services.ts rename to src/platform/plugins/private/presentation_panel/public/kibana_services.ts diff --git a/src/plugins/presentation_panel/public/mocks.tsx b/src/platform/plugins/private/presentation_panel/public/mocks.tsx similarity index 100% rename from src/plugins/presentation_panel/public/mocks.tsx rename to src/platform/plugins/private/presentation_panel/public/mocks.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.test.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/custom_time_range_badge.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.test.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_action.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/filters_details.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/index.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/open_customize_panel.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/index.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/inspect_panel_action/inspect_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/panel_actions.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/panel_actions.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/panel_actions.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/panel_actions.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/remove_panel_action/remove_panel_action.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/triggers.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/triggers.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/triggers.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/triggers.ts diff --git a/src/plugins/presentation_panel/public/panel_actions/types.ts b/src/platform/plugins/private/presentation_panel/public/panel_actions/types.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_actions/types.ts rename to src/platform/plugins/private/presentation_panel/public/panel_actions/types.ts diff --git a/src/plugins/presentation_panel/public/panel_component/_presentation_panel.scss b/src/platform/plugins/private/presentation_panel/public/panel_component/_presentation_panel.scss similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/_presentation_panel.scss rename to src/platform/plugins/private/presentation_panel/public/panel_component/_presentation_panel.scss diff --git a/src/plugins/presentation_panel/public/panel_component/index.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/index.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/index.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/index.ts diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_header.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_hover_actions.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/presentation_panel_title.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_presentation_panel_header_actions.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_error.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_error.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_error.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_error.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.test.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx diff --git a/src/plugins/presentation_panel/public/panel_component/presentation_panel_strings.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_strings.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/presentation_panel_strings.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_strings.ts diff --git a/src/plugins/presentation_panel/public/panel_component/types.ts b/src/platform/plugins/private/presentation_panel/public/panel_component/types.ts similarity index 100% rename from src/plugins/presentation_panel/public/panel_component/types.ts rename to src/platform/plugins/private/presentation_panel/public/panel_component/types.ts diff --git a/src/plugins/presentation_panel/public/plugin.ts b/src/platform/plugins/private/presentation_panel/public/plugin.ts similarity index 100% rename from src/plugins/presentation_panel/public/plugin.ts rename to src/platform/plugins/private/presentation_panel/public/plugin.ts diff --git a/src/plugins/presentation_panel/tsconfig.json b/src/platform/plugins/private/presentation_panel/tsconfig.json similarity index 85% rename from src/plugins/presentation_panel/tsconfig.json rename to src/platform/plugins/private/presentation_panel/tsconfig.json index eb600c8e3e0cc..f607e5bbb2169 100644 --- a/src/plugins/presentation_panel/tsconfig.json +++ b/src/platform/plugins/private/presentation_panel/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, - "include": ["*.ts", "common/**/*", "public/**/*", "../../../typings/**/*"], + "include": ["*.ts", "common/**/*", "public/**/*", "../../../../../typings/**/*"], "kbn_references": [ "@kbn/core", "@kbn/ui-actions-plugin", diff --git a/src/plugins/vis_type_markdown/README.md b/src/platform/plugins/private/vis_type_markdown/README.md similarity index 100% rename from src/plugins/vis_type_markdown/README.md rename to src/platform/plugins/private/vis_type_markdown/README.md diff --git a/src/platform/plugins/private/vis_type_markdown/jest.config.js b/src/platform/plugins/private/vis_type_markdown/jest.config.js new file mode 100644 index 0000000000000..0c58e9615255f --- /dev/null +++ b/src/platform/plugins/private/vis_type_markdown/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/private/vis_type_markdown'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/vis_type_markdown', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/private/vis_type_markdown/{public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/vis_type_markdown/kibana.jsonc b/src/platform/plugins/private/vis_type_markdown/kibana.jsonc similarity index 100% rename from src/plugins/vis_type_markdown/kibana.jsonc rename to src/platform/plugins/private/vis_type_markdown/kibana.jsonc diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_fn.test.ts.snap diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/markdown_options.test.tsx.snap diff --git a/src/plugins/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap b/src/platform/plugins/private/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap similarity index 100% rename from src/plugins/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap rename to src/platform/plugins/private/vis_type_markdown/public/__snapshots__/to_ast.test.ts.snap diff --git a/src/plugins/vis_type_markdown/public/index.ts b/src/platform/plugins/private/vis_type_markdown/public/index.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/index.ts rename to src/platform/plugins/private/vis_type_markdown/public/index.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.test.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_fn.test.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_fn.test.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_fn.test.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_fn.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_fn.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_fn.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_options.test.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_options.test.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_options.test.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_options.test.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_options.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_options.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_options.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_options.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_renderer.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_renderer.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_renderer.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_renderer.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_vis.scss b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis.scss similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis.scss rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis.scss diff --git a/src/plugins/vis_type_markdown/public/markdown_vis.ts b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis.ts rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis.ts diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.test.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis_controller.test.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.test.tsx diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx b/src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx rename to src/platform/plugins/private/vis_type_markdown/public/markdown_vis_controller.tsx diff --git a/src/plugins/vis_type_markdown/public/plugin.ts b/src/platform/plugins/private/vis_type_markdown/public/plugin.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/plugin.ts rename to src/platform/plugins/private/vis_type_markdown/public/plugin.ts diff --git a/src/plugins/vis_type_markdown/public/settings_options.tsx b/src/platform/plugins/private/vis_type_markdown/public/settings_options.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/settings_options.tsx rename to src/platform/plugins/private/vis_type_markdown/public/settings_options.tsx diff --git a/src/plugins/vis_type_markdown/public/settings_options_lazy.tsx b/src/platform/plugins/private/vis_type_markdown/public/settings_options_lazy.tsx similarity index 100% rename from src/plugins/vis_type_markdown/public/settings_options_lazy.tsx rename to src/platform/plugins/private/vis_type_markdown/public/settings_options_lazy.tsx diff --git a/src/plugins/vis_type_markdown/public/to_ast.test.ts b/src/platform/plugins/private/vis_type_markdown/public/to_ast.test.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/to_ast.test.ts rename to src/platform/plugins/private/vis_type_markdown/public/to_ast.test.ts diff --git a/src/plugins/vis_type_markdown/public/to_ast.ts b/src/platform/plugins/private/vis_type_markdown/public/to_ast.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/to_ast.ts rename to src/platform/plugins/private/vis_type_markdown/public/to_ast.ts diff --git a/src/plugins/vis_type_markdown/public/types.ts b/src/platform/plugins/private/vis_type_markdown/public/types.ts similarity index 100% rename from src/plugins/vis_type_markdown/public/types.ts rename to src/platform/plugins/private/vis_type_markdown/public/types.ts diff --git a/src/plugins/vis_type_markdown/server/config.ts b/src/platform/plugins/private/vis_type_markdown/server/config.ts similarity index 100% rename from src/plugins/vis_type_markdown/server/config.ts rename to src/platform/plugins/private/vis_type_markdown/server/config.ts diff --git a/src/plugins/vis_type_markdown/server/index.ts b/src/platform/plugins/private/vis_type_markdown/server/index.ts similarity index 100% rename from src/plugins/vis_type_markdown/server/index.ts rename to src/platform/plugins/private/vis_type_markdown/server/index.ts diff --git a/src/plugins/vis_type_markdown/tsconfig.json b/src/platform/plugins/private/vis_type_markdown/tsconfig.json similarity index 90% rename from src/plugins/vis_type_markdown/tsconfig.json rename to src/platform/plugins/private/vis_type_markdown/tsconfig.json index dbe601fad3f35..296f05fdbc559 100644 --- a/src/plugins/vis_type_markdown/tsconfig.json +++ b/src/platform/plugins/private/vis_type_markdown/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/controls/README.mdx b/src/platform/plugins/shared/controls/README.mdx similarity index 100% rename from src/plugins/controls/README.mdx rename to src/platform/plugins/shared/controls/README.mdx diff --git a/src/plugins/controls/common/constants.ts b/src/platform/plugins/shared/controls/common/constants.ts similarity index 100% rename from src/plugins/controls/common/constants.ts rename to src/platform/plugins/shared/controls/common/constants.ts diff --git a/src/plugins/controls/common/control_group/index.ts b/src/platform/plugins/shared/controls/common/control_group/index.ts similarity index 100% rename from src/plugins/controls/common/control_group/index.ts rename to src/platform/plugins/shared/controls/common/control_group/index.ts diff --git a/src/plugins/controls/common/control_group/types.ts b/src/platform/plugins/shared/controls/common/control_group/types.ts similarity index 100% rename from src/plugins/controls/common/control_group/types.ts rename to src/platform/plugins/shared/controls/common/control_group/types.ts diff --git a/src/plugins/controls/common/index.ts b/src/platform/plugins/shared/controls/common/index.ts similarity index 100% rename from src/plugins/controls/common/index.ts rename to src/platform/plugins/shared/controls/common/index.ts diff --git a/src/plugins/controls/common/options_list/index.ts b/src/platform/plugins/shared/controls/common/options_list/index.ts similarity index 100% rename from src/plugins/controls/common/options_list/index.ts rename to src/platform/plugins/shared/controls/common/options_list/index.ts diff --git a/src/plugins/controls/common/options_list/ip_search.test.ts b/src/platform/plugins/shared/controls/common/options_list/ip_search.test.ts similarity index 100% rename from src/plugins/controls/common/options_list/ip_search.test.ts rename to src/platform/plugins/shared/controls/common/options_list/ip_search.test.ts diff --git a/src/plugins/controls/common/options_list/ip_search.ts b/src/platform/plugins/shared/controls/common/options_list/ip_search.ts similarity index 100% rename from src/plugins/controls/common/options_list/ip_search.ts rename to src/platform/plugins/shared/controls/common/options_list/ip_search.ts diff --git a/src/plugins/controls/common/options_list/is_valid_search.test.ts b/src/platform/plugins/shared/controls/common/options_list/is_valid_search.test.ts similarity index 100% rename from src/plugins/controls/common/options_list/is_valid_search.test.ts rename to src/platform/plugins/shared/controls/common/options_list/is_valid_search.test.ts diff --git a/src/plugins/controls/common/options_list/is_valid_search.ts b/src/platform/plugins/shared/controls/common/options_list/is_valid_search.ts similarity index 100% rename from src/plugins/controls/common/options_list/is_valid_search.ts rename to src/platform/plugins/shared/controls/common/options_list/is_valid_search.ts diff --git a/src/plugins/controls/common/options_list/options_list_selections.ts b/src/platform/plugins/shared/controls/common/options_list/options_list_selections.ts similarity index 100% rename from src/plugins/controls/common/options_list/options_list_selections.ts rename to src/platform/plugins/shared/controls/common/options_list/options_list_selections.ts diff --git a/src/plugins/controls/common/options_list/suggestions_searching.ts b/src/platform/plugins/shared/controls/common/options_list/suggestions_searching.ts similarity index 100% rename from src/plugins/controls/common/options_list/suggestions_searching.ts rename to src/platform/plugins/shared/controls/common/options_list/suggestions_searching.ts diff --git a/src/plugins/controls/common/options_list/suggestions_sorting.ts b/src/platform/plugins/shared/controls/common/options_list/suggestions_sorting.ts similarity index 100% rename from src/plugins/controls/common/options_list/suggestions_sorting.ts rename to src/platform/plugins/shared/controls/common/options_list/suggestions_sorting.ts diff --git a/src/plugins/controls/common/options_list/types.ts b/src/platform/plugins/shared/controls/common/options_list/types.ts similarity index 100% rename from src/plugins/controls/common/options_list/types.ts rename to src/platform/plugins/shared/controls/common/options_list/types.ts diff --git a/src/plugins/controls/common/types.ts b/src/platform/plugins/shared/controls/common/types.ts similarity index 100% rename from src/plugins/controls/common/types.ts rename to src/platform/plugins/shared/controls/common/types.ts diff --git a/src/plugins/expression_metric/jest.config.js b/src/platform/plugins/shared/controls/jest.config.js similarity index 68% rename from src/plugins/expression_metric/jest.config.js rename to src/platform/plugins/shared/controls/jest.config.js index 331dafefe3305..db23370d3b588 100644 --- a/src/plugins/expression_metric/jest.config.js +++ b/src/platform/plugins/shared/controls/jest.config.js @@ -9,11 +9,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_metric'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_metric', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/controls'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/controls', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_metric/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/controls/{common,public,server}/**/*.{ts,tsx}', ], + setupFiles: ['/src/platform/plugins/shared/controls/jest_setup.ts'], }; diff --git a/src/plugins/controls/jest_setup.ts b/src/platform/plugins/shared/controls/jest_setup.ts similarity index 100% rename from src/plugins/controls/jest_setup.ts rename to src/platform/plugins/shared/controls/jest_setup.ts diff --git a/src/plugins/controls/kibana.jsonc b/src/platform/plugins/shared/controls/kibana.jsonc similarity index 100% rename from src/plugins/controls/kibana.jsonc rename to src/platform/plugins/shared/controls/kibana.jsonc diff --git a/src/plugins/controls/public/actions/clear_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/clear_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/clear_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/clear_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/clear_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/clear_control_action.tsx diff --git a/src/plugins/controls/public/actions/clear_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/clear_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/clear_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/clear_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/delete_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/delete_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/delete_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/delete_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/delete_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/delete_control_action.tsx diff --git a/src/plugins/controls/public/actions/delete_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/delete_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/delete_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/delete_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/edit_control_action.test.tsx b/src/platform/plugins/shared/controls/public/actions/edit_control_action.test.tsx similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action.test.tsx rename to src/platform/plugins/shared/controls/public/actions/edit_control_action.test.tsx diff --git a/src/plugins/controls/public/actions/edit_control_action.tsx b/src/platform/plugins/shared/controls/public/actions/edit_control_action.tsx similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action.tsx rename to src/platform/plugins/shared/controls/public/actions/edit_control_action.tsx diff --git a/src/plugins/controls/public/actions/edit_control_action_compatibility_check.ts b/src/platform/plugins/shared/controls/public/actions/edit_control_action_compatibility_check.ts similarity index 100% rename from src/plugins/controls/public/actions/edit_control_action_compatibility_check.ts rename to src/platform/plugins/shared/controls/public/actions/edit_control_action_compatibility_check.ts diff --git a/src/plugins/controls/public/actions/index.ts b/src/platform/plugins/shared/controls/public/actions/index.ts similarity index 100% rename from src/plugins/controls/public/actions/index.ts rename to src/platform/plugins/shared/controls/public/actions/index.ts diff --git a/src/plugins/controls/public/constants.ts b/src/platform/plugins/shared/controls/public/constants.ts similarity index 100% rename from src/plugins/controls/public/constants.ts rename to src/platform/plugins/shared/controls/public/constants.ts diff --git a/src/plugins/controls/public/control_factory_registry.ts b/src/platform/plugins/shared/controls/public/control_factory_registry.ts similarity index 100% rename from src/plugins/controls/public/control_factory_registry.ts rename to src/platform/plugins/shared/controls/public/control_factory_registry.ts diff --git a/src/plugins/controls/public/control_group/components/control_clone.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_clone.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_clone.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_clone.tsx diff --git a/src/plugins/controls/public/control_group/components/control_error.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_error.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_error.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_error.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group.scss b/src/platform/plugins/shared/controls/public/control_group/components/control_group.scss similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group.scss rename to src/platform/plugins/shared/controls/public/control_group/components/control_group.scss diff --git a/src/plugins/controls/public/control_group/components/control_group.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group_editor.test.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group_editor.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.test.tsx diff --git a/src/plugins/controls/public/control_group/components/control_group_editor.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_group_editor.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_group_editor.tsx diff --git a/src/plugins/controls/public/control_group/components/control_panel.scss b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.scss similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.scss rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.scss diff --git a/src/plugins/controls/public/control_group/components/control_panel.test.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.test.tsx diff --git a/src/plugins/controls/public/control_group/components/control_panel.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_panel.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_panel.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_panel.tsx diff --git a/src/plugins/controls/public/control_group/components/control_renderer.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_renderer.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_renderer.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_renderer.tsx diff --git a/src/plugins/controls/public/control_group/components/control_setting_tooltip_label.tsx b/src/platform/plugins/shared/controls/public/control_group/components/control_setting_tooltip_label.tsx similarity index 100% rename from src/plugins/controls/public/control_group/components/control_setting_tooltip_label.tsx rename to src/platform/plugins/shared/controls/public/control_group/components/control_setting_tooltip_label.tsx diff --git a/src/plugins/controls/public/control_group/control_fetch/chaining.test.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/chaining.test.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.test.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/chaining.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/chaining.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/chaining.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/control_fetch.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/control_fetch.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/control_fetch.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/control_fetch.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/control_group_fetch.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/control_group_fetch.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/control_group_fetch.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/control_group_fetch.ts diff --git a/src/plugins/controls/public/control_group/control_fetch/index.ts b/src/platform/plugins/shared/controls/public/control_group/control_fetch/index.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_fetch/index.ts rename to src/platform/plugins/shared/controls/public/control_group/control_fetch/index.ts diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.test.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/control_group_renderer_lazy.tsx diff --git a/src/plugins/controls/public/control_group/control_group_renderer/index.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/index.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/index.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/index.ts diff --git a/src/plugins/controls/public/control_group/control_group_renderer/types.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_renderer/types.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_renderer/types.ts diff --git a/src/plugins/controls/public/control_group/control_group_strings.tsx b/src/platform/plugins/shared/controls/public/control_group/control_group_strings.tsx similarity index 100% rename from src/plugins/controls/public/control_group/control_group_strings.tsx rename to src/platform/plugins/shared/controls/public/control_group/control_group_strings.tsx diff --git a/src/plugins/controls/public/control_group/control_group_unsaved_changes_api.ts b/src/platform/plugins/shared/controls/public/control_group/control_group_unsaved_changes_api.ts similarity index 100% rename from src/plugins/controls/public/control_group/control_group_unsaved_changes_api.ts rename to src/platform/plugins/shared/controls/public/control_group/control_group_unsaved_changes_api.ts diff --git a/src/plugins/controls/public/control_group/get_control_group_factory.tsx b/src/platform/plugins/shared/controls/public/control_group/get_control_group_factory.tsx similarity index 100% rename from src/plugins/controls/public/control_group/get_control_group_factory.tsx rename to src/platform/plugins/shared/controls/public/control_group/get_control_group_factory.tsx diff --git a/src/plugins/controls/public/control_group/init_controls_manager.test.ts b/src/platform/plugins/shared/controls/public/control_group/init_controls_manager.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/init_controls_manager.test.ts rename to src/platform/plugins/shared/controls/public/control_group/init_controls_manager.test.ts diff --git a/src/plugins/controls/public/control_group/init_controls_manager.ts b/src/platform/plugins/shared/controls/public/control_group/init_controls_manager.ts similarity index 100% rename from src/plugins/controls/public/control_group/init_controls_manager.ts rename to src/platform/plugins/shared/controls/public/control_group/init_controls_manager.ts diff --git a/src/plugins/controls/public/control_group/open_edit_control_group_flyout.tsx b/src/platform/plugins/shared/controls/public/control_group/open_edit_control_group_flyout.tsx similarity index 100% rename from src/plugins/controls/public/control_group/open_edit_control_group_flyout.tsx rename to src/platform/plugins/shared/controls/public/control_group/open_edit_control_group_flyout.tsx diff --git a/src/plugins/controls/public/control_group/register_control_group_embeddable.ts b/src/platform/plugins/shared/controls/public/control_group/register_control_group_embeddable.ts similarity index 100% rename from src/plugins/controls/public/control_group/register_control_group_embeddable.ts rename to src/platform/plugins/shared/controls/public/control_group/register_control_group_embeddable.ts diff --git a/src/plugins/controls/public/control_group/selections_manager.test.ts b/src/platform/plugins/shared/controls/public/control_group/selections_manager.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/selections_manager.test.ts rename to src/platform/plugins/shared/controls/public/control_group/selections_manager.test.ts diff --git a/src/plugins/controls/public/control_group/selections_manager.ts b/src/platform/plugins/shared/controls/public/control_group/selections_manager.ts similarity index 100% rename from src/plugins/controls/public/control_group/selections_manager.ts rename to src/platform/plugins/shared/controls/public/control_group/selections_manager.ts diff --git a/src/plugins/controls/public/control_group/types.ts b/src/platform/plugins/shared/controls/public/control_group/types.ts similarity index 100% rename from src/plugins/controls/public/control_group/types.ts rename to src/platform/plugins/shared/controls/public/control_group/types.ts diff --git a/src/plugins/controls/public/control_group/utils/control_group_state_builder.ts b/src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/control_group_state_builder.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/control_group_state_builder.ts diff --git a/src/plugins/controls/public/control_group/utils/initialization_utils.ts b/src/platform/plugins/shared/controls/public/control_group/utils/initialization_utils.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/initialization_utils.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/initialization_utils.ts diff --git a/src/plugins/controls/public/control_group/utils/is_compressed.test.ts b/src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.test.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/is_compressed.test.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.test.ts diff --git a/src/plugins/controls/public/control_group/utils/is_compressed.ts b/src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/is_compressed.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/is_compressed.ts diff --git a/src/plugins/controls/public/control_group/utils/serialization_utils.ts b/src/platform/plugins/shared/controls/public/control_group/utils/serialization_utils.ts similarity index 100% rename from src/plugins/controls/public/control_group/utils/serialization_utils.ts rename to src/platform/plugins/shared/controls/public/control_group/utils/serialization_utils.ts diff --git a/src/plugins/controls/public/controls/constants.ts b/src/platform/plugins/shared/controls/public/controls/constants.ts similarity index 100% rename from src/plugins/controls/public/controls/constants.ts rename to src/platform/plugins/shared/controls/public/controls/constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/data_control_constants.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_constants.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_constants.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_constants.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor.tsx diff --git a/src/plugins/controls/public/controls/data_controls/data_control_editor_utils.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor_utils.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/data_control_editor_utils.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/data_control_editor_utils.ts diff --git a/src/plugins/controls/public/controls/data_controls/editor_constants.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/editor_constants.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/editor_constants.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/editor_constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/initialize_data_control.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/initialize_data_control.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/initialize_data_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/initialize_data_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/initialize_data_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/mocks/api_mocks.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/mocks/api_mocks.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/mocks/api_mocks.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/mocks/api_mocks.tsx diff --git a/src/plugins/controls/public/controls/data_controls/mocks/factory_mocks.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/mocks/factory_mocks.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/mocks/factory_mocks.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/mocks/factory_mocks.tsx diff --git a/src/plugins/controls/public/controls/data_controls/open_data_control_editor.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/open_data_control_editor.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/open_data_control_editor.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/open_data_control_editor.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list.scss b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list.scss similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list.scss rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list.scss diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_control.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_editor_options.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_action_bar.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_empty_message.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_footer.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_invalid_selections.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_sorting_button.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestion_badge.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/components/options_list_popover_suggestions.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/constants.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/constants.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/constants.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/constants.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/fetch_and_validate.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/get_options_list_control_factory.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_context_provider.tsx diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_control_selections.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_fetch_cache.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/options_list_strings.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/options_list_strings.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/options_list_strings.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/register_options_list_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/options_list_control/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/options_list_control/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/options_list_control/types.ts diff --git a/src/plugins/controls/public/controls/data_controls/publishes_async_filters.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/publishes_async_filters.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/publishes_async_filters.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/publishes_async_filters.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider.styles.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/components/range_slider_control.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/get_range_slider_control_factory.tsx diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/has_no_results.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/has_no_results.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/has_no_results.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/has_no_results.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/min_max.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/min_max.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/min_max.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/min_max.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/range_control_selections.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_control_selections.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/range_control_selections.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_control_selections.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/range_slider_strings.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_slider_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/range_slider_strings.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/range_slider_strings.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/register_range_slider_control.ts diff --git a/src/plugins/controls/public/controls/data_controls/range_slider/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/range_slider/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/range_slider/types.ts diff --git a/src/plugins/controls/public/controls/data_controls/reference_name_utils.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/reference_name_utils.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/reference_name_utils.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/reference_name_utils.ts diff --git a/src/plugins/controls/public/controls/data_controls/types.ts b/src/platform/plugins/shared/controls/public/controls/data_controls/types.ts similarity index 100% rename from src/plugins/controls/public/controls/data_controls/types.ts rename to src/platform/plugins/shared/controls/public/controls/data_controls/types.ts diff --git a/src/plugins/controls/public/controls/initialize_default_control_api.tsx b/src/platform/plugins/shared/controls/public/controls/initialize_default_control_api.tsx similarity index 100% rename from src/plugins/controls/public/controls/initialize_default_control_api.tsx rename to src/platform/plugins/shared/controls/public/controls/initialize_default_control_api.tsx diff --git a/src/plugins/controls/public/controls/mocks/control_mocks.ts b/src/platform/plugins/shared/controls/public/controls/mocks/control_mocks.ts similarity index 100% rename from src/plugins/controls/public/controls/mocks/control_mocks.ts rename to src/platform/plugins/shared/controls/public/controls/mocks/control_mocks.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/components/index.scss b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/index.scss similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/index.scss rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/index.scss diff --git a/src/plugins/controls/public/controls/timeslider_control/components/play_button.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/play_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/play_button.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/play_button.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_anchored_range.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_button.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_popover_content.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_prepend.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_sliding_window_range.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/components/time_slider_strings.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_strings.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/components/time_slider_strings.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/components/time_slider_strings.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/get_time_range_meta.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_time_range_meta.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/get_time_range_meta.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_time_range_meta.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.test.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/get_timeslider_control_factory.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/init_time_range_percentage.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_percentage.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/init_time_range_percentage.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_percentage.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/init_time_range_subscription.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_subscription.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/init_time_range_subscription.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/init_time_range_subscription.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/register_timeslider_control.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/register_timeslider_control.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/register_timeslider_control.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/register_timeslider_control.ts diff --git a/src/plugins/controls/public/controls/timeslider_control/time_utils.tsx b/src/platform/plugins/shared/controls/public/controls/timeslider_control/time_utils.tsx similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/time_utils.tsx rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/time_utils.tsx diff --git a/src/plugins/controls/public/controls/timeslider_control/types.ts b/src/platform/plugins/shared/controls/public/controls/timeslider_control/types.ts similarity index 100% rename from src/plugins/controls/public/controls/timeslider_control/types.ts rename to src/platform/plugins/shared/controls/public/controls/timeslider_control/types.ts diff --git a/src/plugins/controls/public/controls/types.ts b/src/platform/plugins/shared/controls/public/controls/types.ts similarity index 100% rename from src/plugins/controls/public/controls/types.ts rename to src/platform/plugins/shared/controls/public/controls/types.ts diff --git a/src/plugins/controls/public/index.ts b/src/platform/plugins/shared/controls/public/index.ts similarity index 100% rename from src/plugins/controls/public/index.ts rename to src/platform/plugins/shared/controls/public/index.ts diff --git a/src/plugins/controls/public/plugin.ts b/src/platform/plugins/shared/controls/public/plugin.ts similarity index 100% rename from src/plugins/controls/public/plugin.ts rename to src/platform/plugins/shared/controls/public/plugin.ts diff --git a/src/plugins/controls/public/services/kibana_services.ts b/src/platform/plugins/shared/controls/public/services/kibana_services.ts similarity index 100% rename from src/plugins/controls/public/services/kibana_services.ts rename to src/platform/plugins/shared/controls/public/services/kibana_services.ts diff --git a/src/plugins/controls/public/services/mocks.ts b/src/platform/plugins/shared/controls/public/services/mocks.ts similarity index 100% rename from src/plugins/controls/public/services/mocks.ts rename to src/platform/plugins/shared/controls/public/services/mocks.ts diff --git a/src/plugins/controls/public/types.ts b/src/platform/plugins/shared/controls/public/types.ts similarity index 100% rename from src/plugins/controls/public/types.ts rename to src/platform/plugins/shared/controls/public/types.ts diff --git a/src/plugins/controls/server/control_group/control_group_container_factory.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_container_factory.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_container_factory.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_container_factory.ts diff --git a/src/plugins/controls/server/control_group/control_group_migrations.test.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_migrations.test.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_migrations.test.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_migrations.test.ts diff --git a/src/plugins/controls/server/control_group/control_group_migrations.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_migrations.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_migrations.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_migrations.ts diff --git a/src/plugins/controls/server/control_group/control_group_persistable_state.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_persistable_state.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_persistable_state.ts diff --git a/src/plugins/controls/server/control_group/control_group_persistence.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_persistence.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_persistence.ts diff --git a/src/plugins/controls/server/control_group/control_group_telemetry.test.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.test.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_telemetry.test.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.test.ts diff --git a/src/plugins/controls/server/control_group/control_group_telemetry.ts b/src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts similarity index 100% rename from src/plugins/controls/server/control_group/control_group_telemetry.ts rename to src/platform/plugins/shared/controls/server/control_group/control_group_telemetry.ts diff --git a/src/plugins/controls/server/control_group/types.ts b/src/platform/plugins/shared/controls/server/control_group/types.ts similarity index 100% rename from src/plugins/controls/server/control_group/types.ts rename to src/platform/plugins/shared/controls/server/control_group/types.ts diff --git a/src/plugins/controls/server/index.ts b/src/platform/plugins/shared/controls/server/index.ts similarity index 100% rename from src/plugins/controls/server/index.ts rename to src/platform/plugins/shared/controls/server/index.ts diff --git a/src/plugins/controls/server/mocks.tsx b/src/platform/plugins/shared/controls/server/mocks.tsx similarity index 100% rename from src/plugins/controls/server/mocks.tsx rename to src/platform/plugins/shared/controls/server/mocks.tsx diff --git a/src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_cluster_settings_route.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_cluster_settings_route.ts diff --git a/src/plugins/controls/server/options_list/options_list_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_embeddable_factory.ts diff --git a/src/plugins/controls/server/options_list/options_list_persistable_state.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_persistable_state.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_persistable_state.ts diff --git a/src/plugins/controls/server/options_list/options_list_suggestions_route.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_suggestions_route.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_suggestions_route.ts diff --git a/src/plugins/controls/server/options_list/options_list_validation_queries.test.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_validation_queries.test.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.test.ts diff --git a/src/plugins/controls/server/options_list/options_list_validation_queries.ts b/src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.ts similarity index 100% rename from src/plugins/controls/server/options_list/options_list_validation_queries.ts rename to src/platform/plugins/shared/controls/server/options_list/options_list_validation_queries.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/index.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/index.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/index.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/index.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_all_suggestions.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_exact_match.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_exact_match.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_search_suggestions.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.test.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_queries.ts diff --git a/src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts b/src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts similarity index 100% rename from src/plugins/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts rename to src/platform/plugins/shared/controls/server/options_list/suggestion_queries/options_list_suggestion_query_helpers.ts diff --git a/src/plugins/controls/server/options_list/types.ts b/src/platform/plugins/shared/controls/server/options_list/types.ts similarity index 100% rename from src/plugins/controls/server/options_list/types.ts rename to src/platform/plugins/shared/controls/server/options_list/types.ts diff --git a/src/plugins/controls/server/plugin.ts b/src/platform/plugins/shared/controls/server/plugin.ts similarity index 100% rename from src/plugins/controls/server/plugin.ts rename to src/platform/plugins/shared/controls/server/plugin.ts diff --git a/src/plugins/controls/server/range_slider/range_slider_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/range_slider/range_slider_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/range_slider/range_slider_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/range_slider/range_slider_embeddable_factory.ts diff --git a/src/plugins/controls/server/range_slider/range_slider_persistable_state.ts b/src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/range_slider/range_slider_persistable_state.ts rename to src/platform/plugins/shared/controls/server/range_slider/range_slider_persistable_state.ts diff --git a/src/plugins/controls/server/time_slider/time_slider_embeddable_factory.ts b/src/platform/plugins/shared/controls/server/time_slider/time_slider_embeddable_factory.ts similarity index 100% rename from src/plugins/controls/server/time_slider/time_slider_embeddable_factory.ts rename to src/platform/plugins/shared/controls/server/time_slider/time_slider_embeddable_factory.ts diff --git a/src/plugins/controls/server/time_slider/time_slider_persistable_state.ts b/src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts similarity index 100% rename from src/plugins/controls/server/time_slider/time_slider_persistable_state.ts rename to src/platform/plugins/shared/controls/server/time_slider/time_slider_persistable_state.ts diff --git a/src/plugins/controls/tsconfig.json b/src/platform/plugins/shared/controls/tsconfig.json similarity index 92% rename from src/plugins/controls/tsconfig.json rename to src/platform/plugins/shared/controls/tsconfig.json index 79bd194990cb2..6ca631c6886e3 100644 --- a/src/plugins/controls/tsconfig.json +++ b/src/platform/plugins/shared/controls/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -9,7 +9,7 @@ "public/**/*", "public/**/*.json", "server/**/*", - "../../../typings/**/*", + "../../../../../typings/**/*", "./jest_setup.ts" ], "kbn_references": [ diff --git a/src/plugins/custom_integrations/README.md b/src/platform/plugins/shared/custom_integrations/README.md similarity index 100% rename from src/plugins/custom_integrations/README.md rename to src/platform/plugins/shared/custom_integrations/README.md diff --git a/src/plugins/custom_integrations/common/index.ts b/src/platform/plugins/shared/custom_integrations/common/index.ts similarity index 100% rename from src/plugins/custom_integrations/common/index.ts rename to src/platform/plugins/shared/custom_integrations/common/index.ts diff --git a/src/plugins/custom_integrations/common/language_integrations.ts b/src/platform/plugins/shared/custom_integrations/common/language_integrations.ts similarity index 100% rename from src/plugins/custom_integrations/common/language_integrations.ts rename to src/platform/plugins/shared/custom_integrations/common/language_integrations.ts diff --git a/src/plugins/custom_integrations/jest.config.js b/src/platform/plugins/shared/custom_integrations/jest.config.js similarity index 75% rename from src/plugins/custom_integrations/jest.config.js rename to src/platform/plugins/shared/custom_integrations/jest.config.js index 2138c8dcff935..95eec08d41d38 100644 --- a/src/plugins/custom_integrations/jest.config.js +++ b/src/platform/plugins/shared/custom_integrations/jest.config.js @@ -9,9 +9,10 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/custom_integrations'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/custom_integrations', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/custom_integrations'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/custom_integrations', coverageReporters: ['text', 'html'], collectCoverageFrom: ['/src/plugins/data/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/custom_integrations/kibana.jsonc b/src/platform/plugins/shared/custom_integrations/kibana.jsonc similarity index 100% rename from src/plugins/custom_integrations/kibana.jsonc rename to src/platform/plugins/shared/custom_integrations/kibana.jsonc diff --git a/src/plugins/custom_integrations/public/assets/language_clients/dotnet.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/dotnet.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/dotnet.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/dotnet.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/es.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/es.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/es.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/es.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/go.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/go.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/go.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/go.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/java.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/java.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/java.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/java.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/nodejs.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/nodejs.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/nodejs.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/nodejs.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/perl.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/perl.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/perl.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/perl.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/php.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/php.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/php.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/php.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/python.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/python.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/python.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/python.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/ruby.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/ruby.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/ruby.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/ruby.svg diff --git a/src/plugins/custom_integrations/public/assets/language_clients/rust.svg b/src/platform/plugins/shared/custom_integrations/public/assets/language_clients/rust.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/language_clients/rust.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/language_clients/rust.svg diff --git a/src/plugins/custom_integrations/public/assets/placeholders/logo_confluent.svg b/src/platform/plugins/shared/custom_integrations/public/assets/placeholders/logo_confluent.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/placeholders/logo_confluent.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/placeholders/logo_confluent.svg diff --git a/src/plugins/custom_integrations/public/assets/placeholders/logo_esf.svg b/src/platform/plugins/shared/custom_integrations/public/assets/placeholders/logo_esf.svg similarity index 100% rename from src/plugins/custom_integrations/public/assets/placeholders/logo_esf.svg rename to src/platform/plugins/shared/custom_integrations/public/assets/placeholders/logo_esf.svg diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_dotnet/elasticsearch_dotnet_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_dotnet/elasticsearch_dotnet_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_dotnet/elasticsearch_dotnet_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_dotnet/elasticsearch_dotnet_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_go/elasticsearch_go_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_go/elasticsearch_go_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_go/elasticsearch_go_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_go/elasticsearch_go_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_java/elasticsearch_java_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_java/elasticsearch_java_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_java/elasticsearch_java_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_java/elasticsearch_java_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_js/elasticsearch_js_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_js/elasticsearch_js_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_js/elasticsearch_js_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_js/elasticsearch_js_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_php/elasticsearch_php_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_php/elasticsearch_php_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_php/elasticsearch_php_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_php/elasticsearch_php_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_py/elasticsearch_py_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_py/elasticsearch_py_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_py/elasticsearch_py_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_py/elasticsearch_py_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_ruby/elasticsearch_ruby_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_ruby/elasticsearch_ruby_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/elasticsearch_ruby/elasticsearch_ruby_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/elasticsearch_ruby/elasticsearch_ruby_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/fleet_integration/sample/sample_client_readme.tsx b/src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/sample/sample_client_readme.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/fleet_integration/sample/sample_client_readme.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/fleet_integration/sample/sample_client_readme.tsx diff --git a/src/plugins/custom_integrations/public/components/index.tsx b/src/platform/plugins/shared/custom_integrations/public/components/index.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/index.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/index.tsx diff --git a/src/plugins/custom_integrations/public/components/replacement_card/index.ts b/src/platform/plugins/shared/custom_integrations/public/components/replacement_card/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/components/replacement_card/index.ts rename to src/platform/plugins/shared/custom_integrations/public/components/replacement_card/index.ts diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.component.tsx b/src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.component.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/replacement_card/replacement_card.component.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.component.tsx diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx b/src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.tsx b/src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.tsx similarity index 100% rename from src/plugins/custom_integrations/public/components/replacement_card/replacement_card.tsx rename to src/platform/plugins/shared/custom_integrations/public/components/replacement_card/replacement_card.tsx diff --git a/src/plugins/custom_integrations/public/index.ts b/src/platform/plugins/shared/custom_integrations/public/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/index.ts rename to src/platform/plugins/shared/custom_integrations/public/index.ts diff --git a/src/plugins/custom_integrations/public/language_components.tsx b/src/platform/plugins/shared/custom_integrations/public/language_components.tsx similarity index 100% rename from src/plugins/custom_integrations/public/language_components.tsx rename to src/platform/plugins/shared/custom_integrations/public/language_components.tsx diff --git a/src/plugins/custom_integrations/public/mocks.tsx b/src/platform/plugins/shared/custom_integrations/public/mocks.tsx similarity index 100% rename from src/plugins/custom_integrations/public/mocks.tsx rename to src/platform/plugins/shared/custom_integrations/public/mocks.tsx diff --git a/src/plugins/custom_integrations/public/plugin.test.ts b/src/platform/plugins/shared/custom_integrations/public/plugin.test.ts similarity index 100% rename from src/plugins/custom_integrations/public/plugin.test.ts rename to src/platform/plugins/shared/custom_integrations/public/plugin.test.ts diff --git a/src/plugins/custom_integrations/public/plugin.tsx b/src/platform/plugins/shared/custom_integrations/public/plugin.tsx similarity index 100% rename from src/plugins/custom_integrations/public/plugin.tsx rename to src/platform/plugins/shared/custom_integrations/public/plugin.tsx diff --git a/src/plugins/custom_integrations/public/services/find.test.ts b/src/platform/plugins/shared/custom_integrations/public/services/find.test.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/find.test.ts rename to src/platform/plugins/shared/custom_integrations/public/services/find.test.ts diff --git a/src/plugins/custom_integrations/public/services/find.ts b/src/platform/plugins/shared/custom_integrations/public/services/find.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/find.ts rename to src/platform/plugins/shared/custom_integrations/public/services/find.ts diff --git a/src/plugins/custom_integrations/public/services/index.tsx b/src/platform/plugins/shared/custom_integrations/public/services/index.tsx similarity index 100% rename from src/plugins/custom_integrations/public/services/index.tsx rename to src/platform/plugins/shared/custom_integrations/public/services/index.tsx diff --git a/src/plugins/custom_integrations/public/services/kibana/find.ts b/src/platform/plugins/shared/custom_integrations/public/services/kibana/find.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/kibana/find.ts rename to src/platform/plugins/shared/custom_integrations/public/services/kibana/find.ts diff --git a/src/plugins/custom_integrations/public/services/kibana/index.ts b/src/platform/plugins/shared/custom_integrations/public/services/kibana/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/kibana/index.ts rename to src/platform/plugins/shared/custom_integrations/public/services/kibana/index.ts diff --git a/src/plugins/custom_integrations/public/services/kibana/platform.ts b/src/platform/plugins/shared/custom_integrations/public/services/kibana/platform.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/kibana/platform.ts rename to src/platform/plugins/shared/custom_integrations/public/services/kibana/platform.ts diff --git a/src/plugins/custom_integrations/public/services/platform.ts b/src/platform/plugins/shared/custom_integrations/public/services/platform.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/platform.ts rename to src/platform/plugins/shared/custom_integrations/public/services/platform.ts diff --git a/src/plugins/custom_integrations/public/services/storybook/index.ts b/src/platform/plugins/shared/custom_integrations/public/services/storybook/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/storybook/index.ts rename to src/platform/plugins/shared/custom_integrations/public/services/storybook/index.ts diff --git a/src/plugins/custom_integrations/public/services/stub/find.ts b/src/platform/plugins/shared/custom_integrations/public/services/stub/find.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/stub/find.ts rename to src/platform/plugins/shared/custom_integrations/public/services/stub/find.ts diff --git a/src/plugins/custom_integrations/public/services/stub/fixtures/integrations.ts b/src/platform/plugins/shared/custom_integrations/public/services/stub/fixtures/integrations.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/stub/fixtures/integrations.ts rename to src/platform/plugins/shared/custom_integrations/public/services/stub/fixtures/integrations.ts diff --git a/src/plugins/custom_integrations/public/services/stub/index.ts b/src/platform/plugins/shared/custom_integrations/public/services/stub/index.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/stub/index.ts rename to src/platform/plugins/shared/custom_integrations/public/services/stub/index.ts diff --git a/src/plugins/custom_integrations/public/services/stub/platform.ts b/src/platform/plugins/shared/custom_integrations/public/services/stub/platform.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/stub/platform.ts rename to src/platform/plugins/shared/custom_integrations/public/services/stub/platform.ts diff --git a/src/plugins/custom_integrations/public/services/types.ts b/src/platform/plugins/shared/custom_integrations/public/services/types.ts similarity index 100% rename from src/plugins/custom_integrations/public/services/types.ts rename to src/platform/plugins/shared/custom_integrations/public/services/types.ts diff --git a/src/plugins/custom_integrations/public/types.ts b/src/platform/plugins/shared/custom_integrations/public/types.ts similarity index 100% rename from src/plugins/custom_integrations/public/types.ts rename to src/platform/plugins/shared/custom_integrations/public/types.ts diff --git a/src/plugins/custom_integrations/server/custom_integration_registry.test.ts b/src/platform/plugins/shared/custom_integrations/server/custom_integration_registry.test.ts similarity index 100% rename from src/plugins/custom_integrations/server/custom_integration_registry.test.ts rename to src/platform/plugins/shared/custom_integrations/server/custom_integration_registry.test.ts diff --git a/src/plugins/custom_integrations/server/custom_integration_registry.ts b/src/platform/plugins/shared/custom_integrations/server/custom_integration_registry.ts similarity index 100% rename from src/plugins/custom_integrations/server/custom_integration_registry.ts rename to src/platform/plugins/shared/custom_integrations/server/custom_integration_registry.ts diff --git a/src/plugins/custom_integrations/server/external_integration/index.ts b/src/platform/plugins/shared/custom_integrations/server/external_integration/index.ts similarity index 100% rename from src/plugins/custom_integrations/server/external_integration/index.ts rename to src/platform/plugins/shared/custom_integrations/server/external_integration/index.ts diff --git a/src/plugins/custom_integrations/server/index.ts b/src/platform/plugins/shared/custom_integrations/server/index.ts similarity index 100% rename from src/plugins/custom_integrations/server/index.ts rename to src/platform/plugins/shared/custom_integrations/server/index.ts diff --git a/src/plugins/custom_integrations/server/language_clients/index.ts b/src/platform/plugins/shared/custom_integrations/server/language_clients/index.ts similarity index 100% rename from src/plugins/custom_integrations/server/language_clients/index.ts rename to src/platform/plugins/shared/custom_integrations/server/language_clients/index.ts diff --git a/src/plugins/custom_integrations/server/mocks.ts b/src/platform/plugins/shared/custom_integrations/server/mocks.ts similarity index 100% rename from src/plugins/custom_integrations/server/mocks.ts rename to src/platform/plugins/shared/custom_integrations/server/mocks.ts diff --git a/src/plugins/custom_integrations/server/plugin.test.ts b/src/platform/plugins/shared/custom_integrations/server/plugin.test.ts similarity index 100% rename from src/plugins/custom_integrations/server/plugin.test.ts rename to src/platform/plugins/shared/custom_integrations/server/plugin.test.ts diff --git a/src/plugins/custom_integrations/server/plugin.ts b/src/platform/plugins/shared/custom_integrations/server/plugin.ts similarity index 100% rename from src/plugins/custom_integrations/server/plugin.ts rename to src/platform/plugins/shared/custom_integrations/server/plugin.ts diff --git a/src/plugins/custom_integrations/server/routes/define_routes.ts b/src/platform/plugins/shared/custom_integrations/server/routes/define_routes.ts similarity index 100% rename from src/plugins/custom_integrations/server/routes/define_routes.ts rename to src/platform/plugins/shared/custom_integrations/server/routes/define_routes.ts diff --git a/src/plugins/custom_integrations/server/types.ts b/src/platform/plugins/shared/custom_integrations/server/types.ts similarity index 100% rename from src/plugins/custom_integrations/server/types.ts rename to src/platform/plugins/shared/custom_integrations/server/types.ts diff --git a/src/plugins/custom_integrations/storybook/decorator.tsx b/src/platform/plugins/shared/custom_integrations/storybook/decorator.tsx similarity index 100% rename from src/plugins/custom_integrations/storybook/decorator.tsx rename to src/platform/plugins/shared/custom_integrations/storybook/decorator.tsx diff --git a/src/plugins/custom_integrations/storybook/index.ts b/src/platform/plugins/shared/custom_integrations/storybook/index.ts similarity index 100% rename from src/plugins/custom_integrations/storybook/index.ts rename to src/platform/plugins/shared/custom_integrations/storybook/index.ts diff --git a/src/plugins/custom_integrations/storybook/main.ts b/src/platform/plugins/shared/custom_integrations/storybook/main.ts similarity index 100% rename from src/plugins/custom_integrations/storybook/main.ts rename to src/platform/plugins/shared/custom_integrations/storybook/main.ts diff --git a/src/plugins/custom_integrations/storybook/manager.ts b/src/platform/plugins/shared/custom_integrations/storybook/manager.ts similarity index 87% rename from src/plugins/custom_integrations/storybook/manager.ts rename to src/platform/plugins/shared/custom_integrations/storybook/manager.ts index 2d6530057c649..c6d9098e57e69 100644 --- a/src/plugins/custom_integrations/storybook/manager.ts +++ b/src/platform/plugins/shared/custom_integrations/storybook/manager.ts @@ -15,7 +15,8 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Kibana Custom Integrations Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/custom_integrations', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/custom_integrations', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/src/plugins/custom_integrations/storybook/preview.tsx b/src/platform/plugins/shared/custom_integrations/storybook/preview.tsx similarity index 100% rename from src/plugins/custom_integrations/storybook/preview.tsx rename to src/platform/plugins/shared/custom_integrations/storybook/preview.tsx diff --git a/src/plugins/custom_integrations/tsconfig.json b/src/platform/plugins/shared/custom_integrations/tsconfig.json similarity index 82% rename from src/plugins/custom_integrations/tsconfig.json rename to src/platform/plugins/shared/custom_integrations/tsconfig.json index 8cee7c6515e62..69a24ef52d4bc 100644 --- a/src/plugins/custom_integrations/tsconfig.json +++ b/src/platform/plugins/shared/custom_integrations/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, "include": [ - "../../../typings/**/*", + "../../../../../typings/**/*", "common/**/*", "public/**/*", "server/**/*", diff --git a/src/plugins/dashboard/.storybook/main.js b/src/platform/plugins/shared/dashboard/.storybook/main.js similarity index 100% rename from src/plugins/dashboard/.storybook/main.js rename to src/platform/plugins/shared/dashboard/.storybook/main.js diff --git a/src/plugins/dashboard/README.asciidoc b/src/platform/plugins/shared/dashboard/README.asciidoc similarity index 100% rename from src/plugins/dashboard/README.asciidoc rename to src/platform/plugins/shared/dashboard/README.asciidoc diff --git a/src/plugins/dashboard/README.md b/src/platform/plugins/shared/dashboard/README.md similarity index 100% rename from src/plugins/dashboard/README.md rename to src/platform/plugins/shared/dashboard/README.md diff --git a/src/plugins/dashboard/common/bwc/types.ts b/src/platform/plugins/shared/dashboard/common/bwc/types.ts similarity index 100% rename from src/plugins/dashboard/common/bwc/types.ts rename to src/platform/plugins/shared/dashboard/common/bwc/types.ts diff --git a/src/plugins/dashboard/common/content_management/constants.ts b/src/platform/plugins/shared/dashboard/common/content_management/constants.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/constants.ts rename to src/platform/plugins/shared/dashboard/common/content_management/constants.ts diff --git a/src/plugins/dashboard/common/content_management/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/index.ts diff --git a/src/plugins/dashboard/common/content_management/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/types.ts diff --git a/src/plugins/dashboard/common/content_management/v1/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/v1/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v1/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v1/index.ts diff --git a/src/plugins/dashboard/common/content_management/v1/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/v1/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v1/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v1/types.ts diff --git a/src/plugins/dashboard/common/content_management/v2/index.ts b/src/platform/plugins/shared/dashboard/common/content_management/v2/index.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v2/index.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v2/index.ts diff --git a/src/plugins/dashboard/common/content_management/v2/types.ts b/src/platform/plugins/shared/dashboard/common/content_management/v2/types.ts similarity index 100% rename from src/plugins/dashboard/common/content_management/v2/types.ts rename to src/platform/plugins/shared/dashboard/common/content_management/v2/types.ts diff --git a/src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.test.ts diff --git a/src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/persistable_state/dashboard_container_references.ts diff --git a/src/plugins/dashboard/common/dashboard_container/types.ts b/src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_container/types.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_container/types.ts diff --git a/src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts b/src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.test.ts diff --git a/src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts b/src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts similarity index 100% rename from src/plugins/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts rename to src/platform/plugins/shared/dashboard/common/dashboard_saved_object/persistable_state/dashboard_saved_object_references.ts diff --git a/src/plugins/dashboard/common/index.ts b/src/platform/plugins/shared/dashboard/common/index.ts similarity index 100% rename from src/plugins/dashboard/common/index.ts rename to src/platform/plugins/shared/dashboard/common/index.ts diff --git a/src/plugins/dashboard/common/lib/dashboard_panel_converters.ts b/src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts similarity index 100% rename from src/plugins/dashboard/common/lib/dashboard_panel_converters.ts rename to src/platform/plugins/shared/dashboard/common/lib/dashboard_panel_converters.ts diff --git a/src/plugins/dashboard/common/types.ts b/src/platform/plugins/shared/dashboard/common/types.ts similarity index 100% rename from src/plugins/dashboard/common/types.ts rename to src/platform/plugins/shared/dashboard/common/types.ts diff --git a/src/platform/plugins/shared/dashboard/jest.config.js b/src/platform/plugins/shared/dashboard/jest.config.js new file mode 100644 index 0000000000000..9c186c82cc50f --- /dev/null +++ b/src/platform/plugins/shared/dashboard/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/dashboard'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/dashboard', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/dashboard/{common,public,server}/**/*.{ts,tsx}', + ], + setupFiles: ['/src/platform/plugins/shared/dashboard/jest_setup.ts'], +}; diff --git a/src/plugins/dashboard/jest_setup.ts b/src/platform/plugins/shared/dashboard/jest_setup.ts similarity index 100% rename from src/plugins/dashboard/jest_setup.ts rename to src/platform/plugins/shared/dashboard/jest_setup.ts diff --git a/src/plugins/dashboard/kibana.jsonc b/src/platform/plugins/shared/dashboard/kibana.jsonc similarity index 100% rename from src/plugins/dashboard/kibana.jsonc rename to src/platform/plugins/shared/dashboard/kibana.jsonc diff --git a/src/plugins/dashboard/public/assets/dashboards_dark.svg b/src/platform/plugins/shared/dashboard/public/assets/dashboards_dark.svg similarity index 100% rename from src/plugins/dashboard/public/assets/dashboards_dark.svg rename to src/platform/plugins/shared/dashboard/public/assets/dashboards_dark.svg diff --git a/src/plugins/dashboard/public/assets/dashboards_light.svg b/src/platform/plugins/shared/dashboard/public/assets/dashboards_light.svg similarity index 100% rename from src/plugins/dashboard/public/assets/dashboards_light.svg rename to src/platform/plugins/shared/dashboard/public/assets/dashboards_light.svg diff --git a/src/plugins/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/_dashboard_actions_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/add_to_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/add_to_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/clone_panel_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/clone_panel_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/clone_panel_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/clone_panel_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/clone_panel_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/copy_to_dashboard_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/expand_panel_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/expand_panel_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/expand_panel_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/expand_panel_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/expand_panel_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/export_csv_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/export_csv_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/export_csv_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/export_csv_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/export_csv_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/filters_notification_popover.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/filters_notification_popover.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_actions/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/index.ts diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_add_to_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/legacy_unlink_from_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_actions/unlink_from_library_action.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_actions/unlink_from_library_action.tsx diff --git a/src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/are_panel_layouts_equal.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/are_panel_layouts_equal.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/are_panel_layouts_equal.ts diff --git a/src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/data_loading_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/data_loading_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/data_loading_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/data_views_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/data_views_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/data_views_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/data_views_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_dashboard_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/get_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/get_dashboard_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/get_serialized_state.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/get_serialized_state.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.test.ts diff --git a/src/plugins/dashboard/public/dashboard_api/get_serialized_state.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/get_serialized_state.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/get_serialized_state.ts diff --git a/src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/load_dashboard_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/load_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/load_dashboard_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_api/open_save_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/open_save_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_api/open_save_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_api/panels_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/panels_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/panels_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/panels_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/search_session_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/search_session_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/search_session_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/search_session_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/settings_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/settings_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/settings_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/settings_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_contentful_render.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_contentful_render.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_overlay.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_overlay.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_overlay.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_overlay.ts diff --git a/src/plugins/dashboard/public/dashboard_api/track_panel.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/track_panel.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/track_panel.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/track_panel.ts diff --git a/src/plugins/dashboard/public/dashboard_api/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/types.ts diff --git a/src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/unified_search_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/unified_search_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/unified_search_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/unsaved_changes_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/unsaved_changes_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/unsaved_changes_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_api/use_dashboard_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/use_dashboard_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_internal_api.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/use_dashboard_internal_api.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/use_dashboard_internal_api.ts diff --git a/src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts b/src/platform/plugins/shared/dashboard/public/dashboard_api/view_mode_manager.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_api/view_mode_manager.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_api/view_mode_manager.ts diff --git a/src/plugins/dashboard/public/dashboard_app/_dashboard_app.scss b/src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/_dashboard_app.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app.scss diff --git a/src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/_dashboard_app_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_app.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_app.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_app.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_router.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/dashboard_router.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/dashboard_router.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/dashboard_mount_context.ts diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_dashboard_outcome_validation.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/hooks/use_observability_ai_assistant_context.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_listing_page.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/dashboard_no_match.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/listing_page/get_dashboard_list_item_link.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/get_dashboard_locator_params.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/load_dashboard_history_location_state.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/locator.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/locator.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/locator/locator.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/locator/locator.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/locator/locator.ts diff --git a/src/plugins/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/no_data/dashboard_app_no_data.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/tab_title_setter/dashboard_tab_title_setter.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/add_panel_action_menu_items.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/dashboard_panel_selection_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/index.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.test.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/add_new_panel/use_get_dashboard_panels.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_data_control_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/add_time_slider_control_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/controls_toolbar_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/edit_control_group_button.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/controls_toolbar_button/index.ts diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/dashboard_editing_toolbar.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.scss b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.scss diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/editor_menu.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/editor_menu.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/share/show_share_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_app/top_nav/use_dashboard_menu_items.tsx diff --git a/src/plugins/dashboard/public/dashboard_app/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/types.ts diff --git a/src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/url/search_sessions_integration.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/url/search_sessions_integration.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/url/search_sessions_integration.ts diff --git a/src/plugins/dashboard/public/dashboard_app/url/url_utils.ts b/src/platform/plugins/shared/dashboard/public/dashboard_app/url/url_utils.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_app/url/url_utils.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_app/url/url_utils.ts diff --git a/src/plugins/dashboard/public/dashboard_constants.ts b/src/platform/plugins/shared/dashboard/public/dashboard_constants.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_constants.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_constants.ts diff --git a/src/plugins/dashboard/public/dashboard_container/_dashboard_container.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/_dashboard_container.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container.scss diff --git a/src/plugins/dashboard/public/dashboard_container/_dashboard_container_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/_dashboard_container_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/_dashboard_container_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/empty_screen/dashboard_empty_screen.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_grid.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_dashboard_panel.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/dashboard_grid_item.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/grid/use_dashboard_grid_settings.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/settings/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/settings/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/settings/settings_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/README.md b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/README.md similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/README.md rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/README.md diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_dashboard_viewport.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/_print_viewport.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/dashboard_viewport.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/README.md b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/README.md similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/README.md rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/README.md diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_index.scss diff --git a/src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss b/src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_container/component/viewport/print_media/styling/_vars.scss diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/add_panel_from_library.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/lib/extract_title_and_count.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/open_settings_flyout.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/__snapshots__/save_modal.test.js.snap diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.test.js diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/api/overlays/save_modal.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/performance/query_performance_tracking.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.test.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/new_session.ts diff --git a/src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/embeddable/create/search_sessions/start_dashboard_search_session_integration.ts diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_404.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_404.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/dashboard_404.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_404.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/dashboard_renderer.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_container/external_api/lazy_dashboard_renderer.tsx diff --git a/src/plugins/dashboard/public/dashboard_container/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/index.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/index.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/index.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/panel_placement_registry.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_clone_panel_strategy.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/place_new_panel_strategies.ts diff --git a/src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/panel_placement/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/panel_placement/types.ts diff --git a/src/plugins/dashboard/public/dashboard_container/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_container/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_container/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_container/types.ts diff --git a/src/plugins/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts b/src/platform/plugins/shared/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/_dashboard_listing_strings.ts diff --git a/src/plugins/dashboard/public/dashboard_listing/confirm_overlays.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/confirm_overlays.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/confirm_overlays.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/confirm_overlays.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_empty_prompt.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_listing_table.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_table.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_listing_table.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_listing_table.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/dashboard_unsaved_listing.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/hooks/use_dashboard_listing_table.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/index.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/index.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/index.tsx diff --git a/src/plugins/dashboard/public/dashboard_listing/types.ts b/src/platform/plugins/shared/dashboard/public/dashboard_listing/types.ts similarity index 100% rename from src/plugins/dashboard/public/dashboard_listing/types.ts rename to src/platform/plugins/shared/dashboard/public/dashboard_listing/types.ts diff --git a/src/plugins/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss diff --git a/src/plugins/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/dashboard_top_nav_with_context.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/index.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/index.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/index.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.test.tsx diff --git a/src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx b/src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx similarity index 100% rename from src/plugins/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx rename to src/platform/plugins/shared/dashboard/public/dashboard_top_nav/internal_dashboard_top_nav.tsx diff --git a/src/plugins/dashboard/public/index.ts b/src/platform/plugins/shared/dashboard/public/index.ts similarity index 100% rename from src/plugins/dashboard/public/index.ts rename to src/platform/plugins/shared/dashboard/public/index.ts diff --git a/src/plugins/dashboard/public/mocks.tsx b/src/platform/plugins/shared/dashboard/public/mocks.tsx similarity index 100% rename from src/plugins/dashboard/public/mocks.tsx rename to src/platform/plugins/shared/dashboard/public/mocks.tsx diff --git a/src/plugins/dashboard/public/plugin.tsx b/src/platform/plugins/shared/dashboard/public/plugin.tsx similarity index 100% rename from src/plugins/dashboard/public/plugin.tsx rename to src/platform/plugins/shared/dashboard/public/plugin.tsx diff --git a/src/plugins/dashboard/public/services/dashboard_backup_service.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_backup_service.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_backup_service.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_backup_service.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/dashboard_content_management_cache.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/index.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/index.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/index.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/index.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.test.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/check_for_duplicate_dashboard_title.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/dashboard_versioning.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/delete_dashboards.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/find_dashboards.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.test.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/load_dashboard_state.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.test.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/save_dashboard_state.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/lib/update_dashboard_meta.ts diff --git a/src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/types.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_content_management_service/types.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_content_management_service/types.ts diff --git a/src/plugins/dashboard/public/services/dashboard_recently_accessed_service.ts b/src/platform/plugins/shared/dashboard/public/services/dashboard_recently_accessed_service.ts similarity index 100% rename from src/plugins/dashboard/public/services/dashboard_recently_accessed_service.ts rename to src/platform/plugins/shared/dashboard/public/services/dashboard_recently_accessed_service.ts diff --git a/src/plugins/dashboard/public/services/kibana_services.ts b/src/platform/plugins/shared/dashboard/public/services/kibana_services.ts similarity index 100% rename from src/plugins/dashboard/public/services/kibana_services.ts rename to src/platform/plugins/shared/dashboard/public/services/kibana_services.ts diff --git a/src/plugins/dashboard/public/services/mocks.ts b/src/platform/plugins/shared/dashboard/public/services/mocks.ts similarity index 100% rename from src/plugins/dashboard/public/services/mocks.ts rename to src/platform/plugins/shared/dashboard/public/services/mocks.ts diff --git a/src/plugins/dashboard/public/utils/clean_filters_for_serialize.test.ts b/src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.test.ts similarity index 100% rename from src/plugins/dashboard/public/utils/clean_filters_for_serialize.test.ts rename to src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.test.ts diff --git a/src/plugins/dashboard/public/utils/clean_filters_for_serialize.ts b/src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.ts similarity index 100% rename from src/plugins/dashboard/public/utils/clean_filters_for_serialize.ts rename to src/platform/plugins/shared/dashboard/public/utils/clean_filters_for_serialize.ts diff --git a/src/plugins/dashboard/public/utils/get_dashboard_capabilities.ts b/src/platform/plugins/shared/dashboard/public/utils/get_dashboard_capabilities.ts similarity index 100% rename from src/plugins/dashboard/public/utils/get_dashboard_capabilities.ts rename to src/platform/plugins/shared/dashboard/public/utils/get_dashboard_capabilities.ts diff --git a/src/plugins/dashboard/server/api/constants.ts b/src/platform/plugins/shared/dashboard/server/api/constants.ts similarity index 100% rename from src/plugins/dashboard/server/api/constants.ts rename to src/platform/plugins/shared/dashboard/server/api/constants.ts diff --git a/src/plugins/dashboard/server/api/index.ts b/src/platform/plugins/shared/dashboard/server/api/index.ts similarity index 100% rename from src/plugins/dashboard/server/api/index.ts rename to src/platform/plugins/shared/dashboard/server/api/index.ts diff --git a/src/plugins/dashboard/server/api/register_routes.ts b/src/platform/plugins/shared/dashboard/server/api/register_routes.ts similarity index 100% rename from src/plugins/dashboard/server/api/register_routes.ts rename to src/platform/plugins/shared/dashboard/server/api/register_routes.ts diff --git a/src/plugins/dashboard/server/capabilities_provider.ts b/src/platform/plugins/shared/dashboard/server/capabilities_provider.ts similarity index 100% rename from src/plugins/dashboard/server/capabilities_provider.ts rename to src/platform/plugins/shared/dashboard/server/capabilities_provider.ts diff --git a/src/plugins/dashboard/server/config.ts b/src/platform/plugins/shared/dashboard/server/config.ts similarity index 100% rename from src/plugins/dashboard/server/config.ts rename to src/platform/plugins/shared/dashboard/server/config.ts diff --git a/src/plugins/dashboard/server/content_management/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/dashboard_storage.ts b/src/platform/plugins/shared/dashboard/server/content_management/dashboard_storage.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/dashboard_storage.ts rename to src/platform/plugins/shared/dashboard/server/content_management/dashboard_storage.ts diff --git a/src/plugins/dashboard/server/content_management/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/index.ts diff --git a/src/plugins/dashboard/server/content_management/latest.ts b/src/platform/plugins/shared/dashboard/server/content_management/latest.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/latest.ts rename to src/platform/plugins/shared/dashboard/server/content_management/latest.ts diff --git a/src/plugins/dashboard/server/content_management/v1/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v1/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v1/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v1/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v1/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v1/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v1/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v1/index.ts diff --git a/src/plugins/dashboard/server/content_management/v2/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v2/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v2/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v2/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v2/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v2/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v2/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v2/index.ts diff --git a/src/plugins/dashboard/server/content_management/v3/cm_services.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/cm_services.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/cm_services.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/cm_services.ts diff --git a/src/plugins/dashboard/server/content_management/v3/index.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/index.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/index.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/index.ts diff --git a/src/plugins/dashboard/server/content_management/v3/transform_utils.test.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.test.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/transform_utils.test.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.test.ts diff --git a/src/plugins/dashboard/server/content_management/v3/transform_utils.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/transform_utils.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/transform_utils.ts diff --git a/src/plugins/dashboard/server/content_management/v3/types.ts b/src/platform/plugins/shared/dashboard/server/content_management/v3/types.ts similarity index 100% rename from src/plugins/dashboard/server/content_management/v3/types.ts rename to src/platform/plugins/shared/dashboard/server/content_management/v3/types.ts diff --git a/src/plugins/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts b/src/platform/plugins/shared/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_container/dashboard_container_embeddable_factory.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/dashboard_saved_object.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/dashboard_saved_object_migrations.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_by_value_dashboard_panels.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_extract_panel_references.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_hidden_titles.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_index_pattern_reference.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_match_all_query.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrate_to_730_panels.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_700.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/migrations_730.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/move_filters_to_query.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/readme.md diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/migrate_to_730/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.test.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.test.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.test.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.test.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/migrations/utils.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/migrations/utils.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/latest.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/latest.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/latest.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/latest.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v1/v1.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/v1.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v1/v1.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v1/v1.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/index.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/index.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/index.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/index.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/types.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/types.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/types.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/types.ts diff --git a/src/plugins/dashboard/server/dashboard_saved_object/schema/v2/v2.ts b/src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/v2.ts similarity index 100% rename from src/plugins/dashboard/server/dashboard_saved_object/schema/v2/v2.ts rename to src/platform/plugins/shared/dashboard/server/dashboard_saved_object/schema/v2/v2.ts diff --git a/src/plugins/dashboard/server/index.ts b/src/platform/plugins/shared/dashboard/server/index.ts similarity index 100% rename from src/plugins/dashboard/server/index.ts rename to src/platform/plugins/shared/dashboard/server/index.ts diff --git a/src/plugins/dashboard/server/plugin.test.ts b/src/platform/plugins/shared/dashboard/server/plugin.test.ts similarity index 100% rename from src/plugins/dashboard/server/plugin.test.ts rename to src/platform/plugins/shared/dashboard/server/plugin.test.ts diff --git a/src/plugins/dashboard/server/plugin.ts b/src/platform/plugins/shared/dashboard/server/plugin.ts similarity index 100% rename from src/plugins/dashboard/server/plugin.ts rename to src/platform/plugins/shared/dashboard/server/plugin.ts diff --git a/src/plugins/dashboard/server/types.ts b/src/platform/plugins/shared/dashboard/server/types.ts similarity index 100% rename from src/plugins/dashboard/server/types.ts rename to src/platform/plugins/shared/dashboard/server/types.ts diff --git a/src/plugins/dashboard/server/ui_settings.ts b/src/platform/plugins/shared/dashboard/server/ui_settings.ts similarity index 100% rename from src/plugins/dashboard/server/ui_settings.ts rename to src/platform/plugins/shared/dashboard/server/ui_settings.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry.test.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.test.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry.test.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.test.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry.ts diff --git a/src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts b/src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry_collection_task.ts similarity index 100% rename from src/plugins/dashboard/server/usage/dashboard_telemetry_collection_task.ts rename to src/platform/plugins/shared/dashboard/server/usage/dashboard_telemetry_collection_task.ts diff --git a/src/plugins/dashboard/server/usage/register_collector.ts b/src/platform/plugins/shared/dashboard/server/usage/register_collector.ts similarity index 100% rename from src/plugins/dashboard/server/usage/register_collector.ts rename to src/platform/plugins/shared/dashboard/server/usage/register_collector.ts diff --git a/src/plugins/dashboard/server/usage/task_state.test.ts b/src/platform/plugins/shared/dashboard/server/usage/task_state.test.ts similarity index 100% rename from src/plugins/dashboard/server/usage/task_state.test.ts rename to src/platform/plugins/shared/dashboard/server/usage/task_state.test.ts diff --git a/src/plugins/dashboard/server/usage/task_state.ts b/src/platform/plugins/shared/dashboard/server/usage/task_state.ts similarity index 100% rename from src/plugins/dashboard/server/usage/task_state.ts rename to src/platform/plugins/shared/dashboard/server/usage/task_state.ts diff --git a/src/plugins/dashboard/tsconfig.json b/src/platform/plugins/shared/dashboard/tsconfig.json similarity index 98% rename from src/plugins/dashboard/tsconfig.json rename to src/platform/plugins/shared/dashboard/tsconfig.json index 3370a7fd85f83..cbf2b4c469875 100644 --- a/src/plugins/dashboard/tsconfig.json +++ b/src/platform/plugins/shared/dashboard/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/embeddable/.eslintrc.json b/src/platform/plugins/shared/embeddable/.eslintrc.json similarity index 100% rename from src/plugins/embeddable/.eslintrc.json rename to src/platform/plugins/shared/embeddable/.eslintrc.json diff --git a/src/plugins/embeddable/README.md b/src/platform/plugins/shared/embeddable/README.md similarity index 65% rename from src/plugins/embeddable/README.md rename to src/platform/plugins/shared/embeddable/README.md index 6c7f7688f3d28..4e0deea10830c 100644 --- a/src/plugins/embeddable/README.md +++ b/src/platform/plugins/shared/embeddable/README.md @@ -16,19 +16,19 @@ Each embeddable manages its own state. This is because the embeddable system all #### Publishing package An embeddable API is a plain old typescript object that implements any number of shared interfaces. A shared interface is defined by a publishing package. A publishing package also provides a type guard that is used to check if a given object fulfills the interface. -For example, the [has_edit_capabilites](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts) publishing package defines the `HasEditCapabilities` interface and the `apiHasEditCapabilities` type guard. The [edit panal action](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts) defines the "Edit" panel context menu action. The action's `isCompatible` check uses the `apiHasEditCapabilities` type guard to check that an embeddable API implements the `HasEditCapabilities` interface. When an embeddable API implements the interface and all other conditions of `isCompatible` check are true, the "Edit" action is availabe in the panel context menu. When an embeddable API does not implement the interface, the "Edit" action is not available in the panel context menu. +For example, the [has_edit_capabilites](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/has_edit_capabilities.ts) publishing package defines the `HasEditCapabilities` interface and the `apiHasEditCapabilities` type guard. The [edit panal action](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/edit_panel_action/edit_panel_action.ts) defines the "Edit" panel context menu action. The action's `isCompatible` check uses the `apiHasEditCapabilities` type guard to check that an embeddable API implements the `HasEditCapabilities` interface. When an embeddable API implements the interface and all other conditions of `isCompatible` check are true, the "Edit" action is availabe in the panel context menu. When an embeddable API does not implement the interface, the "Edit" action is not available in the panel context menu. #### Publishing subject An embeddable API shares state via a publishing subject, a read only RxJS Observable. -For example, [publishes_panel_title](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts) publishing package defines interfaces and type guards for title state. [initializeTitles](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. `panelTitle` is provided as a publishing subject. [PresentationPanelInternal React component](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_component/presentation_panel_internal.tsx) uses a hook to consume `panelTitle` as React state. Changes to `panelTitle` publishing subject updates React state, which in turn, causes the UI to re-render with the current value. [CustomizePanelEditor React component](https://github.com/elastic/kibana/tree/main/src/plugins/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx) uses `api.setPanelTitle` to set the title on save. +For example, [publishes_panel_title](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/publishes_panel_title.ts) publishing package defines interfaces and type guards for title state. [initializeTitles](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. `panelTitle` is provided as a publishing subject. [PresentationPanelInternal React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_component/presentation_panel_internal.tsx) uses a hook to consume `panelTitle` as React state. Changes to `panelTitle` publishing subject updates React state, which in turn, causes the UI to re-render with the current value. [CustomizePanelEditor React component](https://github.com/elastic/kibana/tree/main/src/platform/plugins/private/presentation_panel/public/panel_actions/customize_panel_action/customize_panel_editor.tsx) uses `api.setPanelTitle` to set the title on save. #### Comparators Comparators allow a page to track changes to an embeddable's state. For example, Dashboard uses comparators to display a UI notification for unsaved changes, to reset changes, and persist unsaved changes to session storage. A comparator must be provided for each property in an embeddable's RuntimeState. A comparator is a 3 element tuple: where the first element is a publishing subject providing the current value. The second element is a setter allowing the page to reset the value. The third element is an optional comparator function which provides logic to diff this property. -For example, [initializeTitles](https://github.com/elastic/kibana/tree/main/packages/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. Comparitors are provided for each property from `SerializedTitles`. +For example, [initializeTitles](https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/titles/titles_api.ts) provides an implemenation for the titles publishing package. Comparitors are provided for each property from `SerializedTitles`. ### Best practices @@ -42,7 +42,7 @@ Break your Component into a Package or another plugin to avoid circular plugin d Embeddable APIs are accessable to all Kibana systems and all embeddable siblings and parents. Functions and state that are internal to an embeddable including any child components should not be added to the API. Consider passing internal state to child as props or react context. #### Error handling -Embeddables should never throw. Instead, use [PublishesBlockingError](https://github.com/elastic/kibana/blob/main/packages/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts) interface to surface unrecoverable errors. When an embeddable publishes a blocking error, the parent component will display an error component instead of the embeddable Component. Be thoughtful about which errors are surfaced with the PublishesBlockingError interface. If the embeddable can still render, use less invasive error handling such as a warning toast or notifications in the embeddable Component UI. +Embeddables should never throw. Instead, use [PublishesBlockingError](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/presentation/presentation_publishing/interfaces/publishes_blocking_error.ts) interface to surface unrecoverable errors. When an embeddable publishes a blocking error, the parent component will display an error component instead of the embeddable Component. Be thoughtful about which errors are surfaced with the PublishesBlockingError interface. If the embeddable can still render, use less invasive error handling such as a warning toast or notifications in the embeddable Component UI. ### Examples Examples available at [/examples/embeddable_examples](https://github.com/elastic/kibana/tree/main/examples/embeddable_examples) diff --git a/src/plugins/embeddable/common/index.ts b/src/platform/plugins/shared/embeddable/common/index.ts similarity index 100% rename from src/plugins/embeddable/common/index.ts rename to src/platform/plugins/shared/embeddable/common/index.ts diff --git a/src/plugins/embeddable/common/lib/extract.ts b/src/platform/plugins/shared/embeddable/common/lib/extract.ts similarity index 100% rename from src/plugins/embeddable/common/lib/extract.ts rename to src/platform/plugins/shared/embeddable/common/lib/extract.ts diff --git a/src/plugins/embeddable/common/lib/get_all_migrations.test.ts b/src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.test.ts similarity index 100% rename from src/plugins/embeddable/common/lib/get_all_migrations.test.ts rename to src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.test.ts diff --git a/src/plugins/embeddable/common/lib/get_all_migrations.ts b/src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.ts similarity index 100% rename from src/plugins/embeddable/common/lib/get_all_migrations.ts rename to src/platform/plugins/shared/embeddable/common/lib/get_all_migrations.ts diff --git a/src/plugins/embeddable/common/lib/index.ts b/src/platform/plugins/shared/embeddable/common/lib/index.ts similarity index 100% rename from src/plugins/embeddable/common/lib/index.ts rename to src/platform/plugins/shared/embeddable/common/lib/index.ts diff --git a/src/plugins/embeddable/common/lib/inject.ts b/src/platform/plugins/shared/embeddable/common/lib/inject.ts similarity index 100% rename from src/plugins/embeddable/common/lib/inject.ts rename to src/platform/plugins/shared/embeddable/common/lib/inject.ts diff --git a/src/plugins/embeddable/common/lib/migrate.ts b/src/platform/plugins/shared/embeddable/common/lib/migrate.ts similarity index 100% rename from src/plugins/embeddable/common/lib/migrate.ts rename to src/platform/plugins/shared/embeddable/common/lib/migrate.ts diff --git a/src/plugins/embeddable/common/lib/migrate_base_input.ts b/src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts similarity index 100% rename from src/plugins/embeddable/common/lib/migrate_base_input.ts rename to src/platform/plugins/shared/embeddable/common/lib/migrate_base_input.ts diff --git a/src/plugins/embeddable/common/lib/saved_object_embeddable.ts b/src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts similarity index 100% rename from src/plugins/embeddable/common/lib/saved_object_embeddable.ts rename to src/platform/plugins/shared/embeddable/common/lib/saved_object_embeddable.ts diff --git a/src/plugins/embeddable/common/lib/telemetry.ts b/src/platform/plugins/shared/embeddable/common/lib/telemetry.ts similarity index 100% rename from src/plugins/embeddable/common/lib/telemetry.ts rename to src/platform/plugins/shared/embeddable/common/lib/telemetry.ts diff --git a/src/plugins/embeddable/common/mocks.ts b/src/platform/plugins/shared/embeddable/common/mocks.ts similarity index 100% rename from src/plugins/embeddable/common/mocks.ts rename to src/platform/plugins/shared/embeddable/common/mocks.ts diff --git a/src/plugins/embeddable/common/types.ts b/src/platform/plugins/shared/embeddable/common/types.ts similarity index 100% rename from src/plugins/embeddable/common/types.ts rename to src/platform/plugins/shared/embeddable/common/types.ts diff --git a/src/platform/plugins/shared/embeddable/jest.config.js b/src/platform/plugins/shared/embeddable/jest.config.js new file mode 100644 index 0000000000000..5228fc2b22b02 --- /dev/null +++ b/src/platform/plugins/shared/embeddable/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/embeddable'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/embeddable', + coverageReporters: ['text', 'html'], + setupFiles: ['/src/platform/plugins/shared/embeddable/jest_setup.ts'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/embeddable/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/presentation_panel/jest_setup.ts b/src/platform/plugins/shared/embeddable/jest_setup.ts similarity index 100% rename from src/plugins/presentation_panel/jest_setup.ts rename to src/platform/plugins/shared/embeddable/jest_setup.ts diff --git a/src/plugins/embeddable/kibana.jsonc b/src/platform/plugins/shared/embeddable/kibana.jsonc similarity index 100% rename from src/plugins/embeddable/kibana.jsonc rename to src/platform/plugins/shared/embeddable/kibana.jsonc diff --git a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.test.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.test.tsx similarity index 100% rename from src/plugins/embeddable/public/add_from_library/add_from_library_flyout.test.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.test.tsx diff --git a/src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.tsx similarity index 100% rename from src/plugins/embeddable/public/add_from_library/add_from_library_flyout.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/add_from_library_flyout.tsx diff --git a/src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx b/src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx similarity index 100% rename from src/plugins/embeddable/public/add_from_library/open_add_from_library_flyout.tsx rename to src/platform/plugins/shared/embeddable/public/add_from_library/open_add_from_library_flyout.tsx diff --git a/src/plugins/embeddable/public/add_from_library/registry.ts b/src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts similarity index 100% rename from src/plugins/embeddable/public/add_from_library/registry.ts rename to src/platform/plugins/shared/embeddable/public/add_from_library/registry.ts diff --git a/src/plugins/embeddable/public/bootstrap.ts b/src/platform/plugins/shared/embeddable/public/bootstrap.ts similarity index 100% rename from src/plugins/embeddable/public/bootstrap.ts rename to src/platform/plugins/shared/embeddable/public/bootstrap.ts diff --git a/src/plugins/embeddable/public/enhancements/registry.ts b/src/platform/plugins/shared/embeddable/public/enhancements/registry.ts similarity index 100% rename from src/plugins/embeddable/public/enhancements/registry.ts rename to src/platform/plugins/shared/embeddable/public/enhancements/registry.ts diff --git a/src/plugins/embeddable/public/enhancements/types.ts b/src/platform/plugins/shared/embeddable/public/enhancements/types.ts similarity index 100% rename from src/plugins/embeddable/public/enhancements/types.ts rename to src/platform/plugins/shared/embeddable/public/enhancements/types.ts diff --git a/src/plugins/embeddable/public/index.ts b/src/platform/plugins/shared/embeddable/public/index.ts similarity index 100% rename from src/plugins/embeddable/public/index.ts rename to src/platform/plugins/shared/embeddable/public/index.ts diff --git a/src/plugins/embeddable/public/kibana_services.ts b/src/platform/plugins/shared/embeddable/public/kibana_services.ts similarity index 100% rename from src/plugins/embeddable/public/kibana_services.ts rename to src/platform/plugins/shared/embeddable/public/kibana_services.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/common/constants.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/common/constants.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/common/constants.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.test.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/diff_embeddable_input.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/diff_embeddable_input.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/embeddable.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_error_handler.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_error_handler.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/embeddable_error_handler.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/embeddable_error_handler.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.scss b/src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.scss similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/error_embeddable.scss rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.scss diff --git a/src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx b/src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/error_embeddable.tsx rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/error_embeddable.tsx diff --git a/src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/i_embeddable.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/i_embeddable.ts diff --git a/src/plugins/embeddable/public/lib/embeddables/index.ts b/src/platform/plugins/shared/embeddable/public/lib/embeddables/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/embeddables/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/embeddables/index.ts diff --git a/src/plugins/embeddable/public/lib/errors.test.ts b/src/platform/plugins/shared/embeddable/public/lib/errors.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/errors.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/errors.test.ts diff --git a/src/plugins/embeddable/public/lib/errors.ts b/src/platform/plugins/shared/embeddable/public/lib/errors.ts similarity index 100% rename from src/plugins/embeddable/public/lib/errors.ts rename to src/platform/plugins/shared/embeddable/public/lib/errors.ts diff --git a/src/plugins/embeddable/public/lib/index.ts b/src/platform/plugins/shared/embeddable/public/lib/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/index.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.test.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/embeddable_state_transfer.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/index.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/index.ts diff --git a/src/plugins/embeddable/public/lib/state_transfer/types.ts b/src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/state_transfer/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/state_transfer/types.ts diff --git a/src/plugins/embeddable/public/lib/triggers/index.ts b/src/platform/plugins/shared/embeddable/public/lib/triggers/index.ts similarity index 100% rename from src/plugins/embeddable/public/lib/triggers/index.ts rename to src/platform/plugins/shared/embeddable/public/lib/triggers/index.ts diff --git a/src/plugins/embeddable/public/lib/triggers/triggers.ts b/src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts similarity index 100% rename from src/plugins/embeddable/public/lib/triggers/triggers.ts rename to src/platform/plugins/shared/embeddable/public/lib/triggers/triggers.ts diff --git a/src/plugins/embeddable/public/lib/types.ts b/src/platform/plugins/shared/embeddable/public/lib/types.ts similarity index 100% rename from src/plugins/embeddable/public/lib/types.ts rename to src/platform/plugins/shared/embeddable/public/lib/types.ts diff --git a/src/plugins/embeddable/public/lib/ui_actions.ts b/src/platform/plugins/shared/embeddable/public/lib/ui_actions.ts similarity index 100% rename from src/plugins/embeddable/public/lib/ui_actions.ts rename to src/platform/plugins/shared/embeddable/public/lib/ui_actions.ts diff --git a/src/plugins/embeddable/public/mocks.tsx b/src/platform/plugins/shared/embeddable/public/mocks.tsx similarity index 100% rename from src/plugins/embeddable/public/mocks.tsx rename to src/platform/plugins/shared/embeddable/public/mocks.tsx diff --git a/src/plugins/embeddable/public/plugin.test.ts b/src/platform/plugins/shared/embeddable/public/plugin.test.ts similarity index 100% rename from src/plugins/embeddable/public/plugin.test.ts rename to src/platform/plugins/shared/embeddable/public/plugin.test.ts diff --git a/src/plugins/embeddable/public/plugin.tsx b/src/platform/plugins/shared/embeddable/public/plugin.tsx similarity index 100% rename from src/plugins/embeddable/public/plugin.tsx rename to src/platform/plugins/shared/embeddable/public/plugin.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/index.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/index.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/index.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/index.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/phase_tracker.test.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.test.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/phase_tracker.test.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.test.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/phase_tracker.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/phase_tracker.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/phase_tracker.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.test.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_registry.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_registry.ts diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.test.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/react_embeddable_renderer.tsx diff --git a/src/plugins/embeddable/public/react_embeddable_system/types.ts b/src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts similarity index 100% rename from src/plugins/embeddable/public/react_embeddable_system/types.ts rename to src/platform/plugins/shared/embeddable/public/react_embeddable_system/types.ts diff --git a/src/plugins/embeddable/public/tests/test_plugin.ts b/src/platform/plugins/shared/embeddable/public/tests/test_plugin.ts similarity index 100% rename from src/plugins/embeddable/public/tests/test_plugin.ts rename to src/platform/plugins/shared/embeddable/public/tests/test_plugin.ts diff --git a/src/plugins/embeddable/public/types.ts b/src/platform/plugins/shared/embeddable/public/types.ts similarity index 100% rename from src/plugins/embeddable/public/types.ts rename to src/platform/plugins/shared/embeddable/public/types.ts diff --git a/src/plugins/embeddable/server/index.ts b/src/platform/plugins/shared/embeddable/server/index.ts similarity index 100% rename from src/plugins/embeddable/server/index.ts rename to src/platform/plugins/shared/embeddable/server/index.ts diff --git a/src/plugins/embeddable/server/mocks.ts b/src/platform/plugins/shared/embeddable/server/mocks.ts similarity index 100% rename from src/plugins/embeddable/server/mocks.ts rename to src/platform/plugins/shared/embeddable/server/mocks.ts diff --git a/src/plugins/embeddable/server/plugin.ts b/src/platform/plugins/shared/embeddable/server/plugin.ts similarity index 100% rename from src/plugins/embeddable/server/plugin.ts rename to src/platform/plugins/shared/embeddable/server/plugin.ts diff --git a/src/plugins/embeddable/server/types.ts b/src/platform/plugins/shared/embeddable/server/types.ts similarity index 100% rename from src/plugins/embeddable/server/types.ts rename to src/platform/plugins/shared/embeddable/server/types.ts diff --git a/src/plugins/embeddable/tsconfig.json b/src/platform/plugins/shared/embeddable/tsconfig.json similarity index 93% rename from src/plugins/embeddable/tsconfig.json rename to src/platform/plugins/shared/embeddable/tsconfig.json index 249612d6d0e49..aeb64ab3f2c32 100644 --- a/src/plugins/embeddable/tsconfig.json +++ b/src/platform/plugins/shared/embeddable/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/src/plugins/expression_error/.storybook/main.js b/src/platform/plugins/shared/expression_error/.storybook/main.js similarity index 100% rename from src/plugins/expression_error/.storybook/main.js rename to src/platform/plugins/shared/expression_error/.storybook/main.js diff --git a/src/plugins/expression_error/README.md b/src/platform/plugins/shared/expression_error/README.md similarity index 100% rename from src/plugins/expression_error/README.md rename to src/platform/plugins/shared/expression_error/README.md diff --git a/src/plugins/expression_error/common/constants.ts b/src/platform/plugins/shared/expression_error/common/constants.ts similarity index 100% rename from src/plugins/expression_error/common/constants.ts rename to src/platform/plugins/shared/expression_error/common/constants.ts diff --git a/src/plugins/expression_error/common/index.ts b/src/platform/plugins/shared/expression_error/common/index.ts similarity index 92% rename from src/plugins/expression_error/common/index.ts rename to src/platform/plugins/shared/expression_error/common/index.ts index 690819c543511..3748ba396ee62 100755 --- a/src/plugins/expression_error/common/index.ts +++ b/src/platform/plugins/shared/expression_error/common/index.ts @@ -8,6 +8,5 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; diff --git a/src/plugins/expression_error/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_error/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_error/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_error/common/types/expression_renderers.ts diff --git a/src/plugins/expression_error/common/types/index.ts b/src/platform/plugins/shared/expression_error/common/types/index.ts similarity index 100% rename from src/plugins/expression_error/common/types/index.ts rename to src/platform/plugins/shared/expression_error/common/types/index.ts diff --git a/src/plugins/expression_error/kibana.jsonc b/src/platform/plugins/shared/expression_error/kibana.jsonc similarity index 100% rename from src/plugins/expression_error/kibana.jsonc rename to src/platform/plugins/shared/expression_error/kibana.jsonc diff --git a/src/plugins/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/__snapshots__/debug.stories.storyshot diff --git a/src/plugins/expression_error/public/components/debug/__stories__/debug.stories.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/debug.stories.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/debug.stories.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/debug.stories.tsx diff --git a/src/plugins/expression_error/public/components/debug/__stories__/helpers.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/__stories__/helpers.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/__stories__/helpers.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/__stories__/helpers.tsx diff --git a/src/plugins/expression_error/public/components/debug/debug.scss b/src/platform/plugins/shared/expression_error/public/components/debug/debug.scss similarity index 100% rename from src/plugins/expression_error/public/components/debug/debug.scss rename to src/platform/plugins/shared/expression_error/public/components/debug/debug.scss diff --git a/src/plugins/expression_error/public/components/debug/debug.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/debug.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/debug.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/debug.tsx diff --git a/src/plugins/expression_error/public/components/debug/index.tsx b/src/platform/plugins/shared/expression_error/public/components/debug/index.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug/index.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug/index.tsx diff --git a/src/plugins/expression_error/public/components/debug_component.tsx b/src/platform/plugins/shared/expression_error/public/components/debug_component.tsx similarity index 100% rename from src/plugins/expression_error/public/components/debug_component.tsx rename to src/platform/plugins/shared/expression_error/public/components/debug_component.tsx diff --git a/src/plugins/expression_error/public/components/error/error.tsx b/src/platform/plugins/shared/expression_error/public/components/error/error.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error/error.tsx rename to src/platform/plugins/shared/expression_error/public/components/error/error.tsx diff --git a/src/plugins/expression_error/public/components/error/index.ts b/src/platform/plugins/shared/expression_error/public/components/error/index.ts similarity index 100% rename from src/plugins/expression_error/public/components/error/index.ts rename to src/platform/plugins/shared/expression_error/public/components/error/index.ts diff --git a/src/plugins/expression_error/public/components/error/show_debugging.tsx b/src/platform/plugins/shared/expression_error/public/components/error/show_debugging.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error/show_debugging.tsx rename to src/platform/plugins/shared/expression_error/public/components/error/show_debugging.tsx diff --git a/src/plugins/expression_error/public/components/error_component.tsx b/src/platform/plugins/shared/expression_error/public/components/error_component.tsx similarity index 100% rename from src/plugins/expression_error/public/components/error_component.tsx rename to src/platform/plugins/shared/expression_error/public/components/error_component.tsx diff --git a/src/plugins/expression_error/public/components/index.ts b/src/platform/plugins/shared/expression_error/public/components/index.ts similarity index 100% rename from src/plugins/expression_error/public/components/index.ts rename to src/platform/plugins/shared/expression_error/public/components/index.ts diff --git a/src/plugins/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot b/src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot rename to src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/__snapshots__/error.stories.storyshot diff --git a/src/plugins/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/__stories__/error_renderer.stories.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/debug_renderer.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/debug_renderer.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/error_renderer.tsx b/src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/error_renderer.tsx rename to src/platform/plugins/shared/expression_error/public/expression_renderers/error_renderer.tsx diff --git a/src/plugins/expression_error/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_error/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_error/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_error/public/expression_renderers/index.ts diff --git a/src/plugins/expression_error/public/index.ts b/src/platform/plugins/shared/expression_error/public/index.ts similarity index 100% rename from src/plugins/expression_error/public/index.ts rename to src/platform/plugins/shared/expression_error/public/index.ts diff --git a/src/plugins/expression_error/public/plugin.ts b/src/platform/plugins/shared/expression_error/public/plugin.ts similarity index 100% rename from src/plugins/expression_error/public/plugin.ts rename to src/platform/plugins/shared/expression_error/public/plugin.ts diff --git a/src/plugins/expression_error/tsconfig.json b/src/platform/plugins/shared/expression_error/tsconfig.json similarity index 90% rename from src/plugins/expression_error/tsconfig.json rename to src/platform/plugins/shared/expression_error/tsconfig.json index 72103987db1d8..861d068a3746c 100644 --- a/src/plugins/expression_error/tsconfig.json +++ b/src/platform/plugins/shared/expression_error/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_image/.storybook/main.js b/src/platform/plugins/shared/expression_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_image/.storybook/main.js rename to src/platform/plugins/shared/expression_image/.storybook/main.js diff --git a/src/plugins/expression_image/README.md b/src/platform/plugins/shared/expression_image/README.md similarity index 100% rename from src/plugins/expression_image/README.md rename to src/platform/plugins/shared/expression_image/README.md diff --git a/src/plugins/expression_image/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_image/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_image/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_image/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_image/__fixtures__/index.ts b/src/platform/plugins/shared/expression_image/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_image/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_image/__fixtures__/index.ts diff --git a/src/plugins/expression_image/common/constants.ts b/src/platform/plugins/shared/expression_image/common/constants.ts similarity index 100% rename from src/plugins/expression_image/common/constants.ts rename to src/platform/plugins/shared/expression_image/common/constants.ts diff --git a/src/plugins/expression_image/common/expression_functions/image_function.test.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/image_function.test.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/image_function.test.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/image_function.test.ts diff --git a/src/plugins/expression_image/common/expression_functions/image_function.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/image_function.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/image_function.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/image_function.ts diff --git a/src/plugins/expression_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_image/common/index.ts b/src/platform/plugins/shared/expression_image/common/index.ts similarity index 92% rename from src/plugins/expression_image/common/index.ts rename to src/platform/plugins/shared/expression_image/common/index.ts index 35bd3a07d2133..5b93b57a2f393 100755 --- a/src/plugins/expression_image/common/index.ts +++ b/src/platform/plugins/shared/expression_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/plugins/expression_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_image/common/types/index.ts b/src/platform/plugins/shared/expression_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_image/common/types/index.ts rename to src/platform/plugins/shared/expression_image/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_image/jest.config.js b/src/platform/plugins/shared/expression_image/jest.config.js new file mode 100644 index 0000000000000..e9f06377998b9 --- /dev/null +++ b/src/platform/plugins/shared/expression_image/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_image'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_image/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_image/kibana.jsonc b/src/platform/plugins/shared/expression_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_image/kibana.jsonc rename to src/platform/plugins/shared/expression_image/kibana.jsonc diff --git a/src/plugins/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot b/src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot rename to src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/__snapshots__/image.stories.storyshot diff --git a/src/plugins/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx b/src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_image/public/expression_renderers/__stories__/image_renderer.stories.tsx diff --git a/src/plugins/expression_image/public/expression_renderers/image_renderer.tsx b/src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/image_renderer.tsx rename to src/platform/plugins/shared/expression_image/public/expression_renderers/image_renderer.tsx diff --git a/src/plugins/expression_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_image/public/index.ts b/src/platform/plugins/shared/expression_image/public/index.ts similarity index 100% rename from src/plugins/expression_image/public/index.ts rename to src/platform/plugins/shared/expression_image/public/index.ts diff --git a/src/plugins/expression_image/public/plugin.ts b/src/platform/plugins/shared/expression_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_image/public/plugin.ts rename to src/platform/plugins/shared/expression_image/public/plugin.ts diff --git a/src/plugins/expression_image/server/index.ts b/src/platform/plugins/shared/expression_image/server/index.ts similarity index 100% rename from src/plugins/expression_image/server/index.ts rename to src/platform/plugins/shared/expression_image/server/index.ts diff --git a/src/plugins/expression_image/server/plugin.ts b/src/platform/plugins/shared/expression_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_image/server/plugin.ts rename to src/platform/plugins/shared/expression_image/server/plugin.ts diff --git a/src/plugins/expression_image/tsconfig.json b/src/platform/plugins/shared/expression_image/tsconfig.json similarity index 90% rename from src/plugins/expression_image/tsconfig.json rename to src/platform/plugins/shared/expression_image/tsconfig.json index 90dc26c409c59..b9d9e0e95002e 100644 --- a/src/plugins/expression_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_metric/.storybook/main.js b/src/platform/plugins/shared/expression_metric/.storybook/main.js similarity index 100% rename from src/plugins/expression_metric/.storybook/main.js rename to src/platform/plugins/shared/expression_metric/.storybook/main.js diff --git a/src/plugins/expression_metric/README.md b/src/platform/plugins/shared/expression_metric/README.md similarity index 100% rename from src/plugins/expression_metric/README.md rename to src/platform/plugins/shared/expression_metric/README.md diff --git a/src/plugins/expression_metric/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_metric/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_metric/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_metric/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_metric/__fixtures__/index.ts b/src/platform/plugins/shared/expression_metric/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_metric/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_metric/__fixtures__/index.ts diff --git a/src/plugins/expression_metric/common/constants.ts b/src/platform/plugins/shared/expression_metric/common/constants.ts similarity index 100% rename from src/plugins/expression_metric/common/constants.ts rename to src/platform/plugins/shared/expression_metric/common/constants.ts diff --git a/src/plugins/expression_metric/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/index.ts diff --git a/src/plugins/expression_metric/common/expression_functions/metric_function.test.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.test.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/metric_function.test.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.test.ts diff --git a/src/plugins/expression_metric/common/expression_functions/metric_function.ts b/src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.ts similarity index 100% rename from src/plugins/expression_metric/common/expression_functions/metric_function.ts rename to src/platform/plugins/shared/expression_metric/common/expression_functions/metric_function.ts diff --git a/src/plugins/expression_repeat_image/common/index.ts b/src/platform/plugins/shared/expression_metric/common/index.ts similarity index 92% rename from src/plugins/expression_repeat_image/common/index.ts rename to src/platform/plugins/shared/expression_metric/common/index.ts index 2906d4d939a95..f537c7bcdd198 100755 --- a/src/plugins/expression_repeat_image/common/index.ts +++ b/src/platform/plugins/shared/expression_metric/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/plugins/expression_metric/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_metric/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_metric/common/types/expression_functions.ts diff --git a/src/plugins/expression_metric/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_metric/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_metric/common/types/expression_renderers.ts diff --git a/src/plugins/expression_metric/common/types/index.ts b/src/platform/plugins/shared/expression_metric/common/types/index.ts similarity index 100% rename from src/plugins/expression_metric/common/types/index.ts rename to src/platform/plugins/shared/expression_metric/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_metric/jest.config.js b/src/platform/plugins/shared/expression_metric/jest.config.js new file mode 100644 index 0000000000000..bc85992dfc5ca --- /dev/null +++ b/src/platform/plugins/shared/expression_metric/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_metric'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_metric', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_metric/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_metric/kibana.jsonc b/src/platform/plugins/shared/expression_metric/kibana.jsonc similarity index 100% rename from src/plugins/expression_metric/kibana.jsonc rename to src/platform/plugins/shared/expression_metric/kibana.jsonc diff --git a/src/plugins/expression_metric/public/components/index.ts b/src/platform/plugins/shared/expression_metric/public/components/index.ts similarity index 100% rename from src/plugins/expression_metric/public/components/index.ts rename to src/platform/plugins/shared/expression_metric/public/components/index.ts diff --git a/src/plugins/expression_metric/public/components/metric_component.tsx b/src/platform/plugins/shared/expression_metric/public/components/metric_component.tsx similarity index 100% rename from src/plugins/expression_metric/public/components/metric_component.tsx rename to src/platform/plugins/shared/expression_metric/public/components/metric_component.tsx diff --git a/src/plugins/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot b/src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/__snapshots__/metric.stories.storyshot diff --git a/src/plugins/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx b/src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/__stories__/metric_renderer.stories.tsx diff --git a/src/plugins/expression_metric/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_metric/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/index.ts diff --git a/src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx b/src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx similarity index 100% rename from src/plugins/expression_metric/public/expression_renderers/metric_renderer.tsx rename to src/platform/plugins/shared/expression_metric/public/expression_renderers/metric_renderer.tsx diff --git a/src/plugins/expression_metric/public/index.ts b/src/platform/plugins/shared/expression_metric/public/index.ts similarity index 100% rename from src/plugins/expression_metric/public/index.ts rename to src/platform/plugins/shared/expression_metric/public/index.ts diff --git a/src/plugins/expression_metric/public/plugin.ts b/src/platform/plugins/shared/expression_metric/public/plugin.ts similarity index 100% rename from src/plugins/expression_metric/public/plugin.ts rename to src/platform/plugins/shared/expression_metric/public/plugin.ts diff --git a/src/plugins/expression_metric/server/index.ts b/src/platform/plugins/shared/expression_metric/server/index.ts similarity index 100% rename from src/plugins/expression_metric/server/index.ts rename to src/platform/plugins/shared/expression_metric/server/index.ts diff --git a/src/plugins/expression_metric/server/plugin.ts b/src/platform/plugins/shared/expression_metric/server/plugin.ts similarity index 100% rename from src/plugins/expression_metric/server/plugin.ts rename to src/platform/plugins/shared/expression_metric/server/plugin.ts diff --git a/src/plugins/expression_metric/tsconfig.json b/src/platform/plugins/shared/expression_metric/tsconfig.json similarity index 89% rename from src/plugins/expression_metric/tsconfig.json rename to src/platform/plugins/shared/expression_metric/tsconfig.json index 026013a9496ad..ee40034a7e747 100644 --- a/src/plugins/expression_metric/tsconfig.json +++ b/src/platform/plugins/shared/expression_metric/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_repeat_image/.storybook/main.js b/src/platform/plugins/shared/expression_repeat_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_repeat_image/.storybook/main.js rename to src/platform/plugins/shared/expression_repeat_image/.storybook/main.js diff --git a/src/plugins/expression_repeat_image/README.md b/src/platform/plugins/shared/expression_repeat_image/README.md similarity index 100% rename from src/plugins/expression_repeat_image/README.md rename to src/platform/plugins/shared/expression_repeat_image/README.md diff --git a/src/plugins/expression_repeat_image/common/constants.ts b/src/platform/plugins/shared/expression_repeat_image/common/constants.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/constants.ts rename to src/platform/plugins/shared/expression_repeat_image/common/constants.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.test.ts diff --git a/src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts b/src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/expression_functions/repeat_image_function.ts rename to src/platform/plugins/shared/expression_repeat_image/common/expression_functions/repeat_image_function.ts diff --git a/src/plugins/expression_metric/common/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/index.ts similarity index 92% rename from src/plugins/expression_metric/common/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/index.ts index 2906d4d939a95..f537c7bcdd198 100755 --- a/src/plugins/expression_metric/common/index.ts +++ b/src/platform/plugins/shared/expression_repeat_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './types'; diff --git a/src/plugins/expression_repeat_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_repeat_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_repeat_image/common/types/index.ts b/src/platform/plugins/shared/expression_repeat_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/common/types/index.ts rename to src/platform/plugins/shared/expression_repeat_image/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_repeat_image/jest.config.js b/src/platform/plugins/shared/expression_repeat_image/jest.config.js new file mode 100644 index 0000000000000..4a42d457e7e5f --- /dev/null +++ b/src/platform/plugins/shared/expression_repeat_image/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_repeat_image'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_repeat_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_repeat_image/kibana.jsonc b/src/platform/plugins/shared/expression_repeat_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_repeat_image/kibana.jsonc rename to src/platform/plugins/shared/expression_repeat_image/kibana.jsonc diff --git a/src/plugins/expression_repeat_image/public/components/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/components/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/components/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/components/index.ts diff --git a/src/plugins/expression_repeat_image/public/components/repeat_image_component.tsx b/src/platform/plugins/shared/expression_repeat_image/public/components/repeat_image_component.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/components/repeat_image_component.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/components/repeat_image_component.tsx diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/__snapshots__/repeat_image.stories.storyshot diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/__stories__/repeat_image_renderer.stories.tsx diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx b/src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx similarity index 100% rename from src/plugins/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx rename to src/platform/plugins/shared/expression_repeat_image/public/expression_renderers/repeat_image_renderer.tsx diff --git a/src/plugins/expression_repeat_image/public/index.ts b/src/platform/plugins/shared/expression_repeat_image/public/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/index.ts rename to src/platform/plugins/shared/expression_repeat_image/public/index.ts diff --git a/src/plugins/expression_repeat_image/public/plugin.ts b/src/platform/plugins/shared/expression_repeat_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_repeat_image/public/plugin.ts rename to src/platform/plugins/shared/expression_repeat_image/public/plugin.ts diff --git a/src/plugins/expression_repeat_image/server/index.ts b/src/platform/plugins/shared/expression_repeat_image/server/index.ts similarity index 100% rename from src/plugins/expression_repeat_image/server/index.ts rename to src/platform/plugins/shared/expression_repeat_image/server/index.ts diff --git a/src/plugins/expression_repeat_image/server/plugin.ts b/src/platform/plugins/shared/expression_repeat_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_repeat_image/server/plugin.ts rename to src/platform/plugins/shared/expression_repeat_image/server/plugin.ts diff --git a/src/plugins/expression_reveal_image/tsconfig.json b/src/platform/plugins/shared/expression_repeat_image/tsconfig.json similarity index 89% rename from src/plugins/expression_reveal_image/tsconfig.json rename to src/platform/plugins/shared/expression_repeat_image/tsconfig.json index dd41610e31b3a..750c42cdf0052 100644 --- a/src/plugins/expression_reveal_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_repeat_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_reveal_image/.storybook/main.js b/src/platform/plugins/shared/expression_reveal_image/.storybook/main.js similarity index 100% rename from src/plugins/expression_reveal_image/.storybook/main.js rename to src/platform/plugins/shared/expression_reveal_image/.storybook/main.js diff --git a/src/plugins/expression_reveal_image/README.md b/src/platform/plugins/shared/expression_reveal_image/README.md similarity index 100% rename from src/plugins/expression_reveal_image/README.md rename to src/platform/plugins/shared/expression_reveal_image/README.md diff --git a/src/plugins/expression_reveal_image/common/constants.ts b/src/platform/plugins/shared/expression_reveal_image/common/constants.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/constants.ts rename to src/platform/plugins/shared/expression_reveal_image/common/constants.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/index.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/reveal_image.test.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image.test.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/reveal_image.test.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image.test.ts diff --git a/src/plugins/expression_reveal_image/common/expression_functions/reveal_image_function.ts b/src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image_function.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/expression_functions/reveal_image_function.ts rename to src/platform/plugins/shared/expression_reveal_image/common/expression_functions/reveal_image_function.ts diff --git a/src/plugins/expression_reveal_image/common/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/index.ts similarity index 92% rename from src/plugins/expression_reveal_image/common/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/index.ts index 7aa8e909d8be1..2f52906fa3bba 100755 --- a/src/plugins/expression_reveal_image/common/index.ts +++ b/src/platform/plugins/shared/expression_reveal_image/common/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110893 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './constants'; export * from './expression_functions'; diff --git a/src/plugins/expression_reveal_image/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/expression_functions.ts diff --git a/src/plugins/expression_reveal_image/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/expression_renderers.ts diff --git a/src/plugins/expression_reveal_image/common/types/index.ts b/src/platform/plugins/shared/expression_reveal_image/common/types/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/common/types/index.ts rename to src/platform/plugins/shared/expression_reveal_image/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_reveal_image/jest.config.js b/src/platform/plugins/shared/expression_reveal_image/jest.config.js new file mode 100644 index 0000000000000..d9c95ea81db2f --- /dev/null +++ b/src/platform/plugins/shared/expression_reveal_image/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_reveal_image'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_reveal_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_reveal_image/kibana.jsonc b/src/platform/plugins/shared/expression_reveal_image/kibana.jsonc similarity index 100% rename from src/plugins/expression_reveal_image/kibana.jsonc rename to src/platform/plugins/shared/expression_reveal_image/kibana.jsonc diff --git a/src/plugins/expression_reveal_image/public/components/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/components/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/components/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/components/index.ts diff --git a/src/plugins/expression_reveal_image/public/components/reveal_image_component.tsx b/src/platform/plugins/shared/expression_reveal_image/public/components/reveal_image_component.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/components/reveal_image_component.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/components/reveal_image_component.tsx diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/__snapshots__/reveal_image.stories.storyshot diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/__stories__/reveal_image_renderer.stories.tsx diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/index.ts diff --git a/src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx b/src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx similarity index 100% rename from src/plugins/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx rename to src/platform/plugins/shared/expression_reveal_image/public/expression_renderers/reveal_image_renderer.tsx diff --git a/src/plugins/expression_reveal_image/public/index.ts b/src/platform/plugins/shared/expression_reveal_image/public/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/index.ts rename to src/platform/plugins/shared/expression_reveal_image/public/index.ts diff --git a/src/plugins/expression_reveal_image/public/plugin.ts b/src/platform/plugins/shared/expression_reveal_image/public/plugin.ts similarity index 100% rename from src/plugins/expression_reveal_image/public/plugin.ts rename to src/platform/plugins/shared/expression_reveal_image/public/plugin.ts diff --git a/src/plugins/expression_reveal_image/server/index.ts b/src/platform/plugins/shared/expression_reveal_image/server/index.ts similarity index 100% rename from src/plugins/expression_reveal_image/server/index.ts rename to src/platform/plugins/shared/expression_reveal_image/server/index.ts diff --git a/src/plugins/expression_reveal_image/server/plugin.ts b/src/platform/plugins/shared/expression_reveal_image/server/plugin.ts similarity index 100% rename from src/plugins/expression_reveal_image/server/plugin.ts rename to src/platform/plugins/shared/expression_reveal_image/server/plugin.ts diff --git a/src/plugins/expression_repeat_image/tsconfig.json b/src/platform/plugins/shared/expression_reveal_image/tsconfig.json similarity index 89% rename from src/plugins/expression_repeat_image/tsconfig.json rename to src/platform/plugins/shared/expression_reveal_image/tsconfig.json index dd41610e31b3a..750c42cdf0052 100644 --- a/src/plugins/expression_repeat_image/tsconfig.json +++ b/src/platform/plugins/shared/expression_reveal_image/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/expression_shape/.storybook/main.js b/src/platform/plugins/shared/expression_shape/.storybook/main.js similarity index 100% rename from src/plugins/expression_shape/.storybook/main.js rename to src/platform/plugins/shared/expression_shape/.storybook/main.js diff --git a/src/plugins/expression_shape/README.md b/src/platform/plugins/shared/expression_shape/README.md similarity index 100% rename from src/plugins/expression_shape/README.md rename to src/platform/plugins/shared/expression_shape/README.md diff --git a/src/plugins/expression_shape/__fixtures__/function_specs.ts b/src/platform/plugins/shared/expression_shape/__fixtures__/function_specs.ts similarity index 100% rename from src/plugins/expression_shape/__fixtures__/function_specs.ts rename to src/platform/plugins/shared/expression_shape/__fixtures__/function_specs.ts diff --git a/src/plugins/expression_shape/__fixtures__/index.ts b/src/platform/plugins/shared/expression_shape/__fixtures__/index.ts similarity index 100% rename from src/plugins/expression_shape/__fixtures__/index.ts rename to src/platform/plugins/shared/expression_shape/__fixtures__/index.ts diff --git a/src/plugins/expression_shape/common/constants.ts b/src/platform/plugins/shared/expression_shape/common/constants.ts similarity index 100% rename from src/plugins/expression_shape/common/constants.ts rename to src/platform/plugins/shared/expression_shape/common/constants.ts diff --git a/src/plugins/expression_shape/common/expression_functions/index.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/index.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/index.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/index.ts diff --git a/src/plugins/expression_shape/common/expression_functions/progress_function.test.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.test.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/progress_function.test.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.test.ts diff --git a/src/plugins/expression_shape/common/expression_functions/progress_function.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/progress_function.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/progress_function.ts diff --git a/src/plugins/expression_shape/common/expression_functions/shape_function.ts b/src/platform/plugins/shared/expression_shape/common/expression_functions/shape_function.ts similarity index 100% rename from src/plugins/expression_shape/common/expression_functions/shape_function.ts rename to src/platform/plugins/shared/expression_shape/common/expression_functions/shape_function.ts diff --git a/src/plugins/expression_shape/common/index.ts b/src/platform/plugins/shared/expression_shape/common/index.ts similarity index 100% rename from src/plugins/expression_shape/common/index.ts rename to src/platform/plugins/shared/expression_shape/common/index.ts diff --git a/src/plugins/expression_shape/common/lib/available_shapes.ts b/src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/available_shapes.ts rename to src/platform/plugins/shared/expression_shape/common/lib/available_shapes.ts diff --git a/src/plugins/expression_shape/common/lib/get_id.ts b/src/platform/plugins/shared/expression_shape/common/lib/get_id.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/get_id.ts rename to src/platform/plugins/shared/expression_shape/common/lib/get_id.ts diff --git a/src/plugins/expression_shape/common/lib/index.ts b/src/platform/plugins/shared/expression_shape/common/lib/index.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/index.ts rename to src/platform/plugins/shared/expression_shape/common/lib/index.ts diff --git a/src/plugins/expression_shape/common/lib/view_box.ts b/src/platform/plugins/shared/expression_shape/common/lib/view_box.ts similarity index 100% rename from src/plugins/expression_shape/common/lib/view_box.ts rename to src/platform/plugins/shared/expression_shape/common/lib/view_box.ts diff --git a/src/plugins/expression_shape/common/types/expression_functions.ts b/src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts similarity index 100% rename from src/plugins/expression_shape/common/types/expression_functions.ts rename to src/platform/plugins/shared/expression_shape/common/types/expression_functions.ts diff --git a/src/plugins/expression_shape/common/types/expression_renderers.ts b/src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts similarity index 100% rename from src/plugins/expression_shape/common/types/expression_renderers.ts rename to src/platform/plugins/shared/expression_shape/common/types/expression_renderers.ts diff --git a/src/plugins/expression_shape/common/types/index.ts b/src/platform/plugins/shared/expression_shape/common/types/index.ts similarity index 100% rename from src/plugins/expression_shape/common/types/index.ts rename to src/platform/plugins/shared/expression_shape/common/types/index.ts diff --git a/src/platform/plugins/shared/expression_shape/jest.config.js b/src/platform/plugins/shared/expression_shape/jest.config.js new file mode 100644 index 0000000000000..24066ebb37342 --- /dev/null +++ b/src/platform/plugins/shared/expression_shape/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/expression_shape'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/expression_shape', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/expression_shape/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/expression_shape/kibana.jsonc b/src/platform/plugins/shared/expression_shape/kibana.jsonc similarity index 100% rename from src/plugins/expression_shape/kibana.jsonc rename to src/platform/plugins/shared/expression_shape/kibana.jsonc diff --git a/src/plugins/expression_shape/public/components/progress/index.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/index.ts diff --git a/src/plugins/expression_shape/public/components/progress/progress_component.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/progress_component.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/progress_component.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/progress_component.tsx diff --git a/src/plugins/expression_shape/public/components/progress/progress_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/progress_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/progress_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/progress_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/gauge.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/gauge.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/gauge.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/gauge.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/horizontal_bar.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_bar.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/horizontal_bar.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_bar.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/horizontal_pill.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_pill.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/horizontal_pill.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/horizontal_pill.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/index.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/index.ts diff --git a/src/plugins/expression_shape/public/components/progress/shapes/semicircle.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/semicircle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/semicircle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/semicircle.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/unicorn.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/unicorn.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/unicorn.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/unicorn.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/vertical_bar.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_bar.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/vertical_bar.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_bar.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/vertical_pill.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_pill.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/vertical_pill.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/vertical_pill.tsx diff --git a/src/plugins/expression_shape/public/components/progress/shapes/wheel.tsx b/src/platform/plugins/shared/expression_shape/public/components/progress/shapes/wheel.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/progress/shapes/wheel.tsx rename to src/platform/plugins/shared/expression_shape/public/components/progress/shapes/wheel.tsx diff --git a/src/plugins/expression_shape/public/components/progress/utils.ts b/src/platform/plugins/shared/expression_shape/public/components/progress/utils.ts similarity index 100% rename from src/plugins/expression_shape/public/components/progress/utils.ts rename to src/platform/plugins/shared/expression_shape/public/components/progress/utils.ts diff --git a/src/plugins/expression_shape/public/components/reusable/index.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/index.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/index.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/index.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/shape_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/shape_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/shape_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/shape_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/shape_factory.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/shape_factory.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/shape_factory.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/shape_factory.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/types.tsx b/src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/types.tsx rename to src/platform/plugins/shared/expression_shape/public/components/reusable/types.tsx diff --git a/src/plugins/expression_shape/public/components/reusable/utils.ts b/src/platform/plugins/shared/expression_shape/public/components/reusable/utils.ts similarity index 100% rename from src/plugins/expression_shape/public/components/reusable/utils.ts rename to src/platform/plugins/shared/expression_shape/public/components/reusable/utils.ts diff --git a/src/plugins/expression_shape/public/components/shape/index.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/index.ts diff --git a/src/plugins/expression_shape/public/components/shape/shape_component.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shape_component.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shape_component.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shape_component.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shape_drawer.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shape_drawer.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shape_drawer.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shape_drawer.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/arrow.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/arrow.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/arrow_multi.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow_multi.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/arrow_multi.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/arrow_multi.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/bookmark.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/bookmark.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/bookmark.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/bookmark.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/circle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/circle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/circle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/circle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/cross.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/cross.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/cross.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/cross.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/hexagon.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/hexagon.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/hexagon.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/hexagon.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/index.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/index.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/index.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/index.ts diff --git a/src/plugins/expression_shape/public/components/shape/shapes/kite.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/kite.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/kite.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/kite.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/pentagon.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/pentagon.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/pentagon.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/pentagon.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/rhombus.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/rhombus.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/rhombus.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/rhombus.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/semicircle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/semicircle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/semicircle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/semicircle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/speech_bubble.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/speech_bubble.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/speech_bubble.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/speech_bubble.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/square.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/square.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/square.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/square.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/star.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/star.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/star.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/star.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/tag.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/tag.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/tag.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/tag.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/triangle.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/triangle.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle.tsx diff --git a/src/plugins/expression_shape/public/components/shape/shapes/triangle_right.tsx b/src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle_right.tsx similarity index 100% rename from src/plugins/expression_shape/public/components/shape/shapes/triangle_right.tsx rename to src/platform/plugins/shared/expression_shape/public/components/shape/shapes/triangle_right.tsx diff --git a/src/plugins/expression_shape/public/components/shape/types.ts b/src/platform/plugins/shared/expression_shape/public/components/shape/types.ts similarity index 100% rename from src/plugins/expression_shape/public/components/shape/types.ts rename to src/platform/plugins/shared/expression_shape/public/components/shape/types.ts diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/__snapshots__/shape.stories.storyshot diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/progress_renderer.stories.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/__stories__/shape_renderer.stories.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/index.ts b/src/platform/plugins/shared/expression_shape/public/expression_renderers/index.ts similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/index.ts rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/index.ts diff --git a/src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/progress_renderer.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/progress_renderer.tsx diff --git a/src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx b/src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx similarity index 100% rename from src/plugins/expression_shape/public/expression_renderers/shape_renderer.tsx rename to src/platform/plugins/shared/expression_shape/public/expression_renderers/shape_renderer.tsx diff --git a/src/plugins/expression_shape/public/index.ts b/src/platform/plugins/shared/expression_shape/public/index.ts similarity index 100% rename from src/plugins/expression_shape/public/index.ts rename to src/platform/plugins/shared/expression_shape/public/index.ts diff --git a/src/plugins/expression_shape/public/plugin.ts b/src/platform/plugins/shared/expression_shape/public/plugin.ts similarity index 100% rename from src/plugins/expression_shape/public/plugin.ts rename to src/platform/plugins/shared/expression_shape/public/plugin.ts diff --git a/src/plugins/expression_shape/server/index.ts b/src/platform/plugins/shared/expression_shape/server/index.ts similarity index 100% rename from src/plugins/expression_shape/server/index.ts rename to src/platform/plugins/shared/expression_shape/server/index.ts diff --git a/src/plugins/expression_shape/server/plugin.ts b/src/platform/plugins/shared/expression_shape/server/plugin.ts similarity index 100% rename from src/plugins/expression_shape/server/plugin.ts rename to src/platform/plugins/shared/expression_shape/server/plugin.ts diff --git a/src/plugins/expression_shape/tsconfig.json b/src/platform/plugins/shared/expression_shape/tsconfig.json similarity index 90% rename from src/plugins/expression_shape/tsconfig.json rename to src/platform/plugins/shared/expression_shape/tsconfig.json index 5c99b7a58ee85..9f2e65cc3d2e9 100644 --- a/src/plugins/expression_shape/tsconfig.json +++ b/src/platform/plugins/shared/expression_shape/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "isolatedModules": true diff --git a/src/plugins/inspector/README.md b/src/platform/plugins/shared/inspector/README.md similarity index 100% rename from src/plugins/inspector/README.md rename to src/platform/plugins/shared/inspector/README.md diff --git a/src/plugins/inspector/common/adapters/index.ts b/src/platform/plugins/shared/inspector/common/adapters/index.ts similarity index 100% rename from src/plugins/inspector/common/adapters/index.ts rename to src/platform/plugins/shared/inspector/common/adapters/index.ts diff --git a/src/plugins/inspector/common/adapters/request/index.ts b/src/platform/plugins/shared/inspector/common/adapters/request/index.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/index.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/index.ts diff --git a/src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.test.ts b/src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.test.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.test.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.test.ts diff --git a/src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.ts b/src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/move_request_params_to_top_level.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/move_request_params_to_top_level.ts diff --git a/src/plugins/inspector/common/adapters/request/request_adapter.test.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.test.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_adapter.test.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.test.ts diff --git a/src/plugins/inspector/common/adapters/request/request_adapter.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_adapter.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_adapter.ts diff --git a/src/plugins/inspector/common/adapters/request/request_responder.ts b/src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/request_responder.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/request_responder.ts diff --git a/src/plugins/inspector/common/adapters/request/types.ts b/src/platform/plugins/shared/inspector/common/adapters/request/types.ts similarity index 100% rename from src/plugins/inspector/common/adapters/request/types.ts rename to src/platform/plugins/shared/inspector/common/adapters/request/types.ts diff --git a/src/plugins/inspector/common/adapters/types.ts b/src/platform/plugins/shared/inspector/common/adapters/types.ts similarity index 100% rename from src/plugins/inspector/common/adapters/types.ts rename to src/platform/plugins/shared/inspector/common/adapters/types.ts diff --git a/src/plugins/inspector/common/index.ts b/src/platform/plugins/shared/inspector/common/index.ts similarity index 100% rename from src/plugins/inspector/common/index.ts rename to src/platform/plugins/shared/inspector/common/index.ts diff --git a/src/plugins/expression_repeat_image/jest.config.js b/src/platform/plugins/shared/inspector/jest.config.js similarity index 75% rename from src/plugins/expression_repeat_image/jest.config.js rename to src/platform/plugins/shared/inspector/jest.config.js index 75fd80914f229..71c91aca5cd77 100644 --- a/src/plugins/expression_repeat_image/jest.config.js +++ b/src/platform/plugins/shared/inspector/jest.config.js @@ -9,11 +9,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_repeat_image'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_repeat_image', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/inspector'], + coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/inspector', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/src/plugins/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', + '/src/platform/plugins/shared/inspector/{common,public}/**/*.{ts,tsx}', ], }; diff --git a/src/plugins/inspector/kibana.jsonc b/src/platform/plugins/shared/inspector/kibana.jsonc similarity index 100% rename from src/plugins/inspector/kibana.jsonc rename to src/platform/plugins/shared/inspector/kibana.jsonc diff --git a/src/plugins/inspector/public/adapters/has_inspector_adapters.ts b/src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts similarity index 100% rename from src/plugins/inspector/public/adapters/has_inspector_adapters.ts rename to src/platform/plugins/shared/inspector/public/adapters/has_inspector_adapters.ts diff --git a/src/plugins/inspector/public/index.scss b/src/platform/plugins/shared/inspector/public/index.scss similarity index 100% rename from src/plugins/inspector/public/index.scss rename to src/platform/plugins/shared/inspector/public/index.scss diff --git a/src/plugins/inspector/public/index.ts b/src/platform/plugins/shared/inspector/public/index.ts similarity index 96% rename from src/plugins/inspector/public/index.ts rename to src/platform/plugins/shared/inspector/public/index.ts index 1b42bab18e1d0..3a77dc27f42d7 100644 --- a/src/plugins/inspector/public/index.ts +++ b/src/platform/plugins/shared/inspector/public/index.ts @@ -8,7 +8,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/109900 -/* eslint-disable @kbn/eslint/no_export_all */ import './index.scss'; diff --git a/src/plugins/inspector/public/mocks.ts b/src/platform/plugins/shared/inspector/public/mocks.ts similarity index 100% rename from src/plugins/inspector/public/mocks.ts rename to src/platform/plugins/shared/inspector/public/mocks.ts diff --git a/src/plugins/inspector/public/plugin.tsx b/src/platform/plugins/shared/inspector/public/plugin.tsx similarity index 100% rename from src/plugins/inspector/public/plugin.tsx rename to src/platform/plugins/shared/inspector/public/plugin.tsx diff --git a/src/plugins/inspector/public/test/is_available.test.ts b/src/platform/plugins/shared/inspector/public/test/is_available.test.ts similarity index 100% rename from src/plugins/inspector/public/test/is_available.test.ts rename to src/platform/plugins/shared/inspector/public/test/is_available.test.ts diff --git a/src/plugins/inspector/public/test/open.test.ts b/src/platform/plugins/shared/inspector/public/test/open.test.ts similarity index 100% rename from src/plugins/inspector/public/test/open.test.ts rename to src/platform/plugins/shared/inspector/public/test/open.test.ts diff --git a/src/plugins/inspector/public/types.ts b/src/platform/plugins/shared/inspector/public/types.ts similarity index 100% rename from src/plugins/inspector/public/types.ts rename to src/platform/plugins/shared/inspector/public/types.ts diff --git a/src/plugins/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap b/src/platform/plugins/shared/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/ui/__snapshots__/inspector_panel.test.tsx.snap diff --git a/src/plugins/inspector/public/ui/inspector_panel.scss b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.scss similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.scss rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.scss diff --git a/src/plugins/inspector/public/ui/inspector_panel.test.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.test.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.test.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.test.tsx diff --git a/src/plugins/inspector/public/ui/inspector_panel.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_panel.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_panel.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_panel.tsx diff --git a/src/plugins/inspector/public/ui/inspector_view_chooser.tsx b/src/platform/plugins/shared/inspector/public/ui/inspector_view_chooser.tsx similarity index 100% rename from src/plugins/inspector/public/ui/inspector_view_chooser.tsx rename to src/platform/plugins/shared/inspector/public/ui/inspector_view_chooser.tsx diff --git a/src/plugins/inspector/public/view_registry.test.ts b/src/platform/plugins/shared/inspector/public/view_registry.test.ts similarity index 100% rename from src/plugins/inspector/public/view_registry.test.ts rename to src/platform/plugins/shared/inspector/public/view_registry.test.ts diff --git a/src/plugins/inspector/public/view_registry.ts b/src/platform/plugins/shared/inspector/public/view_registry.ts similarity index 100% rename from src/plugins/inspector/public/view_registry.ts rename to src/platform/plugins/shared/inspector/public/view_registry.ts diff --git a/src/plugins/inspector/public/views/_index.scss b/src/platform/plugins/shared/inspector/public/views/_index.scss similarity index 100% rename from src/plugins/inspector/public/views/_index.scss rename to src/platform/plugins/shared/inspector/public/views/_index.scss diff --git a/src/plugins/inspector/public/views/index.ts b/src/platform/plugins/shared/inspector/public/views/index.ts similarity index 100% rename from src/plugins/inspector/public/views/index.ts rename to src/platform/plugins/shared/inspector/public/views/index.ts diff --git a/src/plugins/inspector/public/views/requests/_index.scss b/src/platform/plugins/shared/inspector/public/views/requests/_index.scss similarity index 100% rename from src/plugins/inspector/public/views/requests/_index.scss rename to src/platform/plugins/shared/inspector/public/views/requests/_index.scss diff --git a/src/plugins/inspector/public/views/requests/_requests.scss b/src/platform/plugins/shared/inspector/public/views/requests/_requests.scss similarity index 100% rename from src/plugins/inspector/public/views/requests/_requests.scss rename to src/platform/plugins/shared/inspector/public/views/requests/_requests.scss diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/cluster_health.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/clusters_health.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/gradient.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_health/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/__snapshots__/cluster_view.test.tsx.snap diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/cluster_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/clusters_table.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/__snapshots__/shards_view.test.tsx.snap diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/open_shard_failure_flyout_button.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_details.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_flyout.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shard_failure_table.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_table/shards_view/shards_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.test.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/find_clusters.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_cluster.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/local_clusters.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/index.ts diff --git a/src/plugins/inspector/public/views/requests/components/details/req_code_viewer.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_code_viewer.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_code_viewer.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_code_viewer.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_request.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_request_content.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request_content.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_request_content.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_request_content.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_response.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_response.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_response.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_stats.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/req_details_stats.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/req_details_stats.tsx diff --git a/src/plugins/inspector/public/views/requests/components/details/types.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/details/types.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/details/types.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/details/types.ts diff --git a/src/plugins/inspector/public/views/requests/components/disambiguate_request_names.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/disambiguate_request_names.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/disambiguate_request_names.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/disambiguate_request_names.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/disambiguate_request_names.ts diff --git a/src/plugins/inspector/public/views/requests/components/get_next_tab.test.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.test.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/get_next_tab.test.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.test.ts diff --git a/src/plugins/inspector/public/views/requests/components/get_next_tab.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/get_next_tab.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/get_next_tab.ts diff --git a/src/plugins/inspector/public/views/requests/components/request_details.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/request_details.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/request_details.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/request_details.tsx diff --git a/src/plugins/inspector/public/views/requests/components/request_selector.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/request_selector.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/request_selector.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/request_selector.tsx diff --git a/src/plugins/inspector/public/views/requests/components/requests_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/requests_view.tsx similarity index 100% rename from src/plugins/inspector/public/views/requests/components/requests_view.tsx rename to src/platform/plugins/shared/inspector/public/views/requests/components/requests_view.tsx diff --git a/src/plugins/inspector/public/views/requests/components/types.ts b/src/platform/plugins/shared/inspector/public/views/requests/components/types.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/components/types.ts rename to src/platform/plugins/shared/inspector/public/views/requests/components/types.ts diff --git a/src/plugins/inspector/public/views/requests/index.ts b/src/platform/plugins/shared/inspector/public/views/requests/index.ts similarity index 100% rename from src/plugins/inspector/public/views/requests/index.ts rename to src/platform/plugins/shared/inspector/public/views/requests/index.ts diff --git a/src/plugins/inspector/tsconfig.json b/src/platform/plugins/shared/inspector/tsconfig.json similarity index 91% rename from src/plugins/inspector/tsconfig.json rename to src/platform/plugins/shared/inspector/tsconfig.json index f0a23ddf01958..0b0b7217ef8f9 100644 --- a/src/plugins/inspector/tsconfig.json +++ b/src/platform/plugins/shared/inspector/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/src/plugins/presentation_util/README.mdx b/src/platform/plugins/shared/presentation_util/README.mdx similarity index 100% rename from src/plugins/presentation_util/README.mdx rename to src/platform/plugins/shared/presentation_util/README.mdx diff --git a/src/plugins/presentation_util/common/index.ts b/src/platform/plugins/shared/presentation_util/common/index.ts similarity index 100% rename from src/plugins/presentation_util/common/index.ts rename to src/platform/plugins/shared/presentation_util/common/index.ts diff --git a/src/plugins/presentation_util/common/labs.ts b/src/platform/plugins/shared/presentation_util/common/labs.ts similarity index 100% rename from src/plugins/presentation_util/common/labs.ts rename to src/platform/plugins/shared/presentation_util/common/labs.ts diff --git a/src/plugins/presentation_util/common/lib/index.ts b/src/platform/plugins/shared/presentation_util/common/lib/index.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/index.ts rename to src/platform/plugins/shared/presentation_util/common/lib/index.ts diff --git a/src/plugins/presentation_util/common/lib/utils/dataurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/dataurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/dataurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/dataurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/dataurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/elastic_logo.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_logo.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/elastic_logo.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_logo.ts diff --git a/src/plugins/presentation_util/common/lib/utils/elastic_outline.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_outline.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/elastic_outline.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/elastic_outline.ts diff --git a/src/plugins/presentation_util/common/lib/utils/httpurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/httpurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/httpurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/httpurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/httpurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/index.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/index.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/index.ts diff --git a/src/plugins/presentation_util/common/lib/utils/missing_asset.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/missing_asset.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/missing_asset.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/missing_asset.ts diff --git a/src/plugins/presentation_util/common/lib/utils/resolve_dataurl.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/resolve_dataurl.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/resolve_dataurl.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/resolve_dataurl.ts diff --git a/src/plugins/presentation_util/common/lib/utils/url.test.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/url.test.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/url.test.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/url.test.ts diff --git a/src/plugins/presentation_util/common/lib/utils/url.ts b/src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts similarity index 100% rename from src/plugins/presentation_util/common/lib/utils/url.ts rename to src/platform/plugins/shared/presentation_util/common/lib/utils/url.ts diff --git a/src/platform/plugins/shared/presentation_util/jest.config.js b/src/platform/plugins/shared/presentation_util/jest.config.js new file mode 100644 index 0000000000000..c059676c0cd10 --- /dev/null +++ b/src/platform/plugins/shared/presentation_util/jest.config.js @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/src/platform/plugins/shared/presentation_util'], + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/presentation_util', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/presentation_util/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/src/plugins/presentation_util/kibana.jsonc b/src/platform/plugins/shared/presentation_util/kibana.jsonc similarity index 100% rename from src/plugins/presentation_util/kibana.jsonc rename to src/platform/plugins/shared/presentation_util/kibana.jsonc diff --git a/src/plugins/presentation_util/public/__stories__/fixtures/flights.ts b/src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights.ts similarity index 100% rename from src/plugins/presentation_util/public/__stories__/fixtures/flights.ts rename to src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights.ts diff --git a/src/plugins/presentation_util/public/__stories__/fixtures/flights_data.ts b/src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights_data.ts similarity index 100% rename from src/plugins/presentation_util/public/__stories__/fixtures/flights_data.ts rename to src/platform/plugins/shared/presentation_util/public/__stories__/fixtures/flights_data.ts diff --git a/src/plugins/presentation_util/public/__stories__/index.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/index.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/index.tsx diff --git a/src/plugins/presentation_util/public/__stories__/render.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/render.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/render.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/render.tsx diff --git a/src/plugins/presentation_util/public/__stories__/wait_for.tsx b/src/platform/plugins/shared/presentation_util/public/__stories__/wait_for.tsx similarity index 100% rename from src/plugins/presentation_util/public/__stories__/wait_for.tsx rename to src/platform/plugins/shared/presentation_util/public/__stories__/wait_for.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/dashboard_drilldown_options.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts b/src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_drilldown_options/types.ts rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_drilldown_options/types.ts diff --git a/src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/dashboard_picker/dashboard_picker.tsx diff --git a/src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/data_view_picker/data_view_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/data_view_picker/data_view_picker.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/autocomplete.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/autocomplete.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/autocomplete.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/autocomplete.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/constants.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/constants.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/constants.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/constants.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/expression_input.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/expression_input.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.stories.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/expression_input.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/expression_input.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/expression_input.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/index.tsx b/src/platform/plugins/shared/presentation_util/public/components/expression_input/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/index.tsx rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/index.tsx diff --git a/src/plugins/presentation_util/public/components/expression_input/language.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/language.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/language.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/language.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/providers.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/providers.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/providers.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/providers.ts diff --git a/src/plugins/presentation_util/public/components/expression_input/reference.ts b/src/platform/plugins/shared/presentation_util/public/components/expression_input/reference.ts similarity index 100% rename from src/plugins/presentation_util/public/components/expression_input/reference.ts rename to src/platform/plugins/shared/presentation_util/public/components/expression_input/reference.ts diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.scss b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.scss similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.scss rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.scss diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.stories.tsx diff --git a/src/plugins/presentation_util/public/components/field_picker/field_picker.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_picker.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_picker.tsx diff --git a/src/plugins/presentation_util/public/components/field_picker/field_type_filter.tsx b/src/platform/plugins/shared/presentation_util/public/components/field_picker/field_type_filter.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/field_picker/field_type_filter.tsx rename to src/platform/plugins/shared/presentation_util/public/components/field_picker/field_type_filter.tsx diff --git a/src/plugins/presentation_util/public/components/floating_actions/floating_actions.scss b/src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.scss similarity index 100% rename from src/plugins/presentation_util/public/components/floating_actions/floating_actions.scss rename to src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.scss diff --git a/src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx b/src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/floating_actions/floating_actions.tsx rename to src/platform/plugins/shared/presentation_util/public/components/floating_actions/floating_actions.tsx diff --git a/src/plugins/presentation_util/public/components/index.tsx b/src/platform/plugins/shared/presentation_util/public/components/index.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/index.tsx rename to src/platform/plugins/shared/presentation_util/public/components/index.tsx diff --git a/src/plugins/presentation_util/public/components/labs/environment_switch.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/environment_switch.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/environment_switch.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/environment_switch.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs.stories.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs_beaker_button.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs_beaker_button.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs_beaker_button.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs_beaker_button.tsx diff --git a/src/plugins/presentation_util/public/components/labs/labs_flyout.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/labs_flyout.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/labs_flyout.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/labs_flyout.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.scss b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.scss similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.scss rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.scss diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.stories.tsx diff --git a/src/plugins/presentation_util/public/components/labs/project_list_item.tsx b/src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/labs/project_list_item.tsx rename to src/platform/plugins/shared/presentation_util/public/components/labs/project_list_item.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.stories.tsx diff --git a/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx b/src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx rename to src/platform/plugins/shared/presentation_util/public/components/saved_object_save_modal_dashboard_selector.tsx diff --git a/src/plugins/presentation_util/public/components/types.ts b/src/platform/plugins/shared/presentation_util/public/components/types.ts similarity index 100% rename from src/plugins/presentation_util/public/components/types.ts rename to src/platform/plugins/shared/presentation_util/public/components/types.ts diff --git a/src/plugins/presentation_util/public/i18n/dashboard_drilldown_config.tsx b/src/platform/plugins/shared/presentation_util/public/i18n/dashboard_drilldown_config.tsx similarity index 100% rename from src/plugins/presentation_util/public/i18n/dashboard_drilldown_config.tsx rename to src/platform/plugins/shared/presentation_util/public/i18n/dashboard_drilldown_config.tsx diff --git a/src/plugins/presentation_util/public/i18n/index.ts b/src/platform/plugins/shared/presentation_util/public/i18n/index.ts similarity index 100% rename from src/plugins/presentation_util/public/i18n/index.ts rename to src/platform/plugins/shared/presentation_util/public/i18n/index.ts diff --git a/src/plugins/presentation_util/public/i18n/labs.tsx b/src/platform/plugins/shared/presentation_util/public/i18n/labs.tsx similarity index 100% rename from src/plugins/presentation_util/public/i18n/labs.tsx rename to src/platform/plugins/shared/presentation_util/public/i18n/labs.tsx diff --git a/src/plugins/presentation_util/public/index.ts b/src/platform/plugins/shared/presentation_util/public/index.ts similarity index 100% rename from src/plugins/presentation_util/public/index.ts rename to src/platform/plugins/shared/presentation_util/public/index.ts diff --git a/src/plugins/presentation_util/public/mocks.ts b/src/platform/plugins/shared/presentation_util/public/mocks.ts similarity index 100% rename from src/plugins/presentation_util/public/mocks.ts rename to src/platform/plugins/shared/presentation_util/public/mocks.ts diff --git a/src/plugins/presentation_util/public/plugin.ts b/src/platform/plugins/shared/presentation_util/public/plugin.ts similarity index 100% rename from src/plugins/presentation_util/public/plugin.ts rename to src/platform/plugins/shared/presentation_util/public/plugin.ts diff --git a/src/plugins/presentation_util/public/services/kibana_services.ts b/src/platform/plugins/shared/presentation_util/public/services/kibana_services.ts similarity index 100% rename from src/plugins/presentation_util/public/services/kibana_services.ts rename to src/platform/plugins/shared/presentation_util/public/services/kibana_services.ts diff --git a/src/plugins/presentation_util/public/services/mocks.ts b/src/platform/plugins/shared/presentation_util/public/services/mocks.ts similarity index 100% rename from src/plugins/presentation_util/public/services/mocks.ts rename to src/platform/plugins/shared/presentation_util/public/services/mocks.ts diff --git a/src/plugins/presentation_util/public/services/presentation_labs_service.ts b/src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts similarity index 100% rename from src/plugins/presentation_util/public/services/presentation_labs_service.ts rename to src/platform/plugins/shared/presentation_util/public/services/presentation_labs_service.ts diff --git a/src/plugins/presentation_util/public/types.ts b/src/platform/plugins/shared/presentation_util/public/types.ts similarity index 100% rename from src/plugins/presentation_util/public/types.ts rename to src/platform/plugins/shared/presentation_util/public/types.ts diff --git a/src/plugins/presentation_util/public/utils/get_presentation_capabilities.ts b/src/platform/plugins/shared/presentation_util/public/utils/get_presentation_capabilities.ts similarity index 100% rename from src/plugins/presentation_util/public/utils/get_presentation_capabilities.ts rename to src/platform/plugins/shared/presentation_util/public/utils/get_presentation_capabilities.ts diff --git a/src/plugins/presentation_util/server/index.ts b/src/platform/plugins/shared/presentation_util/server/index.ts similarity index 100% rename from src/plugins/presentation_util/server/index.ts rename to src/platform/plugins/shared/presentation_util/server/index.ts diff --git a/src/plugins/presentation_util/server/plugin.ts b/src/platform/plugins/shared/presentation_util/server/plugin.ts similarity index 100% rename from src/plugins/presentation_util/server/plugin.ts rename to src/platform/plugins/shared/presentation_util/server/plugin.ts diff --git a/src/plugins/presentation_util/server/ui_settings.ts b/src/platform/plugins/shared/presentation_util/server/ui_settings.ts similarity index 100% rename from src/plugins/presentation_util/server/ui_settings.ts rename to src/platform/plugins/shared/presentation_util/server/ui_settings.ts diff --git a/src/plugins/presentation_util/storybook/decorator.tsx b/src/platform/plugins/shared/presentation_util/storybook/decorator.tsx similarity index 100% rename from src/plugins/presentation_util/storybook/decorator.tsx rename to src/platform/plugins/shared/presentation_util/storybook/decorator.tsx diff --git a/src/plugins/presentation_util/storybook/main.ts b/src/platform/plugins/shared/presentation_util/storybook/main.ts similarity index 92% rename from src/plugins/presentation_util/storybook/main.ts rename to src/platform/plugins/shared/presentation_util/storybook/main.ts index c51873a09b7f2..07c1304620aa0 100644 --- a/src/plugins/presentation_util/storybook/main.ts +++ b/src/platform/plugins/shared/presentation_util/storybook/main.ts @@ -14,5 +14,5 @@ module.exports = { define: { global: 'window', }, - stories: ['../../**/*.stories.+(tsx|mdx)'], + stories: ['../../../../**/*.stories.+(tsx|mdx)'], }; diff --git a/src/plugins/presentation_util/storybook/manager.ts b/src/platform/plugins/shared/presentation_util/storybook/manager.ts similarity index 87% rename from src/plugins/presentation_util/storybook/manager.ts rename to src/platform/plugins/shared/presentation_util/storybook/manager.ts index f336acb689a53..e879b1d1a234e 100644 --- a/src/plugins/presentation_util/storybook/manager.ts +++ b/src/platform/plugins/shared/presentation_util/storybook/manager.ts @@ -15,7 +15,8 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Kibana Presentation Utility Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/presentation_util', + brandUrl: + 'https://github.com/elastic/kibana/tree/main/src/platform/plugins/shared/presentation_util', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/src/plugins/presentation_util/storybook/preview.tsx b/src/platform/plugins/shared/presentation_util/storybook/preview.tsx similarity index 100% rename from src/plugins/presentation_util/storybook/preview.tsx rename to src/platform/plugins/shared/presentation_util/storybook/preview.tsx diff --git a/src/plugins/presentation_util/test_helpers/function_wrapper.ts b/src/platform/plugins/shared/presentation_util/test_helpers/function_wrapper.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/function_wrapper.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/function_wrapper.ts diff --git a/src/plugins/presentation_util/test_helpers/index.ts b/src/platform/plugins/shared/presentation_util/test_helpers/index.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/index.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/index.ts diff --git a/src/plugins/presentation_util/test_helpers/test_styles.ts b/src/platform/plugins/shared/presentation_util/test_helpers/test_styles.ts similarity index 100% rename from src/plugins/presentation_util/test_helpers/test_styles.ts rename to src/platform/plugins/shared/presentation_util/test_helpers/test_styles.ts diff --git a/src/plugins/presentation_util/tsconfig.json b/src/platform/plugins/shared/presentation_util/tsconfig.json similarity index 92% rename from src/plugins/presentation_util/tsconfig.json rename to src/platform/plugins/shared/presentation_util/tsconfig.json index 45b258a2a3733..44f61e43b1c24 100644 --- a/src/plugins/presentation_util/tsconfig.json +++ b/src/platform/plugins/shared/presentation_util/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -10,7 +10,7 @@ "server/**/*", "test_helpers/**/*", "storybook/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/src/plugins/controls/jest.config.js b/src/plugins/controls/jest.config.js deleted file mode 100644 index cd1396d9c60a6..0000000000000 --- a/src/plugins/controls/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/controls'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/controls', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/controls/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/controls/jest_setup.ts'], -}; diff --git a/src/plugins/dashboard/jest.config.js b/src/plugins/dashboard/jest.config.js deleted file mode 100644 index fb095ef361b06..0000000000000 --- a/src/plugins/dashboard/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/dashboard'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/dashboard', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/dashboard/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/dashboard/jest_setup.ts'], -}; diff --git a/src/plugins/embeddable/jest.config.js b/src/plugins/embeddable/jest.config.js deleted file mode 100644 index bbb53214d1e99..0000000000000 --- a/src/plugins/embeddable/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/embeddable'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/embeddable', - coverageReporters: ['text', 'html'], - setupFiles: ['/src/plugins/embeddable/jest_setup.ts'], - collectCoverageFrom: ['/src/plugins/embeddable/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/expression_shape/jest.config.js b/src/plugins/expression_shape/jest.config.js deleted file mode 100644 index db039178653bb..0000000000000 --- a/src/plugins/expression_shape/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/expression_shape'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_shape', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/expression_shape/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/input_control_vis/jest.config.js b/src/plugins/input_control_vis/jest.config.js deleted file mode 100644 index 21d88f50c056d..0000000000000 --- a/src/plugins/input_control_vis/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/input_control_vis'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/input_control_vis', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/input_control_vis/public/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/inspector/jest.config.js b/src/plugins/inspector/jest.config.js deleted file mode 100644 index 639569e8e6670..0000000000000 --- a/src/plugins/inspector/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/inspector'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/inspector', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/inspector/{common,public}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/links/jest.config.js b/src/plugins/links/jest.config.js deleted file mode 100644 index c0f838d194111..0000000000000 --- a/src/plugins/links/jest.config.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/links'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/links', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/links/{common,public,server}/**/*.{ts,tsx}'], - setupFiles: ['/src/plugins/links/jest_setup.ts'], -}; diff --git a/src/plugins/maps_ems/jest.config.js b/src/plugins/maps_ems/jest.config.js deleted file mode 100644 index 9f9bebc3967a4..0000000000000 --- a/src/plugins/maps_ems/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/maps_ems'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/maps_ems', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/maps_ems/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/src/plugins/presentation_panel/jest.config.js b/src/plugins/presentation_panel/jest.config.js deleted file mode 100644 index a6812377c7175..0000000000000 --- a/src/plugins/presentation_panel/jest.config.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/presentation_panel'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/presentation_panel', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/presentation_panel/{common,public,server}/**/*.{ts,tsx}', - ], - setupFiles: ['/src/plugins/presentation_panel/jest_setup.ts'], -}; diff --git a/src/plugins/presentation_util/jest.config.js b/src/plugins/presentation_util/jest.config.js deleted file mode 100644 index 5c94c3289bf82..0000000000000 --- a/src/plugins/presentation_util/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/presentation_util'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/presentation_util', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/src/plugins/presentation_util/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/src/plugins/telemetry/schema/oss_platform.json b/src/plugins/telemetry/schema/oss_platform.json index d5b0514b64918..7129b51740ffb 100644 --- a/src/plugins/telemetry/schema/oss_platform.json +++ b/src/plugins/telemetry/schema/oss_platform.json @@ -1,3 +1,118 @@ { - "properties": {} + "properties": { + "dashboard": { + "properties": { + "panels": { + "properties": { + "total": { + "type": "long" + }, + "by_reference": { + "type": "long" + }, + "by_value": { + "type": "long" + }, + "by_type": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The number of panels that have been added to all dashboards." + } + }, + "by_reference": { + "type": "long", + "_meta": { + "description": "The number of \"by reference\" panels that have been added to all dashboards." + } + }, + "by_value": { + "type": "long", + "_meta": { + "description": "The number of \"by value\" panels that have been added to all dashboards." + } + }, + "details": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that embeddable service reports. Embeddable service internally calls each embeddable, which in turn calls its dynamic actions, which calls each drill down attached to that embeddable." + } + } + } + } + } + } + } + } + } + }, + "controls": { + "properties": { + "total": { + "type": "long" + }, + "by_type": { + "properties": { + "DYNAMIC_KEY": { + "properties": { + "total": { + "type": "long", + "_meta": { + "description": "The number of this type of control in all Control Groups" + } + }, + "details": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that embeddable service reports. Will be used for details which are specific to the current control type" + } + } + } + } + } + } + } + }, + "ignore_settings": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which have this ignore setting turned on" + } + } + } + }, + "chaining_system": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which are using this chaining system" + } + } + } + }, + "label_position": { + "properties": { + "DYNAMIC_KEY": { + "type": "long", + "_meta": { + "description": "Collection of telemetry metrics that count the number of control groups which have their labels in this position" + } + } + } + } + } + } + } + } + } } diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index 2fb6314a348b9..56fd92fedb63c 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -9720,120 +9720,6 @@ } } }, - "dashboard": { - "properties": { - "panels": { - "properties": { - "total": { - "type": "long" - }, - "by_reference": { - "type": "long" - }, - "by_value": { - "type": "long" - }, - "by_type": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The number of panels that have been added to all dashboards." - } - }, - "by_reference": { - "type": "long", - "_meta": { - "description": "The number of \"by reference\" panels that have been added to all dashboards." - } - }, - "by_value": { - "type": "long", - "_meta": { - "description": "The number of \"by value\" panels that have been added to all dashboards." - } - }, - "details": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that embeddable service reports. Embeddable service internally calls each embeddable, which in turn calls its dynamic actions, which calls each drill down attached to that embeddable." - } - } - } - } - } - } - } - } - } - }, - "controls": { - "properties": { - "total": { - "type": "long" - }, - "by_type": { - "properties": { - "DYNAMIC_KEY": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "The number of this type of control in all Control Groups" - } - }, - "details": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that embeddable service reports. Will be used for details which are specific to the current control type" - } - } - } - } - } - } - } - }, - "ignore_settings": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which have this ignore setting turned on" - } - } - } - }, - "chaining_system": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which are using this chaining system" - } - } - } - }, - "label_position": { - "properties": { - "DYNAMIC_KEY": { - "type": "long", - "_meta": { - "description": "Collection of telemetry metrics that count the number of control groups which have their labels in this position" - } - } - } - } - } - } - } - }, "event_loop_delays": { "properties": { "daily": { diff --git a/src/plugins/vis_type_markdown/jest.config.js b/src/plugins/vis_type_markdown/jest.config.js deleted file mode 100644 index d74d7c51bd609..0000000000000 --- a/src/plugins/vis_type_markdown/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/vis_type_markdown'], - coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_type_markdown', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/plugins/vis_type_markdown/{public,server}/**/*.{ts,tsx}'], -}; diff --git a/tsconfig.base.json b/tsconfig.base.json index 84c8cb68d811a..71f14340765ff 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -6,12 +6,12 @@ // START AUTOMATED PACKAGE LISTING "@kbn/aad-fixtures-plugin": ["x-pack/test/alerting_api_integration/common/plugins/aad"], "@kbn/aad-fixtures-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/aad/*"], - "@kbn/actions-plugin": ["x-pack/plugins/actions"], - "@kbn/actions-plugin/*": ["x-pack/plugins/actions/*"], + "@kbn/actions-plugin": ["x-pack/platform/plugins/shared/actions"], + "@kbn/actions-plugin/*": ["x-pack/platform/plugins/shared/actions/*"], "@kbn/actions-simulators-plugin": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators"], "@kbn/actions-simulators-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/actions_simulators/*"], - "@kbn/actions-types": ["packages/kbn-actions-types"], - "@kbn/actions-types/*": ["packages/kbn-actions-types/*"], + "@kbn/actions-types": ["src/platform/packages/shared/kbn-actions-types"], + "@kbn/actions-types/*": ["src/platform/packages/shared/kbn-actions-types/*"], "@kbn/advanced-settings-plugin": ["src/plugins/advanced_settings"], "@kbn/advanced-settings-plugin/*": ["src/plugins/advanced_settings/*"], "@kbn/ai-assistant": ["x-pack/packages/kbn-ai-assistant"], @@ -40,26 +40,26 @@ "@kbn/alerting-api-integration-helpers/*": ["x-pack/test/alerting_api_integration/packages/helpers/*"], "@kbn/alerting-api-integration-test-plugin": ["x-pack/test/alerting_api_integration/common/plugins/alerts"], "@kbn/alerting-api-integration-test-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/alerts/*"], - "@kbn/alerting-comparators": ["x-pack/packages/kbn-alerting-comparators"], - "@kbn/alerting-comparators/*": ["x-pack/packages/kbn-alerting-comparators/*"], + "@kbn/alerting-comparators": ["x-pack/platform/packages/shared/kbn-alerting-comparators"], + "@kbn/alerting-comparators/*": ["x-pack/platform/packages/shared/kbn-alerting-comparators/*"], "@kbn/alerting-example-plugin": ["x-pack/examples/alerting_example"], "@kbn/alerting-example-plugin/*": ["x-pack/examples/alerting_example/*"], "@kbn/alerting-fixture-plugin": ["x-pack/test/functional_with_es_ssl/plugins/alerts"], "@kbn/alerting-fixture-plugin/*": ["x-pack/test/functional_with_es_ssl/plugins/alerts/*"], - "@kbn/alerting-plugin": ["x-pack/plugins/alerting"], - "@kbn/alerting-plugin/*": ["x-pack/plugins/alerting/*"], - "@kbn/alerting-state-types": ["x-pack/packages/kbn-alerting-state-types"], - "@kbn/alerting-state-types/*": ["x-pack/packages/kbn-alerting-state-types/*"], - "@kbn/alerting-types": ["packages/kbn-alerting-types"], - "@kbn/alerting-types/*": ["packages/kbn-alerting-types/*"], - "@kbn/alerts-as-data-utils": ["packages/kbn-alerts-as-data-utils"], - "@kbn/alerts-as-data-utils/*": ["packages/kbn-alerts-as-data-utils/*"], - "@kbn/alerts-grouping": ["packages/kbn-alerts-grouping"], - "@kbn/alerts-grouping/*": ["packages/kbn-alerts-grouping/*"], + "@kbn/alerting-plugin": ["x-pack/platform/plugins/shared/alerting"], + "@kbn/alerting-plugin/*": ["x-pack/platform/plugins/shared/alerting/*"], + "@kbn/alerting-state-types": ["x-pack/platform/packages/private/kbn-alerting-state-types"], + "@kbn/alerting-state-types/*": ["x-pack/platform/packages/private/kbn-alerting-state-types/*"], + "@kbn/alerting-types": ["src/platform/packages/shared/kbn-alerting-types"], + "@kbn/alerting-types/*": ["src/platform/packages/shared/kbn-alerting-types/*"], + "@kbn/alerts-as-data-utils": ["src/platform/packages/shared/kbn-alerts-as-data-utils"], + "@kbn/alerts-as-data-utils/*": ["src/platform/packages/shared/kbn-alerts-as-data-utils/*"], + "@kbn/alerts-grouping": ["x-pack/solutions/observability/packages/kbn-alerts-grouping"], + "@kbn/alerts-grouping/*": ["x-pack/solutions/observability/packages/kbn-alerts-grouping/*"], "@kbn/alerts-restricted-fixtures-plugin": ["x-pack/test/alerting_api_integration/common/plugins/alerts_restricted"], "@kbn/alerts-restricted-fixtures-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/alerts_restricted/*"], - "@kbn/alerts-ui-shared": ["packages/kbn-alerts-ui-shared"], - "@kbn/alerts-ui-shared/*": ["packages/kbn-alerts-ui-shared/*"], + "@kbn/alerts-ui-shared": ["src/platform/packages/shared/kbn-alerts-ui-shared"], + "@kbn/alerts-ui-shared/*": ["src/platform/packages/shared/kbn-alerts-ui-shared/*"], "@kbn/ambient-common-types": ["packages/kbn-ambient-common-types"], "@kbn/ambient-common-types/*": ["packages/kbn-ambient-common-types/*"], "@kbn/ambient-ftr-types": ["packages/kbn-ambient-ftr-types"], @@ -120,16 +120,16 @@ "@kbn/calculate-auto/*": ["packages/kbn-calculate-auto/*"], "@kbn/calculate-width-from-char-count": ["packages/kbn-calculate-width-from-char-count"], "@kbn/calculate-width-from-char-count/*": ["packages/kbn-calculate-width-from-char-count/*"], - "@kbn/canvas-plugin": ["x-pack/plugins/canvas"], - "@kbn/canvas-plugin/*": ["x-pack/plugins/canvas/*"], + "@kbn/canvas-plugin": ["x-pack/platform/plugins/private/canvas"], + "@kbn/canvas-plugin/*": ["x-pack/platform/plugins/private/canvas/*"], "@kbn/capture-oas-snapshot-cli": ["packages/kbn-capture-oas-snapshot-cli"], "@kbn/capture-oas-snapshot-cli/*": ["packages/kbn-capture-oas-snapshot-cli/*"], "@kbn/cases-api-integration-test-plugin": ["x-pack/test/cases_api_integration/common/plugins/cases"], "@kbn/cases-api-integration-test-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/cases/*"], - "@kbn/cases-components": ["packages/kbn-cases-components"], - "@kbn/cases-components/*": ["packages/kbn-cases-components/*"], - "@kbn/cases-plugin": ["x-pack/plugins/cases"], - "@kbn/cases-plugin/*": ["x-pack/plugins/cases/*"], + "@kbn/cases-components": ["src/platform/packages/shared/kbn-cases-components"], + "@kbn/cases-components/*": ["src/platform/packages/shared/kbn-cases-components/*"], + "@kbn/cases-plugin": ["x-pack/platform/plugins/shared/cases"], + "@kbn/cases-plugin/*": ["x-pack/platform/plugins/shared/cases/*"], "@kbn/cbor": ["packages/kbn-cbor"], "@kbn/cbor/*": ["packages/kbn-cbor/*"], "@kbn/cell-actions": ["src/platform/packages/shared/kbn-cell-actions"], @@ -228,44 +228,44 @@ "@kbn/content-management-utils/*": ["packages/kbn-content-management-utils/*"], "@kbn/controls-example-plugin": ["examples/controls_example"], "@kbn/controls-example-plugin/*": ["examples/controls_example/*"], - "@kbn/controls-plugin": ["src/plugins/controls"], - "@kbn/controls-plugin/*": ["src/plugins/controls/*"], + "@kbn/controls-plugin": ["src/platform/plugins/shared/controls"], + "@kbn/controls-plugin/*": ["src/platform/plugins/shared/controls/*"], "@kbn/core": ["src/core"], "@kbn/core/*": ["src/core/*"], - "@kbn/core-analytics-browser": ["packages/core/analytics/core-analytics-browser"], - "@kbn/core-analytics-browser/*": ["packages/core/analytics/core-analytics-browser/*"], - "@kbn/core-analytics-browser-internal": ["packages/core/analytics/core-analytics-browser-internal"], - "@kbn/core-analytics-browser-internal/*": ["packages/core/analytics/core-analytics-browser-internal/*"], + "@kbn/core-analytics-browser": ["src/core/packages/analytics/browser"], + "@kbn/core-analytics-browser/*": ["src/core/packages/analytics/browser/*"], + "@kbn/core-analytics-browser-internal": ["src/core/packages/analytics/browser-internal"], + "@kbn/core-analytics-browser-internal/*": ["src/core/packages/analytics/browser-internal/*"], "@kbn/core-analytics-browser-mocks": ["packages/core/analytics/core-analytics-browser-mocks"], "@kbn/core-analytics-browser-mocks/*": ["packages/core/analytics/core-analytics-browser-mocks/*"], - "@kbn/core-analytics-server": ["packages/core/analytics/core-analytics-server"], - "@kbn/core-analytics-server/*": ["packages/core/analytics/core-analytics-server/*"], - "@kbn/core-analytics-server-internal": ["packages/core/analytics/core-analytics-server-internal"], - "@kbn/core-analytics-server-internal/*": ["packages/core/analytics/core-analytics-server-internal/*"], + "@kbn/core-analytics-server": ["src/core/packages/analytics/server"], + "@kbn/core-analytics-server/*": ["src/core/packages/analytics/server/*"], + "@kbn/core-analytics-server-internal": ["src/core/packages/analytics/server-internal"], + "@kbn/core-analytics-server-internal/*": ["src/core/packages/analytics/server-internal/*"], "@kbn/core-analytics-server-mocks": ["packages/core/analytics/core-analytics-server-mocks"], "@kbn/core-analytics-server-mocks/*": ["packages/core/analytics/core-analytics-server-mocks/*"], "@kbn/core-app-status-plugin": ["test/plugin_functional/plugins/core_app_status"], "@kbn/core-app-status-plugin/*": ["test/plugin_functional/plugins/core_app_status/*"], - "@kbn/core-application-browser": ["packages/core/application/core-application-browser"], - "@kbn/core-application-browser/*": ["packages/core/application/core-application-browser/*"], - "@kbn/core-application-browser-internal": ["packages/core/application/core-application-browser-internal"], - "@kbn/core-application-browser-internal/*": ["packages/core/application/core-application-browser-internal/*"], + "@kbn/core-application-browser": ["src/core/packages/application/browser"], + "@kbn/core-application-browser/*": ["src/core/packages/application/browser/*"], + "@kbn/core-application-browser-internal": ["src/core/packages/application/browser-internal"], + "@kbn/core-application-browser-internal/*": ["src/core/packages/application/browser-internal/*"], "@kbn/core-application-browser-mocks": ["packages/core/application/core-application-browser-mocks"], "@kbn/core-application-browser-mocks/*": ["packages/core/application/core-application-browser-mocks/*"], - "@kbn/core-application-common": ["packages/core/application/core-application-common"], - "@kbn/core-application-common/*": ["packages/core/application/core-application-common/*"], - "@kbn/core-apps-browser-internal": ["packages/core/apps/core-apps-browser-internal"], - "@kbn/core-apps-browser-internal/*": ["packages/core/apps/core-apps-browser-internal/*"], + "@kbn/core-application-common": ["src/core/packages/application/common"], + "@kbn/core-application-common/*": ["src/core/packages/application/common/*"], + "@kbn/core-apps-browser-internal": ["src/core/packages/apps/browser-internal"], + "@kbn/core-apps-browser-internal/*": ["src/core/packages/apps/browser-internal/*"], "@kbn/core-apps-browser-mocks": ["packages/core/apps/core-apps-browser-mocks"], "@kbn/core-apps-browser-mocks/*": ["packages/core/apps/core-apps-browser-mocks/*"], - "@kbn/core-apps-server-internal": ["packages/core/apps/core-apps-server-internal"], - "@kbn/core-apps-server-internal/*": ["packages/core/apps/core-apps-server-internal/*"], - "@kbn/core-base-browser-internal": ["packages/core/base/core-base-browser-internal"], - "@kbn/core-base-browser-internal/*": ["packages/core/base/core-base-browser-internal/*"], + "@kbn/core-apps-server-internal": ["src/core/packages/apps/server-internal"], + "@kbn/core-apps-server-internal/*": ["src/core/packages/apps/server-internal/*"], + "@kbn/core-base-browser-internal": ["src/core/packages/base/browser-internal"], + "@kbn/core-base-browser-internal/*": ["src/core/packages/base/browser-internal/*"], "@kbn/core-base-browser-mocks": ["packages/core/base/core-base-browser-mocks"], "@kbn/core-base-browser-mocks/*": ["packages/core/base/core-base-browser-mocks/*"], - "@kbn/core-base-common": ["packages/core/base/core-base-common"], - "@kbn/core-base-common/*": ["packages/core/base/core-base-common/*"], + "@kbn/core-base-common": ["src/core/packages/base/common"], + "@kbn/core-base-common/*": ["src/core/packages/base/common/*"], "@kbn/core-base-common-internal": ["packages/core/base/core-base-common-internal"], "@kbn/core-base-common-internal/*": ["packages/core/base/core-base-common-internal/*"], "@kbn/core-base-server-internal": ["packages/core/base/core-base-server-internal"], @@ -690,14 +690,14 @@ "@kbn/custom-icons/*": ["src/platform/packages/shared/kbn-custom-icons/*"], "@kbn/custom-integrations": ["x-pack/solutions/observability/packages/kbn-custom-integrations"], "@kbn/custom-integrations/*": ["x-pack/solutions/observability/packages/kbn-custom-integrations/*"], - "@kbn/custom-integrations-plugin": ["src/plugins/custom_integrations"], - "@kbn/custom-integrations-plugin/*": ["src/plugins/custom_integrations/*"], + "@kbn/custom-integrations-plugin": ["src/platform/plugins/shared/custom_integrations"], + "@kbn/custom-integrations-plugin/*": ["src/platform/plugins/shared/custom_integrations/*"], "@kbn/cypress-config": ["packages/kbn-cypress-config"], "@kbn/cypress-config/*": ["packages/kbn-cypress-config/*"], - "@kbn/dashboard-enhanced-plugin": ["x-pack/plugins/dashboard_enhanced"], - "@kbn/dashboard-enhanced-plugin/*": ["x-pack/plugins/dashboard_enhanced/*"], - "@kbn/dashboard-plugin": ["src/plugins/dashboard"], - "@kbn/dashboard-plugin/*": ["src/plugins/dashboard/*"], + "@kbn/dashboard-enhanced-plugin": ["x-pack/platform/plugins/shared/dashboard_enhanced"], + "@kbn/dashboard-enhanced-plugin/*": ["x-pack/platform/plugins/shared/dashboard_enhanced/*"], + "@kbn/dashboard-plugin": ["src/platform/plugins/shared/dashboard"], + "@kbn/dashboard-plugin/*": ["src/platform/plugins/shared/dashboard/*"], "@kbn/data-forge": ["x-pack/platform/packages/shared/kbn-data-forge"], "@kbn/data-forge/*": ["x-pack/platform/packages/shared/kbn-data-forge/*"], "@kbn/data-plugin": ["src/plugins/data"], @@ -734,8 +734,8 @@ "@kbn/deeplinks-analytics/*": ["packages/deeplinks/analytics/*"], "@kbn/deeplinks-devtools": ["src/platform/packages/shared/deeplinks/devtools"], "@kbn/deeplinks-devtools/*": ["src/platform/packages/shared/deeplinks/devtools/*"], - "@kbn/deeplinks-fleet": ["packages/deeplinks/fleet"], - "@kbn/deeplinks-fleet/*": ["packages/deeplinks/fleet/*"], + "@kbn/deeplinks-fleet": ["src/platform/packages/shared/deeplinks/fleet"], + "@kbn/deeplinks-fleet/*": ["src/platform/packages/shared/deeplinks/fleet/*"], "@kbn/deeplinks-management": ["src/platform/packages/shared/deeplinks/management"], "@kbn/deeplinks-management/*": ["src/platform/packages/shared/deeplinks/management/*"], "@kbn/deeplinks-ml": ["src/platform/packages/shared/deeplinks/ml"], @@ -808,12 +808,12 @@ "@kbn/elasticsearch-client-plugin/*": ["test/plugin_functional/plugins/elasticsearch_client_plugin/*"], "@kbn/elasticsearch-client-xpack-plugin": ["x-pack/test/plugin_api_integration/plugins/elasticsearch_client"], "@kbn/elasticsearch-client-xpack-plugin/*": ["x-pack/test/plugin_api_integration/plugins/elasticsearch_client/*"], - "@kbn/embeddable-enhanced-plugin": ["x-pack/plugins/embeddable_enhanced"], - "@kbn/embeddable-enhanced-plugin/*": ["x-pack/plugins/embeddable_enhanced/*"], + "@kbn/embeddable-enhanced-plugin": ["x-pack/platform/plugins/shared/embeddable_enhanced"], + "@kbn/embeddable-enhanced-plugin/*": ["x-pack/platform/plugins/shared/embeddable_enhanced/*"], "@kbn/embeddable-examples-plugin": ["examples/embeddable_examples"], "@kbn/embeddable-examples-plugin/*": ["examples/embeddable_examples/*"], - "@kbn/embeddable-plugin": ["src/plugins/embeddable"], - "@kbn/embeddable-plugin/*": ["src/plugins/embeddable/*"], + "@kbn/embeddable-plugin": ["src/platform/plugins/shared/embeddable"], + "@kbn/embeddable-plugin/*": ["src/platform/plugins/shared/embeddable/*"], "@kbn/embedded-lens-example-plugin": ["x-pack/examples/embedded_lens_example"], "@kbn/embedded-lens-example-plugin/*": ["x-pack/examples/embedded_lens_example/*"], "@kbn/encrypted-saved-objects-plugin": ["x-pack/plugins/encrypted_saved_objects"], @@ -890,8 +890,8 @@ "@kbn/event-annotation-plugin/*": ["src/plugins/event_annotation/*"], "@kbn/event-log-fixture-plugin": ["x-pack/test/plugin_api_integration/plugins/event_log"], "@kbn/event-log-fixture-plugin/*": ["x-pack/test/plugin_api_integration/plugins/event_log/*"], - "@kbn/event-log-plugin": ["x-pack/plugins/event_log"], - "@kbn/event-log-plugin/*": ["x-pack/plugins/event_log/*"], + "@kbn/event-log-plugin": ["x-pack/platform/plugins/shared/event_log"], + "@kbn/event-log-plugin/*": ["x-pack/platform/plugins/shared/event_log/*"], "@kbn/expandable-flyout": ["x-pack/solutions/security/packages/expandable-flyout"], "@kbn/expandable-flyout/*": ["x-pack/solutions/security/packages/expandable-flyout/*"], "@kbn/expect": ["packages/kbn-expect"], @@ -900,28 +900,28 @@ "@kbn/exploratory-view-example-plugin/*": ["x-pack/examples/exploratory_view_example/*"], "@kbn/exploratory-view-plugin": ["x-pack/solutions/observability/plugins/exploratory_view"], "@kbn/exploratory-view-plugin/*": ["x-pack/solutions/observability/plugins/exploratory_view/*"], - "@kbn/expression-error-plugin": ["src/plugins/expression_error"], - "@kbn/expression-error-plugin/*": ["src/plugins/expression_error/*"], + "@kbn/expression-error-plugin": ["src/platform/plugins/shared/expression_error"], + "@kbn/expression-error-plugin/*": ["src/platform/plugins/shared/expression_error/*"], "@kbn/expression-gauge-plugin": ["src/plugins/chart_expressions/expression_gauge"], "@kbn/expression-gauge-plugin/*": ["src/plugins/chart_expressions/expression_gauge/*"], "@kbn/expression-heatmap-plugin": ["src/plugins/chart_expressions/expression_heatmap"], "@kbn/expression-heatmap-plugin/*": ["src/plugins/chart_expressions/expression_heatmap/*"], - "@kbn/expression-image-plugin": ["src/plugins/expression_image"], - "@kbn/expression-image-plugin/*": ["src/plugins/expression_image/*"], + "@kbn/expression-image-plugin": ["src/platform/plugins/shared/expression_image"], + "@kbn/expression-image-plugin/*": ["src/platform/plugins/shared/expression_image/*"], "@kbn/expression-legacy-metric-vis-plugin": ["src/plugins/chart_expressions/expression_legacy_metric"], "@kbn/expression-legacy-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_legacy_metric/*"], - "@kbn/expression-metric-plugin": ["src/plugins/expression_metric"], - "@kbn/expression-metric-plugin/*": ["src/plugins/expression_metric/*"], + "@kbn/expression-metric-plugin": ["src/platform/plugins/shared/expression_metric"], + "@kbn/expression-metric-plugin/*": ["src/platform/plugins/shared/expression_metric/*"], "@kbn/expression-metric-vis-plugin": ["src/plugins/chart_expressions/expression_metric"], "@kbn/expression-metric-vis-plugin/*": ["src/plugins/chart_expressions/expression_metric/*"], "@kbn/expression-partition-vis-plugin": ["src/plugins/chart_expressions/expression_partition_vis"], "@kbn/expression-partition-vis-plugin/*": ["src/plugins/chart_expressions/expression_partition_vis/*"], - "@kbn/expression-repeat-image-plugin": ["src/plugins/expression_repeat_image"], - "@kbn/expression-repeat-image-plugin/*": ["src/plugins/expression_repeat_image/*"], - "@kbn/expression-reveal-image-plugin": ["src/plugins/expression_reveal_image"], - "@kbn/expression-reveal-image-plugin/*": ["src/plugins/expression_reveal_image/*"], - "@kbn/expression-shape-plugin": ["src/plugins/expression_shape"], - "@kbn/expression-shape-plugin/*": ["src/plugins/expression_shape/*"], + "@kbn/expression-repeat-image-plugin": ["src/platform/plugins/shared/expression_repeat_image"], + "@kbn/expression-repeat-image-plugin/*": ["src/platform/plugins/shared/expression_repeat_image/*"], + "@kbn/expression-reveal-image-plugin": ["src/platform/plugins/shared/expression_reveal_image"], + "@kbn/expression-reveal-image-plugin/*": ["src/platform/plugins/shared/expression_reveal_image/*"], + "@kbn/expression-shape-plugin": ["src/platform/plugins/shared/expression_shape"], + "@kbn/expression-shape-plugin/*": ["src/platform/plugins/shared/expression_shape/*"], "@kbn/expression-tagcloud-plugin": ["src/plugins/chart_expressions/expression_tagcloud"], "@kbn/expression-tagcloud-plugin/*": ["src/plugins/chart_expressions/expression_tagcloud/*"], "@kbn/expression-xy-plugin": ["src/plugins/chart_expressions/expression_xy"], @@ -954,8 +954,8 @@ "@kbn/field-utils/*": ["packages/kbn-field-utils/*"], "@kbn/fields-metadata-plugin": ["x-pack/platform/plugins/shared/fields_metadata"], "@kbn/fields-metadata-plugin/*": ["x-pack/platform/plugins/shared/fields_metadata/*"], - "@kbn/file-upload-plugin": ["x-pack/plugins/file_upload"], - "@kbn/file-upload-plugin/*": ["x-pack/plugins/file_upload/*"], + "@kbn/file-upload-plugin": ["x-pack/platform/plugins/private/file_upload"], + "@kbn/file-upload-plugin/*": ["x-pack/platform/plugins/private/file_upload/*"], "@kbn/files-example-plugin": ["examples/files_example"], "@kbn/files-example-plugin/*": ["examples/files_example/*"], "@kbn/files-management-plugin": ["src/plugins/files_management"], @@ -964,10 +964,10 @@ "@kbn/files-plugin/*": ["src/plugins/files/*"], "@kbn/find-used-node-modules": ["packages/kbn-find-used-node-modules"], "@kbn/find-used-node-modules/*": ["packages/kbn-find-used-node-modules/*"], - "@kbn/fleet-plugin": ["x-pack/plugins/fleet"], - "@kbn/fleet-plugin/*": ["x-pack/plugins/fleet/*"], - "@kbn/flot-charts": ["packages/kbn-flot-charts"], - "@kbn/flot-charts/*": ["packages/kbn-flot-charts/*"], + "@kbn/fleet-plugin": ["x-pack/platform/plugins/shared/fleet"], + "@kbn/fleet-plugin/*": ["x-pack/platform/plugins/shared/fleet/*"], + "@kbn/flot-charts": ["src/platform/packages/shared/kbn-flot-charts"], + "@kbn/flot-charts/*": ["src/platform/packages/shared/kbn-flot-charts/*"], "@kbn/foo-plugin": ["x-pack/test/ui_capabilities/common/plugins/foo_plugin"], "@kbn/foo-plugin/*": ["x-pack/test/ui_capabilities/common/plugins/foo_plugin/*"], "@kbn/formatters": ["packages/kbn-formatters"], @@ -1010,8 +1010,8 @@ "@kbn/grid-layout/*": ["packages/kbn-grid-layout/*"], "@kbn/grokdebugger-plugin": ["x-pack/platform/plugins/private/grokdebugger"], "@kbn/grokdebugger-plugin/*": ["x-pack/platform/plugins/private/grokdebugger/*"], - "@kbn/grouping": ["packages/kbn-grouping"], - "@kbn/grouping/*": ["packages/kbn-grouping/*"], + "@kbn/grouping": ["src/platform/packages/shared/kbn-grouping"], + "@kbn/grouping/*": ["src/platform/packages/shared/kbn-grouping/*"], "@kbn/guided-onboarding": ["packages/kbn-guided-onboarding"], "@kbn/guided-onboarding/*": ["packages/kbn-guided-onboarding/*"], "@kbn/guided-onboarding-example-plugin": ["examples/guided_onboarding_example"], @@ -1064,6 +1064,8 @@ "@kbn/inference_integration_flyout/*": ["x-pack/platform/packages/private/ml/inference_integration_flyout/*"], "@kbn/inference-common": ["x-pack/platform/packages/shared/ai-infra/inference-common"], "@kbn/inference-common/*": ["x-pack/platform/packages/shared/ai-infra/inference-common/*"], + "@kbn/inference-endpoint-ui-common": ["x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common"], + "@kbn/inference-endpoint-ui-common/*": ["x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/*"], "@kbn/inference-plugin": ["x-pack/platform/plugins/shared/inference"], "@kbn/inference-plugin/*": ["x-pack/platform/plugins/shared/inference/*"], "@kbn/infra-forge": ["x-pack/platform/packages/private/kbn-infra-forge"], @@ -1072,10 +1074,10 @@ "@kbn/infra-plugin/*": ["x-pack/solutions/observability/plugins/infra/*"], "@kbn/ingest-pipelines-plugin": ["x-pack/platform/plugins/shared/ingest_pipelines"], "@kbn/ingest-pipelines-plugin/*": ["x-pack/platform/plugins/shared/ingest_pipelines/*"], - "@kbn/input-control-vis-plugin": ["src/plugins/input_control_vis"], - "@kbn/input-control-vis-plugin/*": ["src/plugins/input_control_vis/*"], - "@kbn/inspector-plugin": ["src/plugins/inspector"], - "@kbn/inspector-plugin/*": ["src/plugins/inspector/*"], + "@kbn/input-control-vis-plugin": ["src/platform/plugins/private/input_control_vis"], + "@kbn/input-control-vis-plugin/*": ["src/platform/plugins/private/input_control_vis/*"], + "@kbn/inspector-plugin": ["src/platform/plugins/shared/inspector"], + "@kbn/inspector-plugin/*": ["src/platform/plugins/shared/inspector/*"], "@kbn/integration-assistant-plugin": ["x-pack/platform/plugins/shared/integration_assistant"], "@kbn/integration-assistant-plugin/*": ["x-pack/platform/plugins/shared/integration_assistant/*"], "@kbn/interactive-setup-plugin": ["src/plugins/interactive_setup"], @@ -1152,8 +1154,8 @@ "@kbn/license-management-plugin/*": ["x-pack/platform/plugins/shared/license_management/*"], "@kbn/licensing-plugin": ["x-pack/plugins/licensing"], "@kbn/licensing-plugin/*": ["x-pack/plugins/licensing/*"], - "@kbn/links-plugin": ["src/plugins/links"], - "@kbn/links-plugin/*": ["src/plugins/links/*"], + "@kbn/links-plugin": ["src/platform/plugins/private/links"], + "@kbn/links-plugin/*": ["src/platform/plugins/private/links/*"], "@kbn/lint-packages-cli": ["packages/kbn-lint-packages-cli"], "@kbn/lint-packages-cli/*": ["packages/kbn-lint-packages-cli/*"], "@kbn/lint-ts-projects-cli": ["packages/kbn-lint-ts-projects-cli"], @@ -1176,8 +1178,8 @@ "@kbn/logs-explorer-plugin/*": ["x-pack/solutions/observability/plugins/logs_explorer/*"], "@kbn/logs-shared-plugin": ["x-pack/platform/plugins/shared/logs_shared"], "@kbn/logs-shared-plugin/*": ["x-pack/platform/plugins/shared/logs_shared/*"], - "@kbn/logstash-plugin": ["x-pack/plugins/logstash"], - "@kbn/logstash-plugin/*": ["x-pack/plugins/logstash/*"], + "@kbn/logstash-plugin": ["x-pack/platform/plugins/private/logstash"], + "@kbn/logstash-plugin/*": ["x-pack/platform/plugins/private/logstash/*"], "@kbn/managed-content-badge": ["packages/kbn-managed-content-badge"], "@kbn/managed-content-badge/*": ["packages/kbn-managed-content-badge/*"], "@kbn/managed-vscode-config": ["packages/kbn-managed-vscode-config"], @@ -1214,16 +1216,16 @@ "@kbn/management-test-plugin/*": ["test/plugin_functional/plugins/management_test_plugin/*"], "@kbn/manifest": ["packages/kbn-manifest"], "@kbn/manifest/*": ["packages/kbn-manifest/*"], - "@kbn/mapbox-gl": ["packages/kbn-mapbox-gl"], - "@kbn/mapbox-gl/*": ["packages/kbn-mapbox-gl/*"], + "@kbn/mapbox-gl": ["src/platform/packages/private/kbn-mapbox-gl"], + "@kbn/mapbox-gl/*": ["src/platform/packages/private/kbn-mapbox-gl/*"], "@kbn/maps-custom-raster-source-plugin": ["x-pack/examples/third_party_maps_source_example"], "@kbn/maps-custom-raster-source-plugin/*": ["x-pack/examples/third_party_maps_source_example/*"], - "@kbn/maps-ems-plugin": ["src/plugins/maps_ems"], - "@kbn/maps-ems-plugin/*": ["src/plugins/maps_ems/*"], - "@kbn/maps-plugin": ["x-pack/plugins/maps"], - "@kbn/maps-plugin/*": ["x-pack/plugins/maps/*"], - "@kbn/maps-vector-tile-utils": ["x-pack/packages/maps/vector_tile_utils"], - "@kbn/maps-vector-tile-utils/*": ["x-pack/packages/maps/vector_tile_utils/*"], + "@kbn/maps-ems-plugin": ["src/platform/plugins/private/maps_ems"], + "@kbn/maps-ems-plugin/*": ["src/platform/plugins/private/maps_ems/*"], + "@kbn/maps-plugin": ["x-pack/platform/plugins/shared/maps"], + "@kbn/maps-plugin/*": ["x-pack/platform/plugins/shared/maps/*"], + "@kbn/maps-vector-tile-utils": ["x-pack/platform/packages/private/maps/vector_tile_utils"], + "@kbn/maps-vector-tile-utils/*": ["x-pack/platform/packages/private/maps/vector_tile_utils/*"], "@kbn/metrics-data-access-plugin": ["x-pack/plugins/observability_solution/metrics_data_access"], "@kbn/metrics-data-access-plugin/*": ["x-pack/plugins/observability_solution/metrics_data_access/*"], "@kbn/ml-agg-utils": ["x-pack/platform/packages/private/ml/agg_utils"], @@ -1298,10 +1300,10 @@ "@kbn/mock-idp-utils/*": ["packages/kbn-mock-idp-utils/*"], "@kbn/monaco": ["packages/kbn-monaco"], "@kbn/monaco/*": ["packages/kbn-monaco/*"], - "@kbn/monitoring-collection-plugin": ["x-pack/plugins/monitoring_collection"], - "@kbn/monitoring-collection-plugin/*": ["x-pack/plugins/monitoring_collection/*"], - "@kbn/monitoring-plugin": ["x-pack/plugins/monitoring"], - "@kbn/monitoring-plugin/*": ["x-pack/plugins/monitoring/*"], + "@kbn/monitoring-collection-plugin": ["x-pack/platform/plugins/private/monitoring_collection"], + "@kbn/monitoring-collection-plugin/*": ["x-pack/platform/plugins/private/monitoring_collection/*"], + "@kbn/monitoring-plugin": ["x-pack/platform/plugins/private/monitoring"], + "@kbn/monitoring-plugin/*": ["x-pack/platform/plugins/private/monitoring/*"], "@kbn/navigation-plugin": ["src/plugins/navigation"], "@kbn/navigation-plugin/*": ["src/plugins/navigation/*"], "@kbn/newsfeed-plugin": ["src/plugins/newsfeed"], @@ -1346,16 +1348,16 @@ "@kbn/observability-onboarding-plugin/*": ["x-pack/solutions/observability/plugins/observability_onboarding/*"], "@kbn/observability-plugin": ["x-pack/solutions/observability/plugins/observability"], "@kbn/observability-plugin/*": ["x-pack/solutions/observability/plugins/observability/*"], - "@kbn/observability-shared-plugin": ["x-pack/plugins/observability_solution/observability_shared"], - "@kbn/observability-shared-plugin/*": ["x-pack/plugins/observability_solution/observability_shared/*"], + "@kbn/observability-shared-plugin": ["x-pack/solutions/observability/plugins/observability_shared"], + "@kbn/observability-shared-plugin/*": ["x-pack/solutions/observability/plugins/observability_shared/*"], "@kbn/observability-synthetics-test-data": ["x-pack/solutions/observability/packages/synthetics_test_data"], "@kbn/observability-synthetics-test-data/*": ["x-pack/solutions/observability/packages/synthetics_test_data/*"], - "@kbn/observability-utils-browser": ["x-pack/packages/observability/observability_utils/observability_utils_browser"], - "@kbn/observability-utils-browser/*": ["x-pack/packages/observability/observability_utils/observability_utils_browser/*"], - "@kbn/observability-utils-common": ["x-pack/packages/observability/observability_utils/observability_utils_common"], - "@kbn/observability-utils-common/*": ["x-pack/packages/observability/observability_utils/observability_utils_common/*"], - "@kbn/observability-utils-server": ["x-pack/packages/observability/observability_utils/observability_utils_server"], - "@kbn/observability-utils-server/*": ["x-pack/packages/observability/observability_utils/observability_utils_server/*"], + "@kbn/observability-utils-browser": ["x-pack/solutions/observability/packages/utils_browser"], + "@kbn/observability-utils-browser/*": ["x-pack/solutions/observability/packages/utils_browser/*"], + "@kbn/observability-utils-common": ["x-pack/solutions/observability/packages/utils_common"], + "@kbn/observability-utils-common/*": ["x-pack/solutions/observability/packages/utils_common/*"], + "@kbn/observability-utils-server": ["x-pack/solutions/observability/packages/utils_server"], + "@kbn/observability-utils-server/*": ["x-pack/solutions/observability/packages/utils_server/*"], "@kbn/oidc-provider-plugin": ["x-pack/test/security_api_integration/plugins/oidc_provider"], "@kbn/oidc-provider-plugin/*": ["x-pack/test/security_api_integration/plugins/oidc_provider/*"], "@kbn/open-telemetry-instrumented-plugin": ["test/common/plugins/otel_metrics"], @@ -1380,8 +1382,8 @@ "@kbn/painless-lab-plugin/*": ["x-pack/platform/plugins/private/painless_lab/*"], "@kbn/palettes": ["packages/kbn-palettes"], "@kbn/palettes/*": ["packages/kbn-palettes/*"], - "@kbn/panel-loader": ["packages/kbn-panel-loader"], - "@kbn/panel-loader/*": ["packages/kbn-panel-loader/*"], + "@kbn/panel-loader": ["src/platform/packages/private/kbn-panel-loader"], + "@kbn/panel-loader/*": ["src/platform/packages/private/kbn-panel-loader/*"], "@kbn/peggy": ["packages/kbn-peggy"], "@kbn/peggy/*": ["packages/kbn-peggy/*"], "@kbn/peggy-loader": ["packages/kbn-peggy-loader"], @@ -1400,14 +1402,14 @@ "@kbn/portable-dashboards-example/*": ["examples/portable_dashboards_example/*"], "@kbn/preboot-example-plugin": ["examples/preboot_example"], "@kbn/preboot-example-plugin/*": ["examples/preboot_example/*"], - "@kbn/presentation-containers": ["packages/presentation/presentation_containers"], - "@kbn/presentation-containers/*": ["packages/presentation/presentation_containers/*"], - "@kbn/presentation-panel-plugin": ["src/plugins/presentation_panel"], - "@kbn/presentation-panel-plugin/*": ["src/plugins/presentation_panel/*"], - "@kbn/presentation-publishing": ["packages/presentation/presentation_publishing"], - "@kbn/presentation-publishing/*": ["packages/presentation/presentation_publishing/*"], - "@kbn/presentation-util-plugin": ["src/plugins/presentation_util"], - "@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"], + "@kbn/presentation-containers": ["src/platform/packages/shared/presentation/presentation_containers"], + "@kbn/presentation-containers/*": ["src/platform/packages/shared/presentation/presentation_containers/*"], + "@kbn/presentation-panel-plugin": ["src/platform/plugins/private/presentation_panel"], + "@kbn/presentation-panel-plugin/*": ["src/platform/plugins/private/presentation_panel/*"], + "@kbn/presentation-publishing": ["src/platform/packages/shared/presentation/presentation_publishing"], + "@kbn/presentation-publishing/*": ["src/platform/packages/shared/presentation/presentation_publishing/*"], + "@kbn/presentation-util-plugin": ["src/platform/plugins/shared/presentation_util"], + "@kbn/presentation-util-plugin/*": ["src/platform/plugins/shared/presentation_util/*"], "@kbn/product-doc-artifact-builder": ["x-pack/packages/ai-infra/product-doc-artifact-builder"], "@kbn/product-doc-artifact-builder/*": ["x-pack/packages/ai-infra/product-doc-artifact-builder/*"], "@kbn/product-doc-base-plugin": ["x-pack/platform/plugins/shared/ai_infra/product_doc_base"], @@ -1496,8 +1498,8 @@ "@kbn/response-ops-feature-flag-service/*": ["packages/response-ops/feature_flag_service/*"], "@kbn/response-ops-rule-form": ["packages/response-ops/rule_form"], "@kbn/response-ops-rule-form/*": ["packages/response-ops/rule_form/*"], - "@kbn/response-ops-rule-params": ["packages/response-ops/rule_params"], - "@kbn/response-ops-rule-params/*": ["packages/response-ops/rule_params/*"], + "@kbn/response-ops-rule-params": ["src/platform/packages/private/response-ops/rule_params"], + "@kbn/response-ops-rule-params/*": ["src/platform/packages/private/response-ops/rule_params/*"], "@kbn/response-stream-plugin": ["examples/response_stream"], "@kbn/response-stream-plugin/*": ["examples/response_stream/*"], "@kbn/rison": ["packages/kbn-rison"], @@ -1512,12 +1514,12 @@ "@kbn/router-utils/*": ["src/platform/packages/shared/kbn-router-utils/*"], "@kbn/routing-example-plugin": ["examples/routing_example"], "@kbn/routing-example-plugin/*": ["examples/routing_example/*"], - "@kbn/rrule": ["packages/kbn-rrule"], - "@kbn/rrule/*": ["packages/kbn-rrule/*"], + "@kbn/rrule": ["src/platform/packages/shared/kbn-rrule"], + "@kbn/rrule/*": ["src/platform/packages/shared/kbn-rrule/*"], "@kbn/rule-data-utils": ["src/platform/packages/shared/kbn-rule-data-utils"], "@kbn/rule-data-utils/*": ["src/platform/packages/shared/kbn-rule-data-utils/*"], - "@kbn/rule-registry-plugin": ["x-pack/plugins/rule_registry"], - "@kbn/rule-registry-plugin/*": ["x-pack/plugins/rule_registry/*"], + "@kbn/rule-registry-plugin": ["x-pack/platform/plugins/shared/rule_registry"], + "@kbn/rule-registry-plugin/*": ["x-pack/platform/plugins/shared/rule_registry/*"], "@kbn/runtime-fields-plugin": ["x-pack/platform/plugins/private/runtime_fields"], "@kbn/runtime-fields-plugin/*": ["x-pack/platform/plugins/private/runtime_fields/*"], "@kbn/safer-lodash-set": ["packages/kbn-safer-lodash-set"], @@ -1856,10 +1858,10 @@ "@kbn/sse-utils-client/*": ["src/platform/packages/shared/kbn-sse-utils-client/*"], "@kbn/sse-utils-server": ["src/platform/packages/shared/kbn-sse-utils-server"], "@kbn/sse-utils-server/*": ["src/platform/packages/shared/kbn-sse-utils-server/*"], - "@kbn/stack-alerts-plugin": ["x-pack/plugins/stack_alerts"], - "@kbn/stack-alerts-plugin/*": ["x-pack/plugins/stack_alerts/*"], - "@kbn/stack-connectors-plugin": ["x-pack/plugins/stack_connectors"], - "@kbn/stack-connectors-plugin/*": ["x-pack/plugins/stack_connectors/*"], + "@kbn/stack-alerts-plugin": ["x-pack/platform/plugins/shared/stack_alerts"], + "@kbn/stack-alerts-plugin/*": ["x-pack/platform/plugins/shared/stack_alerts/*"], + "@kbn/stack-connectors-plugin": ["x-pack/platform/plugins/shared/stack_connectors"], + "@kbn/stack-connectors-plugin/*": ["x-pack/platform/plugins/shared/stack_connectors/*"], "@kbn/stack-management-usage-test-plugin": ["x-pack/test/usage_collection/plugins/stack_management_usage_test"], "@kbn/stack-management-usage-test-plugin/*": ["x-pack/test/usage_collection/plugins/stack_management_usage_test/*"], "@kbn/state-containers-examples-plugin": ["examples/state_containers_examples"], @@ -1878,6 +1880,8 @@ "@kbn/streams-app-plugin/*": ["x-pack/solutions/observability/plugins/streams_app/*"], "@kbn/streams-plugin": ["x-pack/solutions/observability/plugins/streams"], "@kbn/streams-plugin/*": ["x-pack/solutions/observability/plugins/streams/*"], + "@kbn/streams-schema": ["x-pack/packages/kbn-streams-schema"], + "@kbn/streams-schema/*": ["x-pack/packages/kbn-streams-schema/*"], "@kbn/synthetics-e2e": ["x-pack/solutions/observability/plugins/synthetics/e2e"], "@kbn/synthetics-e2e/*": ["x-pack/solutions/observability/plugins/synthetics/e2e/*"], "@kbn/synthetics-plugin": ["x-pack/solutions/observability/plugins/synthetics"], @@ -1888,8 +1892,8 @@ "@kbn/task-manager-fixture-plugin/*": ["x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture/*"], "@kbn/task-manager-performance-plugin": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance"], "@kbn/task-manager-performance-plugin/*": ["x-pack/test/plugin_api_perf/plugins/task_manager_performance/*"], - "@kbn/task-manager-plugin": ["x-pack/plugins/task_manager"], - "@kbn/task-manager-plugin/*": ["x-pack/plugins/task_manager/*"], + "@kbn/task-manager-plugin": ["x-pack/platform/plugins/shared/task_manager"], + "@kbn/task-manager-plugin/*": ["x-pack/platform/plugins/shared/task_manager/*"], "@kbn/telemetry-collection-manager-plugin": ["src/plugins/telemetry_collection_manager"], "@kbn/telemetry-collection-manager-plugin/*": ["src/plugins/telemetry_collection_manager/*"], "@kbn/telemetry-collection-xpack-plugin": ["x-pack/plugins/telemetry_collection_xpack"], @@ -1946,10 +1950,10 @@ "@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-types": ["packages/kbn-triggers-actions-ui-types"], - "@kbn/triggers-actions-ui-types/*": ["packages/kbn-triggers-actions-ui-types/*"], + "@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": ["src/platform/packages/shared/kbn-triggers-actions-ui-types"], + "@kbn/triggers-actions-ui-types/*": ["src/platform/packages/shared/kbn-triggers-actions-ui-types/*"], "@kbn/try-in-console": ["packages/kbn-try-in-console"], "@kbn/try-in-console/*": ["packages/kbn-try-in-console/*"], "@kbn/ts-projects": ["packages/kbn-ts-projects"], @@ -2036,8 +2040,8 @@ "@kbn/vis-type-gauge-plugin/*": ["src/plugins/vis_types/gauge/*"], "@kbn/vis-type-heatmap-plugin": ["src/plugins/vis_types/heatmap"], "@kbn/vis-type-heatmap-plugin/*": ["src/plugins/vis_types/heatmap/*"], - "@kbn/vis-type-markdown-plugin": ["src/plugins/vis_type_markdown"], - "@kbn/vis-type-markdown-plugin/*": ["src/plugins/vis_type_markdown/*"], + "@kbn/vis-type-markdown-plugin": ["src/platform/plugins/private/vis_type_markdown"], + "@kbn/vis-type-markdown-plugin/*": ["src/platform/plugins/private/vis_type_markdown/*"], "@kbn/vis-type-metric-plugin": ["src/plugins/vis_types/metric"], "@kbn/vis-type-metric-plugin/*": ["src/plugins/vis_types/metric/*"], "@kbn/vis-type-pie-plugin": ["src/plugins/vis_types/pie"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index d16d9f150d662..13da5517b8d64 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -1,7 +1,7 @@ { "prefix": "xpack", "paths": { - "xpack.actions": "plugins/actions", + "xpack.actions": "platform/plugins/shared/actions", "xpack.aiops": [ "platform/packages/shared/ml/aiops_common", "platform/packages/private/ml/aiops_components", @@ -10,15 +10,15 @@ "platform/plugins/shared/aiops" ], "xpack.aiAssistant": "packages/kbn-ai-assistant", - "xpack.alerting": "plugins/alerting", - "xpack.eventLog": "plugins/event_log", - "xpack.stackAlerts": "plugins/stack_alerts", - "xpack.stackConnectors": "plugins/stack_connectors", + "xpack.alerting": "platform/plugins/shared/alerting", + "xpack.eventLog": "platform/plugins/shared/event_log", + "xpack.stackAlerts": "platform/plugins/shared/stack_alerts", + "xpack.stackConnectors": "platform/plugins/shared/stack_connectors", "xpack.apm": "plugins/observability_solution/apm", "xpack.apmDataAccess": "plugins/observability_solution/apm_data_access", "xpack.banners": "plugins/banners", - "xpack.canvas": "plugins/canvas", - "xpack.cases": "plugins/cases", + "xpack.canvas": "platform/plugins/private/canvas", + "xpack.cases": "platform/plugins/shared/cases", "xpack.cloud": "plugins/cloud", "xpack.cloudDefend": "solutions/security/plugins/cloud_defend", "xpack.cloudLinks": "plugins/cloud_integrations/cloud_links", @@ -29,7 +29,7 @@ "packages/kbn-cloud-security-posture" ], "xpack.customBranding": "plugins/custom_branding", - "xpack.dashboard": "plugins/dashboard_enhanced", + "xpack.dashboard": "platform/plugins/shared/dashboard_enhanced", "xpack.dataQuality": "platform/plugins/shared/data_quality", "xpack.datasetQuality": "platform/plugins/shared/dataset_quality", "xpack.dataUsage": "platform/plugins/private/data_usage", @@ -39,13 +39,13 @@ "xpack.elasticAssistantCommon": "platform/packages/shared/kbn-elastic-assistant-common", "xpack.elasticAssistantPlugin": "solutions/security/plugins/elastic_assistant", "xpack.ecsDataQualityDashboard": "solutions/security/plugins/ecs_data_quality_dashboard", - "xpack.embeddableEnhanced": "plugins/embeddable_enhanced", + "xpack.embeddableEnhanced": "platform/plugins/shared/embeddable_enhanced", "xpack.endpoint": "plugins/endpoint", "xpack.enterpriseSearch": "plugins/enterprise_search", "xpack.features": "plugins/features", "xpack.dataVisualizer": "platform/plugins/private/data_visualizer", "xpack.exploratoryView": "solutions/observability/plugins/exploratory_view", - "xpack.fileUpload": "plugins/file_upload", + "xpack.fileUpload": "platform/plugins/private/file_upload", "xpack.globalSearch": [ "plugins/global_search" ], @@ -59,11 +59,12 @@ "xpack.idxMgmt": "platform/plugins/shared/index_management", "xpack.idxMgmtPackage": "packages/index-management", "xpack.indexLifecycleMgmt": "platform/plugins/private/index_lifecycle_management", + "xpack.inferenceEndpointUICommon": "platform/packages/shared/kbn-inference-endpoint-ui-common", "xpack.infra": "solutions/observability/plugins/infra", "xpack.logsDataAccess": "platform/plugins/shared/logs_data_access", "xpack.logsExplorer": "solutions/observability/plugins/logs_explorer", "xpack.logsShared": "platform/plugins/shared/logs_shared", - "xpack.fleet": "plugins/fleet", + "xpack.fleet": "platform/plugins/shared/fleet", "xpack.ingestPipelines": "platform/plugins/shared/ingest_pipelines", "xpack.integrationAssistant": "platform/plugins/shared/integration_assistant", "xpack.inference": "platform/plugins/shared/inference", @@ -77,11 +78,11 @@ "xpack.licensing": "plugins/licensing", "xpack.lists": "solutions/security/plugins/lists", "xpack.logstash": [ - "plugins/logstash" + "platform/plugins/private/logstash" ], "xpack.main": "legacy/plugins/xpack_main", "xpack.maps": [ - "plugins/maps" + "platform/plugins/shared/maps" ], "xpack.metricsData": "plugins/observability_solution/metrics_data_access", "xpack.ml": [ @@ -98,7 +99,7 @@ "platform/plugins/shared/ml" ], "xpack.monitoring": [ - "plugins/monitoring" + "platform/plugins/private/monitoring" ], "xpack.observability": "solutions/observability/plugins/observability", "xpack.observabilityAiAssistant": [ @@ -108,7 +109,7 @@ "xpack.observabilityAiAssistantManagement": "solutions/observability/plugins/observability_ai_assistant_management", "xpack.observabilityLogsExplorer": "solutions/observability/plugins/observability_logs_explorer", "xpack.observability_onboarding": "solutions/observability/plugins/observability_onboarding", - "xpack.observabilityShared": "plugins/observability_solution/observability_shared", + "xpack.observabilityShared": "solutions/observability/plugins/observability_shared", "xpack.observabilityLogsOverview": [ "platform/packages/shared/observability/logs_overview/src/components" ], @@ -159,11 +160,11 @@ "xpack.savedObjectsTagging": [ "plugins/saved_objects_tagging" ], - "xpack.taskManager": "legacy/plugins/task_manager", + "xpack.taskManager": "legacy/platform/plugins/shared/task_manager", "xpack.threatIntelligence": "solutions/security/plugins/threat_intelligence", "xpack.timelines": "solutions/security/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": [ "solutions/observability/plugins/uptime" diff --git a/x-pack/.telemetryrc.json b/x-pack/.telemetryrc.json index 51abf578ae5f5..870b4d1de4c6a 100644 --- a/x-pack/.telemetryrc.json +++ b/x-pack/.telemetryrc.json @@ -3,12 +3,12 @@ "output": "plugins/telemetry_collection_xpack/schema/xpack_plugins.json", "root": "plugins/", "exclude": [ - "plugins/monitoring/server/telemetry_collection/" + "platform/plugins/private/monitoring/server/telemetry_collection/" ] }, { "output": "plugins/telemetry_collection_xpack/schema/xpack_monitoring.json", - "root": "plugins/monitoring/server/telemetry_collection/", + "root": "platform/plugins/private/monitoring/server/telemetry_collection/", "exclude": [] }, { diff --git a/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx b/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx index 0783c7f64620a..6133df55c57e0 100644 --- a/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx +++ b/x-pack/packages/kbn-ai-assistant/src/chat/welcome_message.tsx @@ -10,7 +10,7 @@ import { css } from '@emotion/css'; import { EuiFlexGroup, EuiFlexItem, EuiSpacer, useCurrentEuiBreakpoint } from '@elastic/eui'; import type { ActionConnector } from '@kbn/triggers-actions-ui-plugin/public'; import { GenerativeAIForObservabilityConnectorFeatureId } from '@kbn/actions-plugin/common'; -import { isSupportedConnectorType } from '@kbn/observability-ai-assistant-plugin/public'; +import { isSupportedConnectorType } from '@kbn/inference-common'; import { AssistantBeacon } from '@kbn/ai-assistant-icon'; import type { UseKnowledgeBaseResult } from '../hooks/use_knowledge_base'; import type { UseGenAIConnectorsResult } from '../hooks/use_genai_connectors'; diff --git a/x-pack/packages/kbn-ai-assistant/tsconfig.json b/x-pack/packages/kbn-ai-assistant/tsconfig.json index c23f92085c28d..d33b8642561eb 100644 --- a/x-pack/packages/kbn-ai-assistant/tsconfig.json +++ b/x-pack/packages/kbn-ai-assistant/tsconfig.json @@ -37,6 +37,7 @@ "@kbn/ml-plugin", "@kbn/share-plugin", "@kbn/ai-assistant-common", + "@kbn/inference-common", "@kbn/storybook", "@kbn/ai-assistant-icon", ] diff --git a/x-pack/packages/kbn-streams-schema/README.md b/x-pack/packages/kbn-streams-schema/README.md new file mode 100644 index 0000000000000..368d090cada40 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/README.md @@ -0,0 +1,3 @@ +# @kbn/streams-schema + +This shared package contains the Zod schema definition for the Streams project. \ No newline at end of file diff --git a/x-pack/packages/kbn-streams-schema/index.ts b/x-pack/packages/kbn-streams-schema/index.ts new file mode 100644 index 0000000000000..c1f1effe45499 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './src/apis'; +export * from './src/models'; +export * from './src/helpers'; diff --git a/x-pack/plugins/fleet/jest.integration.config.js b/x-pack/packages/kbn-streams-schema/jest.config.js similarity index 77% rename from x-pack/plugins/fleet/jest.integration.config.js rename to x-pack/packages/kbn-streams-schema/jest.config.js index f1b9ee2f5f7e0..da4fa0627dfdd 100644 --- a/x-pack/plugins/fleet/jest.integration.config.js +++ b/x-pack/packages/kbn-streams-schema/jest.config.js @@ -6,7 +6,7 @@ */ module.exports = { - preset: '@kbn/test/jest_integration', + preset: '@kbn/test', rootDir: '../../..', - roots: ['/x-pack/plugins/fleet'], + roots: ['/x-pack/packages/kbn-streams-schema'], }; diff --git a/x-pack/packages/kbn-streams-schema/kibana.jsonc b/x-pack/packages/kbn-streams-schema/kibana.jsonc new file mode 100644 index 0000000000000..61129483995e9 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/kibana.jsonc @@ -0,0 +1,8 @@ +{ + "type": "shared-common", + "id": "@kbn/streams-schema", + "owner": "@elastic/streams-program-team", + "group": "observability", + "visibility": "shared" +} + diff --git a/x-pack/packages/kbn-streams-schema/package.json b/x-pack/packages/kbn-streams-schema/package.json new file mode 100644 index 0000000000000..056a531bf2e3e --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/package.json @@ -0,0 +1,7 @@ +{ + "name": "@kbn/streams-schema", + "description": "Streams Zod schema definition and common models shared between public and server.", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} diff --git a/x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap b/x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap new file mode 100644 index 0000000000000..b40f64d66180d --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/__snapshots__/read_streams_response.test.ts.snap @@ -0,0 +1,105 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`ReadStreamResponse should successfully parse 1`] = ` +Object { + "streams": Array [ + Object { + "elasticsearch_assets": Array [], + "inherited_fields": Object { + "@timestamp": Object { + "from": "logs", + "type": "date", + }, + "message": Object { + "from": "logs", + "type": "match_only_text", + }, + }, + "name": "logs.nginx", + "stream": Object { + "ingest": Object { + "processing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "config": Object { + "grok": Object { + "field": "message", + "patterns": Array [ + "%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}", + ], + }, + }, + }, + ], + "routing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "name": "logs.errors", + }, + ], + "wired": Object { + "fields": Object { + "new_field": Object { + "type": "long", + }, + }, + }, + }, + }, + }, + Object { + "elasticsearch_assets": Array [], + "inherited_fields": Object { + "@timestamp": Object { + "from": "logs", + "type": "date", + }, + "message": Object { + "from": "logs", + "type": "match_only_text", + }, + }, + "name": "logs.nginx", + "stream": Object { + "ingest": Object { + "processing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "config": Object { + "grok": Object { + "field": "message", + "patterns": Array [ + "%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}", + ], + }, + }, + }, + ], + "routing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "name": "logs.errors", + }, + ], + }, + }, + }, + ], +} +`; diff --git a/x-pack/packages/kbn-streams-schema/src/apis/index.ts b/x-pack/packages/kbn-streams-schema/src/apis/index.ts new file mode 100644 index 0000000000000..f3551a83d704d --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './read_streams_response'; +export * from './list_streams_response'; diff --git a/x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts b/x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts new file mode 100644 index 0000000000000..f1f42f7e90ae2 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/list_streams_response.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { z } from '@kbn/zod'; +import { streamDefintionSchema } from '../models'; + +export const listStreamsResponseSchema = z.object({ + streams: z.array(streamDefintionSchema), +}); + +export type ListStreamsResponse = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts b/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts new file mode 100644 index 0000000000000..7200c9c4a1076 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.test.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { readStreamResponse } from '../fixtures/read_streams_response'; +import { readStreamResponseSchema } from './read_streams_response'; + +describe('ReadStreamResponse', () => { + it('should successfully parse', () => { + expect(readStreamResponseSchema.parse(readStreamResponse)).toMatchSnapshot(); + }); +}); diff --git a/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts b/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts new file mode 100644 index 0000000000000..bfb5d2f62e7fc --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/apis/read_streams_response.ts @@ -0,0 +1,15 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { readStreamDefinitonSchema } from '../models'; + +export const readStreamResponseSchema = z.object({ + streams: z.array(readStreamDefinitonSchema), +}); + +export type ReadStreamResponse = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts new file mode 100644 index 0000000000000..547c1194333ac --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_read_stream.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ingestStream } from './ingest_stream'; + +export const ingestReadStream = { + ...ingestStream, + inherited_fields: { + '@timestamp': { + type: 'date', + from: 'logs', + }, + message: { + type: 'match_only_text', + from: 'logs', + }, + }, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts new file mode 100644 index 0000000000000..dfd1b8eb9d33e --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ingestStreamConfig } from './ingest_stream_config'; + +export const ingestStream = { + name: 'logs.nginx', + elasticsearch_assets: [], + stream: ingestStreamConfig, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts new file mode 100644 index 0000000000000..925ac9310762f --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/ingest_stream_config.ts @@ -0,0 +1,36 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const ingestStreamConfig = { + ingest: { + processing: [ + { + config: { + grok: { + field: 'message', + patterns: ['%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}'], + }, + }, + condition: { + field: 'log.level', + operator: 'eq', + value: 'error', + }, + }, + ], + routing: [ + { + name: 'logs.errors', + condition: { + field: 'log.level', + operator: 'eq', + value: 'error', + }, + }, + ], + }, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts new file mode 100644 index 0000000000000..fb1cd3ade2f9a --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/read_streams_response.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ingestReadStream } from './ingest_read_stream'; +import { wiredReadStream } from './wired_read_stream'; + +export const readStreamResponse = { + streams: [wiredReadStream, ingestReadStream], +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts new file mode 100644 index 0000000000000..177250bd8032a --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_read_stream.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { wiredStream } from './wired_stream'; + +export const wiredReadStream = { + ...wiredStream, + inherited_fields: { + '@timestamp': { + type: 'date', + from: 'logs', + }, + message: { + type: 'match_only_text', + from: 'logs', + }, + }, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream.ts new file mode 100644 index 0000000000000..371f2f7876486 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream.ts @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { wiredStreamConfig } from './wired_stream_config'; + +export const wiredStream = { + name: 'logs.nginx', + elasticsearch_assets: [], + stream: wiredStreamConfig, +}; diff --git a/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts new file mode 100644 index 0000000000000..51c65e3c09794 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/fixtures/wired_stream_config.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export const wiredStreamConfig = { + ingest: { + processing: [ + { + config: { + grok: { + field: 'message', + patterns: ['%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}'], + }, + }, + condition: { + field: 'log.level', + operator: 'eq', + value: 'error', + }, + }, + ], + routing: [ + { + name: 'logs.errors', + condition: { + field: 'log.level', + operator: 'eq', + value: 'error', + }, + }, + ], + wired: { + fields: { + new_field: { + type: 'long', + }, + }, + }, + }, +}; diff --git a/x-pack/solutions/observability/plugins/streams/common/index.ts b/x-pack/packages/kbn-streams-schema/src/helpers/index.ts similarity index 78% rename from x-pack/solutions/observability/plugins/streams/common/index.ts rename to x-pack/packages/kbn-streams-schema/src/helpers/index.ts index 634994cb87f13..d1f9a8ff0c50a 100644 --- a/x-pack/solutions/observability/plugins/streams/common/index.ts +++ b/x-pack/packages/kbn-streams-schema/src/helpers/index.ts @@ -5,4 +5,4 @@ * 2.0. */ -export type { StreamDefinition, ReadStreamDefinition } from './types'; +export * from './type_guards'; diff --git a/x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts b/x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts new file mode 100644 index 0000000000000..557513fa74bb2 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/helpers/type_guards.ts @@ -0,0 +1,108 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ZodSchema } from '@kbn/zod'; +import { + AndCondition, + conditionSchema, + dissectProcessingDefinitionSchema, + DissectProcssingDefinition, + FilterCondition, + filterConditionSchema, + GrokProcessingDefinition, + grokProcessingDefinitionSchema, + IngestReadStreamDefinition, + ingestReadStreamDefinitonSchema, + IngestStreamDefinition, + ingestStreamDefinitonSchema, + OrCondition, + ReadStreamDefinition, + readStreamDefinitonSchema, + StreamDefinition, + streamDefintionSchema, + WiredReadStreamDefinition, + wiredReadStreamDefinitonSchema, + WiredStreamDefinition, + wiredStreamDefinitonSchema, +} from '../models'; +import { + IngestStreamConfigDefinition, + ingestStreamConfigDefinitonSchema, + StreamConfigDefinition, + streamConfigDefinitionSchema, + WiredStreamConfigDefinition, + wiredStreamConfigDefinitonSchema, +} from '../models/stream_config'; + +export function isSchema(zodSchema: ZodSchema, subject: T) { + try { + zodSchema.parse(subject); + return true; + } catch (e) { + return false; + } +} + +export function isReadStream(subject: any): subject is ReadStreamDefinition { + return isSchema(readStreamDefinitonSchema, subject); +} + +export function isWiredReadStream(subject: any): subject is WiredReadStreamDefinition { + return isSchema(wiredReadStreamDefinitonSchema, subject); +} + +export function isIngestReadStream(subject: any): subject is IngestReadStreamDefinition { + return isSchema(ingestReadStreamDefinitonSchema, subject); +} + +export function isStream(subject: any): subject is StreamDefinition { + return isSchema(streamDefintionSchema, subject); +} + +export function isIngestStream( + subject: IngestStreamDefinition | WiredStreamDefinition +): subject is IngestStreamDefinition { + return isSchema(ingestStreamDefinitonSchema, subject); +} + +export function isWiredStream( + subject: IngestStreamDefinition | WiredStreamDefinition +): subject is WiredStreamDefinition { + return isSchema(wiredStreamDefinitonSchema, subject); +} + +export function isWiredStreamConfig(subject: any): subject is WiredStreamConfigDefinition { + return isSchema(wiredStreamConfigDefinitonSchema, subject); +} + +export function isIngestStreamConfig(subject: any): subject is IngestStreamConfigDefinition { + return isSchema(ingestStreamConfigDefinitonSchema, subject); +} + +export function isStreamConfig(subject: any): subject is StreamConfigDefinition { + return isSchema(streamConfigDefinitionSchema, subject); +} + +export function isGrokProcessor(subject: any): subject is GrokProcessingDefinition { + return isSchema(grokProcessingDefinitionSchema, subject); +} + +export function isDissectProcessor(subject: any): subject is DissectProcssingDefinition { + return isSchema(dissectProcessingDefinitionSchema, subject); +} + +export function isFilterCondition(subject: any): subject is FilterCondition { + return isSchema(filterConditionSchema, subject); +} + +export function isAndCondition(subject: any): subject is AndCondition { + return isSchema(conditionSchema, subject) && subject.and != null; +} + +export function isOrCondition(subject: any): subject is OrCondition { + return isSchema(conditionSchema, subject) && subject.or != null; +} diff --git a/x-pack/solutions/observability/plugins/streams/common/types.ts b/x-pack/packages/kbn-streams-schema/src/models/common.ts similarity index 55% rename from x-pack/solutions/observability/plugins/streams/common/types.ts rename to x-pack/packages/kbn-streams-schema/src/models/common.ts index 7917864706c2d..0751d9fed90c9 100644 --- a/x-pack/solutions/observability/plugins/streams/common/types.ts +++ b/x-pack/packages/kbn-streams-schema/src/models/common.ts @@ -48,71 +48,71 @@ export const conditionSchema: z.ZodType = z.lazy(() => ); export const grokProcessingDefinitionSchema = z.object({ - type: z.literal('grok'), - field: z.string(), - patterns: z.array(z.string()), - pattern_definitions: z.optional(z.record(z.string())), + grok: z.object({ + field: z.string(), + patterns: z.array(z.string()), + pattern_definitions: z.optional(z.record(z.string())), + }), }); +export type GrokProcessingDefinition = z.infer; + export const dissectProcessingDefinitionSchema = z.object({ - type: z.literal('dissect'), - field: z.string(), - pattern: z.string(), + dissect: z.object({ + field: z.string(), + pattern: z.string(), + }), }); +export type DissectProcssingDefinition = z.infer; + +export const processingConfigSchema = z.union([ + grokProcessingDefinitionSchema, + dissectProcessingDefinitionSchema, +]); + export const processingDefinitionSchema = z.object({ condition: z.optional(conditionSchema), - config: z.discriminatedUnion('type', [ - grokProcessingDefinitionSchema, - dissectProcessingDefinitionSchema, - ]), + config: processingConfigSchema, }); export type ProcessingDefinition = z.infer; -export const fieldDefinitionSchema = z.object({ - name: z.string(), +export const fieldDefinitionConfigSchema = z.object({ type: z.enum(['keyword', 'match_only_text', 'long', 'double', 'date', 'boolean', 'ip']), format: z.optional(z.string()), }); -export type FieldDefinition = z.infer; - -export const streamChildSchema = z.object({ - id: z.string(), - condition: z.optional(conditionSchema), -}); +export type FieldDefinitionConfig = z.infer; -export type StreamChild = z.infer; +export const fieldDefinitionSchema = z.record(z.string(), fieldDefinitionConfigSchema); -export const streamWithoutIdDefinitonSchema = z.object({ - processing: z.array(processingDefinitionSchema).default([]), - fields: z.array(fieldDefinitionSchema).default([]), - managed: z.boolean().default(true), - children: z.array(streamChildSchema).default([]), -}); +export type FieldDefinition = z.infer; -export type StreamWithoutIdDefinition = z.infer; +export const inheritedFieldDefinitionSchema = z.record( + z.string(), + fieldDefinitionConfigSchema.extend({ from: z.string() }) +); -export const unmanagedElasticsearchAsset = z.object({ - type: z.enum(['ingest_pipeline', 'component_template', 'index_template', 'data_stream']), - id: z.string(), -}); -export type UnmanagedElasticsearchAsset = z.infer; +export type InheritedFieldDefinition = z.infer; -export const streamDefinitonSchema = streamWithoutIdDefinitonSchema.extend({ - id: z.string(), - unmanaged_elasticsearch_assets: z.optional(z.array(unmanagedElasticsearchAsset)), +export const fieldDefinitionConfigWithNameSchema = fieldDefinitionConfigSchema.extend({ + name: z.string(), }); -export type StreamDefinition = z.infer; - -export const streamDefinitonWithoutChildrenSchema = streamDefinitonSchema.omit({ children: true }); - -export type StreamWithoutChildrenDefinition = z.infer; +export type FieldDefinitionConfigWithName = z.infer; -export const readStreamDefinitonSchema = streamDefinitonSchema.extend({ - inheritedFields: z.array(fieldDefinitionSchema.extend({ from: z.string() })).default([]), +export const streamChildSchema = z.object({ + name: z.string(), + condition: z.optional(conditionSchema), }); +export type StreamChild = z.infer; + +export const elasticsearchAssetSchema = z.array( + z.object({ + type: z.enum(['ingest_pipeline', 'component_template', 'index_template', 'data_stream']), + id: z.string(), + }) +); -export type ReadStreamDefinition = z.infer; +export type ElasticsearchAsset = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/index.ts b/x-pack/packages/kbn-streams-schema/src/models/index.ts new file mode 100644 index 0000000000000..dbb4ab6dbe6ac --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/index.ts @@ -0,0 +1,11 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './common'; +export * from './read_streams'; +export * from './streams'; +export * from './stream_config'; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap b/x-pack/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap new file mode 100644 index 0000000000000..0e3ca0bda8ded --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/__snapshots__/read_stream.test.ts.snap @@ -0,0 +1,104 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`ReadStream should successfully parse ingestReadStream 1`] = ` +Object { + "elasticsearch_assets": Array [], + "inherited_fields": Object { + "@timestamp": Object { + "from": "logs", + "type": "date", + }, + "message": Object { + "from": "logs", + "type": "match_only_text", + }, + }, + "name": "logs.nginx", + "stream": Object { + "ingest": Object { + "processing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "config": Object { + "grok": Object { + "field": "message", + "patterns": Array [ + "%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}", + ], + }, + }, + }, + ], + "routing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "name": "logs.errors", + }, + ], + }, + }, +} +`; + +exports[`ReadStream should successfully parse wiredReadStream 1`] = ` +Object { + "elasticsearch_assets": Array [], + "inherited_fields": Object { + "@timestamp": Object { + "from": "logs", + "type": "date", + }, + "message": Object { + "from": "logs", + "type": "match_only_text", + }, + }, + "name": "logs.nginx", + "stream": Object { + "ingest": Object { + "processing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "config": Object { + "grok": Object { + "field": "message", + "patterns": Array [ + "%{TIMESTAMP_ISO8601:event.timestamp} %{GREEDY:rest}", + ], + }, + }, + }, + ], + "routing": Array [ + Object { + "condition": Object { + "field": "log.level", + "operator": "eq", + "value": "error", + }, + "name": "logs.errors", + }, + ], + "wired": Object { + "fields": Object { + "new_field": Object { + "type": "long", + }, + }, + }, + }, + }, +} +`; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/index.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/index.ts new file mode 100644 index 0000000000000..1dce7ea7dcd30 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './ingest_read_stream'; +export * from './wired_read_stream'; +export * from './read_stream'; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts new file mode 100644 index 0000000000000..b98e45c568432 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/ingest_read_stream.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { ingestStreamDefinitonSchema } from '../streams'; +import { inheritedFieldDefinitionSchema } from '../common'; + +export const ingestReadStreamDefinitonSchema = ingestStreamDefinitonSchema + .extend({ + inherited_fields: inheritedFieldDefinitionSchema.default({}), + }) + .strict(); + +export type IngestReadStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts new file mode 100644 index 0000000000000..a4a3b974e29e4 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.test.ts @@ -0,0 +1,19 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ingestReadStream } from '../../fixtures/ingest_read_stream'; +import { wiredReadStream } from '../../fixtures/wired_read_stream'; +import { readStreamDefinitonSchema } from './read_stream'; + +describe('ReadStream', () => { + it('should successfully parse wiredReadStream', () => { + expect(readStreamDefinitonSchema.parse(wiredReadStream)).toMatchSnapshot(); + }); + it('should successfully parse ingestReadStream', () => { + expect(readStreamDefinitonSchema.parse(ingestReadStream)).toMatchSnapshot(); + }); +}); diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts new file mode 100644 index 0000000000000..e19574977bbe9 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/read_stream.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { ingestReadStreamDefinitonSchema } from './ingest_read_stream'; +import { wiredReadStreamDefinitonSchema } from './wired_read_stream'; + +export const readStreamDefinitonSchema = z.union([ + wiredReadStreamDefinitonSchema, + ingestReadStreamDefinitonSchema, +]); + +export type ReadStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts new file mode 100644 index 0000000000000..621da441d66b1 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/read_streams/wired_read_stream.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { wiredStreamDefinitonSchema } from '../streams'; +import { inheritedFieldDefinitionSchema } from '../common'; + +export const wiredReadStreamDefinitonSchema = wiredStreamDefinitonSchema + .extend({ + inherited_fields: inheritedFieldDefinitionSchema.default({}), + }) + .strict(); + +export type WiredReadStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/index.ts b/x-pack/packages/kbn-streams-schema/src/models/stream_config/index.ts new file mode 100644 index 0000000000000..90b0f0e49bf7b --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/stream_config/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './wired_stream_config'; +export * from './ingest_stream_config'; +export * from './stream_config'; diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts b/x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts new file mode 100644 index 0000000000000..106ca450121ff --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/stream_config/ingest_stream_config.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { processingDefinitionSchema, streamChildSchema } from '../common'; + +export const ingestStreamConfigDefinitonSchema = z + .object({ + ingest: z.object({ + processing: z.array(processingDefinitionSchema).default([]), + routing: z.array(streamChildSchema).default([]), + }), + }) + .strict(); + +export type IngestStreamConfigDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts b/x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts new file mode 100644 index 0000000000000..711f2ea7d725a --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/stream_config/stream_config.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { ingestStreamConfigDefinitonSchema } from './ingest_stream_config'; +import { wiredStreamConfigDefinitonSchema } from './wired_stream_config'; + +export const streamConfigDefinitionSchema = z.union([ + wiredStreamConfigDefinitonSchema, + ingestStreamConfigDefinitonSchema, +]); + +export type StreamConfigDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts b/x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts new file mode 100644 index 0000000000000..ad875e7e5be93 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/stream_config/wired_stream_config.ts @@ -0,0 +1,23 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { fieldDefinitionSchema, processingDefinitionSchema, streamChildSchema } from '../common'; + +export const wiredStreamConfigDefinitonSchema = z + .object({ + ingest: z.object({ + processing: z.array(processingDefinitionSchema).default([]), + wired: z.object({ + fields: fieldDefinitionSchema.default({}), + }), + routing: z.array(streamChildSchema).default([]), + }), + }) + .strict(); + +export type WiredStreamConfigDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/index.ts b/x-pack/packages/kbn-streams-schema/src/models/streams/index.ts new file mode 100644 index 0000000000000..b04fb5f85f933 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/streams/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './ingest_stream'; +export * from './wired_stream'; +export * from './stream'; diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts new file mode 100644 index 0000000000000..d21f11d869929 --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/streams/ingest_stream.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { ingestStreamConfigDefinitonSchema } from '../stream_config'; +import { elasticsearchAssetSchema } from '../common'; + +export const ingestStreamDefinitonSchema = z + .object({ + name: z.string(), + elasticsearch_assets: z.optional(elasticsearchAssetSchema), + stream: ingestStreamConfigDefinitonSchema, + }) + .strict(); + +export type IngestStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts b/x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts new file mode 100644 index 0000000000000..152397060e51b --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/streams/stream.ts @@ -0,0 +1,17 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { wiredStreamDefinitonSchema } from './wired_stream'; +import { ingestStreamDefinitonSchema } from './ingest_stream'; + +export const streamDefintionSchema = z.union([ + wiredStreamDefinitonSchema, + ingestStreamDefinitonSchema, +]); + +export type StreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts b/x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts new file mode 100644 index 0000000000000..0374472673cdb --- /dev/null +++ b/x-pack/packages/kbn-streams-schema/src/models/streams/wired_stream.ts @@ -0,0 +1,20 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { z } from '@kbn/zod'; +import { wiredStreamConfigDefinitonSchema } from '../stream_config'; +import { elasticsearchAssetSchema } from '../common'; + +export const wiredStreamDefinitonSchema = z + .object({ + name: z.string(), + elasticsearch_assets: z.optional(elasticsearchAssetSchema), + stream: wiredStreamConfigDefinitonSchema, + }) + .strict(); + +export type WiredStreamDefinition = z.infer; diff --git a/x-pack/packages/kbn-alerting-comparators/tsconfig.json b/x-pack/packages/kbn-streams-schema/tsconfig.json similarity index 88% rename from x-pack/packages/kbn-alerting-comparators/tsconfig.json rename to x-pack/packages/kbn-streams-schema/tsconfig.json index 196ffd23d93cd..838f32bc68e74 100644 --- a/x-pack/packages/kbn-alerting-comparators/tsconfig.json +++ b/x-pack/packages/kbn-streams-schema/tsconfig.json @@ -8,11 +8,13 @@ ] }, "include": [ - "**/*.ts", + "**/*.ts" + ], + "kbn_references": [ + "@kbn/zod" ], "exclude": [ "target/**/*" - ], - "kbn_references": [ ] } + diff --git a/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts b/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts index 3cf293b935b36..ec4df77be6cc8 100644 --- a/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts +++ b/x-pack/packages/security/authorization_core/src/privileges/feature_privilege_builder/cases.ts @@ -18,7 +18,7 @@ export type CasesSupportedOperations = (typeof allOperations)[number]; * extend the mapping here x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.ts * * Also if you add a new operation (createCase, updateCase, etc) here you'll likely also need to make changes here: - * x-pack/plugins/cases/server/authorization/index.ts and here x-pack/plugins/cases/server/connectors/cases/utils.ts + * x-pack/platform/plugins/shared/cases/server/authorization/index.ts and here x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts */ const pushOperations = ['pushCase'] as const; diff --git a/x-pack/packages/kbn-alerting-state-types/README.md b/x-pack/platform/packages/private/kbn-alerting-state-types/README.md similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/README.md rename to x-pack/platform/packages/private/kbn-alerting-state-types/README.md diff --git a/x-pack/packages/kbn-alerting-state-types/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/index.ts diff --git a/x-pack/packages/kbn-alerting-comparators/jest.config.js b/x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js similarity index 73% rename from x-pack/packages/kbn-alerting-comparators/jest.config.js rename to x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js index 9f1da3b8875aa..7917fe867018c 100644 --- a/x-pack/packages/kbn-alerting-comparators/jest.config.js +++ b/x-pack/platform/packages/private/kbn-alerting-state-types/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-alerting-comparators'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/packages/private/kbn-alerting-state-types'], }; diff --git a/x-pack/packages/kbn-alerting-state-types/kibana.jsonc b/x-pack/platform/packages/private/kbn-alerting-state-types/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/kibana.jsonc rename to x-pack/platform/packages/private/kbn-alerting-state-types/kibana.jsonc diff --git a/x-pack/packages/kbn-alerting-state-types/package.json b/x-pack/platform/packages/private/kbn-alerting-state-types/package.json similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/package.json rename to x-pack/platform/packages/private/kbn-alerting-state-types/package.json diff --git a/x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/alert_instance.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/alert_instance.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/lifecycle_state.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/lifecycle_state.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/rule_task_instance.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/rule_task_instance.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/lib/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/lib/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/lib/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/lib/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/index.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/index.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.test.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.test.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.test.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.test.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/migration.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/migration.ts diff --git a/x-pack/packages/kbn-alerting-state-types/src/task_state/v1/schema.ts b/x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/schema.ts similarity index 100% rename from x-pack/packages/kbn-alerting-state-types/src/task_state/v1/schema.ts rename to x-pack/platform/packages/private/kbn-alerting-state-types/src/task_state/v1/schema.ts diff --git a/x-pack/packages/kbn-alerting-state-types/tsconfig.json b/x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json similarity index 81% rename from x-pack/packages/kbn-alerting-state-types/tsconfig.json rename to x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json index e1a705d2a1ed8..d72285565f7a0 100644 --- a/x-pack/packages/kbn-alerting-state-types/tsconfig.json +++ b/x-pack/platform/packages/private/kbn-alerting-state-types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/packages/maps/vector_tile_utils/README.md b/x-pack/platform/packages/private/maps/vector_tile_utils/README.md similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/README.md rename to x-pack/platform/packages/private/maps/vector_tile_utils/README.md diff --git a/x-pack/packages/maps/vector_tile_utils/index.ts b/x-pack/platform/packages/private/maps/vector_tile_utils/index.ts similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/index.ts rename to x-pack/platform/packages/private/maps/vector_tile_utils/index.ts diff --git a/x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js b/x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js new file mode 100644 index 0000000000000..622f668754ea3 --- /dev/null +++ b/x-pack/platform/packages/private/maps/vector_tile_utils/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../..', + roots: ['/x-pack/platform/packages/private/maps/vector_tile_utils'], +}; diff --git a/x-pack/packages/maps/vector_tile_utils/kibana.jsonc b/x-pack/platform/packages/private/maps/vector_tile_utils/kibana.jsonc similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/kibana.jsonc rename to x-pack/platform/packages/private/maps/vector_tile_utils/kibana.jsonc diff --git a/x-pack/packages/maps/vector_tile_utils/package.json b/x-pack/platform/packages/private/maps/vector_tile_utils/package.json similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/package.json rename to x-pack/platform/packages/private/maps/vector_tile_utils/package.json diff --git a/x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts b/x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts similarity index 100% rename from x-pack/packages/maps/vector_tile_utils/src/get_tile_url_params.ts rename to x-pack/platform/packages/private/maps/vector_tile_utils/src/get_tile_url_params.ts diff --git a/x-pack/packages/maps/vector_tile_utils/tsconfig.json b/x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json similarity index 82% rename from x-pack/packages/maps/vector_tile_utils/tsconfig.json rename to x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json index 7b5a89ce1a8ce..840ed720badb2 100644 --- a/x-pack/packages/maps/vector_tile_utils/tsconfig.json +++ b/x-pack/platform/packages/private/maps/vector_tile_utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx index 3925b51b6c38e..060b0ee997d00 100644 --- a/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx +++ b/x-pack/platform/packages/private/ml/date_picker/src/components/date_picker_wrapper.tsx @@ -87,10 +87,6 @@ interface DatePickerWrapperProps { * Width setting to be passed on to `EuiSuperDatePicker` */ width?: EuiSuperDatePickerProps['width']; - /** - * Boolean flag to set use of flex group wrapper - */ - flexGroup?: boolean; /** * Boolean flag to disable the date picker */ @@ -123,7 +119,6 @@ export const DatePickerWrapper: FC = (props) => { isLoading = false, showRefresh, width, - flexGroup = true, isDisabled = false, needsUpdate, onRefresh, @@ -363,6 +358,8 @@ export const DatePickerWrapper: FC = (props) => { ); + const flexGroup = !isTimeRangeSelectorEnabled || isAutoRefreshOnly === true; + const wrapped = flexGroup ? ( {flexItems} diff --git a/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx b/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx index da0740f884ea9..f6e0aa1850cb9 100644 --- a/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx +++ b/x-pack/platform/packages/private/ml/date_picker/src/components/full_time_range_selector.tsx @@ -220,7 +220,7 @@ export const FullTimeRangeSelector: FC = (props) => }, [frozenDataPreference, showFrozenDataTierChoice]); return ( - + ): RawConnector => { + return { + id: 'id', + actionTypeId: 'connector-type', + name: 'some connector', + config: {}, + ...parts, + }; +}; + +describe('isSupportedConnectorType', () => { + it('returns true for supported connector types', () => { + expect(isSupportedConnectorType(InferenceConnectorType.OpenAI)).toBe(true); + expect(isSupportedConnectorType(InferenceConnectorType.Bedrock)).toBe(true); + expect(isSupportedConnectorType(InferenceConnectorType.Gemini)).toBe(true); + expect(isSupportedConnectorType(InferenceConnectorType.Inference)).toBe(true); + }); + it('returns false for unsupported connector types', () => { + expect(isSupportedConnectorType('anything-else')).toBe(false); + }); +}); + +describe('isSupportedConnector', () => { + // TODO + + it('returns true for OpenAI connectors', () => { + expect( + isSupportedConnector(createRawConnector({ actionTypeId: InferenceConnectorType.OpenAI })) + ).toBe(true); + }); + + it('returns true for Bedrock connectors', () => { + expect( + isSupportedConnector(createRawConnector({ actionTypeId: InferenceConnectorType.Bedrock })) + ).toBe(true); + }); + + it('returns true for Gemini connectors', () => { + expect( + isSupportedConnector(createRawConnector({ actionTypeId: InferenceConnectorType.Gemini })) + ).toBe(true); + }); + + it('returns true for OpenAI connectors with the right taskType', () => { + expect( + isSupportedConnector( + createRawConnector({ + actionTypeId: InferenceConnectorType.Inference, + config: { taskType: COMPLETION_TASK_TYPE }, + }) + ) + ).toBe(true); + }); + + it('returns false for OpenAI connectors with a bad taskType', () => { + expect( + isSupportedConnector( + createRawConnector({ + actionTypeId: InferenceConnectorType.Inference, + config: { taskType: 'embeddings' }, + }) + ) + ).toBe(false); + }); + + it('returns false for OpenAI connectors without taskType', () => { + expect( + isSupportedConnector( + createRawConnector({ + actionTypeId: InferenceConnectorType.Inference, + config: {}, + }) + ) + ).toBe(false); + }); +}); diff --git a/x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts b/x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts new file mode 100644 index 0000000000000..da77d973614b5 --- /dev/null +++ b/x-pack/platform/packages/shared/ai-infra/inference-common/src/connectors.ts @@ -0,0 +1,76 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +/** + * The list of connector types that can be used with the inference APIs + */ +export enum InferenceConnectorType { + OpenAI = '.gen-ai', + Bedrock = '.bedrock', + Gemini = '.gemini', + Inference = '.inference', +} + +export const COMPLETION_TASK_TYPE = 'completion'; + +const allSupportedConnectorTypes = Object.values(InferenceConnectorType); + +export interface InferenceConnector { + type: InferenceConnectorType; + name: string; + connectorId: string; +} + +/** + * Checks if a given connector type is compatible for inference. + * + * Note: this check is not sufficient to assert if a given connector can be + * used for inference, as `.inference` connectors need additional check logic. + * Please use `isSupportedConnector` instead when possible. + */ +export function isSupportedConnectorType(id: string): id is InferenceConnectorType { + return allSupportedConnectorTypes.includes(id as InferenceConnectorType); +} + +/** + * Checks if a given connector is compatible for inference. + * + * A connector is compatible if: + * 1. its type is in the list of allowed types + * 2. for inference connectors, if its taskType is "completion" + */ +export function isSupportedConnector(connector: RawConnector): connector is RawInferenceConnector { + if (!isSupportedConnectorType(connector.actionTypeId)) { + return false; + } + if (connector.actionTypeId === InferenceConnectorType.Inference) { + const config = connector.config ?? {}; + if (config.taskType !== COMPLETION_TASK_TYPE) { + return false; + } + } + return true; +} + +/** + * Connector types are living in the actions plugin and we can't afford + * having dependencies from this package to some mid-level plugin, + * so we're just using our own connector mixin type. + */ +export interface RawConnector { + id: string; + actionTypeId: string; + name: string; + config?: Record; +} + +interface RawInferenceConnector { + id: string; + actionTypeId: InferenceConnectorType; + name: string; + config?: Record; +} diff --git a/x-pack/packages/kbn-alerting-comparators/README.md b/x-pack/platform/packages/shared/kbn-alerting-comparators/README.md similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/README.md rename to x-pack/platform/packages/shared/kbn-alerting-comparators/README.md diff --git a/x-pack/packages/kbn-alerting-comparators/index.ts b/x-pack/platform/packages/shared/kbn-alerting-comparators/index.ts similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/index.ts rename to x-pack/platform/packages/shared/kbn-alerting-comparators/index.ts diff --git a/x-pack/packages/kbn-alerting-state-types/jest.config.js b/x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js similarity index 73% rename from x-pack/packages/kbn-alerting-state-types/jest.config.js rename to x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js index 50f7065f8b992..08a9ffc382317 100644 --- a/x-pack/packages/kbn-alerting-state-types/jest.config.js +++ b/x-pack/platform/packages/shared/kbn-alerting-comparators/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_node', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-alerting-state-types'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/packages/shared/kbn-alerting-comparators'], }; diff --git a/x-pack/packages/kbn-alerting-comparators/kibana.jsonc b/x-pack/platform/packages/shared/kbn-alerting-comparators/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/kibana.jsonc rename to x-pack/platform/packages/shared/kbn-alerting-comparators/kibana.jsonc diff --git a/x-pack/packages/kbn-alerting-comparators/package.json b/x-pack/platform/packages/shared/kbn-alerting-comparators/package.json similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/package.json rename to x-pack/platform/packages/shared/kbn-alerting-comparators/package.json diff --git a/x-pack/packages/kbn-alerting-comparators/src/comparators.ts b/x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts similarity index 100% rename from x-pack/packages/kbn-alerting-comparators/src/comparators.ts rename to x-pack/platform/packages/shared/kbn-alerting-comparators/src/comparators.ts diff --git a/x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json b/x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json new file mode 100644 index 0000000000000..37d1561f95b8d --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-alerting-comparators/tsconfig.json @@ -0,0 +1,18 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node" + ] + }, + "include": [ + "**/*.ts", + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + ] +} diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.test.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.test.ts index 975896f381443..022663e11d97d 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.test.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.test.ts @@ -13,6 +13,7 @@ describe('getOpenAndAcknowledgedAlertsQuery', () => { const anonymizationFields = [ { id: 'field1', field: 'field1', allowed: true, anonymized: false }, { id: 'field2', field: 'field2', allowed: true, anonymized: false }, + { id: 'field3', field: 'field3', allowed: false, anonymized: false }, ]; const size = 10; diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts index 6f6e196053ca6..c275b9e640c3f 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/alerts/get_open_and_acknowledged_alerts_query/index.ts @@ -7,6 +7,34 @@ import type { AnonymizationFieldResponse } from '../../schemas/anonymization_fields/bulk_crud_anonymization_fields_route.gen'; +export const DEFAULT_END = 'now'; +export const DEFAULT_START = 'now-24h'; + +interface GetOpenAndAcknowledgedAlertsQuery { + allow_no_indices: boolean; + body: { + fields: Array<{ + field: string; + include_unmapped: boolean; + }>; + query: { + bool: { + filter: Array>; + }; + }; + runtime_mappings: Record; + size: number; + sort: Array<{ + [key: string]: { + order: string; + }; + }>; + _source: boolean; + }; + ignore_unavailable: boolean; + index: string[]; +} + /** * This query returns open and acknowledged (non-building block) alerts in the last 24 hours. * @@ -15,12 +43,18 @@ import type { AnonymizationFieldResponse } from '../../schemas/anonymization_fie export const getOpenAndAcknowledgedAlertsQuery = ({ alertsIndexPattern, anonymizationFields, + end, + filter, size, + start, }: { alertsIndexPattern: string; anonymizationFields: AnonymizationFieldResponse[]; + end?: string | null; + filter?: Record | null; size: number; -}) => ({ + start?: string | null; +}): GetOpenAndAcknowledgedAlertsQuery => ({ allow_no_indices: true, body: { fields: anonymizationFields @@ -53,11 +87,12 @@ export const getOpenAndAcknowledgedAlertsQuery = ({ minimum_should_match: 1, }, }, + ...(filter != null ? [filter] : []), { range: { '@timestamp': { - gte: 'now-24h', - lte: 'now', + gte: start != null ? start : DEFAULT_START, + lte: end != null ? end : DEFAULT_END, format: 'strict_date_optional_time', }, }, diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts index 0e204b4b949ea..35f4b88ef7174 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts @@ -20,5 +20,6 @@ export type AssistantFeatureKey = keyof AssistantFeatures; */ export const defaultAssistantFeatures = Object.freeze({ assistantModelEvaluation: false, + attackDiscoveryAlertFiltering: false, defendInsights: false, }); diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts index e080be1138eb3..a3293ee255dbe 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.gen.ts @@ -28,11 +28,14 @@ export const AttackDiscoveryPostRequestBody = z.object({ * LLM API configuration. */ apiConfig: ApiConfig, + end: z.string().optional(), + filter: z.object({}).catchall(z.unknown()).optional(), langSmithProject: z.string().optional(), langSmithApiKey: z.string().optional(), model: z.string().optional(), replacements: Replacements.optional(), size: z.number(), + start: z.string().optional(), subAction: z.enum(['invokeAI', 'invokeStream']), }); export type AttackDiscoveryPostRequestBodyInput = z.input; diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.schema.yaml b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.schema.yaml index e613fbf841a21..ba85d4e31615b 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.schema.yaml +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/attack_discovery/post_attack_discovery_route.schema.yaml @@ -38,6 +38,11 @@ paths: apiConfig: $ref: '../conversations/common_attributes.schema.yaml#/components/schemas/ApiConfig' description: LLM API configuration. + end: + type: string + filter: + type: object + additionalProperties: true langSmithProject: type: string langSmithApiKey: @@ -48,6 +53,8 @@ paths: $ref: '../conversations/common_attributes.schema.yaml#/components/schemas/Replacements' size: type: number + start: + type: string subAction: type: string enum: diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts index 8777e8d728279..5fc79ab1ce132 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.gen.ts @@ -19,5 +19,6 @@ import { z } from '@kbn/zod'; export type GetCapabilitiesResponse = z.infer; export const GetCapabilitiesResponse = z.object({ assistantModelEvaluation: z.boolean(), + attackDiscoveryAlertFiltering: z.boolean(), defendInsights: z.boolean(), }); diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.schema.yaml b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.schema.yaml index e9b6ca9697256..e1861f01a4d93 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.schema.yaml +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/schemas/capabilities/get_capabilities_route.schema.yaml @@ -22,10 +22,13 @@ paths: properties: assistantModelEvaluation: type: boolean + attackDiscoveryAlertFiltering: + type: boolean defendInsights: type: boolean required: - assistantModelEvaluation + - attackDiscoveryAlertFiltering - defendInsights '400': description: Generic Error diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/index.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/index.ts index 41ed86dacd9db..19221ee4c27ac 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant-common/index.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant-common/index.ts @@ -41,3 +41,10 @@ export { getRawDataOrDefault } from './impl/alerts/helpers/get_raw_data_or_defau /** Return true if the provided size is out of range */ export { sizeIsOutOfRange } from './impl/alerts/helpers/size_is_out_of_range'; + +export { + /** The default (relative) end of the date range (i.e. `now`) */ + DEFAULT_END, + /** The default (relative) start of the date range (i.e. `now-24h`) */ + DEFAULT_START, +} from './impl/alerts/get_open_and_acknowledged_alerts_query'; diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx b/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx index 63c8adf37e5b8..c8b08f90f14bc 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant_context/constants.tsx @@ -10,10 +10,14 @@ import { KnowledgeBaseConfig } from '../assistant/types'; export const ATTACK_DISCOVERY_STORAGE_KEY = 'attackDiscovery'; export const DEFEND_INSIGHTS_STORAGE_KEY = 'defendInsights'; export const DEFAULT_ASSISTANT_NAMESPACE = 'elasticAssistantDefault'; +export const END_LOCAL_STORAGE_KEY = 'end'; export const LAST_CONVERSATION_ID_LOCAL_STORAGE_KEY = 'lastConversationId'; +export const FILTERS_LOCAL_STORAGE_KEY = 'filters'; export const MAX_ALERTS_LOCAL_STORAGE_KEY = 'maxAlerts'; export const KNOWLEDGE_BASE_LOCAL_STORAGE_KEY = 'knowledgeBase'; +export const QUERY_LOCAL_STORAGE_KEY = 'query'; export const SHOW_SETTINGS_TOUR_LOCAL_STORAGE_KEY = 'showSettingsTour'; +export const START_LOCAL_STORAGE_KEY = 'start'; export const STREAMING_LOCAL_STORAGE_KEY = 'streaming'; export const TRACE_OPTIONS_SESSION_STORAGE_KEY = 'traceOptions'; export const CONVERSATION_TABLE_SESSION_STORAGE_KEY = 'conversationTable'; diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts b/x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts index 97cd680fae3af..5b9beab5467d7 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant/index.ts @@ -84,11 +84,19 @@ export { DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS, DEFAULT_LATEST_ALERTS, DEFEND_INSIGHTS_STORAGE_KEY, + /** The end of the date range of alerts, sent as context to the LLM */ + END_LOCAL_STORAGE_KEY, + /** Search bar filters that apply to the alerts sent as context to the LLM */ + FILTERS_LOCAL_STORAGE_KEY, KNOWLEDGE_BASE_LOCAL_STORAGE_KEY, /** The local storage key that specifies the maximum number of alerts to send as context */ MAX_ALERTS_LOCAL_STORAGE_KEY, + /** Search bar query that apply to the alerts sent as context to the LLM */ + QUERY_LOCAL_STORAGE_KEY, /** The local storage key that specifies whether the settings tour should be shown */ SHOW_SETTINGS_TOUR_LOCAL_STORAGE_KEY, + /** The start of the date range of alerts, sent as context to the LLM */ + START_LOCAL_STORAGE_KEY, } from './impl/assistant_context/constants'; export { useLoadConnectors } from './impl/connectorland/use_load_connectors'; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/README.md b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/README.md new file mode 100644 index 0000000000000..206267522f29d --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/README.md @@ -0,0 +1,7 @@ +# @kbn/kbn-inference-endpoint-ui-common + +The `Inference Endpoint UI common` is a shared UI library to create AI Connector and/or inference endpoints. + +This package provides: + +- Components for rendering the GenAI services and their associated fields diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/index.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/index.ts new file mode 100644 index 0000000000000..a2abc5514bd05 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { InferenceServiceFormFields } from './src/components/inference_service_form_fields'; + +export * from './src/types/types'; diff --git a/x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/jest.config.js similarity index 76% rename from x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/jest.config.js index ee68881a5863b..6e305551c279a 100644 --- a/x-pack/packages/observability/observability_utils/observability_utils_common/jest.config.js +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/jest.config.js @@ -8,5 +8,5 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', - roots: ['/x-pack/packages/observability/observability_utils/observability_utils_common'], + roots: ['/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common'], }; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/kibana.jsonc b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/kibana.jsonc new file mode 100644 index 0000000000000..e902264afb61a --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/kibana.jsonc @@ -0,0 +1,12 @@ +{ + "type": "shared-browser", + "id": "@kbn/inference-endpoint-ui-common", + "owner": [ + "@elastic/response-ops", + "@elastic/appex-ai-infra", + "@elastic/obs-ai-assistant", + "@elastic/security-generative-ai" + ], + "group": "platform", + "visibility": "shared" +} diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/package.json b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/package.json new file mode 100644 index 0000000000000..c3ea31bb0a4f0 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/package.json @@ -0,0 +1,6 @@ +{ + "name": "@kbn/inference-endpoint-ui-common", + "private": true, + "version": "1.0.0", + "license": "Elastic License 2.0" +} \ No newline at end of file diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/setup_tests.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/setup_tests.ts new file mode 100644 index 0000000000000..72e0edd0d07f7 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/setup_tests.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +// eslint-disable-next-line import/no-extraneous-dependencies +import '@testing-library/jest-dom'; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/additional_options_fields.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/additional_options_fields.tsx new file mode 100644 index 0000000000000..381b15b78020f --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/additional_options_fields.tsx @@ -0,0 +1,290 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useMemo } from 'react'; +import { css } from '@emotion/react'; + +import { + EuiFormRow, + EuiSpacer, + EuiTitle, + EuiAccordion, + EuiFieldText, + useEuiTheme, + EuiTextColor, + EuiButtonGroup, + EuiPanel, + EuiButtonEmpty, + EuiCopy, + EuiButton, + useEuiFontSize, + EuiText, +} from '@elastic/eui'; +import { + getFieldValidityAndErrorMessage, + UseField, + useFormContext, +} from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { FormattedMessage } from '@kbn/i18n-react'; + +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; +import { ConfigurationFormItems } from './configuration/configuration_form_items'; +import * as LABELS from '../translations'; +import { DEFAULT_TASK_TYPE } from '../constants'; +import { Config, ConfigEntryView } from '../types/types'; +import { TaskTypeOption } from '../utils/helpers'; + +// Custom trigger button CSS +const buttonCss = css` + &:hover { + text-decoration: none; + } +`; + +interface AdditionalOptionsFieldsProps { + config: Config; + optionalProviderFormFields: ConfigEntryView[]; + onSetProviderConfigEntry: (key: string, value: unknown) => Promise; + onTaskTypeOptionsSelect: (taskType: string, provider?: string) => void; + selectedTaskType?: string; + taskTypeOptions: TaskTypeOption[]; +} + +export const AdditionalOptionsFields: React.FC = ({ + config, + taskTypeOptions, + optionalProviderFormFields, + selectedTaskType, + onSetProviderConfigEntry, + onTaskTypeOptionsSelect, +}) => { + const xsFontSize = useEuiFontSize('xs').fontSize; + const { euiTheme } = useEuiTheme(); + const { setFieldValue } = useFormContext(); + + const taskTypeSettings = useMemo( + () => + selectedTaskType || config.taskType?.length ? ( + <> + +

+ +

+ + + + + + + {(field) => { + const { isInvalid, errorMessage } = getFieldValidityAndErrorMessage(field); + + return ( + + {taskTypeOptions.length === 1 ? ( + onTaskTypeOptionsSelect(config.taskType)} + > + {config.taskType} + + ) : ( + onTaskTypeOptionsSelect(id)} + options={taskTypeOptions} + color="text" + type="single" + /> + )} + + ); + }} + + + ) : null, + [ + selectedTaskType, + config.taskType, + xsFontSize, + euiTheme.colors, + taskTypeOptions, + onTaskTypeOptionsSelect, + ] + ); + + const inferenceUri = useMemo(() => `_inference/${selectedTaskType}/`, [selectedTaskType]); + + return ( + + + + } + initialIsOpen={true} + > + + + {optionalProviderFormFields.length > 0 ? ( + <> + +

+ +

+
+ + + + + + + + ) : null} + + {taskTypeSettings} + + +

+ +

+
+ + + + + + + {(field) => { + const { isInvalid, errorMessage } = getFieldValidityAndErrorMessage(field); + + return ( + + } + > + { + setFieldValue('config.inferenceId', e.target.value); + }} + prepend={inferenceUri} + append={ + + {(copy) => ( + + + + )} + + } + /> + + ); + }} + +
+
+ ); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_field.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_field.tsx new file mode 100644 index 0000000000000..6772a6aaaf391 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_field.tsx @@ -0,0 +1,228 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useEffect, useState } from 'react'; + +import { + EuiAccordion, + EuiFieldText, + EuiFieldPassword, + EuiSwitch, + EuiTextArea, + EuiFieldNumber, +} from '@elastic/eui'; + +import { isEmpty } from 'lodash/fp'; +import { ConfigEntryView, FieldType } from '../../types/types'; +import { ensureBooleanType, ensureCorrectTyping, ensureStringType } from './configuration_utils'; + +interface ConfigurationFieldProps { + configEntry: ConfigEntryView; + isLoading: boolean; + setConfigValue: (value: number | string | boolean | null) => void; +} + +interface ConfigInputFieldProps { + configEntry: ConfigEntryView; + isLoading: boolean; + validateAndSetConfigValue: (value: string | boolean) => void; +} +export const ConfigInputField: React.FC = ({ + configEntry, + isLoading, + validateAndSetConfigValue, +}) => { + const { isValid, value, default_value: defaultValue, key } = configEntry; + const [innerValue, setInnerValue] = useState( + !value || value.toString().length === 0 ? defaultValue : value + ); + + useEffect(() => { + setInnerValue(!value || value.toString().length === 0 ? defaultValue : value); + }, [defaultValue, value]); + return ( + { + setInnerValue(event.target.value); + validateAndSetConfigValue(event.target.value); + }} + /> + ); +}; + +export const ConfigSwitchField: React.FC = ({ + configEntry, + isLoading, + validateAndSetConfigValue, +}) => { + const { label, value, default_value: defaultValue, key } = configEntry; + const [innerValue, setInnerValue] = useState(value ?? defaultValue); + useEffect(() => { + setInnerValue(value ?? defaultValue); + }, [defaultValue, value]); + return ( + {label}

} + onChange={(event) => { + setInnerValue(event.target.checked); + validateAndSetConfigValue(event.target.checked); + }} + /> + ); +}; + +export const ConfigInputTextArea: React.FC = ({ + isLoading, + configEntry, + validateAndSetConfigValue, +}) => { + const { isValid, value, default_value: defaultValue, key } = configEntry; + const [innerValue, setInnerValue] = useState(value ?? defaultValue); + useEffect(() => { + setInnerValue(value ?? ''); + }, [defaultValue, value]); + return ( + { + setInnerValue(event.target.value); + validateAndSetConfigValue(event.target.value); + }} + /> + ); +}; + +export const ConfigNumberField: React.FC = ({ + configEntry, + isLoading, + validateAndSetConfigValue, +}) => { + const { isValid, value, default_value: defaultValue, key } = configEntry; + const [innerValue, setInnerValue] = useState(value ?? defaultValue); + useEffect(() => { + setInnerValue(!value || value.toString().length === 0 ? defaultValue : value); + }, [defaultValue, value]); + return ( + { + const newValue = isEmpty(event.target.value) ? '0' : event.target.value; + setInnerValue(newValue); + validateAndSetConfigValue(newValue); + }} + /> + ); +}; + +export const ConfigSensitiveTextArea: React.FC = ({ + isLoading, + configEntry, + validateAndSetConfigValue, +}) => { + const { key, label } = configEntry; + return ( + {label}

}> + +
+ ); +}; + +export const ConfigInputPassword: React.FC = ({ + isLoading, + configEntry, + validateAndSetConfigValue, +}) => { + const { value, key } = configEntry; + const [innerValue, setInnerValue] = useState(value ?? null); + useEffect(() => { + setInnerValue(value ?? null); + }, [value]); + return ( + <> + { + setInnerValue(event.target.value); + validateAndSetConfigValue(event.target.value); + }} + /> + + ); +}; + +export const ConfigurationField: React.FC = ({ + configEntry, + isLoading, + setConfigValue, +}) => { + const validateAndSetConfigValue = (value: number | string | boolean) => { + setConfigValue(ensureCorrectTyping(configEntry.type, value)); + }; + + const { key, type, sensitive } = configEntry; + + switch (type) { + case FieldType.INTEGER: + return ( + + ); + + case FieldType.BOOLEAN: + return ( + + ); + + default: + return sensitive ? ( + + ) : ( + + ); + } +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_form_items.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_form_items.tsx new file mode 100644 index 0000000000000..aa382f054f6be --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_form_items.tsx @@ -0,0 +1,89 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; + +import { + EuiCallOut, + EuiFlexGroup, + EuiFlexItem, + EuiFormRow, + EuiSpacer, + EuiText, +} from '@elastic/eui'; + +import { ConfigEntryView } from '../../types/types'; +import { ConfigurationField } from './configuration_field'; +import * as LABELS from '../../translations'; + +interface ConfigurationFormItemsProps { + isLoading: boolean; + items: ConfigEntryView[]; + setConfigEntry: (key: string, value: string | number | boolean | null) => void; + direction?: 'column' | 'row' | 'rowReverse' | 'columnReverse' | undefined; +} + +export const ConfigurationFormItems: React.FC = ({ + isLoading, + items, + setConfigEntry, + direction, +}) => { + return ( + + {items.map((configEntry) => { + const { key, isValid, label, sensitive, description, validationErrors, required } = + configEntry; + + // toggle and sensitive textarea labels go next to the element, not in the row + const rowLabel = description ? ( + + +

{label}

+
+
+ ) : ( +

{label}

+ ); + + const optionalLabel = !required ? ( + + {LABELS.OPTIONALTEXT} + + ) : undefined; + + return ( + + + { + setConfigEntry(key, value); + }} + /> + + {sensitive ? ( + <> + + + + ) : null} + + ); + })} +
+ ); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.test.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.test.ts new file mode 100644 index 0000000000000..9345dcd002c32 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.test.ts @@ -0,0 +1,62 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FieldType } from '@kbn/search-connectors/types'; +import { ensureBooleanType, ensureCorrectTyping, ensureStringType } from './configuration_utils'; + +describe('configuration utils', () => { + describe('ensureBooleanType', () => { + it('converts truthy values to true', () => { + expect(ensureBooleanType('true')).toBe(true); + expect(ensureBooleanType(1)).toBe(true); + expect(ensureBooleanType(true)).toBe(true); + expect(ensureBooleanType('any string')).toBe(true); + }); + + it('converts falsy values to false', () => { + expect(ensureBooleanType('')).toBe(false); + expect(ensureBooleanType(0)).toBe(false); + expect(ensureBooleanType(false)).toBe(false); + expect(ensureBooleanType(null)).toBe(false); + }); + }); + + describe('ensureStringType', () => { + it('converts values to string', () => { + expect(ensureStringType('test')).toBe('test'); + expect(ensureStringType(123)).toBe('123'); + expect(ensureStringType(true)).toBe('true'); + expect(ensureStringType(false)).toBe('false'); + }); + + it('converts null to empty string', () => { + expect(ensureStringType(null)).toBe(''); + }); + }); + + describe('ensureCorrectTyping', () => { + it('handles integer type', () => { + expect(ensureCorrectTyping(FieldType.INTEGER, '123')).toBe(123); + expect(ensureCorrectTyping(FieldType.INTEGER, 456)).toBe(456); + expect(ensureCorrectTyping(FieldType.INTEGER, 'invalid')).toBe('invalid'); + expect(ensureCorrectTyping(FieldType.INTEGER, null)).toBe(null); + }); + + it('handles boolean type', () => { + expect(ensureCorrectTyping(FieldType.BOOLEAN, true)).toBe(true); + expect(ensureCorrectTyping(FieldType.BOOLEAN, 1)).toBe(true); + expect(ensureCorrectTyping(FieldType.BOOLEAN, false)).toBe(false); + expect(ensureCorrectTyping(FieldType.BOOLEAN, null)).toBe(false); + }); + + it('handles string type', () => { + expect(ensureCorrectTyping(FieldType.STRING, 'test')).toBe('test'); + expect(ensureCorrectTyping(FieldType.STRING, 123)).toBe('123'); + expect(ensureCorrectTyping(FieldType.STRING, null)).toBe(''); + }); + }); +}); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.ts new file mode 100644 index 0000000000000..45e886b368443 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/configuration/configuration_utils.ts @@ -0,0 +1,49 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { FieldType } from '../../types/types'; + +export const validIntInput = (value: string | number | boolean | null): boolean => { + // reject non integers (including x.0 floats), but don't validate if empty + return (value !== null || value !== '') && + (isNaN(Number(value)) || + !Number.isSafeInteger(Number(value)) || + ensureStringType(value).indexOf('.') >= 0) + ? false + : true; +}; + +export const ensureCorrectTyping = ( + type: FieldType, + value: string | number | boolean | null +): string | number | boolean | null => { + switch (type) { + case FieldType.INTEGER: + return validIntInput(value) ? ensureIntType(value) : value; + case FieldType.BOOLEAN: + return ensureBooleanType(value); + default: + return ensureStringType(value); + } +}; + +export const ensureStringType = (value: string | number | boolean | null): string => { + return value !== null ? String(value) : ''; +}; + +export const ensureIntType = (value: string | number | boolean | null): number | null => { + // int is null-safe to prevent empty values from becoming zeroes + if (value === null || value === '') { + return null; + } + + return parseInt(String(value), 10); +}; + +export const ensureBooleanType = (value: string | number | boolean | null): boolean => { + return Boolean(value); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_config_hidden_field.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_config_hidden_field.tsx new file mode 100644 index 0000000000000..4196bd0a2b709 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_config_hidden_field.tsx @@ -0,0 +1,41 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { HiddenField } from '@kbn/es-ui-shared-plugin/static/forms/components'; +import React from 'react'; +import { ConfigEntryView } from '../../types/types'; +import { getNonEmptyValidator } from '../../utils/helpers'; + +interface ProviderConfigHiddenFieldProps { + providerSchema: ConfigEntryView[]; + setRequiredProviderFormFields: React.Dispatch>; + isSubmitting: boolean; +} + +export const ProviderConfigHiddenField: React.FC = ({ + providerSchema, + setRequiredProviderFormFields, + isSubmitting, +}) => ( + +); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_secret_hidden_field.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_secret_hidden_field.tsx new file mode 100644 index 0000000000000..8060fe1cce13d --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/hidden_fields/provider_secret_hidden_field.tsx @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import React from 'react'; +import { HiddenField } from '@kbn/es-ui-shared-plugin/static/forms/components'; +import { ConfigEntryView } from '../../types/types'; +import { getNonEmptyValidator } from '../../utils/helpers'; + +interface ProviderSecretHiddenFieldProps { + providerSchema: ConfigEntryView[]; + setRequiredProviderFormFields: React.Dispatch>; + isSubmitting: boolean; +} + +export const ProviderSecretHiddenField: React.FC = ({ + providerSchema, + setRequiredProviderFormFields, + isSubmitting, +}) => ( + +); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.test.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.test.tsx new file mode 100644 index 0000000000000..c5d19aa26919e --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.test.tsx @@ -0,0 +1,188 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { InferenceServiceFormFields } from './inference_service_form_fields'; +import { FieldType, InferenceProvider } from '../types/types'; +import React from 'react'; +import { render, screen } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; +import { Form, useForm } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { I18nProvider } from '@kbn/i18n-react'; + +const providers = [ + { + service: 'hugging_face', + name: 'Hugging Face', + task_types: ['text_embedding', 'sparse_embedding'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + url: { + default_value: 'https://api.openai.com/v1/embeddings', + description: 'The URL endpoint to use for the requests.', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, + { + service: 'cohere', + name: 'Cohere', + task_types: ['text_embedding', 'rerank', 'completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + }, + }, + { + service: 'anthropic', + name: 'Anthropic', + task_types: ['completion'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: + 'By default, the anthropic service sets the number of requests allowed per minute to 50.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + model_id: { + default_value: null, + description: 'The name of the model to use for the inference task.', + label: 'Model ID', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, +] as InferenceProvider[]; + +const MockFormProvider = ({ children }: { children: React.ReactElement }) => { + const { form } = useForm(); + + return ( + +
{children}
+
+ ); +}; + +describe('Inference Services', () => { + it('renders', () => { + render( + + + + ); + + expect(screen.getByTestId('provider-select')).toBeInTheDocument(); + }); + + it('renders Selectable', async () => { + render( + + + + ); + + await userEvent.click(screen.getByTestId('provider-select')); + expect(screen.getByTestId('euiSelectableList')).toBeInTheDocument(); + }); + + it('renders selected provider fields - hugging_face', async () => { + render( + + + + ); + + await userEvent.click(screen.getByTestId('provider-select')); + await userEvent.click(screen.getByText('Hugging Face')); + + expect(screen.getByTestId('provider-select')).toHaveValue('Hugging Face'); + expect(screen.getByTestId('api_key-password')).toBeInTheDocument(); + expect(screen.getByTestId('url-input')).toBeInTheDocument(); + expect(screen.getByTestId('taskTypeSelect')).toBeInTheDocument(); + expect(screen.getByTestId('inference-endpoint-input-field')).toBeInTheDocument(); + expect(screen.queryByTestId('inference-endpoint-input-field')).toHaveDisplayValue( + /hugging_face-text_embedding/ + ); + }); + + it('re-renders fields when selected to anthropic from hugging_face', async () => { + render( + + + + ); + + await userEvent.click(screen.getByTestId('provider-select')); + await userEvent.click(screen.getByText('Hugging Face')); + expect(screen.getByTestId('provider-select')).toHaveValue('Hugging Face'); + + await userEvent.click(screen.getByTestId('provider-select')); + await userEvent.click(screen.getByText('Anthropic')); + + expect(screen.getByTestId('provider-select')).toHaveValue('Anthropic'); + expect(screen.getByTestId('api_key-password')).toBeInTheDocument(); + expect(screen.getByTestId('model_id-input')).toBeInTheDocument(); + expect(screen.getByTestId('taskTypeSelectSingle')).toBeInTheDocument(); + expect(screen.getByTestId('inference-endpoint-input-field')).toBeInTheDocument(); + expect(screen.queryByTestId('inference-endpoint-input-field')).toHaveDisplayValue( + /anthropic-completion/ + ); + }); +}); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx new file mode 100644 index 0000000000000..98e4dfdd6afbc --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/inference_service_form_fields.tsx @@ -0,0 +1,375 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback, useEffect, useMemo, useState } from 'react'; +import { + getFieldValidityAndErrorMessage, + UseField, + useFormContext, + useFormData, +} from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; +import { + EuiFieldText, + EuiFieldTextProps, + EuiFormControlLayout, + EuiFormRow, + EuiHorizontalRule, + EuiInputPopover, + EuiSpacer, + keys, +} from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n-react'; +import { ConnectorFormSchema } from '@kbn/triggers-actions-ui-plugin/public'; + +import * as LABELS from '../translations'; +import { Config, ConfigEntryView, FieldType, InferenceProvider, Secrets } from '../types/types'; +import { SERVICE_PROVIDERS } from './providers/render_service_provider/service_provider'; +import { DEFAULT_TASK_TYPE, ServiceProviderKeys } from '../constants'; +import { SelectableProvider } from './providers/selectable'; +import { TaskTypeOption, generateInferenceEndpointId, getTaskTypeOptions } from '../utils/helpers'; +import { ConfigurationFormItems } from './configuration/configuration_form_items'; +import { AdditionalOptionsFields } from './additional_options_fields'; +import { ProviderSecretHiddenField } from './hidden_fields/provider_secret_hidden_field'; +import { ProviderConfigHiddenField } from './hidden_fields/provider_config_hidden_field'; + +interface InferenceServicesProps { + providers: InferenceProvider[]; +} + +export const InferenceServiceFormFields: React.FC = ({ providers }) => { + const [isProviderPopoverOpen, setProviderPopoverOpen] = useState(false); + const [providerSchema, setProviderSchema] = useState([]); + const [taskTypeOptions, setTaskTypeOptions] = useState([]); + const [selectedTaskType, setSelectedTaskType] = useState(DEFAULT_TASK_TYPE); + + const { updateFieldValues, setFieldValue, validateFields, isSubmitting } = useFormContext(); + const [requiredProviderFormFields, setRequiredProviderFormFields] = useState( + [] + ); + const [optionalProviderFormFields, setOptionalProviderFormFields] = useState( + [] + ); + const [{ config, secrets }] = useFormData>({ + watch: [ + 'secrets.providerSecrets', + 'config.taskType', + 'config.inferenceId', + 'config.provider', + 'config.providerConfig', + ], + }); + + const toggleProviderPopover = useCallback(() => { + setProviderPopoverOpen((isOpen) => !isOpen); + }, []); + + const closeProviderPopover = useCallback(() => { + setProviderPopoverOpen(false); + }, []); + + const handleProviderKeyboardOpen: EuiFieldTextProps['onKeyDown'] = useCallback((event: any) => { + if (event.key === keys.ENTER) { + setProviderPopoverOpen(true); + } + }, []); + + const providerIcon = useMemo( + () => + Object.keys(SERVICE_PROVIDERS).includes(config?.provider) + ? SERVICE_PROVIDERS[config?.provider as ServiceProviderKeys].icon + : undefined, + [config?.provider] + ); + + const providerName = useMemo( + () => + Object.keys(SERVICE_PROVIDERS).includes(config?.provider) + ? SERVICE_PROVIDERS[config?.provider as ServiceProviderKeys].name + : config?.provider, + [config?.provider] + ); + + const onTaskTypeOptionsSelect = useCallback( + (taskType: string) => { + setSelectedTaskType(taskType); + + const inferenceId = generateInferenceEndpointId({ + ...config, + taskType, + }); + + updateFieldValues({ + config: { + taskType, + inferenceId, + }, + }); + }, + [config, updateFieldValues] + ); + + const onProviderChange = useCallback( + (provider?: string) => { + const newProvider = providers?.find((p) => p.service === provider); + + setTaskTypeOptions(getTaskTypeOptions(newProvider?.task_types ?? [])); + if (newProvider?.task_types && newProvider?.task_types.length > 0) { + onTaskTypeOptionsSelect(newProvider?.task_types[0]); + } + + const newProviderSchema: ConfigEntryView[] = Object.keys( + newProvider?.configurations ?? {} + ).map( + (k): ConfigEntryView => ({ + key: k, + isValid: true, + validationErrors: [], + value: newProvider?.configurations[k].default_value ?? null, + default_value: newProvider?.configurations[k].default_value ?? null, + description: newProvider?.configurations[k].description ?? null, + label: newProvider?.configurations[k].label ?? '', + required: newProvider?.configurations[k].required ?? false, + sensitive: newProvider?.configurations[k].sensitive ?? false, + updatable: newProvider?.configurations[k].updatable ?? false, + type: newProvider?.configurations[k].type ?? FieldType.STRING, + }) + ); + + setProviderSchema(newProviderSchema); + + const defaultProviderConfig: Record = {}; + const defaultProviderSecrets: Record = {}; + + Object.keys(newProvider?.configurations ?? {}).forEach((k) => { + if (!newProvider?.configurations[k].sensitive) { + if (newProvider?.configurations[k] && !!newProvider?.configurations[k].default_value) { + defaultProviderConfig[k] = newProvider.configurations[k].default_value; + } else { + defaultProviderConfig[k] = null; + } + } else { + defaultProviderSecrets[k] = null; + } + }); + const inferenceId = generateInferenceEndpointId({ + ...config, + provider: newProvider?.service ?? '', + taskType: newProvider?.task_types[0] ?? DEFAULT_TASK_TYPE, + }); + + updateFieldValues({ + config: { + provider: newProvider?.service, + providerConfig: defaultProviderConfig, + inferenceId, + }, + secrets: { + providerSecrets: defaultProviderSecrets, + }, + }); + }, + [config, onTaskTypeOptionsSelect, providers, updateFieldValues] + ); + + const onSetProviderConfigEntry = useCallback( + async (key: string, value: unknown) => { + const entry: ConfigEntryView | undefined = providerSchema.find( + (p: ConfigEntryView) => p.key === key + ); + if (entry) { + if (entry.sensitive) { + if (!secrets.providerSecrets) { + secrets.providerSecrets = {}; + } + const newSecrets = { ...secrets.providerSecrets }; + newSecrets[key] = value; + setFieldValue('secrets.providerSecrets', newSecrets); + await validateFields(['secrets.providerSecrets']); + } else { + if (!config.providerConfig) { + config.providerConfig = {}; + } + const newConfig = { ...config.providerConfig }; + newConfig[key] = value; + setFieldValue('config.providerConfig', newConfig); + await validateFields(['config.providerConfig']); + } + } + }, + [config, providerSchema, secrets, setFieldValue, validateFields] + ); + + const onClearProvider = useCallback(() => { + onProviderChange(); + setFieldValue('config.taskType', ''); + setFieldValue('config.provider', ''); + }, [onProviderChange, setFieldValue]); + + const providerSuperSelect = useCallback( + (isInvalid: boolean) => ( + + { + /* Intentionally left blank as onChange is required to avoid console error + but not used in this context + */ + }} + /> + + ), + [ + config?.provider, + handleProviderKeyboardOpen, + toggleProviderPopover, + isProviderPopoverOpen, + onClearProvider, + providerIcon, + providerName, + ] + ); + + useEffect(() => { + if (isSubmitting) { + validateFields(['config.providerConfig']); + validateFields(['secrets.providerSecrets']); + } + }, [isSubmitting, config, validateFields]); + + useEffect(() => { + // Set values from the provider secrets and config to the schema + const existingConfiguration = providerSchema + ? providerSchema.map((item: ConfigEntryView) => { + const itemValue: ConfigEntryView = item; + itemValue.isValid = true; + if (item.sensitive && secrets?.providerSecrets) { + const secretValue = secrets.providerSecrets[item.key]; + if ( + typeof secretValue === 'string' || + typeof secretValue === 'number' || + typeof secretValue === 'boolean' || + secretValue === null + ) { + itemValue.value = secretValue; + } + } else if (config?.providerConfig) { + const configValue = config.providerConfig[item.key]; + if ( + typeof configValue === 'string' || + typeof configValue === 'number' || + typeof configValue === 'boolean' || + configValue === null + ) { + itemValue.value = configValue; + } + } + return itemValue; + }) + : []; + + setOptionalProviderFormFields(existingConfiguration.filter((p) => !p.required && !p.sensitive)); + setRequiredProviderFormFields(existingConfiguration.filter((p) => p.required || p.sensitive)); + }, [config?.providerConfig, providerSchema, secrets]); + + return ( + <> + + {(field) => { + const { isInvalid, errorMessage } = getFieldValidityAndErrorMessage(field); + const selectInput = providerSuperSelect(isInvalid); + return ( + + } + isInvalid={isInvalid} + error={errorMessage} + > + + + + + ); + }} + + {config?.provider ? ( + <> + + + + + + + + + + ) : null} + + ); +}; diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/alibaba_cloud.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/alibaba_cloud.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/alibaba_cloud.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/amazon_bedrock.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/amazon_bedrock.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/amazon_bedrock.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/anthropic.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/anthropic.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/anthropic.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/azure_ai_studio.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_ai_studio.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/azure_ai_studio.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/azure_open_ai.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/azure_open_ai.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/azure_open_ai.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/cohere.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/cohere.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/cohere.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/elastic.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/elastic.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/elastic.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/google_ai_studio.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/google_ai_studio.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/google_ai_studio.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/hugging_face.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/hugging_face.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/hugging_face.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/ibm_watsonx.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/ibm_watsonx.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/ibm_watsonx.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/mistral.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/mistral.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/mistral.svg diff --git a/x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/open_ai.svg similarity index 100% rename from x-pack/plugins/stack_connectors/public/connector_types/inference/providers/assets/images/open_ai.svg rename to x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/assets/images/open_ai.svg diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.test.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.test.tsx new file mode 100644 index 0000000000000..bd4591c31a73a --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.test.tsx @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { render, screen } from '@testing-library/react'; +import React from 'react'; +import { ServiceProviderIcon, ServiceProviderName } from './service_provider'; +import { ServiceProviderKeys } from '../../../constants'; + +jest.mock('../assets/images/elastic.svg', () => 'elasticIcon.svg'); +jest.mock('../assets/images/hugging_face.svg', () => 'huggingFaceIcon.svg'); +jest.mock('../assets/images/cohere.svg', () => 'cohereIcon.svg'); +jest.mock('../assets/images/open_ai.svg', () => 'openAIIcon.svg'); + +describe('ServiceProviderIcon component', () => { + it('renders Hugging Face icon and name when providerKey is hugging_face', () => { + render(); + const icon = screen.getByTestId('icon-service-provider-hugging_face'); + expect(icon).toBeInTheDocument(); + }); + + it('renders Open AI icon and name when providerKey is openai', () => { + render(); + const icon = screen.getByTestId('icon-service-provider-openai'); + expect(icon).toBeInTheDocument(); + }); +}); + +describe('ServiceProviderName component', () => { + it('renders Hugging Face icon and name when providerKey is hugging_face', () => { + render(); + expect(screen.getByText('Hugging Face')).toBeInTheDocument(); + }); + + it('renders Open AI icon and name when providerKey is openai', () => { + render(); + expect(screen.getByText('OpenAI')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.tsx new file mode 100644 index 0000000000000..e50cfae1d30bc --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/render_service_provider/service_provider.tsx @@ -0,0 +1,125 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiHighlight, EuiIcon } from '@elastic/eui'; +import React from 'react'; + +import { ServiceProviderKeys } from '../../../constants'; +import elasticIcon from '../assets/images/elastic.svg'; +import huggingFaceIcon from '../assets/images/hugging_face.svg'; +import cohereIcon from '../assets/images/cohere.svg'; +import openAIIcon from '../assets/images/open_ai.svg'; +import azureAIStudioIcon from '../assets/images/azure_ai_studio.svg'; +import azureOpenAIIcon from '../assets/images/azure_open_ai.svg'; +import googleAIStudioIcon from '../assets/images/google_ai_studio.svg'; +import mistralIcon from '../assets/images/mistral.svg'; +import amazonBedrockIcon from '../assets/images/amazon_bedrock.svg'; +import anthropicIcon from '../assets/images/anthropic.svg'; +import alibabaCloudIcon from '../assets/images/alibaba_cloud.svg'; +import ibmWatsonxIcon from '../assets/images/ibm_watsonx.svg'; + +interface ServiceProviderProps { + providerKey: ServiceProviderKeys; + searchValue?: string; +} + +export type ProviderSolution = 'Observability' | 'Security' | 'Search'; + +interface ServiceProviderRecord { + icon: string; + name: string; + solutions: ProviderSolution[]; +} + +export const SERVICE_PROVIDERS: Record = { + [ServiceProviderKeys.amazonbedrock]: { + icon: amazonBedrockIcon, + name: 'Amazon Bedrock', + solutions: ['Observability', 'Security', 'Search'], + }, + [ServiceProviderKeys.azureaistudio]: { + icon: azureAIStudioIcon, + name: 'Azure AI Studio', + solutions: ['Search'], + }, + [ServiceProviderKeys.azureopenai]: { + icon: azureOpenAIIcon, + name: 'Azure OpenAI', + solutions: ['Observability', 'Security', 'Search'], + }, + [ServiceProviderKeys.anthropic]: { + icon: anthropicIcon, + name: 'Anthropic', + solutions: ['Search'], + }, + [ServiceProviderKeys.cohere]: { + icon: cohereIcon, + name: 'Cohere', + solutions: ['Search'], + }, + [ServiceProviderKeys.elasticsearch]: { + icon: elasticIcon, + name: 'Elasticsearch', + solutions: ['Search'], + }, + [ServiceProviderKeys.googleaistudio]: { + icon: googleAIStudioIcon, + name: 'Google AI Studio', + solutions: ['Search'], + }, + [ServiceProviderKeys.googlevertexai]: { + icon: googleAIStudioIcon, + name: 'Google Vertex AI', + solutions: ['Observability', 'Security', 'Search'], + }, + [ServiceProviderKeys.hugging_face]: { + icon: huggingFaceIcon, + name: 'Hugging Face', + solutions: ['Search'], + }, + [ServiceProviderKeys.mistral]: { + icon: mistralIcon, + name: 'Mistral', + solutions: ['Search'], + }, + [ServiceProviderKeys.openai]: { + icon: openAIIcon, + name: 'OpenAI', + solutions: ['Observability', 'Security', 'Search'], + }, + [ServiceProviderKeys['alibabacloud-ai-search']]: { + icon: alibabaCloudIcon, + name: 'AlibabaCloud AI Search', + solutions: ['Search'], + }, + [ServiceProviderKeys.watsonxai]: { + icon: ibmWatsonxIcon, + name: 'IBM Watsonx', + solutions: ['Search'], + }, +}; + +export const ServiceProviderIcon: React.FC = ({ providerKey }) => { + const provider = SERVICE_PROVIDERS[providerKey]; + + return provider ? ( + + ) : null; +}; + +export const ServiceProviderName: React.FC = ({ + providerKey, + searchValue, +}) => { + const provider = SERVICE_PROVIDERS[providerKey]; + + return provider ? ( + {provider.name} + ) : ( + {providerKey} + ); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.test.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.test.tsx new file mode 100644 index 0000000000000..6e2bedbcf4516 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.test.tsx @@ -0,0 +1,75 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { render, screen } from '@testing-library/react'; +import { FieldType } from '../../types/types'; +import { SelectableProvider } from './selectable'; + +const providers = [ + { + service: 'hugging_face', + name: 'Hugging Face', + task_types: ['text_embedding', 'sparse_embedding'], + configurations: { + api_key: { + default_value: null, + description: `API Key for the provider you're connecting to.`, + label: 'API Key', + required: true, + sensitive: true, + updatable: true, + type: FieldType.STRING, + }, + 'rate_limit.requests_per_minute': { + default_value: null, + description: 'Minimize the number of rate limit errors.', + label: 'Rate Limit', + required: false, + sensitive: false, + updatable: true, + type: FieldType.INTEGER, + }, + url: { + default_value: 'https://api.openai.com/v1/embeddings', + description: 'The URL endpoint to use for the requests.', + label: 'URL', + required: true, + sensitive: false, + updatable: true, + type: FieldType.STRING, + }, + }, + }, +]; + +describe('SelectableProvider', () => { + const props = { + providers, + onClosePopover: jest.fn(), + onProviderChange: jest.fn(), + }; + describe('should render', () => { + describe('provider', () => { + afterAll(() => { + jest.clearAllMocks(); + }); + + test('render placeholder', async () => { + render(); + const searchInput = screen.getByTestId('provider-super-select-search-box'); + expect(searchInput).toHaveAttribute('placeholder', 'Search'); + }); + + test('render list of providers', async () => { + render(); + const listOfProviders = screen.queryAllByRole('option'); + expect(listOfProviders).toHaveLength(1); + }); + }); + }); +}); diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.tsx b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.tsx new file mode 100644 index 0000000000000..ab125ce273366 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/components/providers/selectable.tsx @@ -0,0 +1,133 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + EuiBadge, + EuiFlexGroup, + EuiFlexItem, + EuiSelectable, + EuiSelectableOption, + EuiSelectableProps, +} from '@elastic/eui'; +import React, { useCallback, useMemo } from 'react'; + +import { + ProviderSolution, + SERVICE_PROVIDERS, + ServiceProviderIcon, + ServiceProviderName, +} from './render_service_provider/service_provider'; +import { ServiceProviderKeys } from '../../constants'; +import { InferenceProvider } from '../../types/types'; +import * as i18n from '../../translations'; + +interface SelectableProviderProps { + providers: InferenceProvider[]; + onClosePopover: () => void; + onProviderChange: (provider?: string) => void; +} + +export const SelectableProvider: React.FC = ({ + providers, + onClosePopover, + onProviderChange, +}) => { + const renderProviderOption = useCallback>( + (option, searchValue) => { + const provider = Object.keys(SERVICE_PROVIDERS).includes(option.label) + ? SERVICE_PROVIDERS[option.label as ServiceProviderKeys] + : undefined; + + const supportedBySolutions = (provider && + provider.solutions.map((solution) => ( + + {solution} + + ))) ?? ( + + {'Search' as ProviderSolution} + + ); + return ( + + + + + + + + + + + + + + {supportedBySolutions} + + + + ); + }, + [] + ); + + const EuiSelectableContent = useCallback>( + (list, search) => ( + <> + {search} + {list} + + ), + [] + ); + + const searchProps: EuiSelectableProps['searchProps'] = useMemo( + () => ({ + 'data-test-subj': 'provider-super-select-search-box', + placeholder: i18n.SEARCHLABEL, + incremental: false, + compressed: true, + fullWidth: true, + }), + [] + ); + + const handleProviderChange = useCallback>( + (options) => { + const selectedProvider = options.filter((option) => option.checked === 'on'); + if (selectedProvider != null && selectedProvider.length > 0) { + onProviderChange(selectedProvider[0].label); + } + onClosePopover(); + }, + [onClosePopover, onProviderChange] + ); + + const getSelectableOptions = useCallback(() => { + return providers?.map((p) => ({ + label: p.service, + key: p.service, + })) as EuiSelectableOption[]; + }, [providers]); + + return ( + + {EuiSelectableContent} + + ); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/constants.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/constants.ts new file mode 100644 index 0000000000000..1ea2152ba2f49 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/constants.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export enum ServiceProviderKeys { + amazonbedrock = 'amazonbedrock', + azureopenai = 'azureopenai', + azureaistudio = 'azureaistudio', + cohere = 'cohere', + elasticsearch = 'elasticsearch', + googleaistudio = 'googleaistudio', + googlevertexai = 'googlevertexai', + hugging_face = 'hugging_face', + mistral = 'mistral', + openai = 'openai', + anthropic = 'anthropic', + watsonxai = 'watsonxai', + 'alibabacloud-ai-search' = 'alibabacloud-ai-search', +} + +export const DEFAULT_TASK_TYPE = 'completion'; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/translations.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/translations.ts new file mode 100644 index 0000000000000..6258fc94687fe --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/translations.ts @@ -0,0 +1,129 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const getRequiredMessage = (field: string) => { + return i18n.translate('xpack.inferenceEndpointUICommon.components.requiredGenericTextField', { + defaultMessage: '{field} is required.', + values: { field }, + }); +}; + +export const INPUT_INVALID = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.params.error.invalidInputText', + { + defaultMessage: 'Input does not have a valid Array format.', + } +); + +export const INVALID_ACTION = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.invalidActionText', + { + defaultMessage: 'Invalid action name.', + } +); + +export const BODY = i18n.translate('xpack.inferenceEndpointUICommon.components.bodyFieldLabel', { + defaultMessage: 'Body', +}); + +export const INPUT = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.completionInputLabel', + { + defaultMessage: 'Input', + } +); + +export const INPUT_TYPE = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.completionInputTypeLabel', + { + defaultMessage: 'Input type', + } +); + +export const QUERY = i18n.translate('xpack.inferenceEndpointUICommon.components.rerankQueryLabel', { + defaultMessage: 'Query', +}); + +export const BODY_DESCRIPTION = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.bodyCodeEditorAriaLabel', + { + defaultMessage: 'Code editor', + } +); + +export const TASK_TYPE = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.taskTypeFieldLabel', + { + defaultMessage: 'Task type', + } +); + +export const PROVIDER = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.providerFieldLabel', + { + defaultMessage: 'Provider', + } +); + +export const PROVIDER_REQUIRED = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.error.requiredProviderText', + { + defaultMessage: 'Provider is required.', + } +); + +export const DOCUMENTATION = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.documentation', + { + defaultMessage: 'Inference API documentation', + } +); + +export const SELECT_PROVIDER = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.selectProvider', + { + defaultMessage: 'Select a service', + } +); + +export const COPY_TOOLTIP = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.copy.tooltip', + { + defaultMessage: 'Copy to clipboard', + } +); + +export const COPIED_TOOLTIP = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.copied.tooltip', + { + defaultMessage: 'Copied!', + } +); + +export const SEARCHLABEL = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.searchLabel', + { + defaultMessage: 'Search', + } +); + +export const OPTIONALTEXT = i18n.translate( + 'xpack.inferenceEndpointUICommon.components.optionalText', + { + defaultMessage: 'Optional', + } +); + +export const RE_ENTER_SECRETS = (label: string) => { + return i18n.translate('xpack.inferenceEndpointUICommon.components.requiredGenericTextField', { + defaultMessage: + 'You will need to reenter your ${label} each time you edit the inference endpoint', + values: { label }, + }); +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts new file mode 100644 index 0000000000000..fc1f32b668811 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/types/types.ts @@ -0,0 +1,51 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { FieldType } from '@kbn/search-connectors'; + +export { FieldType } from '@kbn/search-connectors'; + +export interface ConfigProperties { + default_value: string | number | boolean | null; + description: string | null; + label: string; + required: boolean; + sensitive: boolean; + updatable: boolean; + type: FieldType; +} + +interface ConfigEntry extends ConfigProperties { + key: string; +} + +export interface ConfigEntryView extends ConfigEntry { + isValid: boolean; + validationErrors: string[]; + value: string | number | boolean | null; +} + +export type FieldsConfiguration = Record; + +export interface InferenceProvider { + service: string; + name: string; + task_types: string[]; + logo?: string; + configurations: FieldsConfiguration; +} + +export interface Config { + taskType: string; + taskTypeConfig?: Record; + inferenceId: string; + provider: string; + providerConfig?: Record; +} + +export interface Secrets { + providerSecrets?: Record; +} diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/utils/helpers.ts b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/utils/helpers.ts new file mode 100644 index 0000000000000..168d2fe37faa0 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/src/utils/helpers.ts @@ -0,0 +1,80 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { ValidationFunc } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { isEmpty } from 'lodash/fp'; +import { Config, ConfigEntryView } from '../types/types'; +import * as LABELS from '../translations'; + +export interface TaskTypeOption { + id: string; + value: string; + label: string; +} + +export const getTaskTypeOptions = (taskTypes: string[]): TaskTypeOption[] => + taskTypes.map((taskType) => ({ + id: taskType, + label: taskType, + value: taskType, + })); + +export const generateInferenceEndpointId = (config: Config) => { + const taskTypeSuffix = config.taskType ? `${config.taskType}-` : ''; + const inferenceEndpointId = `${config.provider}-${taskTypeSuffix}${Math.random() + .toString(36) + .slice(2)}`; + return inferenceEndpointId; +}; + +export const getNonEmptyValidator = ( + schema: ConfigEntryView[], + validationEventHandler: (fieldsWithErrors: ConfigEntryView[]) => void, + isSubmitting: boolean = false, + isSecrets: boolean = false +) => { + return (...args: Parameters): ReturnType => { + const [{ value, path }] = args; + const newSchema: ConfigEntryView[] = []; + + const configData = (value ?? {}) as Record; + let hasErrors = false; + if (schema) { + schema + .filter((f: ConfigEntryView) => f.required) + .forEach((field: ConfigEntryView) => { + // validate if submitting or on field edit - value is not default to null + if (configData[field.key] !== null || isSubmitting) { + // validate secrets fields separately from regular + if (isSecrets ? field.sensitive : !field.sensitive) { + if ( + !configData[field.key] || + (typeof configData[field.key] === 'string' && isEmpty(configData[field.key])) + ) { + field.validationErrors = [LABELS.getRequiredMessage(field.label)]; + field.isValid = false; + hasErrors = true; + } else { + field.validationErrors = []; + field.isValid = true; + } + } + } + newSchema.push(field); + }); + + validationEventHandler(newSchema); + if (hasErrors) { + return { + code: 'ERR_FIELD_MISSING', + path, + message: LABELS.getRequiredMessage('Action'), + }; + } + } + }; +}; diff --git a/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/tsconfig.json b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/tsconfig.json new file mode 100644 index 0000000000000..f306c4703b7a0 --- /dev/null +++ b/x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common/tsconfig.json @@ -0,0 +1,26 @@ +{ + "extends": "../../../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "target/types", + "types": [ + "jest", + "node", + "react", + "@kbn/ambient-ui-types" + ] + }, + "include": [ + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "target/**/*" + ], + "kbn_references": [ + "@kbn/i18n", + "@kbn/i18n-react", + "@kbn/search-connectors", + "@kbn/es-ui-shared-plugin", + "@kbn/triggers-actions-ui-plugin" + ] +} diff --git a/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts b/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts index 13a92aa4160bc..840ddca1248f2 100644 --- a/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts +++ b/x-pack/platform/packages/shared/kbn-langchain/server/language_models/constants.ts @@ -25,7 +25,7 @@ export const getDefaultArguments = ( export const DEFAULT_OPEN_AI_TEMPERATURE = 0.2; // this is a fallback for logging, connector will default to the connector model -// x-pack/plugins/stack_connectors/common/openai/constants.ts +// x-pack/platform/plugins/shared/stack_connectors/common/openai/constants.ts export const DEFAULT_OPEN_AI_MODEL = 'gpt-4o'; const DEFAULT_BEDROCK_TEMPERATURE = 0; const DEFAULT_BEDROCK_STOP_SEQUENCES = ['\n\nHuman:', '\nObservation:']; diff --git a/x-pack/plugins/canvas/.eslintrc.json b/x-pack/platform/plugins/private/canvas/.eslintrc.json similarity index 100% rename from x-pack/plugins/canvas/.eslintrc.json rename to x-pack/platform/plugins/private/canvas/.eslintrc.json diff --git a/x-pack/plugins/canvas/.gitignore b/x-pack/platform/plugins/private/canvas/.gitignore similarity index 100% rename from x-pack/plugins/canvas/.gitignore rename to x-pack/platform/plugins/private/canvas/.gitignore diff --git a/x-pack/plugins/canvas/CONTRIBUTING.md b/x-pack/platform/plugins/private/canvas/CONTRIBUTING.md similarity index 95% rename from x-pack/plugins/canvas/CONTRIBUTING.md rename to x-pack/platform/plugins/private/canvas/CONTRIBUTING.md index d8a657ea73c40..a63d9e6422022 100644 --- a/x-pack/plugins/canvas/CONTRIBUTING.md +++ b/x-pack/platform/plugins/private/canvas/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing to Canvas -Canvas is a plugin for Kibana, therefore its [contribution guidelines](../../../CONTRIBUTING.md) apply to Canvas development, as well. This document contains Canvas-specific guidelines that extend from the Kibana guidelines. +Canvas is a plugin for Kibana, therefore its [contribution guidelines](../../../../../CONTRIBUTING.md) apply to Canvas development, as well. This document contains Canvas-specific guidelines that extend from the Kibana guidelines. - [Active Migrations](#active_migrations) - [i18n](#i18n) diff --git a/x-pack/plugins/canvas/PLUGINS.mdx b/x-pack/platform/plugins/private/canvas/PLUGINS.mdx similarity index 95% rename from x-pack/plugins/canvas/PLUGINS.mdx rename to x-pack/platform/plugins/private/canvas/PLUGINS.mdx index c0e0bc9c92f5a..a639b58760198 100644 --- a/x-pack/plugins/canvas/PLUGINS.mdx +++ b/x-pack/platform/plugins/private/canvas/PLUGINS.mdx @@ -60,8 +60,8 @@ In your plugin folder, create a new folder `public` and an `index.ts` file withi This `index.ts` will need export a Kibana Plugin. You can use this as a starting point for your plugin. ```typescript -import { Plugin, CoreSetup, CoreStart } from '../../../src/core/public'; -import { CanvasSetup } from '../../../x-pack/plugins/canvas/public'; +import { Plugin, CoreSetup, CoreStart } from '../../../../../src/core/public'; +import { CanvasSetup } from '../../../../../x-pack/plugins/canvas/public'; interface CanvasExampleSetupPlugins { canvas: CanvasSetup; @@ -171,8 +171,8 @@ Now, much like we made the client plugin, we'll make a server plugin. Start by making the `server` directory and an `index.ts` file with a shell for your server plugin: ```typescript -import { Plugin, CoreSetup, CoreStart } from '../../../src/core/server'; -import { ExpressionsServerSetup } from '../../../src/plugins/expressions/server'; +import { Plugin, CoreSetup, CoreStart } from '../../../../../src/core/server'; +import { ExpressionsServerSetup } from '../../../../../src/plugins/expressions/server'; interface CanvasExamplePluginsSetup { expressions: ExpressionsServerSetup; diff --git a/x-pack/plugins/canvas/README.md b/x-pack/platform/plugins/private/canvas/README.md similarity index 100% rename from x-pack/plugins/canvas/README.md rename to x-pack/platform/plugins/private/canvas/README.md diff --git a/x-pack/plugins/canvas/__fixtures__/elasticsearch.js b/x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/elasticsearch.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch.js diff --git a/x-pack/plugins/canvas/__fixtures__/elasticsearch_plugin.js b/x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch_plugin.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/elasticsearch_plugin.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/elasticsearch_plugin.js diff --git a/x-pack/plugins/canvas/__fixtures__/function_specs.ts b/x-pack/platform/plugins/private/canvas/__fixtures__/function_specs.ts similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/function_specs.ts rename to x-pack/platform/plugins/private/canvas/__fixtures__/function_specs.ts diff --git a/x-pack/plugins/canvas/__fixtures__/kibana.js b/x-pack/platform/plugins/private/canvas/__fixtures__/kibana.js similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/kibana.js rename to x-pack/platform/plugins/private/canvas/__fixtures__/kibana.js diff --git a/x-pack/plugins/canvas/__fixtures__/workpads.ts b/x-pack/platform/plugins/private/canvas/__fixtures__/workpads.ts similarity index 100% rename from x-pack/plugins/canvas/__fixtures__/workpads.ts rename to x-pack/platform/plugins/private/canvas/__fixtures__/workpads.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/canvas_addons.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/canvas_addons.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/canvas_addons.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/canvas_addons.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/area_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/area_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/area_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/bubble_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/bubble_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/bubble_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/debug/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/debug/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/debug/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/debug/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/dropdown_filter/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/filter_debug/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/filter_debug/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/filter_debug/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/filter_debug/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/heatmap/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/heatmap/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/heatmap/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/heatmap/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_bar_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_bar/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/horizontal_progress_pill/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/line_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/line_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/line_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/markdown/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/markdown/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/metric_vis_legacy/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/pie/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/pie/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/pie_vis/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie_vis/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/pie_vis/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/pie_vis/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/plot/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/plot/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/plot/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_gauge/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_gauge/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_gauge/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_semicircle/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_wheel/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/progress_wheel/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/progress_wheel/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/repeat_image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/repeat_image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/repeat_image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/reveal_image/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/reveal_image/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/reveal_image/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/shape/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/shape/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/shape/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/shape/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/table/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/table/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/table/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/table/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/tag_cloud/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/tag_cloud/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/tag_cloud/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/tag_cloud/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/time_filter/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/time_filter/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/time_filter/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vert_bar_chart/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_bar/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/elements/vertical_progress_pill/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/embeddable_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/expression_types/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/expression_types/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/escount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/esdocs.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/location.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/location.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/location.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/location.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/markdown.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/urlparam.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/browser/urlparam.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/browser/urlparam.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_filters.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_pointseries.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_styles.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/__fixtures__/test_tables.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/all.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/all.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/alterColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/any.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/any.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/as.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/as.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axisConfig.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axisConfig.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/axis_config.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axis_config.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/axis_config.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/axis_config.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/case.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/clear.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/clear.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/columns.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/columns.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/compare.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/compare.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/containerStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/containerStyle.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/containerStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/container_style.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/container_style.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/container_style.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/container_style.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/context.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/context.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/csv.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/csv.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/date.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/do.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/do.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdownControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdownControl.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdownControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/dropdown_control.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/eq.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/eq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/exactly.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/exactly.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/filterrows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/filterrows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatdate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatdate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/formatnumber.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/getCell.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/getCell.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gt.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/gte.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/gte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/head.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/head.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/if.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/if.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/join_rows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/join_rows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lt.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lt.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/lte.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/lte.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/map_center.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/map_center.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/map_center.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/map_center.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/neq.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/ply.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/ply.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/render.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/replace.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/replace.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rounddate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rounddate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/rowCount.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/rowCount.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/seriesStyle.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/seriesStyle.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/series_style.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/series_style.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/series_style.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/series_style.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/sort.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/sort.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/staticColumn.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/string.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/string.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/switch.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/switch.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/table.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/tail.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/tail.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/time_range.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/time_range.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/time_range.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/time_range.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilterControl.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/common/timefilter_control.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_lens.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_map.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_map.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_search.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_search.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_visualization.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/external/saved_visualization.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/ci.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/ci.json rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/ci.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/demo_rows_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/get_demo_rows.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/shirts.json similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/shirts.json rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/demodata/shirts.json diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/filters.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/filters.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_expression_type.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/get_field_names.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/is_column_reference.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries.test.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries.test.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries.test.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries.test.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_expression_type.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/get_field_names.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/functions/server/pointseries/lib/is_column_reference.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/plugin.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/plugin.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/plugin.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/plugin.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/__snapshots__/table.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/render.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/render.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/render.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/render.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/__stories__/table.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/core.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/core.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/core.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/core.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/embeddable_input_to_expression.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/embeddable.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/lens.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/map.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/input_type_to_expression/visualization.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/embeddable/use_get_app_context.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/external.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/external.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/external.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/external.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/__snapshots__/advanced_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/__stories__/advanced_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/advanced_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/component/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/advanced_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/__snapshots__/dropdown_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/__stories__/dropdown_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/dropdown_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/component/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/dropdown_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/__snapshots__/time_filter.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/__stories__/time_filter.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/components/time_filter.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/filters/time_filter/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/__snapshots__/markdown.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/__stories__/markdown.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/markdown/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/markdown/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/__snapshots__/pie.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/__stories__/pie.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/pie/plugins/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/__snapshots__/plot.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/__stories__/plot.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plot.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plot.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plot.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/size.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/size.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/size.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/text.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/plot/plugins/text.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/plot/plugins/text.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/table.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/table.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/table.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/table.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/text.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/text.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/renderers/text.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/renderers/text.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/__snapshots__/palette.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/__stories__/palette.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/extended_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/axis_config/simple_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/color_picker.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/color_picker/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.test.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/get_form_object.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/datacolumn/simple_math_function.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/__snapshots__/date_format.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/__stories__/date_format.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/date_format.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/date_format/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/editor.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/editor.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/editor.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/editor.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/filter_group.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/filter_group.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/filter_group.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/file.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/forms/link.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/image_upload.scss diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/image_upload/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/__snapshots__/number_format.stories.storyshot diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/__stories__/number_format.stories.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/number_format/number_format.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/index.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/palette_types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/palette/utils.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/default_expression.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/extended_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/simple_template.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/types.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/partition_labels/utils.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/percentage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/percentage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/percentage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/range.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/range.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/range.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/select.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/select.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/select.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/select.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/shape.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/shape.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/shape.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/string.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/string.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/string.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/textarea.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/textarea.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/textarea.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/toggle.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/toggle.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/toggle.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/arguments/vis_dimension.tsx diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/demodata.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/demodata.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/demodata.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/esdocs.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/esdocs.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/essql.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/essql.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/essql.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/timelion.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/timelion.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/datasources/timelion.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_grid.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/heatmap_legend.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/math.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/math.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/math.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/math.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/metric_vis.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/metric_vis.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/metric_vis.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/partition_labels.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/partition_labels.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/partition_labels.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/partition_labels.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/point_series.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/point_series.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/point_series.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/point_series.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/tagcloud.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/models/tagcloud.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/models/tagcloud.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/presentation.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/presentation.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/presentation.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/tags/report.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/report.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/tags/report.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/tags/report.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatdate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatdate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatdate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/formatnumber.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/index.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/index.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/index.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/index.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/rounddate.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/rounddate.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/rounddate.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/sort.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/transforms/sort.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/transforms/sort.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/dropdownControl.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/dropdownControl.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/dropdownControl.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/getCell.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/getCell.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/getCell.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/getCell.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/heatmap.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/heatmap.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/heatmap.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/image.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/image.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/image.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/image.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/index.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/index.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/index.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/markdown.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/markdown.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/markdown.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/markdown.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/metric.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/metric.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/metric.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/metric.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie_vis.ts b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie_vis.ts similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/pie_vis.ts rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/pie_vis.ts diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/plot.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/plot.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/plot.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/plot.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/progress.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/progress.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/progress.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/progress.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/render.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/render.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/render.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/render.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/repeatImage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/repeatImage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/repeatImage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/revealImage.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/revealImage.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/revealImage.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/shape.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/shape.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/shape.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/shape.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/table.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/table.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/table.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/table.js diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js b/x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/timefilterControl.js similarity index 100% rename from x-pack/plugins/canvas/canvas_plugin_src/uis/views/timefilterControl.js rename to x-pack/platform/plugins/private/canvas/canvas_plugin_src/uis/views/timefilterControl.js diff --git a/x-pack/plugins/canvas/common/functions/filters.ts b/x-pack/platform/plugins/private/canvas/common/functions/filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/functions/filters.ts rename to x-pack/platform/plugins/private/canvas/common/functions/filters.ts diff --git a/x-pack/plugins/canvas/common/functions/index.ts b/x-pack/platform/plugins/private/canvas/common/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/functions/index.ts rename to x-pack/platform/plugins/private/canvas/common/functions/index.ts diff --git a/x-pack/plugins/canvas/common/index.ts b/x-pack/platform/plugins/private/canvas/common/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/index.ts rename to x-pack/platform/plugins/private/canvas/common/index.ts diff --git a/x-pack/plugins/canvas/common/lib/build_bool_array.js b/x-pack/platform/plugins/private/canvas/common/lib/build_bool_array.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_bool_array.js rename to x-pack/platform/plugins/private/canvas/common/lib/build_bool_array.js diff --git a/x-pack/plugins/canvas/common/lib/build_embeddable_filters.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_embeddable_filters.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.test.ts diff --git a/x-pack/plugins/canvas/common/lib/build_embeddable_filters.ts b/x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/build_embeddable_filters.ts rename to x-pack/platform/plugins/private/canvas/common/lib/build_embeddable_filters.ts diff --git a/x-pack/plugins/canvas/common/lib/constants.ts b/x-pack/platform/plugins/private/canvas/common/lib/constants.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/constants.ts rename to x-pack/platform/plugins/private/canvas/common/lib/constants.ts diff --git a/x-pack/plugins/canvas/common/lib/datatable/index.ts b/x-pack/platform/plugins/private/canvas/common/lib/datatable/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/datatable/index.ts rename to x-pack/platform/plugins/private/canvas/common/lib/datatable/index.ts diff --git a/x-pack/plugins/canvas/common/lib/datatable/query.ts b/x-pack/platform/plugins/private/canvas/common/lib/datatable/query.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/datatable/query.ts rename to x-pack/platform/plugins/private/canvas/common/lib/datatable/query.ts diff --git a/x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts b/x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/embeddable_dataurl.ts rename to x-pack/platform/plugins/private/canvas/common/lib/embeddable_dataurl.ts diff --git a/x-pack/plugins/canvas/common/lib/errors.test.js b/x-pack/platform/plugins/private/canvas/common/lib/errors.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/errors.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/errors.test.js diff --git a/x-pack/plugins/canvas/common/lib/errors.ts b/x-pack/platform/plugins/private/canvas/common/lib/errors.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/errors.ts rename to x-pack/platform/plugins/private/canvas/common/lib/errors.ts diff --git a/x-pack/plugins/canvas/common/lib/expression_form_handlers.test.js b/x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/expression_form_handlers.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.test.js diff --git a/x-pack/plugins/canvas/common/lib/expression_form_handlers.ts b/x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/expression_form_handlers.ts rename to x-pack/platform/plugins/private/canvas/common/lib/expression_form_handlers.ts diff --git a/x-pack/plugins/canvas/common/lib/fetch.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/fetch.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fetch.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fetch.test.ts diff --git a/x-pack/plugins/canvas/common/lib/fetch.ts b/x-pack/platform/plugins/private/canvas/common/lib/fetch.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fetch.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fetch.ts diff --git a/x-pack/plugins/canvas/common/lib/filters.js b/x-pack/platform/plugins/private/canvas/common/lib/filters.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/filters.js rename to x-pack/platform/plugins/private/canvas/common/lib/filters.js diff --git a/x-pack/plugins/canvas/common/lib/fonts.ts b/x-pack/platform/plugins/private/canvas/common/lib/fonts.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/fonts.ts rename to x-pack/platform/plugins/private/canvas/common/lib/fonts.ts diff --git a/x-pack/plugins/canvas/common/lib/get_es_filter.js b/x-pack/platform/plugins/private/canvas/common/lib/get_es_filter.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_es_filter.js rename to x-pack/platform/plugins/private/canvas/common/lib/get_es_filter.js diff --git a/x-pack/plugins/canvas/common/lib/get_field_type.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_field_type.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_field_type.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_field_type.test.ts diff --git a/x-pack/plugins/canvas/common/lib/get_field_type.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_field_type.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_field_type.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_field_type.ts diff --git a/x-pack/plugins/canvas/common/lib/get_id.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_id.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_id.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_id.ts diff --git a/x-pack/plugins/canvas/common/lib/get_legend_config.test.js b/x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_legend_config.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.test.js diff --git a/x-pack/plugins/canvas/common/lib/get_legend_config.ts b/x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/get_legend_config.ts rename to x-pack/platform/plugins/private/canvas/common/lib/get_legend_config.ts diff --git a/x-pack/plugins/canvas/common/lib/handlebars.js b/x-pack/platform/plugins/private/canvas/common/lib/handlebars.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/handlebars.js rename to x-pack/platform/plugins/private/canvas/common/lib/handlebars.js diff --git a/x-pack/plugins/canvas/common/lib/handlebars.test.js b/x-pack/platform/plugins/private/canvas/common/lib/handlebars.test.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/handlebars.test.js rename to x-pack/platform/plugins/private/canvas/common/lib/handlebars.test.js diff --git a/x-pack/plugins/canvas/common/lib/hex_to_rgb.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/hex_to_rgb.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.test.ts diff --git a/x-pack/plugins/canvas/common/lib/hex_to_rgb.ts b/x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/hex_to_rgb.ts rename to x-pack/platform/plugins/private/canvas/common/lib/hex_to_rgb.ts diff --git a/x-pack/plugins/canvas/common/lib/index.ts b/x-pack/platform/plugins/private/canvas/common/lib/index.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/index.ts rename to x-pack/platform/plugins/private/canvas/common/lib/index.ts diff --git a/x-pack/plugins/canvas/common/lib/palettes.ts b/x-pack/platform/plugins/private/canvas/common/lib/palettes.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/palettes.ts rename to x-pack/platform/plugins/private/canvas/common/lib/palettes.ts diff --git a/x-pack/plugins/canvas/common/lib/pivot_object_array.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/pivot_object_array.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.test.ts diff --git a/x-pack/plugins/canvas/common/lib/pivot_object_array.ts b/x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/pivot_object_array.ts rename to x-pack/platform/plugins/private/canvas/common/lib/pivot_object_array.ts diff --git a/x-pack/plugins/canvas/common/lib/request/build_bool_array.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/build_bool_array.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/build_bool_array.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/build_bool_array.ts diff --git a/x-pack/plugins/canvas/common/lib/request/build_es_request.js b/x-pack/platform/plugins/private/canvas/common/lib/request/build_es_request.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/build_es_request.js rename to x-pack/platform/plugins/private/canvas/common/lib/request/build_es_request.js diff --git a/x-pack/plugins/canvas/common/lib/request/filters.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/filters.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/filters.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/filters.ts diff --git a/x-pack/plugins/canvas/common/lib/request/format_response.js b/x-pack/platform/plugins/private/canvas/common/lib/request/format_response.js similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/format_response.js rename to x-pack/platform/plugins/private/canvas/common/lib/request/format_response.js diff --git a/x-pack/plugins/canvas/common/lib/request/get_es_filter.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/get_es_filter.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/get_es_filter.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/get_es_filter.ts diff --git a/x-pack/plugins/canvas/common/lib/request/normalize_type.ts b/x-pack/platform/plugins/private/canvas/common/lib/request/normalize_type.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/request/normalize_type.ts rename to x-pack/platform/plugins/private/canvas/common/lib/request/normalize_type.ts diff --git a/x-pack/plugins/canvas/common/lib/time_units.ts b/x-pack/platform/plugins/private/canvas/common/lib/time_units.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/time_units.ts rename to x-pack/platform/plugins/private/canvas/common/lib/time_units.ts diff --git a/x-pack/plugins/canvas/common/lib/unquote_string.test.ts b/x-pack/platform/plugins/private/canvas/common/lib/unquote_string.test.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/unquote_string.test.ts rename to x-pack/platform/plugins/private/canvas/common/lib/unquote_string.test.ts diff --git a/x-pack/plugins/canvas/common/lib/unquote_string.ts b/x-pack/platform/plugins/private/canvas/common/lib/unquote_string.ts similarity index 100% rename from x-pack/plugins/canvas/common/lib/unquote_string.ts rename to x-pack/platform/plugins/private/canvas/common/lib/unquote_string.ts diff --git a/x-pack/plugins/canvas/common/locator.ts b/x-pack/platform/plugins/private/canvas/common/locator.ts similarity index 100% rename from x-pack/plugins/canvas/common/locator.ts rename to x-pack/platform/plugins/private/canvas/common/locator.ts diff --git a/x-pack/plugins/canvas/i18n/README.md b/x-pack/platform/plugins/private/canvas/i18n/README.md similarity index 100% rename from x-pack/plugins/canvas/i18n/README.md rename to x-pack/platform/plugins/private/canvas/i18n/README.md diff --git a/x-pack/plugins/canvas/i18n/capabilities.ts b/x-pack/platform/plugins/private/canvas/i18n/capabilities.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/capabilities.ts rename to x-pack/platform/plugins/private/canvas/i18n/capabilities.ts diff --git a/x-pack/plugins/canvas/i18n/constants.ts b/x-pack/platform/plugins/private/canvas/i18n/constants.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/constants.ts rename to x-pack/platform/plugins/private/canvas/i18n/constants.ts diff --git a/x-pack/plugins/canvas/i18n/elements/apply_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/apply_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/apply_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/apply_strings.ts diff --git a/x-pack/plugins/canvas/i18n/elements/element_strings.test.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.test.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/element_strings.test.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.test.ts diff --git a/x-pack/plugins/canvas/i18n/elements/element_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/element_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/element_strings.ts diff --git a/x-pack/plugins/canvas/i18n/elements/index.ts b/x-pack/platform/plugins/private/canvas/i18n/elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/elements/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/elements/index.ts diff --git a/x-pack/plugins/canvas/i18n/errors.ts b/x-pack/platform/plugins/private/canvas/i18n/errors.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/errors.ts rename to x-pack/platform/plugins/private/canvas/i18n/errors.ts diff --git a/x-pack/plugins/canvas/i18n/expression_types.ts b/x-pack/platform/plugins/private/canvas/i18n/expression_types.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/expression_types.ts rename to x-pack/platform/plugins/private/canvas/i18n/expression_types.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/all.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/all.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/all.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/all.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/alter_column.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/alter_column.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/alter_column.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/any.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/any.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/any.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/any.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/as.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/as.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/as.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/as.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/asset.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/asset.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/asset.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/asset.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/axis_config.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/axis_config.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/axis_config.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/case.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/case.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/case.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/case.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/clear.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/clear.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/clear.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/clear.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/columns.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/columns.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/columns.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/columns.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/compare.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/compare.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/compare.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/compare.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/container_style.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/container_style.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/container_style.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/container_style.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/context.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/context.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/context.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/context.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/csv.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/csv.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/csv.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/csv.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/date.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/date.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/date.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/date.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/demodata.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/demodata.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/demodata.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/demodata.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/do.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/do.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/do.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/do.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/dropdown_control.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/dropdown_control.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/dropdown_control.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/embeddable.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/embeddable.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/eq.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/eq.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/eq.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/eq.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/escount.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/escount.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/escount.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/escount.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/esdocs.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/esdocs.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/esdocs.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/exactly.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/exactly.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/exactly.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/exactly.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/filterrows.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/filterrows.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/filterrows.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/filters.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/filters.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/filters.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/filters.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatdate.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/formatdate.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatdate.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatnumber.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/formatnumber.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/formatnumber.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/get_cell.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/get_cell.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/get_cell.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/gt.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/gt.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/gt.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/gt.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/gte.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/gte.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/gte.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/gte.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/head.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/head.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/head.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/head.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/if.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/if.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/if.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/if.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/join_rows.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/join_rows.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/join_rows.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/location.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/location.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/location.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/location.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/lt.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/lt.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/lt.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/lt.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/lte.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/lte.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/lte.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/lte.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/map_center.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/map_center.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/map_center.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/map_center.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/markdown.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/markdown.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/markdown.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/markdown.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/neq.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/neq.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/neq.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/neq.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/pie.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/pie.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/pie.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/pie.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/plot.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/plot.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/plot.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/plot.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/ply.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/ply.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/ply.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/ply.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/pointseries.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/pointseries.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/pointseries.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/render.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/render.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/render.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/render.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/replace.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/replace.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/replace.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/replace.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/rounddate.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/rounddate.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/rounddate.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/row_count.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/row_count.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/row_count.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/row_count.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_lens.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_lens.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_lens.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_map.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_map.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_map.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_search.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_search.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_search.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_visualization.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/saved_visualization.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/saved_visualization.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/series_style.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/series_style.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/series_style.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/series_style.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/sort.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/sort.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/sort.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/sort.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/static_column.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/static_column.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/static_column.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/static_column.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/string.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/string.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/string.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/string.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/switch.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/switch.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/switch.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/switch.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/table.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/table.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/table.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/table.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/tail.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/tail.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/tail.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/tail.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/time_range.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/time_range.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/time_range.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/time_range.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timefilter.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter_control.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timefilter_control.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timefilter_control.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/timelion.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/timelion.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/timelion.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/timelion.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/to.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/to.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/to.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/to.ts diff --git a/x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/dict/urlparam.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/dict/urlparam.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/dict/urlparam.ts diff --git a/x-pack/plugins/canvas/i18n/functions/function_errors.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/function_errors.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/function_errors.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/function_errors.ts diff --git a/x-pack/plugins/canvas/i18n/functions/function_help.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/function_help.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/function_help.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/function_help.ts diff --git a/x-pack/plugins/canvas/i18n/functions/index.ts b/x-pack/platform/plugins/private/canvas/i18n/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/functions/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/functions/index.ts diff --git a/x-pack/plugins/canvas/i18n/index.ts b/x-pack/platform/plugins/private/canvas/i18n/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/index.ts diff --git a/x-pack/plugins/canvas/i18n/lib.ts b/x-pack/platform/plugins/private/canvas/i18n/lib.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/lib.ts rename to x-pack/platform/plugins/private/canvas/i18n/lib.ts diff --git a/x-pack/plugins/canvas/i18n/renderers.ts b/x-pack/platform/plugins/private/canvas/i18n/renderers.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/renderers.ts rename to x-pack/platform/plugins/private/canvas/i18n/renderers.ts diff --git a/x-pack/plugins/canvas/i18n/shortcuts.ts b/x-pack/platform/plugins/private/canvas/i18n/shortcuts.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/shortcuts.ts rename to x-pack/platform/plugins/private/canvas/i18n/shortcuts.ts diff --git a/x-pack/plugins/canvas/i18n/tags.ts b/x-pack/platform/plugins/private/canvas/i18n/tags.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/tags.ts rename to x-pack/platform/plugins/private/canvas/i18n/tags.ts diff --git a/x-pack/plugins/canvas/i18n/templates/apply_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/apply_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/apply_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/apply_strings.ts diff --git a/x-pack/plugins/canvas/i18n/templates/index.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/index.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/index.ts diff --git a/x-pack/plugins/canvas/i18n/templates/template_strings.test.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.test.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/template_strings.test.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.test.ts diff --git a/x-pack/plugins/canvas/i18n/templates/template_strings.ts b/x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/templates/template_strings.ts rename to x-pack/platform/plugins/private/canvas/i18n/templates/template_strings.ts diff --git a/x-pack/plugins/canvas/i18n/transitions.ts b/x-pack/platform/plugins/private/canvas/i18n/transitions.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/transitions.ts rename to x-pack/platform/plugins/private/canvas/i18n/transitions.ts diff --git a/x-pack/plugins/canvas/i18n/ui.ts b/x-pack/platform/plugins/private/canvas/i18n/ui.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/ui.ts rename to x-pack/platform/plugins/private/canvas/i18n/ui.ts diff --git a/x-pack/plugins/canvas/i18n/units.ts b/x-pack/platform/plugins/private/canvas/i18n/units.ts similarity index 100% rename from x-pack/plugins/canvas/i18n/units.ts rename to x-pack/platform/plugins/private/canvas/i18n/units.ts diff --git a/x-pack/plugins/canvas/images/canvas.png b/x-pack/platform/plugins/private/canvas/images/canvas.png similarity index 100% rename from x-pack/plugins/canvas/images/canvas.png rename to x-pack/platform/plugins/private/canvas/images/canvas.png diff --git a/x-pack/plugins/canvas/images/canvas.svg b/x-pack/platform/plugins/private/canvas/images/canvas.svg similarity index 100% rename from x-pack/plugins/canvas/images/canvas.svg rename to x-pack/platform/plugins/private/canvas/images/canvas.svg diff --git a/x-pack/plugins/canvas/images/canvas_blank.svg b/x-pack/platform/plugins/private/canvas/images/canvas_blank.svg similarity index 100% rename from x-pack/plugins/canvas/images/canvas_blank.svg rename to x-pack/platform/plugins/private/canvas/images/canvas_blank.svg diff --git a/x-pack/plugins/canvas/images/icon_black.svg b/x-pack/platform/plugins/private/canvas/images/icon_black.svg similarity index 100% rename from x-pack/plugins/canvas/images/icon_black.svg rename to x-pack/platform/plugins/private/canvas/images/icon_black.svg diff --git a/x-pack/plugins/canvas/images/logo.gif b/x-pack/platform/plugins/private/canvas/images/logo.gif similarity index 100% rename from x-pack/plugins/canvas/images/logo.gif rename to x-pack/platform/plugins/private/canvas/images/logo.gif diff --git a/x-pack/plugins/canvas/jest.config.js b/x-pack/platform/plugins/private/canvas/jest.config.js similarity index 60% rename from x-pack/plugins/canvas/jest.config.js rename to x-pack/platform/plugins/private/canvas/jest.config.js index f7a9224795b4a..5198fd00fb35b 100644 --- a/x-pack/plugins/canvas/jest.config.js +++ b/x-pack/platform/plugins/private/canvas/jest.config.js @@ -7,15 +7,15 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/canvas'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/canvas'], transform: { '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', }, - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/canvas', + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/canvas', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/private/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', ], - setupFiles: ['/x-pack/plugins/canvas/jest_setup.ts'], + setupFiles: ['/x-pack/platform/plugins/private/canvas/jest_setup.ts'], }; diff --git a/x-pack/plugins/canvas/jest_setup.ts b/x-pack/platform/plugins/private/canvas/jest_setup.ts similarity index 100% rename from x-pack/plugins/canvas/jest_setup.ts rename to x-pack/platform/plugins/private/canvas/jest_setup.ts diff --git a/x-pack/plugins/canvas/kibana.jsonc b/x-pack/platform/plugins/private/canvas/kibana.jsonc similarity index 100% rename from x-pack/plugins/canvas/kibana.jsonc rename to x-pack/platform/plugins/private/canvas/kibana.jsonc diff --git a/x-pack/plugins/canvas/public/application.tsx b/x-pack/platform/plugins/private/canvas/public/application.tsx similarity index 100% rename from x-pack/plugins/canvas/public/application.tsx rename to x-pack/platform/plugins/private/canvas/public/application.tsx diff --git a/x-pack/plugins/canvas/public/components/app/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/app/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/app/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/app/index.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add/arg_add.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/arg_add.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.scss diff --git a/x-pack/plugins/canvas/public/components/arg_add/arg_add.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/arg_add.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/arg_add.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add/index.ts b/x-pack/platform/plugins/private/canvas/public/components/arg_add/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/arg_add/index.ts diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.scss diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/arg_add_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_add_popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/arg_add_popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/arg_form/advanced_failure.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/advanced_failure.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/advanced_failure.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/advanced_failure.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_form.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_form.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_form.scss b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_form.scss rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_form.scss diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_label.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_label.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_label.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_label.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_simple_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_simple_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_simple_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_simple_form.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_template_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/arg_template_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/arg_template_form.tsx diff --git a/x-pack/plugins/canvas/public/components/arg_form/index.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/index.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/index.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/pending_arg_value.js b/x-pack/platform/plugins/private/canvas/public/components/arg_form/pending_arg_value.js similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/pending_arg_value.js rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/pending_arg_value.js diff --git a/x-pack/plugins/canvas/public/components/arg_form/simple_failure.tsx b/x-pack/platform/plugins/private/canvas/public/components/arg_form/simple_failure.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/arg_form/simple_failure.tsx rename to x-pack/platform/plugins/private/canvas/public/components/arg_form/simple_failure.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/asset_manager.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/assets.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/__stories__/assets.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/__stories__/assets.ts diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.component.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.component.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.scss b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.scss rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.scss diff --git a/x-pack/plugins/canvas/public/components/asset_manager/asset_manager.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/asset_manager.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/asset_manager.ts diff --git a/x-pack/plugins/canvas/public/components/asset_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/asset_picker/asset_picker.scss b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/asset_picker.scss rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.scss diff --git a/x-pack/plugins/canvas/public/components/asset_picker/asset_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/asset_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/asset_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/asset_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/asset_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/asset_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/asset_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/canvas_loading/canvas_loading.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/canvas_loading/canvas_loading.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/canvas_loading/canvas_loading.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/canvas_loading/canvas_loading.component.tsx diff --git a/x-pack/plugins/canvas/public/components/canvas_loading/index.ts b/x-pack/platform/plugins/private/canvas/public/components/canvas_loading/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/canvas_loading/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/canvas_loading/index.ts diff --git a/x-pack/plugins/canvas/public/components/clipboard/clipboard.scss b/x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/clipboard.scss rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.scss diff --git a/x-pack/plugins/canvas/public/components/clipboard/clipboard.tsx b/x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/clipboard.tsx rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/clipboard.tsx diff --git a/x-pack/plugins/canvas/public/components/clipboard/index.ts b/x-pack/platform/plugins/private/canvas/public/components/clipboard/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/clipboard/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/clipboard/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_dot/color_dot.scss b/x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/color_dot.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.scss diff --git a/x-pack/plugins/canvas/public/components/color_dot/color_dot.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/color_dot.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/color_dot.tsx diff --git a/x-pack/plugins/canvas/public/components/color_dot/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_dot/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_dot/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_dot/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/__stories__/color_manager.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_manager/color_manager.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_manager/color_manager.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/color_manager.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/color_manager.tsx diff --git a/x-pack/plugins/canvas/public/components/color_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/__snapshots__/color_palette.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/__stories__/color_palette.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_palette/color_palette.scss b/x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/color_palette.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.scss diff --git a/x-pack/plugins/canvas/public/components/color_palette/color_palette.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/color_palette.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/color_palette.tsx diff --git a/x-pack/plugins/canvas/public/components/color_palette/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_palette/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_palette/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_palette/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/__snapshots__/color_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/__stories__/color_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker/color_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker/color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/color_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/color_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/__snapshots__/color_picker_popover.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/__stories__/color_picker_popover.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.scss rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.scss diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/color_picker_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/color_picker_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/color_picker_popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/color_picker_popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/color_picker_popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/confirm_modal/confirm_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/confirm_modal/confirm_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/confirm_modal/confirm_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/confirm_modal/index.ts b/x-pack/platform/plugins/private/canvas/public/components/confirm_modal/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/confirm_modal/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/confirm_modal/index.ts diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/__snapshots__/custom_element_modal.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/__stories__/custom_element_modal.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.scss rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.scss diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/custom_element_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/custom_element_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/custom_element_modal/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/custom_element_modal/index.tsx diff --git a/x-pack/plugins/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/__snapshots__/datasource_component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource.scss b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource.scss rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource.scss diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_component.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_component.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_component.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/datasource_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/datasource_preview.scss diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_preview/index.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_preview/index.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_preview/index.js diff --git a/x-pack/plugins/canvas/public/components/datasource/datasource_selector.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_selector.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/datasource_selector.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/datasource_selector.js diff --git a/x-pack/plugins/canvas/public/components/datasource/index.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/index.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/index.js diff --git a/x-pack/plugins/canvas/public/components/datasource/no_datasource.js b/x-pack/platform/plugins/private/canvas/public/components/datasource/no_datasource.js similarity index 100% rename from x-pack/plugins/canvas/public/components/datasource/no_datasource.js rename to x-pack/platform/plugins/private/canvas/public/components/datasource/no_datasource.js diff --git a/x-pack/plugins/canvas/public/components/datatable/datatable.scss b/x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/datatable.scss rename to x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.scss diff --git a/x-pack/plugins/canvas/public/components/datatable/datatable.tsx b/x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/datatable.tsx rename to x-pack/platform/plugins/private/canvas/public/components/datatable/datatable.tsx diff --git a/x-pack/plugins/canvas/public/components/datatable/index.ts b/x-pack/platform/plugins/private/canvas/public/components/datatable/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/datatable/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/datatable/index.ts diff --git a/x-pack/plugins/canvas/public/components/dom_preview/dom_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/dom_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.scss diff --git a/x-pack/plugins/canvas/public/components/dom_preview/dom_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/dom_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/dom_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/dom_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/dom_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/dom_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/dom_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/download/download.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/download/download.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/download/download.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/download/download.test.tsx diff --git a/x-pack/plugins/canvas/public/components/download/download.tsx b/x-pack/platform/plugins/private/canvas/public/components/download/download.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/download/download.tsx rename to x-pack/platform/plugins/private/canvas/public/components/download/download.tsx diff --git a/x-pack/plugins/canvas/public/components/download/index.ts b/x-pack/platform/plugins/private/canvas/public/components/download/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/download/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/download/index.ts diff --git a/x-pack/plugins/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/__snapshots__/element_card.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/element_card/__stories__/element_card.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/element_card.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/__stories__/element_card.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/__stories__/element_card.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/element_card/element_card.scss b/x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/element_card.scss rename to x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.scss diff --git a/x-pack/plugins/canvas/public/components/element_card/element_card.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/element_card.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/element_card.tsx diff --git a/x-pack/plugins/canvas/public/components/element_card/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_card/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_card/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_card/index.tsx diff --git a/x-pack/plugins/canvas/public/components/element_config/element_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_config/element_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_config/element_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_config/element_config.tsx diff --git a/x-pack/plugins/canvas/public/components/element_config/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_config/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_config/index.js diff --git a/x-pack/plugins/canvas/public/components/element_content/element_content.scss b/x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/element_content.scss rename to x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.scss diff --git a/x-pack/plugins/canvas/public/components/element_content/element_content.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/element_content.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/element_content.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/index.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/invalid_element_type.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_element_type.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/invalid_element_type.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_element_type.tsx diff --git a/x-pack/plugins/canvas/public/components/element_content/invalid_expression.tsx b/x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_expression.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/element_content/invalid_expression.tsx rename to x-pack/platform/plugins/private/canvas/public/components/element_content/invalid_expression.tsx diff --git a/x-pack/plugins/canvas/public/components/element_share_container/element_share_container.js b/x-pack/platform/plugins/private/canvas/public/components/element_share_container/element_share_container.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_share_container/element_share_container.js rename to x-pack/platform/plugins/private/canvas/public/components/element_share_container/element_share_container.js diff --git a/x-pack/plugins/canvas/public/components/element_share_container/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_share_container/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_share_container/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_share_container/index.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/element_wrapper.js b/x-pack/platform/plugins/private/canvas/public/components/element_wrapper/element_wrapper.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/element_wrapper.js rename to x-pack/platform/plugins/private/canvas/public/components/element_wrapper/element_wrapper.js diff --git a/x-pack/plugins/canvas/public/components/element_wrapper/index.js b/x-pack/platform/plugins/private/canvas/public/components/element_wrapper/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/element_wrapper/index.js rename to x-pack/platform/plugins/private/canvas/public/components/element_wrapper/index.js diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.component.tsx diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.tsx b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/flyout.tsx rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/flyout.tsx diff --git a/x-pack/plugins/canvas/public/components/embeddable_flyout/index.ts b/x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/embeddable_flyout/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout/index.ts diff --git a/x-pack/plugins/canvas/public/components/enhance/error_boundary.tsx b/x-pack/platform/plugins/private/canvas/public/components/enhance/error_boundary.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/enhance/error_boundary.tsx rename to x-pack/platform/plugins/private/canvas/public/components/enhance/error_boundary.tsx diff --git a/x-pack/plugins/canvas/public/components/enhance/stateful_prop.js b/x-pack/platform/plugins/private/canvas/public/components/enhance/stateful_prop.js similarity index 100% rename from x-pack/plugins/canvas/public/components/enhance/stateful_prop.js rename to x-pack/platform/plugins/private/canvas/public/components/enhance/stateful_prop.js diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.component.tsx diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/es_data_view_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/es_data_view_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_data_view_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_data_view_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_data_view_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/es_field_select/es_field_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_field_select/es_field_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_field_select/es_field_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_field_select/es_field_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_field_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_field_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_field_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_field_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.component.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/es_fields_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/es_fields_select.tsx diff --git a/x-pack/plugins/canvas/public/components/es_fields_select/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/es_fields_select/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/es_fields_select/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/es_fields_select/index.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap b/x-pack/platform/plugins/private/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/public/components/export_app/__snapshots__/export_app.test.tsx.snap diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.scss b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.scss diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.test.tsx diff --git a/x-pack/plugins/canvas/public/components/export_app/export_app.ts b/x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/export_app.ts rename to x-pack/platform/plugins/private/canvas/public/components/export_app/export_app.ts diff --git a/x-pack/plugins/canvas/public/components/export_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/export_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/export_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/export_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/expression/element_not_selected.js b/x-pack/platform/plugins/private/canvas/public/components/expression/element_not_selected.js similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/element_not_selected.js rename to x-pack/platform/plugins/private/canvas/public/components/expression/element_not_selected.js diff --git a/x-pack/plugins/canvas/public/components/expression/expression.scss b/x-pack/platform/plugins/private/canvas/public/components/expression/expression.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/expression.scss rename to x-pack/platform/plugins/private/canvas/public/components/expression/expression.scss diff --git a/x-pack/plugins/canvas/public/components/expression/expression.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression/expression.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/expression.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression/expression.tsx diff --git a/x-pack/plugins/canvas/public/components/expression/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression/index.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/__stories__/expression_input.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx b/x-pack/platform/plugins/private/canvas/public/components/expression_input/expression_input.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/expression_input.tsx rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/expression_input.tsx diff --git a/x-pack/plugins/canvas/public/components/expression_input/index.ts b/x-pack/platform/plugins/private/canvas/public/components/expression_input/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/expression_input/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/expression_input/index.ts diff --git a/x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/__snapshots__/file_upload.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/file_upload/file_upload.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/file_upload.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/file_upload/file_upload.tsx b/x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/file_upload/file_upload.tsx rename to x-pack/platform/plugins/private/canvas/public/components/file_upload/file_upload.tsx diff --git a/x-pack/plugins/canvas/public/components/flyouts/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/flyouts/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/flyouts/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/flyouts/index.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/__snapshots__/font_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/__stories__/font_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/font_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/font_picker/font_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/font_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/font_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/font_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/font_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/font_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/font_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/format_select/format_select.tsx b/x-pack/platform/plugins/private/canvas/public/components/format_select/format_select.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/format_select/format_select.tsx rename to x-pack/platform/plugins/private/canvas/public/components/format_select/format_select.tsx diff --git a/x-pack/plugins/canvas/public/components/format_select/index.ts b/x-pack/platform/plugins/private/canvas/public/components/format_select/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/format_select/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/format_select/index.ts diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.scss diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.ts b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/fullscreen.ts rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/fullscreen.ts diff --git a/x-pack/plugins/canvas/public/components/fullscreen/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/fullscreen/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/fullscreen/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/fullscreen/index.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.scss b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form.scss rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.scss diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_component.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_error.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_error.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_pending.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_form_context_pending.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/function_unknown.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/function_unknown.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/function_unknown.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/function_unknown.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/function_form/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/function_form/index.tsx diff --git a/x-pack/plugins/canvas/public/components/function_form_list/function_form_list.js b/x-pack/platform/plugins/private/canvas/public/components/function_form_list/function_form_list.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form_list/function_form_list.js rename to x-pack/platform/plugins/private/canvas/public/components/function_form_list/function_form_list.js diff --git a/x-pack/plugins/canvas/public/components/function_form_list/index.js b/x-pack/platform/plugins/private/canvas/public/components/function_form_list/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/function_form_list/index.js rename to x-pack/platform/plugins/private/canvas/public/components/function_form_list/index.js diff --git a/x-pack/plugins/canvas/public/components/help_menu/help_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/help_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/help_menu/help_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/help_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/help_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/help_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/help_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/help_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/help_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/__snapshots__/home.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/__snapshots__/home.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/__snapshots__/home.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/__snapshots__/home.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/home.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/home.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/home.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/home.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/home.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/home.tsx diff --git a/x-pack/plugins/canvas/public/components/home/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_clone_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_clone_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_clone_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_clone_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_create_from_template.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_from_template.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_create_from_template.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_from_template.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_create_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_create_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_create_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_delete_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_delete_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_delete_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_delete_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_find_templates.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_templates.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_find_templates.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_templates.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_find_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_find_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_find_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_import_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_import_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_import_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_import_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/hooks/use_upload_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/hooks/use_upload_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/home/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/loading.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/loading.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/loading.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/loading.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/empty_prompt.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/my_workpads.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/empty_prompt.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/empty_prompt.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/my_workpads.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/my_workpads.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.scss b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.scss rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.scss diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/upload_dropzone.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/upload_dropzone.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_import.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_import.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/my_workpads/workpad_table_tools.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table_tools.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_create.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_create.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_create.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_create.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_create.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/__snapshots__/workpad_templates.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/index.ts diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home/workpad_templates/workpad_templates.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home/workpad_templates/workpad_templates.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.scss b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.scss diff --git a/x-pack/plugins/canvas/public/components/home_app/home_app.tsx b/x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/home_app.tsx rename to x-pack/platform/plugins/private/canvas/public/components/home_app/home_app.tsx diff --git a/x-pack/plugins/canvas/public/components/home_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/home_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/home_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/home_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/hooks/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/index.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/use_canvas_api.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/use_canvas_api.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/use_canvas_api.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/use_canvas_api.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/index.tsx diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_download_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/use_download_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_download_workpad.ts diff --git a/x-pack/plugins/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts b/x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/components/hooks/workpad/use_incoming_embeddable.ts diff --git a/x-pack/plugins/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/__snapshots__/item_grid.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/__stories__/item_grid.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/item_grid/index.ts b/x-pack/platform/plugins/private/canvas/public/components/item_grid/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/index.ts diff --git a/x-pack/plugins/canvas/public/components/item_grid/item_grid.tsx b/x-pack/platform/plugins/private/canvas/public/components/item_grid/item_grid.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/item_grid/item_grid.tsx rename to x-pack/platform/plugins/private/canvas/public/components/item_grid/item_grid.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/__snapshots__/keyboard_shortcuts_doc.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/__stories__/keyboard_shortcuts_doc.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/index.ts diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc/keyboard_shortcuts_doc.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/index.ts diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.component.tsx diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx b/x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx rename to x-pack/platform/plugins/private/canvas/public/components/keyboard_shortcuts_doc_panel/keyboard_shortcuts_doc_panel.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/alignment_guide.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/alignment_guide.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/alignment_guide.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/alignment_guide.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/border_connection.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_connection.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/border_connection.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_connection.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/border_resize_handle.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_resize_handle.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/border_resize_handle.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/border_resize_handle.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/dragbox_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/dragbox_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/dragbox_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/dragbox_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/hover_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/hover_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/hover_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/hover_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/index.ts b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/index.ts diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/layout_annotations.scss b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/layout_annotations.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/layout_annotations.scss rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/layout_annotations.scss diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/rotation_handle.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/rotation_handle.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/rotation_handle.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/rotation_handle.tsx diff --git a/x-pack/plugins/canvas/public/components/layout_annotations/tooltip_annotation.tsx b/x-pack/platform/plugins/private/canvas/public/components/layout_annotations/tooltip_annotation.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/layout_annotations/tooltip_annotation.tsx rename to x-pack/platform/plugins/private/canvas/public/components/layout_annotations/tooltip_annotation.tsx diff --git a/x-pack/plugins/canvas/public/components/loading/index.ts b/x-pack/platform/plugins/private/canvas/public/components/loading/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/loading/index.ts diff --git a/x-pack/plugins/canvas/public/components/loading/loading.scss b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.scss rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.scss diff --git a/x-pack/plugins/canvas/public/components/loading/loading.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.test.tsx diff --git a/x-pack/plugins/canvas/public/components/loading/loading.tsx b/x-pack/platform/plugins/private/canvas/public/components/loading/loading.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/loading/loading.tsx rename to x-pack/platform/plugins/private/canvas/public/components/loading/loading.tsx diff --git a/x-pack/plugins/canvas/public/components/page_config/index.js b/x-pack/platform/plugins/private/canvas/public/components/page_config/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_config/index.js rename to x-pack/platform/plugins/private/canvas/public/components/page_config/index.js diff --git a/x-pack/plugins/canvas/public/components/page_config/page_config.js b/x-pack/platform/plugins/private/canvas/public/components/page_config/page_config.js similarity index 100% rename from x-pack/plugins/canvas/public/components/page_config/page_config.js rename to x-pack/platform/plugins/private/canvas/public/components/page_config/page_config.js diff --git a/x-pack/plugins/canvas/public/components/page_manager/index.ts b/x-pack/platform/plugins/private/canvas/public/components/page_manager/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/index.ts diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.component.tsx diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.scss b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.scss rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.scss diff --git a/x-pack/plugins/canvas/public/components/page_manager/page_manager.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_manager/page_manager.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_manager/page_manager.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/page_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_preview.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_preview.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.component.tsx diff --git a/x-pack/plugins/canvas/public/components/page_preview/page_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/page_preview/page_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/page_preview/page_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/paginate/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/paginate/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/paginate/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/paginate/index.tsx diff --git a/x-pack/plugins/canvas/public/components/paginate/paginate.tsx b/x-pack/platform/plugins/private/canvas/public/components/paginate/paginate.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/paginate/paginate.tsx rename to x-pack/platform/plugins/private/canvas/public/components/paginate/paginate.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/__snapshots__/palette_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/__stories__/palette_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/clearable_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/default_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/palette_picker/palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stop_color_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/stops_palette_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/types.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/types.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/stops_palette_picker/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/stops_palette_picker/utils.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/types.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/types.ts diff --git a/x-pack/plugins/canvas/public/components/palette_picker/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/palette_picker/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/palette_picker/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/palette_picker/utils.ts diff --git a/x-pack/plugins/canvas/public/components/popover/index.ts b/x-pack/platform/plugins/private/canvas/public/components/popover/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/popover/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/popover/index.ts diff --git a/x-pack/plugins/canvas/public/components/popover/popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/popover/popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/popover/popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/popover/popover.tsx diff --git a/x-pack/plugins/canvas/public/components/positionable/index.ts b/x-pack/platform/plugins/private/canvas/public/components/positionable/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/positionable/index.ts diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.scss b/x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/positionable.scss rename to x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.scss diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.tsx b/x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/positionable/positionable.tsx rename to x-pack/platform/plugins/private/canvas/public/components/positionable/positionable.tsx diff --git a/x-pack/plugins/canvas/public/components/render_to_dom/index.ts b/x-pack/platform/plugins/private/canvas/public/components/render_to_dom/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/render_to_dom/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/render_to_dom/index.ts diff --git a/x-pack/plugins/canvas/public/components/render_to_dom/render_to_dom.tsx b/x-pack/platform/plugins/private/canvas/public/components/render_to_dom/render_to_dom.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/render_to_dom/render_to_dom.tsx rename to x-pack/platform/plugins/private/canvas/public/components/render_to_dom/render_to_dom.tsx diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/index.ts b/x-pack/platform/plugins/private/canvas/public/components/render_with_fn/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/render_with_fn/index.ts diff --git a/x-pack/plugins/canvas/public/components/render_with_fn/render_with_fn.tsx b/x-pack/platform/plugins/private/canvas/public/components/render_with_fn/render_with_fn.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/render_with_fn/render_with_fn.tsx rename to x-pack/platform/plugins/private/canvas/public/components/render_with_fn/render_with_fn.tsx diff --git a/x-pack/plugins/canvas/public/components/routing/index.ts b/x-pack/platform/plugins/private/canvas/public/components/routing/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/routing/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/routing/index.ts diff --git a/x-pack/plugins/canvas/public/components/routing/routing_link.tsx b/x-pack/platform/plugins/private/canvas/public/components/routing/routing_link.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/routing/routing_link.tsx rename to x-pack/platform/plugins/private/canvas/public/components/routing/routing_link.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_controls.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/element_grid.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/fixtures/test_elements.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/__stories__/saved_elements_modal.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/element_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/element_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/element_grid.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_grid.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/element_grid.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/element_grid.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/index.ts b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/index.ts diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.component.tsx diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx b/x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx rename to x-pack/platform/plugins/private/canvas/public/components/saved_elements_modal/saved_elements_modal.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/__snapshots__/shape_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/__stories__/shape_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/shape_picker/shape_picker.scss b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/shape_picker.scss rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.scss diff --git a/x-pack/plugins/canvas/public/components/shape_picker/shape_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker/shape_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker/shape_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/__snapshots__/shape_picker_popover.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/__stories__/shape_picker_popover.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/index.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_picker_popover/shape_picker_popover.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/__snapshots__/shape_preview.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/__stories__/shape_preview.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/shape_preview/index.ts b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/index.ts diff --git a/x-pack/plugins/canvas/public/components/shape_preview/shape_preview.scss b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/shape_preview.scss rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.scss diff --git a/x-pack/plugins/canvas/public/components/shape_preview/shape_preview.tsx b/x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/shape_preview/shape_preview.tsx rename to x-pack/platform/plugins/private/canvas/public/components/shape_preview/shape_preview.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/group_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/__snapshots__/multi_element_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/group_settings.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/__stories__/multi_element_settings.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/element_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/index.ts b/x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/element_settings/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/element_settings/index.ts diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/filter_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/filter_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/filter_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/filter_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/general_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/general_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/general_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/general_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/global_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/global_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/global_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/global_config.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/global_config/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/global_config/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/global_config/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/group_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/group_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/group_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/group_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/multi_element_settings.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/multi_element_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/multi_element_settings.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/multi_element_settings.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.scss b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar.scss rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.scss diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/index.ts diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_section.js b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_section.js rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section.js diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_section_title.js b/x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section_title.js similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_section_title.js rename to x-pack/platform/plugins/private/canvas/public/components/sidebar/sidebar_section_title.js diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/index.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.component.tsx diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.scss b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.scss rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.scss diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx b/x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx rename to x-pack/platform/plugins/private/canvas/public/components/sidebar_header/sidebar_header.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/__snapshots__/tag.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tag/__stories__/tag.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/tag.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/__stories__/tag.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/__stories__/tag.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tag/tag.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag/tag.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag/tag.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag/tag.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/__snapshots__/tag_list.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/__stories__/tag_list.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tag_list/tag_list.tsx b/x-pack/platform/plugins/private/canvas/public/components/tag_list/tag_list.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tag_list/tag_list.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tag_list/tag_list.tsx diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/__snapshots__/text_style_picker.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/__stories__/text_style_picker.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/font_sizes.ts b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/font_sizes.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/font_sizes.ts rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/font_sizes.ts diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/text_style_picker/text_style_picker.tsx b/x-pack/platform/plugins/private/canvas/public/components/text_style_picker/text_style_picker.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/text_style_picker/text_style_picker.tsx rename to x-pack/platform/plugins/private/canvas/public/components/text_style_picker/text_style_picker.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/__snapshots__/tool_tip_shortcut.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/__stories__/tool_tip_shortcut.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/index.tsx diff --git a/x-pack/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx b/x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tool_tip_shortcut/tool_tip_shortcut.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/__snapshots__/toolbar.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/__stories__/toolbar.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/index.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/index.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.component.tsx diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.scss b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.scss rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.scss diff --git a/x-pack/plugins/canvas/public/components/toolbar/toolbar.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/toolbar.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/toolbar.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/index.ts b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/index.ts diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/tray.scss rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.scss diff --git a/x-pack/plugins/canvas/public/components/toolbar/tray/tray.tsx b/x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/toolbar/tray/tray.tsx rename to x-pack/platform/plugins/private/canvas/public/components/toolbar/tray/tray.tsx diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/index.ts b/x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_icon/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/index.ts diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx b/x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/tooltip_icon.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx rename to x-pack/platform/plugins/private/canvas/public/components/tooltip_icon/tooltip_icon.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/delete_var.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/delete_var.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/delete_var.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/delete_var.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/delete_var.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/edit_var.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/edit_var.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/edit_var.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/edit_var.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/var_config.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/var_config.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/__stories__/var_config.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/__stories__/var_config.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/delete_var.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/delete_var.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/delete_var.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/delete_var.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/edit_var.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/edit_var.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/edit_var.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/edit_var.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/edit_var.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/index.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/var_config.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_config.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/var_config.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_config.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_config.tsx diff --git a/x-pack/plugins/canvas/public/components/var_config/var_panel.scss b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_panel.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_panel.scss rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_panel.scss diff --git a/x-pack/plugins/canvas/public/components/var_config/var_value_field.tsx b/x-pack/platform/plugins/private/canvas/public/components/var_config/var_value_field.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/var_config/var_value_field.tsx rename to x-pack/platform/plugins/private/canvas/public/components/var_config/var_value_field.tsx diff --git a/x-pack/plugins/canvas/public/components/with_debounce_arg/index.ts b/x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/with_debounce_arg/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/index.ts diff --git a/x-pack/plugins/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx b/x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx rename to x-pack/platform/plugins/private/canvas/public/components/with_debounce_arg/with_debounce_arg.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.scss diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad/workpad_shortcuts.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad/workpad_shortcuts.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad/workpad_shortcuts.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad/workpad_shortcuts.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_app.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_app.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_app.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.test.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.test.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.test.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_app/workpad_telemetry.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_app/workpad_telemetry.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_color_picker/workpad_color_picker.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_color_picker/workpad_color_picker.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_config/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_config/workpad_config.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/workpad_config.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_config/workpad_config.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_config/workpad_config.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_config/workpad_config.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filter.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/filters_group.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/__snapshots__/workpad_filters.component.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/elements.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/elements.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/elements.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/elements.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filter.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/filters_group.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.component.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/__stories__/workpad_filters.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/default_filter.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/default_filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/default_filter.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/default_filter.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filter_views/time_filter.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/time_filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filter_views/time_filter.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filter_views/time_filter.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/filters_group.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filters_group.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/filters_group.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/filters_group.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/hooks/use_canvas_filters.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/index.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/types.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/types.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/types.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_filters/workpad_filters.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_filters/workpad_filters.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/__snapshots__/edit_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/__stories__/edit_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/edit_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/edit_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/edit_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/edit_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/__snapshots__/editor_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/__stories__/editor_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/editor_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/editor_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/editor_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/editor_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/__snapshots__/element_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/__stories__/element_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/element_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/element_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/element_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/element_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/element_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/fullscreen_control.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/fullscreen_control/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/fullscreen_control/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_header/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/labs_control/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/labs_control/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/labs_control/labs_control.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/labs_control.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/labs_control/labs_control.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/labs_control/labs_control.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/refresh_control/refresh_control.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/refresh_control/refresh_control.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/pdf_panel.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/__snapshots__/share_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/__stories__/share_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/__stories__/flyout.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/flyout.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/runtime_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/snippets_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/flyout/workpad_step.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/share_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/share_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.test.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.test.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.test.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/share_menu/utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/share_menu/utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/__snapshots__/view_menu.stories.storyshot diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/__stories__/view_menu.stories.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/auto_refresh_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/custom_interval.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/custom_interval.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/custom_interval.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/custom_interval.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/index.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/index.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/index.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/kiosk_controls.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/lib/get_fit_zoom_scale.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/view_menu/view_menu.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/view_menu/view_menu.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_header.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_header.component.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.component.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_header/workpad_header.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_header/workpad_header.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_header/workpad_header.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/integration_utils.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/integration_utils.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/integration_utils.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/integration_utils.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/positioning_utils.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/positioning_utils.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/positioning_utils.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/positioning_utils.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_page/prop_types.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/prop_types.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/prop_types.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/prop_types.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interaction_boundary.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/interactive_workpad_page.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_interactive_page/workpad_interactive_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/index.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/index.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/index.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/static_workpad_page.js diff --git a/x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss b/x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss rename to x-pack/platform/plugins/private/canvas/public/components/workpad_page/workpad_static_page/workpad_static_page.scss diff --git a/x-pack/plugins/canvas/public/components/workpad_shortcuts/index.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_shortcuts/index.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/index.tsx diff --git a/x-pack/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx b/x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx similarity index 100% rename from x-pack/plugins/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx rename to x-pack/platform/plugins/private/canvas/public/components/workpad_shortcuts/workpad_shortcuts.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_type.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_type.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_type.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_type_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_type_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/color.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/color.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/color.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/color.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/appearance_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/border_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/border_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/border_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/border_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/extended_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/container_style/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/container_style/simple_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/font.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/font.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/font.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/font.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/index.js b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/index.js similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/index.js rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/index.js diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/extended_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/extended_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/__stories__/simple_template.stories.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/extended_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/extended_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/extended_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/simple_template.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/arg_types/series_style/simple_template.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/arg_types/series_style/simple_template.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/base_form.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/base_form.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/base_form.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/base_form.ts diff --git a/x-pack/plugins/canvas/public/expression_types/datasource.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/datasource.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasource.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/datasource.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/datasource_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/datasource_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/datasource_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/datasource_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/function_form.tsx b/x-pack/platform/plugins/private/canvas/public/expression_types/function_form.tsx similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/function_form.tsx rename to x-pack/platform/plugins/private/canvas/public/expression_types/function_form.tsx diff --git a/x-pack/plugins/canvas/public/expression_types/index.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/index.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/index.ts diff --git a/x-pack/plugins/canvas/public/expression_types/model.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/model.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/model.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/model.ts diff --git a/x-pack/plugins/canvas/public/expression_types/model_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/model_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/model_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/model_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/transform.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/transform.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/transform.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/transform.ts diff --git a/x-pack/plugins/canvas/public/expression_types/transform_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/transform_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/transform_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/transform_registry.ts diff --git a/x-pack/plugins/canvas/public/expression_types/types.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/types.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/types.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/types.ts diff --git a/x-pack/plugins/canvas/public/expression_types/view.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/view.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/view.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/view.ts diff --git a/x-pack/plugins/canvas/public/expression_types/view_registry.ts b/x-pack/platform/plugins/private/canvas/public/expression_types/view_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/expression_types/view_registry.ts rename to x-pack/platform/plugins/private/canvas/public/expression_types/view_registry.ts diff --git a/x-pack/plugins/canvas/public/functions/asset.ts b/x-pack/platform/plugins/private/canvas/public/functions/asset.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/asset.ts rename to x-pack/platform/plugins/private/canvas/public/functions/asset.ts diff --git a/x-pack/plugins/canvas/public/functions/filters.ts b/x-pack/platform/plugins/private/canvas/public/functions/filters.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/filters.ts rename to x-pack/platform/plugins/private/canvas/public/functions/filters.ts diff --git a/x-pack/plugins/canvas/public/functions/index.ts b/x-pack/platform/plugins/private/canvas/public/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/index.ts rename to x-pack/platform/plugins/private/canvas/public/functions/index.ts diff --git a/x-pack/plugins/canvas/public/functions/pie.test.js b/x-pack/platform/plugins/private/canvas/public/functions/pie.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/pie.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/pie.test.js diff --git a/x-pack/plugins/canvas/public/functions/pie.ts b/x-pack/platform/plugins/private/canvas/public/functions/pie.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/pie.ts rename to x-pack/platform/plugins/private/canvas/public/functions/pie.ts diff --git a/x-pack/plugins/canvas/public/functions/plot.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_flot_axis_config.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_flot_axis_config.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/get_font_spec.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_font_spec.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_font_spec.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_font_spec.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_font_spec.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/get_tick_hash.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_tick_hash.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/get_tick_hash.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/get_tick_hash.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/get_tick_hash.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/index.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/index.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/index.ts diff --git a/x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.test.js b/x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.test.js similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.test.js rename to x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.test.js diff --git a/x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.ts b/x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/plot/series_style_to_flot.ts rename to x-pack/platform/plugins/private/canvas/public/functions/plot/series_style_to_flot.ts diff --git a/x-pack/plugins/canvas/public/functions/timelion.ts b/x-pack/platform/plugins/private/canvas/public/functions/timelion.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/timelion.ts rename to x-pack/platform/plugins/private/canvas/public/functions/timelion.ts diff --git a/x-pack/plugins/canvas/public/functions/to.ts b/x-pack/platform/plugins/private/canvas/public/functions/to.ts similarity index 100% rename from x-pack/plugins/canvas/public/functions/to.ts rename to x-pack/platform/plugins/private/canvas/public/functions/to.ts diff --git a/x-pack/plugins/canvas/public/icon.svg b/x-pack/platform/plugins/private/canvas/public/icon.svg similarity index 100% rename from x-pack/plugins/canvas/public/icon.svg rename to x-pack/platform/plugins/private/canvas/public/icon.svg diff --git a/x-pack/plugins/canvas/public/index.ts b/x-pack/platform/plugins/private/canvas/public/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/index.ts rename to x-pack/platform/plugins/private/canvas/public/index.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/common.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/common.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/common.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/common.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/functional.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/functional.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/functional.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/functional.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/geometry.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/geometry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/geometry.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/geometry.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/gestures.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/gestures.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/gestures.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/gestures.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/index.d.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/index.d.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/index.d.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/index.d.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/layout.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/layout.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/layout_functions.js b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout_functions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/layout_functions.js rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/layout_functions.js diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/matrix.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/matrix.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/matrix2d.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix2d.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/matrix2d.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/matrix2d.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/select.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/select.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/select.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/select.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/store.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/store.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/store.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/store.ts diff --git a/x-pack/plugins/canvas/public/lib/aeroelastic/typespec.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/typespec.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/aeroelastic/typespec.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/aeroelastic/typespec.test.ts diff --git a/x-pack/plugins/canvas/public/lib/app_handler_creators.ts b/x-pack/platform/plugins/private/canvas/public/lib/app_handler_creators.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/app_handler_creators.ts rename to x-pack/platform/plugins/private/canvas/public/lib/app_handler_creators.ts diff --git a/x-pack/plugins/canvas/public/lib/arg_helpers.js b/x-pack/platform/plugins/private/canvas/public/lib/arg_helpers.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/arg_helpers.js rename to x-pack/platform/plugins/private/canvas/public/lib/arg_helpers.js diff --git a/x-pack/plugins/canvas/public/lib/args.ts b/x-pack/platform/plugins/private/canvas/public/lib/args.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/args.ts rename to x-pack/platform/plugins/private/canvas/public/lib/args.ts diff --git a/x-pack/plugins/canvas/public/lib/assets.ts b/x-pack/platform/plugins/private/canvas/public/lib/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/assets.ts rename to x-pack/platform/plugins/private/canvas/public/lib/assets.ts diff --git a/x-pack/plugins/canvas/public/lib/breadcrumbs.ts b/x-pack/platform/plugins/private/canvas/public/lib/breadcrumbs.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/breadcrumbs.ts rename to x-pack/platform/plugins/private/canvas/public/lib/breadcrumbs.ts diff --git a/x-pack/plugins/canvas/public/lib/clipboard.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/clipboard.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clipboard.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clipboard.test.ts diff --git a/x-pack/plugins/canvas/public/lib/clipboard.ts b/x-pack/platform/plugins/private/canvas/public/lib/clipboard.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clipboard.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clipboard.ts diff --git a/x-pack/plugins/canvas/public/lib/clone_subgraphs.ts b/x-pack/platform/plugins/private/canvas/public/lib/clone_subgraphs.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/clone_subgraphs.ts rename to x-pack/platform/plugins/private/canvas/public/lib/clone_subgraphs.ts diff --git a/x-pack/plugins/canvas/public/lib/create_handlers.ts b/x-pack/platform/plugins/private/canvas/public/lib/create_handlers.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/create_handlers.ts rename to x-pack/platform/plugins/private/canvas/public/lib/create_handlers.ts diff --git a/x-pack/plugins/canvas/public/lib/create_thunk.ts b/x-pack/platform/plugins/private/canvas/public/lib/create_thunk.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/create_thunk.ts rename to x-pack/platform/plugins/private/canvas/public/lib/create_thunk.ts diff --git a/x-pack/plugins/canvas/public/lib/data_view_helpers.ts b/x-pack/platform/plugins/private/canvas/public/lib/data_view_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/data_view_helpers.ts rename to x-pack/platform/plugins/private/canvas/public/lib/data_view_helpers.ts diff --git a/x-pack/plugins/canvas/public/lib/doc_title.ts b/x-pack/platform/plugins/private/canvas/public/lib/doc_title.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/doc_title.ts rename to x-pack/platform/plugins/private/canvas/public/lib/doc_title.ts diff --git a/x-pack/plugins/canvas/public/lib/dom.ts b/x-pack/platform/plugins/private/canvas/public/lib/dom.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/dom.ts rename to x-pack/platform/plugins/private/canvas/public/lib/dom.ts diff --git a/x-pack/plugins/canvas/public/lib/element.ts b/x-pack/platform/plugins/private/canvas/public/lib/element.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/element.ts rename to x-pack/platform/plugins/private/canvas/public/lib/element.ts diff --git a/x-pack/plugins/canvas/public/lib/element_handler_creators.ts b/x-pack/platform/plugins/private/canvas/public/lib/element_handler_creators.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/element_handler_creators.ts rename to x-pack/platform/plugins/private/canvas/public/lib/element_handler_creators.ts diff --git a/x-pack/plugins/canvas/public/lib/elements_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/elements_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/elements_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/elements_registry.js diff --git a/x-pack/plugins/canvas/public/lib/extract_search.js b/x-pack/platform/plugins/private/canvas/public/lib/extract_search.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/extract_search.js rename to x-pack/platform/plugins/private/canvas/public/lib/extract_search.js diff --git a/x-pack/plugins/canvas/public/lib/filter.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter.test.ts diff --git a/x-pack/plugins/canvas/public/lib/filter.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter.ts diff --git a/x-pack/plugins/canvas/public/lib/filter_adapters.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter_adapters.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.test.ts diff --git a/x-pack/plugins/canvas/public/lib/filter_adapters.ts b/x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/filter_adapters.ts rename to x-pack/platform/plugins/private/canvas/public/lib/filter_adapters.ts diff --git a/x-pack/plugins/canvas/public/lib/find_existing_asset.js b/x-pack/platform/plugins/private/canvas/public/lib/find_existing_asset.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/find_existing_asset.js rename to x-pack/platform/plugins/private/canvas/public/lib/find_existing_asset.js diff --git a/x-pack/plugins/canvas/public/lib/find_expression_type.ts b/x-pack/platform/plugins/private/canvas/public/lib/find_expression_type.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/find_expression_type.ts rename to x-pack/platform/plugins/private/canvas/public/lib/find_expression_type.ts diff --git a/x-pack/plugins/canvas/public/lib/flatten_panel_tree.ts b/x-pack/platform/plugins/private/canvas/public/lib/flatten_panel_tree.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/flatten_panel_tree.ts rename to x-pack/platform/plugins/private/canvas/public/lib/flatten_panel_tree.ts diff --git a/x-pack/plugins/canvas/public/lib/format_msg.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/format_msg.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/format_msg.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/format_msg.test.ts diff --git a/x-pack/plugins/canvas/public/lib/format_msg.ts b/x-pack/platform/plugins/private/canvas/public/lib/format_msg.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/format_msg.ts rename to x-pack/platform/plugins/private/canvas/public/lib/format_msg.ts diff --git a/x-pack/plugins/canvas/public/lib/fullscreen.js b/x-pack/platform/plugins/private/canvas/public/lib/fullscreen.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/fullscreen.js rename to x-pack/platform/plugins/private/canvas/public/lib/fullscreen.js diff --git a/x-pack/plugins/canvas/public/lib/get_client_platform.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_client_platform.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_client_platform.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_client_platform.ts diff --git a/x-pack/plugins/canvas/public/lib/get_id.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_id.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_id.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_id.ts diff --git a/x-pack/plugins/canvas/public/lib/get_pretty_shortcut.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_pretty_shortcut.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.test.ts diff --git a/x-pack/plugins/canvas/public/lib/get_pretty_shortcut.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_pretty_shortcut.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_pretty_shortcut.ts diff --git a/x-pack/plugins/canvas/public/lib/get_window.ts b/x-pack/platform/plugins/private/canvas/public/lib/get_window.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/get_window.ts rename to x-pack/platform/plugins/private/canvas/public/lib/get_window.ts diff --git a/x-pack/plugins/canvas/public/lib/is_text_input.ts b/x-pack/platform/plugins/private/canvas/public/lib/is_text_input.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/is_text_input.ts rename to x-pack/platform/plugins/private/canvas/public/lib/is_text_input.ts diff --git a/x-pack/plugins/canvas/public/lib/keymap.ts b/x-pack/platform/plugins/private/canvas/public/lib/keymap.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/keymap.ts rename to x-pack/platform/plugins/private/canvas/public/lib/keymap.ts diff --git a/x-pack/plugins/canvas/public/lib/legend_options.js b/x-pack/platform/plugins/private/canvas/public/lib/legend_options.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/legend_options.js rename to x-pack/platform/plugins/private/canvas/public/lib/legend_options.js diff --git a/x-pack/plugins/canvas/public/lib/load_expression_types.js b/x-pack/platform/plugins/private/canvas/public/lib/load_expression_types.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/load_expression_types.js rename to x-pack/platform/plugins/private/canvas/public/lib/load_expression_types.js diff --git a/x-pack/plugins/canvas/public/lib/load_transitions.js b/x-pack/platform/plugins/private/canvas/public/lib/load_transitions.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/load_transitions.js rename to x-pack/platform/plugins/private/canvas/public/lib/load_transitions.js diff --git a/x-pack/plugins/canvas/public/lib/loading_indicator.ts b/x-pack/platform/plugins/private/canvas/public/lib/loading_indicator.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/loading_indicator.ts rename to x-pack/platform/plugins/private/canvas/public/lib/loading_indicator.ts diff --git a/x-pack/plugins/canvas/public/lib/modify_path.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/modify_path.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/modify_path.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/modify_path.test.ts diff --git a/x-pack/plugins/canvas/public/lib/modify_path.ts b/x-pack/platform/plugins/private/canvas/public/lib/modify_path.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/modify_path.ts rename to x-pack/platform/plugins/private/canvas/public/lib/modify_path.ts diff --git a/x-pack/plugins/canvas/public/lib/parse_single_function_chain.js b/x-pack/platform/plugins/private/canvas/public/lib/parse_single_function_chain.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/parse_single_function_chain.js rename to x-pack/platform/plugins/private/canvas/public/lib/parse_single_function_chain.js diff --git a/x-pack/plugins/canvas/public/lib/readable_color.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/readable_color.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/readable_color.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/readable_color.test.ts diff --git a/x-pack/plugins/canvas/public/lib/readable_color.ts b/x-pack/platform/plugins/private/canvas/public/lib/readable_color.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/readable_color.ts rename to x-pack/platform/plugins/private/canvas/public/lib/readable_color.ts diff --git a/x-pack/plugins/canvas/public/lib/resolved_arg.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/resolved_arg.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.test.ts diff --git a/x-pack/plugins/canvas/public/lib/resolved_arg.ts b/x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/resolved_arg.ts rename to x-pack/platform/plugins/private/canvas/public/lib/resolved_arg.ts diff --git a/x-pack/plugins/canvas/public/lib/shortcut_manager.js b/x-pack/platform/plugins/private/canvas/public/lib/shortcut_manager.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/shortcut_manager.js rename to x-pack/platform/plugins/private/canvas/public/lib/shortcut_manager.js diff --git a/x-pack/plugins/canvas/public/lib/storage.ts b/x-pack/platform/plugins/private/canvas/public/lib/storage.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/storage.ts rename to x-pack/platform/plugins/private/canvas/public/lib/storage.ts diff --git a/x-pack/plugins/canvas/public/lib/sync_filter_expression.ts b/x-pack/platform/plugins/private/canvas/public/lib/sync_filter_expression.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/sync_filter_expression.ts rename to x-pack/platform/plugins/private/canvas/public/lib/sync_filter_expression.ts diff --git a/x-pack/plugins/canvas/public/lib/tag.ts b/x-pack/platform/plugins/private/canvas/public/lib/tag.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/tag.ts rename to x-pack/platform/plugins/private/canvas/public/lib/tag.ts diff --git a/x-pack/plugins/canvas/public/lib/tags_registry.ts b/x-pack/platform/plugins/private/canvas/public/lib/tags_registry.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/tags_registry.ts rename to x-pack/platform/plugins/private/canvas/public/lib/tags_registry.ts diff --git a/x-pack/plugins/canvas/public/lib/template.js b/x-pack/platform/plugins/private/canvas/public/lib/template.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/template.js rename to x-pack/platform/plugins/private/canvas/public/lib/template.js diff --git a/x-pack/plugins/canvas/public/lib/template_from_react_component.tsx b/x-pack/platform/plugins/private/canvas/public/lib/template_from_react_component.tsx similarity index 100% rename from x-pack/plugins/canvas/public/lib/template_from_react_component.tsx rename to x-pack/platform/plugins/private/canvas/public/lib/template_from_react_component.tsx diff --git a/x-pack/plugins/canvas/public/lib/template_service.ts b/x-pack/platform/plugins/private/canvas/public/lib/template_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/template_service.ts rename to x-pack/platform/plugins/private/canvas/public/lib/template_service.ts diff --git a/x-pack/plugins/canvas/public/lib/templates_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/templates_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/templates_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/templates_registry.js diff --git a/x-pack/plugins/canvas/public/lib/time_duration.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_duration.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_duration.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_duration.ts diff --git a/x-pack/plugins/canvas/public/lib/time_interval.test.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_interval.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_interval.test.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_interval.test.ts diff --git a/x-pack/plugins/canvas/public/lib/time_interval.ts b/x-pack/platform/plugins/private/canvas/public/lib/time_interval.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/time_interval.ts rename to x-pack/platform/plugins/private/canvas/public/lib/time_interval.ts diff --git a/x-pack/plugins/canvas/public/lib/transitions_registry.js b/x-pack/platform/plugins/private/canvas/public/lib/transitions_registry.js similarity index 100% rename from x-pack/plugins/canvas/public/lib/transitions_registry.js rename to x-pack/platform/plugins/private/canvas/public/lib/transitions_registry.js diff --git a/x-pack/plugins/canvas/public/lib/ui_metric.ts b/x-pack/platform/plugins/private/canvas/public/lib/ui_metric.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/ui_metric.ts rename to x-pack/platform/plugins/private/canvas/public/lib/ui_metric.ts diff --git a/x-pack/plugins/canvas/public/lib/workpad.ts b/x-pack/platform/plugins/private/canvas/public/lib/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/lib/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/lib/workpad.ts diff --git a/x-pack/plugins/canvas/public/plugin.tsx b/x-pack/platform/plugins/private/canvas/public/plugin.tsx similarity index 100% rename from x-pack/plugins/canvas/public/plugin.tsx rename to x-pack/platform/plugins/private/canvas/public/plugin.tsx diff --git a/x-pack/plugins/canvas/public/plugin_api.ts b/x-pack/platform/plugins/private/canvas/public/plugin_api.ts similarity index 100% rename from x-pack/plugins/canvas/public/plugin_api.ts rename to x-pack/platform/plugins/private/canvas/public/plugin_api.ts diff --git a/x-pack/plugins/canvas/public/registries.ts b/x-pack/platform/plugins/private/canvas/public/registries.ts similarity index 100% rename from x-pack/plugins/canvas/public/registries.ts rename to x-pack/platform/plugins/private/canvas/public/registries.ts diff --git a/x-pack/plugins/canvas/public/routes/home/home_route.tsx b/x-pack/platform/plugins/private/canvas/public/routes/home/home_route.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/home/home_route.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/home/home_route.tsx diff --git a/x-pack/plugins/canvas/public/routes/home/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/home/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/home/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/home/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_autoplay_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_fullscreen_presentation_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.test.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.test.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.test.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_page_sync.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_page_sync.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_refresh_helper.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_refresh_helper.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_restore_history.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_restore_history.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_routing_context.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_routing_context.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_routing_context.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_routing_context.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.test.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_history.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_history.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.test.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad_persist.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/hooks/use_workpad_persist.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/index.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/index.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/index.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/index.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/route_state.ts b/x-pack/platform/plugins/private/canvas/public/routes/workpad/route_state.ts similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/route_state.ts rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/route_state.ts diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_presentation_helper.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_presentation_helper.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_route.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_route.tsx diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_routing_context.tsx b/x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_routing_context.tsx similarity index 100% rename from x-pack/plugins/canvas/public/routes/workpad/workpad_routing_context.tsx rename to x-pack/platform/plugins/private/canvas/public/routes/workpad/workpad_routing_context.tsx diff --git a/x-pack/plugins/canvas/public/services/canvas_custom_element_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_custom_element_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_custom_element_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_custom_element_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_expressions_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_expressions_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_expressions_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_expressions_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_filters_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_filters_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_filters_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_filters_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_notify_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_notify_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_notify_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_notify_service.ts diff --git a/x-pack/plugins/canvas/public/services/canvas_workpad_service.ts b/x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/canvas_workpad_service.ts rename to x-pack/platform/plugins/private/canvas/public/services/canvas_workpad_service.ts diff --git a/x-pack/plugins/canvas/public/services/get_has_workpads.ts b/x-pack/platform/plugins/private/canvas/public/services/get_has_workpads.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/get_has_workpads.ts rename to x-pack/platform/plugins/private/canvas/public/services/get_has_workpads.ts diff --git a/x-pack/plugins/canvas/public/services/index.ts b/x-pack/platform/plugins/private/canvas/public/services/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/index.ts diff --git a/x-pack/plugins/canvas/public/services/kibana_services.ts b/x-pack/platform/plugins/private/canvas/public/services/kibana_services.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/kibana_services.ts rename to x-pack/platform/plugins/private/canvas/public/services/kibana_services.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/context.tsx b/x-pack/platform/plugins/private/canvas/public/services/legacy/context.tsx similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/context.tsx rename to x-pack/platform/plugins/private/canvas/public/services/legacy/context.tsx diff --git a/x-pack/plugins/canvas/public/services/legacy/index.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/index.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/search.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/search.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/search.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/search.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/stubs/index.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/stubs/index.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/index.ts diff --git a/x-pack/plugins/canvas/public/services/legacy/stubs/search.ts b/x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/search.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/legacy/stubs/search.ts rename to x-pack/platform/plugins/private/canvas/public/services/legacy/stubs/search.ts diff --git a/x-pack/plugins/canvas/public/services/mocks.ts b/x-pack/platform/plugins/private/canvas/public/services/mocks.ts similarity index 100% rename from x-pack/plugins/canvas/public/services/mocks.ts rename to x-pack/platform/plugins/private/canvas/public/services/mocks.ts diff --git a/x-pack/plugins/canvas/public/setup_expressions.ts b/x-pack/platform/plugins/private/canvas/public/setup_expressions.ts similarity index 100% rename from x-pack/plugins/canvas/public/setup_expressions.ts rename to x-pack/platform/plugins/private/canvas/public/setup_expressions.ts diff --git a/x-pack/plugins/canvas/public/state/actions/app.js b/x-pack/platform/plugins/private/canvas/public/state/actions/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/app.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/app.js diff --git a/x-pack/plugins/canvas/public/state/actions/assets.js b/x-pack/platform/plugins/private/canvas/public/state/actions/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/assets.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/assets.js diff --git a/x-pack/plugins/canvas/public/state/actions/elements.js b/x-pack/platform/plugins/private/canvas/public/state/actions/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/elements.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/elements.js diff --git a/x-pack/plugins/canvas/public/state/actions/elements.test.js b/x-pack/platform/plugins/private/canvas/public/state/actions/elements.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/elements.test.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/elements.test.js diff --git a/x-pack/plugins/canvas/public/state/actions/embeddable.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/embeddable.ts diff --git a/x-pack/plugins/canvas/public/state/actions/filters.js b/x-pack/platform/plugins/private/canvas/public/state/actions/filters.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/filters.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/filters.js diff --git a/x-pack/plugins/canvas/public/state/actions/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/actions/history.js b/x-pack/platform/plugins/private/canvas/public/state/actions/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/history.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/history.js diff --git a/x-pack/plugins/canvas/public/state/actions/pages.js b/x-pack/platform/plugins/private/canvas/public/state/actions/pages.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/pages.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/pages.js diff --git a/x-pack/plugins/canvas/public/state/actions/resolved_args.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/resolved_args.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/resolved_args.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/resolved_args.ts diff --git a/x-pack/plugins/canvas/public/state/actions/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/actions/transient.js b/x-pack/platform/plugins/private/canvas/public/state/actions/transient.js similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/transient.js rename to x-pack/platform/plugins/private/canvas/public/state/actions/transient.js diff --git a/x-pack/plugins/canvas/public/state/actions/workpad.ts b/x-pack/platform/plugins/private/canvas/public/state/actions/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/actions/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/state/actions/workpad.ts diff --git a/x-pack/plugins/canvas/public/state/defaults.js b/x-pack/platform/plugins/private/canvas/public/state/defaults.js similarity index 100% rename from x-pack/plugins/canvas/public/state/defaults.js rename to x-pack/platform/plugins/private/canvas/public/state/defaults.js diff --git a/x-pack/plugins/canvas/public/state/initial_state.js b/x-pack/platform/plugins/private/canvas/public/state/initial_state.js similarity index 100% rename from x-pack/plugins/canvas/public/state/initial_state.js rename to x-pack/platform/plugins/private/canvas/public/state/initial_state.js diff --git a/x-pack/plugins/canvas/public/state/middleware/element_stats.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/element_stats.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/element_stats.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/element_stats.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/in_flight.test.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/in_flight.test.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.test.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/in_flight.ts b/x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/in_flight.ts rename to x-pack/platform/plugins/private/canvas/public/state/middleware/in_flight.ts diff --git a/x-pack/plugins/canvas/public/state/middleware/index.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/index.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/index.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/index.js diff --git a/x-pack/plugins/canvas/public/state/middleware/resolved_args.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/resolved_args.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/middleware/workpad_update.js b/x-pack/platform/plugins/private/canvas/public/state/middleware/workpad_update.js similarity index 100% rename from x-pack/plugins/canvas/public/state/middleware/workpad_update.js rename to x-pack/platform/plugins/private/canvas/public/state/middleware/workpad_update.js diff --git a/x-pack/plugins/canvas/public/state/reducers/__fixtures__/action_creator.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/__fixtures__/action_creator.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/__fixtures__/action_creator.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/__fixtures__/action_creator.js diff --git a/x-pack/plugins/canvas/public/state/reducers/app.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/app.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/app.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/app.js diff --git a/x-pack/plugins/canvas/public/state/reducers/assets.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/assets.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/assets.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/assets.js diff --git a/x-pack/plugins/canvas/public/state/reducers/elements.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/elements.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/elements.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/elements.js diff --git a/x-pack/plugins/canvas/public/state/reducers/elements.test.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/elements.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/elements.test.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/elements.test.js diff --git a/x-pack/plugins/canvas/public/state/reducers/embeddable.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/embeddable.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/embeddable.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/embeddable.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/embeddables.test.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/embeddables.test.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/embeddables.test.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/embeddables.test.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/history.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/history.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/history.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/history.js diff --git a/x-pack/plugins/canvas/public/state/reducers/index.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/index.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/index.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/index.js diff --git a/x-pack/plugins/canvas/public/state/reducers/pages.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/pages.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/pages.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/pages.js diff --git a/x-pack/plugins/canvas/public/state/reducers/resolved_args.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/resolved_args.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.js diff --git a/x-pack/plugins/canvas/public/state/reducers/resolved_args.test.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/resolved_args.test.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/resolved_args.test.js diff --git a/x-pack/plugins/canvas/public/state/reducers/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/reducers/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/reducers/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/reducers/transient.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/transient.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/transient.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/transient.js diff --git a/x-pack/plugins/canvas/public/state/reducers/workpad.js b/x-pack/platform/plugins/private/canvas/public/state/reducers/workpad.js similarity index 100% rename from x-pack/plugins/canvas/public/state/reducers/workpad.js rename to x-pack/platform/plugins/private/canvas/public/state/reducers/workpad.js diff --git a/x-pack/plugins/canvas/public/state/selectors/app.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/app.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/app.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/app.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/assets.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/assets.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/assets.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/assets.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/flyouts.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/flyouts.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/flyouts.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/flyouts.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/resolved_args.test.js b/x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/resolved_args.test.js rename to x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.test.js diff --git a/x-pack/plugins/canvas/public/state/selectors/resolved_args.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/resolved_args.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/resolved_args.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/sidebar.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/sidebar.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/sidebar.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/sidebar.ts diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.test.js b/x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.test.js similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/workpad.test.js rename to x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.test.js diff --git a/x-pack/plugins/canvas/public/state/selectors/workpad.ts b/x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/selectors/workpad.ts rename to x-pack/platform/plugins/private/canvas/public/state/selectors/workpad.ts diff --git a/x-pack/plugins/canvas/public/state/store.js b/x-pack/platform/plugins/private/canvas/public/state/store.js similarity index 100% rename from x-pack/plugins/canvas/public/state/store.js rename to x-pack/platform/plugins/private/canvas/public/state/store.js diff --git a/x-pack/plugins/canvas/public/state/triggers/add_canvas_element_trigger.ts b/x-pack/platform/plugins/private/canvas/public/state/triggers/add_canvas_element_trigger.ts similarity index 100% rename from x-pack/plugins/canvas/public/state/triggers/add_canvas_element_trigger.ts rename to x-pack/platform/plugins/private/canvas/public/state/triggers/add_canvas_element_trigger.ts diff --git a/x-pack/plugins/canvas/public/store.ts b/x-pack/platform/plugins/private/canvas/public/store.ts similarity index 100% rename from x-pack/plugins/canvas/public/store.ts rename to x-pack/platform/plugins/private/canvas/public/store.ts diff --git a/x-pack/plugins/canvas/public/style/hackery.scss b/x-pack/platform/plugins/private/canvas/public/style/hackery.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/hackery.scss rename to x-pack/platform/plugins/private/canvas/public/style/hackery.scss diff --git a/x-pack/plugins/canvas/public/style/index.scss b/x-pack/platform/plugins/private/canvas/public/style/index.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/index.scss rename to x-pack/platform/plugins/private/canvas/public/style/index.scss diff --git a/x-pack/plugins/canvas/public/style/main.scss b/x-pack/platform/plugins/private/canvas/public/style/main.scss similarity index 100% rename from x-pack/plugins/canvas/public/style/main.scss rename to x-pack/platform/plugins/private/canvas/public/style/main.scss diff --git a/x-pack/plugins/canvas/public/transitions/fade/fade.scss b/x-pack/platform/plugins/private/canvas/public/transitions/fade/fade.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/fade/fade.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/fade/fade.scss diff --git a/x-pack/plugins/canvas/public/transitions/fade/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/fade/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/fade/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/fade/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/rotate/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/rotate/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/rotate/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/rotate/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/rotate/rotate.scss b/x-pack/platform/plugins/private/canvas/public/transitions/rotate/rotate.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/rotate/rotate.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/rotate/rotate.scss diff --git a/x-pack/plugins/canvas/public/transitions/slide/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/slide/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/slide/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/slide/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/slide/slide.scss b/x-pack/platform/plugins/private/canvas/public/transitions/slide/slide.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/slide/slide.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/slide/slide.scss diff --git a/x-pack/plugins/canvas/public/transitions/transition.js b/x-pack/platform/plugins/private/canvas/public/transitions/transition.js similarity index 100% rename from x-pack/plugins/canvas/public/transitions/transition.js rename to x-pack/platform/plugins/private/canvas/public/transitions/transition.js diff --git a/x-pack/plugins/canvas/public/transitions/zoom/index.ts b/x-pack/platform/plugins/private/canvas/public/transitions/zoom/index.ts similarity index 100% rename from x-pack/plugins/canvas/public/transitions/zoom/index.ts rename to x-pack/platform/plugins/private/canvas/public/transitions/zoom/index.ts diff --git a/x-pack/plugins/canvas/public/transitions/zoom/zoom.scss b/x-pack/platform/plugins/private/canvas/public/transitions/zoom/zoom.scss similarity index 100% rename from x-pack/plugins/canvas/public/transitions/zoom/zoom.scss rename to x-pack/platform/plugins/private/canvas/public/transitions/zoom/zoom.scss diff --git a/x-pack/plugins/canvas/scripts/jest.js b/x-pack/platform/plugins/private/canvas/scripts/jest.js similarity index 94% rename from x-pack/plugins/canvas/scripts/jest.js rename to x-pack/platform/plugins/private/canvas/scripts/jest.js index 77e0feb15165f..c0f539a363fc5 100644 --- a/x-pack/plugins/canvas/scripts/jest.js +++ b/x-pack/platform/plugins/private/canvas/scripts/jest.js @@ -14,7 +14,7 @@ const allPosition = process.argv.indexOf('--all'); console.log(` A helper proxying to the following command: - yarn jest --config x-pack/plugins/canvas/jest.config.js + yarn jest --config x-pack/platform/plugins/private/canvas/jest.config.js Provides the following additional options: --all Runs all tests and snapshots. Slower. diff --git a/x-pack/plugins/canvas/scripts/shareable_runtime.js b/x-pack/platform/plugins/private/canvas/scripts/shareable_runtime.js similarity index 100% rename from x-pack/plugins/canvas/scripts/shareable_runtime.js rename to x-pack/platform/plugins/private/canvas/scripts/shareable_runtime.js diff --git a/x-pack/plugins/canvas/server/collectors/collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/collector.ts diff --git a/x-pack/plugins/canvas/server/collectors/collector_helpers.ts b/x-pack/platform/plugins/private/canvas/server/collectors/collector_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/collector_helpers.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/collector_helpers.ts diff --git a/x-pack/plugins/canvas/server/collectors/custom_element_collector.test.ts b/x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/custom_element_collector.test.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.test.ts diff --git a/x-pack/plugins/canvas/server/collectors/custom_element_collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/custom_element_collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/custom_element_collector.ts diff --git a/x-pack/plugins/canvas/server/collectors/index.ts b/x-pack/platform/plugins/private/canvas/server/collectors/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/index.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/index.ts diff --git a/x-pack/plugins/canvas/server/collectors/workpad_collector.test.ts b/x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/workpad_collector.test.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.test.ts diff --git a/x-pack/plugins/canvas/server/collectors/workpad_collector.ts b/x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.ts similarity index 100% rename from x-pack/plugins/canvas/server/collectors/workpad_collector.ts rename to x-pack/platform/plugins/private/canvas/server/collectors/workpad_collector.ts diff --git a/x-pack/plugins/canvas/server/config.ts b/x-pack/platform/plugins/private/canvas/server/config.ts similarity index 100% rename from x-pack/plugins/canvas/server/config.ts rename to x-pack/platform/plugins/private/canvas/server/config.ts diff --git a/x-pack/plugins/canvas/server/feature.test.ts b/x-pack/platform/plugins/private/canvas/server/feature.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/feature.test.ts rename to x-pack/platform/plugins/private/canvas/server/feature.test.ts diff --git a/x-pack/plugins/canvas/server/feature.ts b/x-pack/platform/plugins/private/canvas/server/feature.ts similarity index 100% rename from x-pack/plugins/canvas/server/feature.ts rename to x-pack/platform/plugins/private/canvas/server/feature.ts diff --git a/x-pack/plugins/canvas/server/index.ts b/x-pack/platform/plugins/private/canvas/server/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/index.ts rename to x-pack/platform/plugins/private/canvas/server/index.ts diff --git a/x-pack/plugins/canvas/server/mocks/index.ts b/x-pack/platform/plugins/private/canvas/server/mocks/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/mocks/index.ts rename to x-pack/platform/plugins/private/canvas/server/mocks/index.ts diff --git a/x-pack/plugins/canvas/server/mocks/workpad_route_context.ts b/x-pack/platform/plugins/private/canvas/server/mocks/workpad_route_context.ts similarity index 100% rename from x-pack/plugins/canvas/server/mocks/workpad_route_context.ts rename to x-pack/platform/plugins/private/canvas/server/mocks/workpad_route_context.ts diff --git a/x-pack/plugins/canvas/server/plugin.ts b/x-pack/platform/plugins/private/canvas/server/plugin.ts similarity index 100% rename from x-pack/plugins/canvas/server/plugin.ts rename to x-pack/platform/plugins/private/canvas/server/plugin.ts diff --git a/x-pack/plugins/canvas/server/routes/catch_error_handler.ts b/x-pack/platform/plugins/private/canvas/server/routes/catch_error_handler.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/catch_error_handler.ts rename to x-pack/platform/plugins/private/canvas/server/routes/catch_error_handler.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/create.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/create.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/create.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/create.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/create.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/custom_element_attributes.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_attributes.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/custom_element_attributes.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_attributes.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/custom_element_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/custom_element_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/custom_element_schema.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/delete.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/delete.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/delete.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/delete.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/delete.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/find.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/find.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/find.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/find.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/find.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/get.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/get.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/get.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/get.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/get.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/index.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/update.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/update.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.test.ts diff --git a/x-pack/plugins/canvas/server/routes/custom_elements/update.ts b/x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/custom_elements/update.ts rename to x-pack/platform/plugins/private/canvas/server/routes/custom_elements/update.ts diff --git a/x-pack/plugins/canvas/server/routes/functions/functions.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/functions/functions.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/functions.test.ts diff --git a/x-pack/plugins/canvas/server/routes/functions/functions.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/functions/functions.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/functions.ts diff --git a/x-pack/plugins/canvas/server/routes/functions/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/functions/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/functions/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/functions/index.ts diff --git a/x-pack/plugins/canvas/server/routes/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/index.ts diff --git a/x-pack/plugins/canvas/server/routes/ok_response.ts b/x-pack/platform/plugins/private/canvas/server/routes/ok_response.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/ok_response.ts rename to x-pack/platform/plugins/private/canvas/server/routes/ok_response.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/download.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/download.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/download.test.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/download.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/download.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/download.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/index.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/rendered_workpad_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/rendered_workpad_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/rendered_workpad_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/rendered_workpad_schema.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/zip.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/zip.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.test.ts diff --git a/x-pack/plugins/canvas/server/routes/shareables/zip.ts b/x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/shareables/zip.ts rename to x-pack/platform/plugins/private/canvas/server/routes/shareables/zip.ts diff --git a/x-pack/plugins/canvas/server/routes/templates/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/templates/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/index.ts diff --git a/x-pack/plugins/canvas/server/routes/templates/list.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/list.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/templates/list.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/list.test.ts diff --git a/x-pack/plugins/canvas/server/routes/templates/list.ts b/x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/templates/list.ts rename to x-pack/platform/plugins/private/canvas/server/routes/templates/list.ts diff --git a/x-pack/plugins/canvas/server/routes/test_helpers.ts b/x-pack/platform/plugins/private/canvas/server/routes/test_helpers.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/test_helpers.ts rename to x-pack/platform/plugins/private/canvas/server/routes/test_helpers.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/create.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/create.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/create.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/create.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/create.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/create.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/create.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/delete.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/delete.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/delete.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/delete.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/delete.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/find.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/find.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/find.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/find.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/find.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/find.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/get.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/get.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/get.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/get.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/get.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/get.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/get.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/has_workpads.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/has_workpads.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/import.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/import.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/import.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/index.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/index.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/index.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/resolve.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/resolve.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/shim_workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/shim_workpad.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/update.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/update.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/update.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/update.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/update.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/update.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_attributes.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_attributes.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_attributes.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_attributes.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_schema.test.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_schema.test.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.test.ts diff --git a/x-pack/plugins/canvas/server/routes/workpad/workpad_schema.ts b/x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.ts similarity index 100% rename from x-pack/plugins/canvas/server/routes/workpad/workpad_schema.ts rename to x-pack/platform/plugins/private/canvas/server/routes/workpad/workpad_schema.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/custom_element.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/custom_element.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/custom_element.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/index.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/index.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/index.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/expressions.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/expressions.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/expressions.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/expressions.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/index.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/index.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/index.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.test.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/remove_attributes_id.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/remove_attributes_id.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/types.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/types.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/types.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/types.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/migrations/workpad.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/migrations/workpad.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/migrations/workpad.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad_references.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_references.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad_references.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_references.ts diff --git a/x-pack/plugins/canvas/server/saved_objects/workpad_template.ts b/x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts similarity index 100% rename from x-pack/plugins/canvas/server/saved_objects/workpad_template.ts rename to x-pack/platform/plugins/private/canvas/server/saved_objects/workpad_template.ts diff --git a/x-pack/plugins/canvas/server/setup_interpreter.ts b/x-pack/platform/plugins/private/canvas/server/setup_interpreter.ts similarity index 100% rename from x-pack/plugins/canvas/server/setup_interpreter.ts rename to x-pack/platform/plugins/private/canvas/server/setup_interpreter.ts diff --git a/x-pack/plugins/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/048ed81e-84ae-4a48-9c30-641cf72b0376.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/0791ed56-9a2e-4d0d-8d2d-a2f8c3c268ee.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png b/x-pack/platform/plugins/private/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png rename to x-pack/platform/plugins/private/canvas/server/templates/assets/0c6f377f-771e-432e-8e2e-15c3e9142ad6.png diff --git a/x-pack/plugins/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/23edd689-2d34-4bb8-a3eb-05420dd87b85.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/6fb8f925-0e1e-4108-8442-3dbf88d145e5.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/7f2d5d96-3c85-49a0-94f3-e9b05de23cb6.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png b/x-pack/platform/plugins/private/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png rename to x-pack/platform/plugins/private/canvas/server/templates/assets/9c2e5ab5-2dbe-43a8-bc84-e67f191fbcd8.png diff --git a/x-pack/plugins/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/a30a06eb-2276-44b1-a62d-856e2116138c.jpg diff --git a/x-pack/plugins/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/aa91a324-8012-477e-a7e4-7c3cd7a6332f.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg b/x-pack/platform/plugins/private/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/b22b6fa7-618c-4a59-82a1-ca921454da48.svg diff --git a/x-pack/plugins/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg b/x-pack/platform/plugins/private/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg similarity index 100% rename from x-pack/plugins/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg rename to x-pack/platform/plugins/private/canvas/server/templates/assets/d38c5025-eafc-4a35-a5fd-fb7b5bdc9efa.jpg diff --git a/x-pack/plugins/canvas/server/templates/index.ts b/x-pack/platform/plugins/private/canvas/server/templates/index.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/index.ts rename to x-pack/platform/plugins/private/canvas/server/templates/index.ts diff --git a/x-pack/plugins/canvas/server/templates/pitch_presentation.ts b/x-pack/platform/plugins/private/canvas/server/templates/pitch_presentation.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/pitch_presentation.ts rename to x-pack/platform/plugins/private/canvas/server/templates/pitch_presentation.ts diff --git a/x-pack/plugins/canvas/server/templates/status_report.ts b/x-pack/platform/plugins/private/canvas/server/templates/status_report.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/status_report.ts rename to x-pack/platform/plugins/private/canvas/server/templates/status_report.ts diff --git a/x-pack/plugins/canvas/server/templates/summary_report.ts b/x-pack/platform/plugins/private/canvas/server/templates/summary_report.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/summary_report.ts rename to x-pack/platform/plugins/private/canvas/server/templates/summary_report.ts diff --git a/x-pack/plugins/canvas/server/templates/theme_dark.ts b/x-pack/platform/plugins/private/canvas/server/templates/theme_dark.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/theme_dark.ts rename to x-pack/platform/plugins/private/canvas/server/templates/theme_dark.ts diff --git a/x-pack/plugins/canvas/server/templates/theme_light.ts b/x-pack/platform/plugins/private/canvas/server/templates/theme_light.ts similarity index 100% rename from x-pack/plugins/canvas/server/templates/theme_light.ts rename to x-pack/platform/plugins/private/canvas/server/templates/theme_light.ts diff --git a/x-pack/plugins/canvas/server/ui_settings.ts b/x-pack/platform/plugins/private/canvas/server/ui_settings.ts similarity index 100% rename from x-pack/plugins/canvas/server/ui_settings.ts rename to x-pack/platform/plugins/private/canvas/server/ui_settings.ts diff --git a/x-pack/plugins/canvas/server/workpad_route_context.test.ts b/x-pack/platform/plugins/private/canvas/server/workpad_route_context.test.ts similarity index 100% rename from x-pack/plugins/canvas/server/workpad_route_context.test.ts rename to x-pack/platform/plugins/private/canvas/server/workpad_route_context.test.ts diff --git a/x-pack/plugins/canvas/server/workpad_route_context.ts b/x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts similarity index 100% rename from x-pack/plugins/canvas/server/workpad_route_context.ts rename to x-pack/platform/plugins/private/canvas/server/workpad_route_context.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/README.mdx b/x-pack/platform/plugins/private/canvas/shareable_runtime/README.mdx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/README.mdx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/README.mdx diff --git a/x-pack/plugins/canvas/shareable_runtime/__mocks__/supported_renderers.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/__mocks__/supported_renderers.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/__mocks__/supported_renderers.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/__mocks__/supported_renderers.js diff --git a/x-pack/plugins/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/__snapshots__/shareable.test.tsx.snap diff --git a/x-pack/plugins/canvas/shareable_runtime/api/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/api/shareable.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/shareable.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/api/shareable.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/api/shareable.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/api/shareable.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__snapshots__/app.test.tsx.snap diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/canvas.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/page.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/__snapshots__/rendered_element.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/canvas.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/page.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/page.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/page.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/page.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/__stories__/rendered_element.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/app.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/app.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/app.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/app.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/app.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/canvas.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/canvas.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/canvas.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/footer.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/page_controls.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/scrubber.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/__snapshots__/title.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/footer.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/page_controls.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/scrubber.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/__stories__/title.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/footer.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/footer.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/footer.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_controls.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_controls.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/page_preview.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/page_preview.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/scrubber.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/scrubber.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__snapshots__/settings.test.tsx.snap diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/autoplay_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/__snapshots__/toolbar_settings.stories.storyshot diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/autoplay_settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/__stories__/toolbar_settings.stories.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/autoplay_settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/settings/toolbar_settings.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/title.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/title.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/footer/title.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/footer/title.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/footer/title.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.test.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.test.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.test.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.test.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/page.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/page.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/page.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/components/rendered_element.module.scss b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.module.scss similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/rendered_element.module.scss rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.module.scss diff --git a/x-pack/plugins/canvas/shareable_runtime/components/rendered_element.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/components/rendered_element.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/components/rendered_element.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/constants.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/constants.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js similarity index 91% rename from x-pack/plugins/canvas/shareable_runtime/constants.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js index 72446dd669a78..133f2eafa1dc3 100644 --- a/x-pack/plugins/canvas/shareable_runtime/constants.js +++ b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants.js @@ -8,8 +8,8 @@ const path = require('path'); const { LIBRARY_NAME, SHAREABLE_RUNTIME_NAME } = require('./constants_static'); -const KIBANA_ROOT_PATH = '../../../..'; -const CANVAS_ROOT_PATH = 'x-pack/plugins/canvas'; +const KIBANA_ROOT_PATH = '../../../../../..'; +const CANVAS_ROOT_PATH = 'x-pack/platform/plugins/private/canvas'; const SHAREABLE_RUNTIME_PATH = 'shareable_runtime'; const SHAREABLE_RUNTIME_OUTPUT_PATH = 'shareable_runtime/build'; const SHAREABLE_RUNTIME_FILE_PATH = 'shareable_runtime/build/kbn_canvas.js'; diff --git a/x-pack/plugins/canvas/shareable_runtime/constants_static.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants_static.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/constants_static.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/constants_static.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/constants_static.js diff --git a/x-pack/plugins/canvas/shareable_runtime/context/actions.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/actions.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/actions.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/actions.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/reducer.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/reducer.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/reducer.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/reducer.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/context/state.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/context/state.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/context/state.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/context/state.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/css_modules.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/css_modules.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/css_modules.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/css_modules.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/index.html b/x-pack/platform/plugins/private/canvas/shareable_runtime/index.html similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/index.html rename to x-pack/platform/plugins/private/canvas/shareable_runtime/index.html diff --git a/x-pack/plugins/canvas/shareable_runtime/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/postcss.config.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/postcss.config.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/postcss.config.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/postcss.config.js diff --git a/x-pack/plugins/canvas/shareable_runtime/supported_renderers.d.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.d.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/supported_renderers.d.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.d.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/supported_renderers.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/supported_renderers.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/supported_renderers.js diff --git a/x-pack/plugins/canvas/shareable_runtime/template.html b/x-pack/platform/plugins/private/canvas/shareable_runtime/template.html similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/template.html rename to x-pack/platform/plugins/private/canvas/shareable_runtime/template.html diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context.tsx b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context.tsx similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context.tsx rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context.tsx diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context_example.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_example.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context_example.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_example.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/context_jest.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_jest.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/context_jest.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/context_jest.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/index.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/index.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/index.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/index.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/interactions.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/interactions.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/interactions.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/interactions.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/selectors.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/selectors.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/selectors.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/selectors.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/utils.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/utils.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/utils.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/utils.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/austin.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/austin.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/austin.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/austin.json diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/hello.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/hello.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/hello.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/hello.json diff --git a/x-pack/plugins/canvas/shareable_runtime/test/workpads/test.json b/x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/test.json similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/test/workpads/test.json rename to x-pack/platform/plugins/private/canvas/shareable_runtime/test/workpads/test.json diff --git a/x-pack/plugins/canvas/shareable_runtime/types.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/types.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/types.ts diff --git a/x-pack/plugins/canvas/shareable_runtime/webpack.config.js b/x-pack/platform/plugins/private/canvas/shareable_runtime/webpack.config.js similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/webpack.config.js rename to x-pack/platform/plugins/private/canvas/shareable_runtime/webpack.config.js diff --git a/x-pack/plugins/canvas/shareable_runtime/webpack/ci_stats_plugin.ts b/x-pack/platform/plugins/private/canvas/shareable_runtime/webpack/ci_stats_plugin.ts similarity index 100% rename from x-pack/plugins/canvas/shareable_runtime/webpack/ci_stats_plugin.ts rename to x-pack/platform/plugins/private/canvas/shareable_runtime/webpack/ci_stats_plugin.ts diff --git a/x-pack/plugins/canvas/storybook/__mocks__/es_service.ts b/x-pack/platform/plugins/private/canvas/storybook/__mocks__/es_service.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/__mocks__/es_service.ts rename to x-pack/platform/plugins/private/canvas/storybook/__mocks__/es_service.ts diff --git a/x-pack/plugins/canvas/storybook/addon/components/action_list.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/action_list.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/action_list.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/action_list.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/components/action_tree.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/action_tree.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/action_tree.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/action_tree.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/components/index.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/components/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/index.ts diff --git a/x-pack/plugins/canvas/storybook/addon/components/state_change.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/components/state_change.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/components/state_change.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/components/state_change.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/constants.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/constants.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/constants.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/constants.ts diff --git a/x-pack/plugins/canvas/storybook/addon/panel.css b/x-pack/platform/plugins/private/canvas/storybook/addon/panel.css similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/panel.css rename to x-pack/platform/plugins/private/canvas/storybook/addon/panel.css diff --git a/x-pack/plugins/canvas/storybook/addon/panel.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/panel.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/panel.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/panel.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/register.tsx b/x-pack/platform/plugins/private/canvas/storybook/addon/register.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/register.tsx rename to x-pack/platform/plugins/private/canvas/storybook/addon/register.tsx diff --git a/x-pack/plugins/canvas/storybook/addon/state.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/state.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/state.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/state.ts diff --git a/x-pack/plugins/canvas/storybook/addon/types.ts b/x-pack/platform/plugins/private/canvas/storybook/addon/types.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/addon/types.ts rename to x-pack/platform/plugins/private/canvas/storybook/addon/types.ts diff --git a/x-pack/plugins/canvas/storybook/canvas_webpack.ts b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts similarity index 92% rename from x-pack/plugins/canvas/storybook/canvas_webpack.ts rename to x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts index c6ae4a9dbaa95..8fa9109fa922f 100644 --- a/x-pack/plugins/canvas/storybook/canvas_webpack.ts +++ b/x-pack/platform/plugins/private/canvas/storybook/canvas_webpack.ts @@ -46,7 +46,10 @@ export const canvasWebpack = { // Exclude large-dependency, troublesome or irrelevant modules. { test: [ - resolve(KIBANA_ROOT, 'x-pack/plugins/canvas/public/components/embeddable_flyout'), + resolve( + KIBANA_ROOT, + 'x-pack/platform/plugins/private/canvas/public/components/embeddable_flyout' + ), resolve(KIBANA_ROOT, 'x-pack/plugins/reporting/public'), ], use: 'null-loader', diff --git a/x-pack/plugins/canvas/storybook/constants.ts b/x-pack/platform/plugins/private/canvas/storybook/constants.ts similarity index 91% rename from x-pack/plugins/canvas/storybook/constants.ts rename to x-pack/platform/plugins/private/canvas/storybook/constants.ts index 4f0ad2a602da0..ac449e3361c00 100644 --- a/x-pack/plugins/canvas/storybook/constants.ts +++ b/x-pack/platform/plugins/private/canvas/storybook/constants.ts @@ -7,7 +7,7 @@ import path from 'path'; -export const KIBANA_ROOT = path.resolve(__dirname, '../../../..'); +export const KIBANA_ROOT = path.resolve(__dirname, '../../../../../..'); export const argTypes = { hasTemplates: { diff --git a/x-pack/plugins/canvas/storybook/decorators/index.ts b/x-pack/platform/plugins/private/canvas/storybook/decorators/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/decorators/index.ts diff --git a/x-pack/plugins/canvas/storybook/decorators/kibana_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/kibana_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/kibana_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/kibana_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/redux_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/redux_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/redux_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/redux_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/router_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/router_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/router_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/router_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/decorators/services_decorator.tsx b/x-pack/platform/plugins/private/canvas/storybook/decorators/services_decorator.tsx similarity index 100% rename from x-pack/plugins/canvas/storybook/decorators/services_decorator.tsx rename to x-pack/platform/plugins/private/canvas/storybook/decorators/services_decorator.tsx diff --git a/x-pack/plugins/canvas/storybook/index.ts b/x-pack/platform/plugins/private/canvas/storybook/index.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/index.ts rename to x-pack/platform/plugins/private/canvas/storybook/index.ts diff --git a/x-pack/plugins/canvas/storybook/main.js b/x-pack/platform/plugins/private/canvas/storybook/main.js similarity index 100% rename from x-pack/plugins/canvas/storybook/main.js rename to x-pack/platform/plugins/private/canvas/storybook/main.js diff --git a/x-pack/plugins/canvas/storybook/preview.ts b/x-pack/platform/plugins/private/canvas/storybook/preview.ts similarity index 100% rename from x-pack/plugins/canvas/storybook/preview.ts rename to x-pack/platform/plugins/private/canvas/storybook/preview.ts diff --git a/x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx b/x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx similarity index 98% rename from x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx rename to x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx index 1088113124578..c5b33cd240e6c 100644 --- a/x-pack/plugins/canvas/storybook/storyshots.skipped_test.tsx +++ b/x-pack/platform/plugins/private/canvas/storybook/storyshots.skipped_test.tsx @@ -83,7 +83,7 @@ jest.mock('../shareable_runtime/components/rendered_element'); RenderedElement.mockImplementation(() => 'RenderedElement'); // Some of the code requires that this directory exists, but the tests don't actually require any css to be present -const cssDir = path.resolve(__dirname, '../../../../built_assets/css'); +const cssDir = path.resolve(__dirname, '../../../../../../built_assets/css'); if (!fs.existsSync(cssDir)) { fs.mkdirSync(cssDir, { recursive: true }); } diff --git a/x-pack/plugins/canvas/tasks/mocks/customElementService.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/customElementService.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/customElementService.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/customElementService.js diff --git a/x-pack/plugins/canvas/tasks/mocks/downloadWorkpad.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/downloadWorkpad.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/downloadWorkpad.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/downloadWorkpad.js diff --git a/x-pack/plugins/canvas/tasks/mocks/esService.ts b/x-pack/platform/plugins/private/canvas/tasks/mocks/esService.ts similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/esService.ts rename to x-pack/platform/plugins/private/canvas/tasks/mocks/esService.ts diff --git a/x-pack/plugins/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiAbsoluteToParsedUrl.ts diff --git a/x-pack/plugins/canvas/tasks/mocks/uiChrome.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiChrome.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiChrome.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiChrome.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiMetric.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiMetric.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiMetric.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiMetric.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiNotify.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotify.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiNotify.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotify.js diff --git a/x-pack/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js b/x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotifyFormatMsg.js similarity index 100% rename from x-pack/plugins/canvas/tasks/mocks/uiNotifyFormatMsg.js rename to x-pack/platform/plugins/private/canvas/tasks/mocks/uiNotifyFormatMsg.js diff --git a/x-pack/plugins/canvas/tsconfig.json b/x-pack/platform/plugins/private/canvas/tsconfig.json similarity index 94% rename from x-pack/plugins/canvas/tsconfig.json rename to x-pack/platform/plugins/private/canvas/tsconfig.json index 251deca87c4ee..1c372fabda1d3 100644 --- a/x-pack/plugins/canvas/tsconfig.json +++ b/x-pack/platform/plugins/private/canvas/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", @@ -13,7 +13,7 @@ }, "include": [ "*.ts", - "../../../typings/**/*", + "../../../../../typings/**/*", "__fixtures__/**/*", "canvas_plugin_src/**/*", "common/**/*", @@ -26,7 +26,7 @@ "types/**/*" ], "kbn_references": [ - { "path": "../../../src/setup_node_env/tsconfig.json" }, + { "path": "../../../../../src/setup_node_env/tsconfig.json" }, "@kbn/core", "@kbn/charts-plugin", "@kbn/data-plugin", diff --git a/x-pack/plugins/canvas/types/arguments.ts b/x-pack/platform/plugins/private/canvas/types/arguments.ts similarity index 100% rename from x-pack/plugins/canvas/types/arguments.ts rename to x-pack/platform/plugins/private/canvas/types/arguments.ts diff --git a/x-pack/plugins/canvas/types/assets.ts b/x-pack/platform/plugins/private/canvas/types/assets.ts similarity index 100% rename from x-pack/plugins/canvas/types/assets.ts rename to x-pack/platform/plugins/private/canvas/types/assets.ts diff --git a/x-pack/plugins/canvas/types/canvas.ts b/x-pack/platform/plugins/private/canvas/types/canvas.ts similarity index 100% rename from x-pack/plugins/canvas/types/canvas.ts rename to x-pack/platform/plugins/private/canvas/types/canvas.ts diff --git a/x-pack/plugins/canvas/types/elements.ts b/x-pack/platform/plugins/private/canvas/types/elements.ts similarity index 100% rename from x-pack/plugins/canvas/types/elements.ts rename to x-pack/platform/plugins/private/canvas/types/elements.ts diff --git a/x-pack/plugins/canvas/types/embeddables.ts b/x-pack/platform/plugins/private/canvas/types/embeddables.ts similarity index 100% rename from x-pack/plugins/canvas/types/embeddables.ts rename to x-pack/platform/plugins/private/canvas/types/embeddables.ts diff --git a/x-pack/plugins/canvas/types/filters.ts b/x-pack/platform/plugins/private/canvas/types/filters.ts similarity index 100% rename from x-pack/plugins/canvas/types/filters.ts rename to x-pack/platform/plugins/private/canvas/types/filters.ts diff --git a/x-pack/plugins/canvas/types/functions.ts b/x-pack/platform/plugins/private/canvas/types/functions.ts similarity index 100% rename from x-pack/plugins/canvas/types/functions.ts rename to x-pack/platform/plugins/private/canvas/types/functions.ts diff --git a/x-pack/plugins/canvas/types/global.d.ts b/x-pack/platform/plugins/private/canvas/types/global.d.ts similarity index 100% rename from x-pack/plugins/canvas/types/global.d.ts rename to x-pack/platform/plugins/private/canvas/types/global.d.ts diff --git a/x-pack/plugins/canvas/types/index.ts b/x-pack/platform/plugins/private/canvas/types/index.ts similarity index 100% rename from x-pack/plugins/canvas/types/index.ts rename to x-pack/platform/plugins/private/canvas/types/index.ts diff --git a/x-pack/plugins/canvas/types/react_moment_prototypes.d.ts b/x-pack/platform/plugins/private/canvas/types/react_moment_prototypes.d.ts similarity index 100% rename from x-pack/plugins/canvas/types/react_moment_prototypes.d.ts rename to x-pack/platform/plugins/private/canvas/types/react_moment_prototypes.d.ts diff --git a/x-pack/plugins/canvas/types/renderers.ts b/x-pack/platform/plugins/private/canvas/types/renderers.ts similarity index 100% rename from x-pack/plugins/canvas/types/renderers.ts rename to x-pack/platform/plugins/private/canvas/types/renderers.ts diff --git a/x-pack/plugins/canvas/types/shortcuts.ts b/x-pack/platform/plugins/private/canvas/types/shortcuts.ts similarity index 100% rename from x-pack/plugins/canvas/types/shortcuts.ts rename to x-pack/platform/plugins/private/canvas/types/shortcuts.ts diff --git a/x-pack/plugins/canvas/types/state.ts b/x-pack/platform/plugins/private/canvas/types/state.ts similarity index 100% rename from x-pack/plugins/canvas/types/state.ts rename to x-pack/platform/plugins/private/canvas/types/state.ts diff --git a/x-pack/plugins/canvas/types/strategy.ts b/x-pack/platform/plugins/private/canvas/types/strategy.ts similarity index 100% rename from x-pack/plugins/canvas/types/strategy.ts rename to x-pack/platform/plugins/private/canvas/types/strategy.ts diff --git a/x-pack/plugins/canvas/types/style.ts b/x-pack/platform/plugins/private/canvas/types/style.ts similarity index 100% rename from x-pack/plugins/canvas/types/style.ts rename to x-pack/platform/plugins/private/canvas/types/style.ts diff --git a/x-pack/plugins/canvas/types/telemetry.ts b/x-pack/platform/plugins/private/canvas/types/telemetry.ts similarity index 100% rename from x-pack/plugins/canvas/types/telemetry.ts rename to x-pack/platform/plugins/private/canvas/types/telemetry.ts diff --git a/x-pack/plugins/canvas/types/transforms.ts b/x-pack/platform/plugins/private/canvas/types/transforms.ts similarity index 100% rename from x-pack/plugins/canvas/types/transforms.ts rename to x-pack/platform/plugins/private/canvas/types/transforms.ts diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_page.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_page.tsx index 229290a1ace2b..745d59e9933a1 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_page.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_page.tsx @@ -115,7 +115,6 @@ export const PageHeader: FC = ({ onRefresh, needsUpdate }) => { isAutoRefreshOnly={!hasValidTimeField} showRefresh={!hasValidTimeField} width="full" - flexGroup={!hasValidTimeField} onRefresh={onRefresh} needsUpdate={needsUpdate} />, diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts index a402d203585d2..10389f48d149e 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/file_data_visualizer/components/import_view/auto_deploy.ts @@ -26,7 +26,7 @@ export class AutoDeploy { // we'll know when it's ready from polling the inference endpoints // looking for num_allocations const status = e.response?.status; - if (status === 408 || status === 504 || status === 502) { + if (status === 408 || status === 504 || status === 502 || status === 500) { return; } this.inferError = e; diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx index 5f1f78af90073..b6ab99583cf49 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx @@ -12,7 +12,6 @@ import type { Required } from 'utility-types'; import { getEsQueryConfig } from '@kbn/data-plugin/common'; import { - useEuiTheme, useEuiBreakpoint, useIsWithinMaxBreakpoint, EuiFlexGroup, @@ -21,7 +20,6 @@ import { EuiPanel, EuiProgress, EuiSpacer, - EuiTitle, } from '@elastic/eui'; import { type Filter, FilterStateStore, type Query, buildEsQuery } from '@kbn/es-query'; @@ -108,8 +106,6 @@ export interface IndexDataVisualizerViewProps { } export const IndexDataVisualizerView: FC = (dataVisualizerProps) => { - const { euiTheme } = useEuiTheme(); - const [savedRandomSamplerPreference, saveRandomSamplerPreference] = useStorage< DVKey, DVStorageMapped @@ -515,49 +511,40 @@ export const IndexDataVisualizerView: FC = (dataVi paddingSize="none" > - - - -

{currentDataView.getName()}

-
- -
- - {isWithinLargeBreakpoint ? : null} - - {hasValidTimeField ? ( - - - - ) : null} - - + {currentDataView.getName()} + {/* TODO: This management section shouldn't live inside the header */} + + + } + rightSideGroupProps={{ + gutterSize: 's', + 'data-test-subj': 'dataVisualizerTimeRangeSelectorSection', + }} + rightSideItems={[ + , + hasValidTimeField && ( + - - -
+ ), + ]} + /> diff --git a/x-pack/platform/plugins/private/data_visualizer/server/routes.ts b/x-pack/platform/plugins/private/data_visualizer/server/routes.ts index 9d213182ad049..244c839b1e9fc 100644 --- a/x-pack/platform/plugins/private/data_visualizer/server/routes.ts +++ b/x-pack/platform/plugins/private/data_visualizer/server/routes.ts @@ -145,10 +145,13 @@ export function routes(coreSetup: CoreSetup, logger: Logger) const inferenceId = request.params.inferenceId; const input = request.body.input; const esClient = (await context.core).elasticsearch.client; - const body = await esClient.asCurrentUser.inference.inference({ - inference_id: inferenceId, - input, - }); + const body = await esClient.asCurrentUser.inference.inference( + { + inference_id: inferenceId, + input, + }, + { maxRetries: 0, requestTimeout: 10 * 60 * 1000 } + ); return response.ok({ body }); } catch (e) { diff --git a/x-pack/plugins/file_upload/common/constants.ts b/x-pack/platform/plugins/private/file_upload/common/constants.ts similarity index 100% rename from x-pack/plugins/file_upload/common/constants.ts rename to x-pack/platform/plugins/private/file_upload/common/constants.ts diff --git a/x-pack/plugins/file_upload/common/index.ts b/x-pack/platform/plugins/private/file_upload/common/index.ts similarity index 100% rename from x-pack/plugins/file_upload/common/index.ts rename to x-pack/platform/plugins/private/file_upload/common/index.ts diff --git a/x-pack/plugins/file_upload/common/types.ts b/x-pack/platform/plugins/private/file_upload/common/types.ts similarity index 100% rename from x-pack/plugins/file_upload/common/types.ts rename to x-pack/platform/plugins/private/file_upload/common/types.ts diff --git a/x-pack/platform/plugins/private/file_upload/jest.config.js b/x-pack/platform/plugins/private/file_upload/jest.config.js new file mode 100644 index 0000000000000..cf3d8cb9490b6 --- /dev/null +++ b/x-pack/platform/plugins/private/file_upload/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/file_upload'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/file_upload', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/file_upload/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/file_upload/kibana.jsonc b/x-pack/platform/plugins/private/file_upload/kibana.jsonc similarity index 100% rename from x-pack/plugins/file_upload/kibana.jsonc rename to x-pack/platform/plugins/private/file_upload/kibana.jsonc diff --git a/x-pack/plugins/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx b/x-pack/platform/plugins/private/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx rename to x-pack/platform/plugins/private/file_upload/public/api/geo_upload_wizard_async_wrapper.tsx diff --git a/x-pack/plugins/file_upload/public/api/index.ts b/x-pack/platform/plugins/private/file_upload/public/api/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/api/index.ts rename to x-pack/platform/plugins/private/file_upload/public/api/index.ts diff --git a/x-pack/plugins/file_upload/public/api/index_name_form_async_wrapper.tsx b/x-pack/platform/plugins/private/file_upload/public/api/index_name_form_async_wrapper.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/api/index_name_form_async_wrapper.tsx rename to x-pack/platform/plugins/private/file_upload/public/api/index_name_form_async_wrapper.tsx diff --git a/x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap b/x-pack/platform/plugins/private/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap similarity index 100% rename from x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap rename to x-pack/platform/plugins/private/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/geo_file_picker.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_file_picker.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/geo_file_picker.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_file_picker.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/geo_upload_form.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_upload_form.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/geo_upload_form.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/geo_upload_form.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/index.ts b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/index.ts rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index.ts diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_form/index_name_form.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_form/index_name_form.tsx diff --git a/x-pack/plugins/file_upload/public/components/geo_upload_wizard.tsx b/x-pack/platform/plugins/private/file_upload/public/components/geo_upload_wizard.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/geo_upload_wizard.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/geo_upload_wizard.tsx diff --git a/x-pack/plugins/file_upload/public/components/import_complete_view.test.tsx b/x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.test.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/import_complete_view.test.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.test.tsx diff --git a/x-pack/plugins/file_upload/public/components/import_complete_view.tsx b/x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/components/import_complete_view.tsx rename to x-pack/platform/plugins/private/file_upload/public/components/import_complete_view.tsx diff --git a/x-pack/plugins/file_upload/public/components/utils.ts b/x-pack/platform/plugins/private/file_upload/public/components/utils.ts similarity index 100% rename from x-pack/plugins/file_upload/public/components/utils.ts rename to x-pack/platform/plugins/private/file_upload/public/components/utils.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/abstract_geo_file_importer.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/abstract_geo_file_importer.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/abstract_geo_file_importer.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/create_chunks.test.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/create_chunks.test.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.test.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/create_chunks.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/create_chunks.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/create_chunks.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.test.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_clean_and_validate.test.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_clean_and_validate.test.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.test.js diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/geojson_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/geojson_importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/geojson_importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/geojson_importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_editor.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/shapefile_importer.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.test.ts diff --git a/x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx b/x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/shapefile_importer/side_car_file_picker.tsx diff --git a/x-pack/plugins/file_upload/public/importer/geo/types.ts b/x-pack/platform/plugins/private/file_upload/public/importer/geo/types.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/geo/types.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/geo/types.ts diff --git a/x-pack/plugins/file_upload/public/importer/get_max_bytes.ts b/x-pack/platform/plugins/private/file_upload/public/importer/get_max_bytes.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/get_max_bytes.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/get_max_bytes.ts diff --git a/x-pack/plugins/file_upload/public/importer/importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/importer_factory.ts b/x-pack/platform/plugins/private/file_upload/public/importer/importer_factory.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/importer_factory.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/importer_factory.ts diff --git a/x-pack/plugins/file_upload/public/importer/index.ts b/x-pack/platform/plugins/private/file_upload/public/importer/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/index.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/index.ts diff --git a/x-pack/plugins/file_upload/public/importer/message_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/message_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/message_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/ndjson_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/ndjson_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/ndjson_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/ndjson_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/tika_importer.ts b/x-pack/platform/plugins/private/file_upload/public/importer/tika_importer.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/tika_importer.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/tika_importer.ts diff --git a/x-pack/plugins/file_upload/public/importer/types.ts b/x-pack/platform/plugins/private/file_upload/public/importer/types.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/types.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/types.ts diff --git a/x-pack/plugins/file_upload/public/importer/validate_file.ts b/x-pack/platform/plugins/private/file_upload/public/importer/validate_file.ts similarity index 100% rename from x-pack/plugins/file_upload/public/importer/validate_file.ts rename to x-pack/platform/plugins/private/file_upload/public/importer/validate_file.ts diff --git a/x-pack/plugins/file_upload/public/index.ts b/x-pack/platform/plugins/private/file_upload/public/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/index.ts rename to x-pack/platform/plugins/private/file_upload/public/index.ts diff --git a/x-pack/plugins/file_upload/public/kibana_services.ts b/x-pack/platform/plugins/private/file_upload/public/kibana_services.ts similarity index 100% rename from x-pack/plugins/file_upload/public/kibana_services.ts rename to x-pack/platform/plugins/private/file_upload/public/kibana_services.ts diff --git a/x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts b/x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts rename to x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/index.ts diff --git a/x-pack/plugins/file_upload/public/lazy_load_bundle/lazy/index.ts b/x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/lazy/index.ts similarity index 100% rename from x-pack/plugins/file_upload/public/lazy_load_bundle/lazy/index.ts rename to x-pack/platform/plugins/private/file_upload/public/lazy_load_bundle/lazy/index.ts diff --git a/x-pack/plugins/file_upload/public/plugin.ts b/x-pack/platform/plugins/private/file_upload/public/plugin.ts similarity index 100% rename from x-pack/plugins/file_upload/public/plugin.ts rename to x-pack/platform/plugins/private/file_upload/public/plugin.ts diff --git a/x-pack/plugins/file_upload/public/validate_index_name.test.ts b/x-pack/platform/plugins/private/file_upload/public/validate_index_name.test.ts similarity index 100% rename from x-pack/plugins/file_upload/public/validate_index_name.test.ts rename to x-pack/platform/plugins/private/file_upload/public/validate_index_name.test.ts diff --git a/x-pack/plugins/file_upload/public/validate_index_name.ts b/x-pack/platform/plugins/private/file_upload/public/validate_index_name.ts similarity index 100% rename from x-pack/plugins/file_upload/public/validate_index_name.ts rename to x-pack/platform/plugins/private/file_upload/public/validate_index_name.ts diff --git a/x-pack/plugins/file_upload/server/analyze_file.tsx b/x-pack/platform/plugins/private/file_upload/server/analyze_file.tsx similarity index 100% rename from x-pack/plugins/file_upload/server/analyze_file.tsx rename to x-pack/platform/plugins/private/file_upload/server/analyze_file.tsx diff --git a/x-pack/plugins/file_upload/server/capabilities.test.ts b/x-pack/platform/plugins/private/file_upload/server/capabilities.test.ts similarity index 100% rename from x-pack/plugins/file_upload/server/capabilities.test.ts rename to x-pack/platform/plugins/private/file_upload/server/capabilities.test.ts diff --git a/x-pack/plugins/file_upload/server/capabilities.ts b/x-pack/platform/plugins/private/file_upload/server/capabilities.ts similarity index 100% rename from x-pack/plugins/file_upload/server/capabilities.ts rename to x-pack/platform/plugins/private/file_upload/server/capabilities.ts diff --git a/x-pack/plugins/file_upload/server/check_privileges.ts b/x-pack/platform/plugins/private/file_upload/server/check_privileges.ts similarity index 100% rename from x-pack/plugins/file_upload/server/check_privileges.ts rename to x-pack/platform/plugins/private/file_upload/server/check_privileges.ts diff --git a/x-pack/plugins/file_upload/server/error_wrapper.ts b/x-pack/platform/plugins/private/file_upload/server/error_wrapper.ts similarity index 100% rename from x-pack/plugins/file_upload/server/error_wrapper.ts rename to x-pack/platform/plugins/private/file_upload/server/error_wrapper.ts diff --git a/x-pack/plugins/file_upload/server/get_time_field_range.ts b/x-pack/platform/plugins/private/file_upload/server/get_time_field_range.ts similarity index 100% rename from x-pack/plugins/file_upload/server/get_time_field_range.ts rename to x-pack/platform/plugins/private/file_upload/server/get_time_field_range.ts diff --git a/x-pack/plugins/file_upload/server/import_data.ts b/x-pack/platform/plugins/private/file_upload/server/import_data.ts similarity index 100% rename from x-pack/plugins/file_upload/server/import_data.ts rename to x-pack/platform/plugins/private/file_upload/server/import_data.ts diff --git a/x-pack/plugins/file_upload/server/index.ts b/x-pack/platform/plugins/private/file_upload/server/index.ts similarity index 100% rename from x-pack/plugins/file_upload/server/index.ts rename to x-pack/platform/plugins/private/file_upload/server/index.ts diff --git a/x-pack/plugins/file_upload/server/plugin.ts b/x-pack/platform/plugins/private/file_upload/server/plugin.ts similarity index 100% rename from x-pack/plugins/file_upload/server/plugin.ts rename to x-pack/platform/plugins/private/file_upload/server/plugin.ts diff --git a/x-pack/plugins/file_upload/server/preview_index_time_range.ts b/x-pack/platform/plugins/private/file_upload/server/preview_index_time_range.ts similarity index 100% rename from x-pack/plugins/file_upload/server/preview_index_time_range.ts rename to x-pack/platform/plugins/private/file_upload/server/preview_index_time_range.ts diff --git a/x-pack/plugins/file_upload/server/preview_tika_contents.ts b/x-pack/platform/plugins/private/file_upload/server/preview_tika_contents.ts similarity index 100% rename from x-pack/plugins/file_upload/server/preview_tika_contents.ts rename to x-pack/platform/plugins/private/file_upload/server/preview_tika_contents.ts diff --git a/x-pack/plugins/file_upload/server/routes.ts b/x-pack/platform/plugins/private/file_upload/server/routes.ts similarity index 100% rename from x-pack/plugins/file_upload/server/routes.ts rename to x-pack/platform/plugins/private/file_upload/server/routes.ts diff --git a/x-pack/plugins/file_upload/server/schemas.ts b/x-pack/platform/plugins/private/file_upload/server/schemas.ts similarity index 100% rename from x-pack/plugins/file_upload/server/schemas.ts rename to x-pack/platform/plugins/private/file_upload/server/schemas.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/index.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/index.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/index.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/index.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/internal_repository.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/internal_repository.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/internal_repository.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/internal_repository.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/mappings.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/mappings.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/mappings.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/mappings.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.test.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.test.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/telemetry.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/telemetry.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/telemetry.ts diff --git a/x-pack/plugins/file_upload/server/telemetry/usage_collector.ts b/x-pack/platform/plugins/private/file_upload/server/telemetry/usage_collector.ts similarity index 100% rename from x-pack/plugins/file_upload/server/telemetry/usage_collector.ts rename to x-pack/platform/plugins/private/file_upload/server/telemetry/usage_collector.ts diff --git a/x-pack/plugins/file_upload/server/types.ts b/x-pack/platform/plugins/private/file_upload/server/types.ts similarity index 100% rename from x-pack/plugins/file_upload/server/types.ts rename to x-pack/platform/plugins/private/file_upload/server/types.ts diff --git a/x-pack/plugins/file_upload/server/utils/runtime_field_utils.ts b/x-pack/platform/plugins/private/file_upload/server/utils/runtime_field_utils.ts similarity index 100% rename from x-pack/plugins/file_upload/server/utils/runtime_field_utils.ts rename to x-pack/platform/plugins/private/file_upload/server/utils/runtime_field_utils.ts diff --git a/x-pack/plugins/file_upload/tsconfig.json b/x-pack/platform/plugins/private/file_upload/tsconfig.json similarity index 90% rename from x-pack/plugins/file_upload/tsconfig.json rename to x-pack/platform/plugins/private/file_upload/tsconfig.json index 8b7fa66cbf14b..ab6402f8d3501 100644 --- a/x-pack/plugins/file_upload/tsconfig.json +++ b/x-pack/platform/plugins/private/file_upload/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/logstash/common/constants/es_scroll_settings.ts b/x-pack/platform/plugins/private/logstash/common/constants/es_scroll_settings.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/es_scroll_settings.ts rename to x-pack/platform/plugins/private/logstash/common/constants/es_scroll_settings.ts diff --git a/x-pack/plugins/logstash/common/constants/index.ts b/x-pack/platform/plugins/private/logstash/common/constants/index.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/index.ts rename to x-pack/platform/plugins/private/logstash/common/constants/index.ts diff --git a/x-pack/plugins/logstash/common/constants/index_names.ts b/x-pack/platform/plugins/private/logstash/common/constants/index_names.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/index_names.ts rename to x-pack/platform/plugins/private/logstash/common/constants/index_names.ts diff --git a/x-pack/plugins/logstash/common/constants/monitoring.ts b/x-pack/platform/plugins/private/logstash/common/constants/monitoring.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/monitoring.ts rename to x-pack/platform/plugins/private/logstash/common/constants/monitoring.ts diff --git a/x-pack/plugins/logstash/common/constants/pagination.ts b/x-pack/platform/plugins/private/logstash/common/constants/pagination.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/pagination.ts rename to x-pack/platform/plugins/private/logstash/common/constants/pagination.ts diff --git a/x-pack/plugins/logstash/common/constants/pipeline.ts b/x-pack/platform/plugins/private/logstash/common/constants/pipeline.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/pipeline.ts rename to x-pack/platform/plugins/private/logstash/common/constants/pipeline.ts diff --git a/x-pack/plugins/logstash/common/constants/plugin.ts b/x-pack/platform/plugins/private/logstash/common/constants/plugin.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/plugin.ts rename to x-pack/platform/plugins/private/logstash/common/constants/plugin.ts diff --git a/x-pack/plugins/logstash/common/constants/routes.ts b/x-pack/platform/plugins/private/logstash/common/constants/routes.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/routes.ts rename to x-pack/platform/plugins/private/logstash/common/constants/routes.ts diff --git a/x-pack/plugins/logstash/common/constants/tooltips.ts b/x-pack/platform/plugins/private/logstash/common/constants/tooltips.ts similarity index 100% rename from x-pack/plugins/logstash/common/constants/tooltips.ts rename to x-pack/platform/plugins/private/logstash/common/constants/tooltips.ts diff --git a/x-pack/platform/plugins/private/logstash/jest.config.js b/x-pack/platform/plugins/private/logstash/jest.config.js new file mode 100644 index 0000000000000..8beace007c71c --- /dev/null +++ b/x-pack/platform/plugins/private/logstash/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/logstash'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/logstash', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/logstash/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/logstash/kibana.jsonc b/x-pack/platform/plugins/private/logstash/kibana.jsonc similarity index 100% rename from x-pack/plugins/logstash/kibana.jsonc rename to x-pack/platform/plugins/private/logstash/kibana.jsonc diff --git a/x-pack/plugins/logstash/public/application/breadcrumbs.js b/x-pack/platform/plugins/private/logstash/public/application/breadcrumbs.js similarity index 100% rename from x-pack/plugins/logstash/public/application/breadcrumbs.js rename to x-pack/platform/plugins/private/logstash/public/application/breadcrumbs.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/confirm_delete_pipeline_modal.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/flex_item_setting.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/form_label_with_icon_tip.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/__snapshots__/pipeline_editor.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/confirm_delete_pipeline_modal.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/constants.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/constants.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/constants.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/constants.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/flex_item_setting.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/flex_item_setting.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/flex_item_setting.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/flex_item_setting.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/flex_item_setting.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/flex_item_setting.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/flex_item_setting.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/flex_item_setting.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/form_label_with_icon_tip.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/index.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/index.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/index.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/index.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/pipeline_editor.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/pipeline_editor.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/pipeline_editor.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/pipeline_editor.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_editor/pipeline_editor.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/pipeline_editor.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_editor/pipeline_editor.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_editor/pipeline_editor.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/add_role_alert.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/alert_call_out.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/confirm_delete_modal.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/enable_monitoring_alert.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/info_alerts.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/info_alerts.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/info_alerts.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/info_alerts.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/__snapshots__/pipelines_table.test.js.snap diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/add_role_alert.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/add_role_alert.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/add_role_alert.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/add_role_alert.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/add_role_alert.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/add_role_alert.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/add_role_alert.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/add_role_alert.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/alert_call_out.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/alert_call_out.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/alert_call_out.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/alert_call_out.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/alert_call_out.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/alert_call_out.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/alert_call_out.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/alert_call_out.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/confirm_delete_modal.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/confirm_delete_modal.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/confirm_delete_modal.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/confirm_delete_modal.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/confirm_delete_modal.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/confirm_delete_modal.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/confirm_delete_modal.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/confirm_delete_modal.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/constants.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/constants.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/constants.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/constants.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/enable_monitoring_alert.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/enable_monitoring_alert.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/enable_monitoring_alert.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/enable_monitoring_alert.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/enable_monitoring_alert.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/enable_monitoring_alert.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/enable_monitoring_alert.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/enable_monitoring_alert.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/index.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/index.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/index.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/index.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/info_alerts.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/info_alerts.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/info_alerts.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/info_alerts.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/info_alerts.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/info_alerts.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/info_alerts.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/info_alerts.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/pipeline_list.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipeline_list.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/pipeline_list.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipeline_list.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/pipeline_list.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipeline_list.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/pipeline_list.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipeline_list.test.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/pipelines_table.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/pipelines_table.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.js diff --git a/x-pack/plugins/logstash/public/application/components/pipeline_list/pipelines_table.test.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.test.js similarity index 100% rename from x-pack/plugins/logstash/public/application/components/pipeline_list/pipelines_table.test.js rename to x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.test.js diff --git a/x-pack/plugins/logstash/public/application/index.tsx b/x-pack/platform/plugins/private/logstash/public/application/index.tsx similarity index 100% rename from x-pack/plugins/logstash/public/application/index.tsx rename to x-pack/platform/plugins/private/logstash/public/application/index.tsx diff --git a/x-pack/plugins/logstash/public/application/pipeline_edit_view.tsx b/x-pack/platform/plugins/private/logstash/public/application/pipeline_edit_view.tsx similarity index 100% rename from x-pack/plugins/logstash/public/application/pipeline_edit_view.tsx rename to x-pack/platform/plugins/private/logstash/public/application/pipeline_edit_view.tsx diff --git a/x-pack/plugins/logstash/public/index.ts b/x-pack/platform/plugins/private/logstash/public/index.ts similarity index 100% rename from x-pack/plugins/logstash/public/index.ts rename to x-pack/platform/plugins/private/logstash/public/index.ts diff --git a/x-pack/plugins/logstash/public/lib/get_search_value/get_search_value.js b/x-pack/platform/plugins/private/logstash/public/lib/get_search_value/get_search_value.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/get_search_value/get_search_value.js rename to x-pack/platform/plugins/private/logstash/public/lib/get_search_value/get_search_value.js diff --git a/x-pack/plugins/logstash/public/lib/get_search_value/index.js b/x-pack/platform/plugins/private/logstash/public/lib/get_search_value/index.js similarity index 100% rename from x-pack/plugins/logstash/public/lib/get_search_value/index.js rename to x-pack/platform/plugins/private/logstash/public/lib/get_search_value/index.js diff --git a/x-pack/plugins/logstash/public/models/cluster/cluster.js b/x-pack/platform/plugins/private/logstash/public/models/cluster/cluster.js similarity index 100% rename from x-pack/plugins/logstash/public/models/cluster/cluster.js rename to x-pack/platform/plugins/private/logstash/public/models/cluster/cluster.js diff --git a/x-pack/plugins/logstash/public/models/cluster/index.js b/x-pack/platform/plugins/private/logstash/public/models/cluster/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/cluster/index.js rename to x-pack/platform/plugins/private/logstash/public/models/cluster/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline/index.js b/x-pack/platform/plugins/private/logstash/public/models/pipeline/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline/index.js rename to x-pack/platform/plugins/private/logstash/public/models/pipeline/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline/pipeline.js b/x-pack/platform/plugins/private/logstash/public/models/pipeline/pipeline.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline/pipeline.js rename to x-pack/platform/plugins/private/logstash/public/models/pipeline/pipeline.js diff --git a/x-pack/plugins/logstash/public/models/pipeline/props.ts b/x-pack/platform/plugins/private/logstash/public/models/pipeline/props.ts similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline/props.ts rename to x-pack/platform/plugins/private/logstash/public/models/pipeline/props.ts diff --git a/x-pack/plugins/logstash/public/models/pipeline_list_item/index.js b/x-pack/platform/plugins/private/logstash/public/models/pipeline_list_item/index.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline_list_item/index.js rename to x-pack/platform/plugins/private/logstash/public/models/pipeline_list_item/index.js diff --git a/x-pack/plugins/logstash/public/models/pipeline_list_item/pipeline_list_item.js b/x-pack/platform/plugins/private/logstash/public/models/pipeline_list_item/pipeline_list_item.js similarity index 100% rename from x-pack/plugins/logstash/public/models/pipeline_list_item/pipeline_list_item.js rename to x-pack/platform/plugins/private/logstash/public/models/pipeline_list_item/pipeline_list_item.js diff --git a/x-pack/plugins/logstash/public/plugin.ts b/x-pack/platform/plugins/private/logstash/public/plugin.ts similarity index 100% rename from x-pack/plugins/logstash/public/plugin.ts rename to x-pack/platform/plugins/private/logstash/public/plugin.ts diff --git a/x-pack/plugins/logstash/public/services/cluster/cluster_service.js b/x-pack/platform/plugins/private/logstash/public/services/cluster/cluster_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/cluster/cluster_service.js rename to x-pack/platform/plugins/private/logstash/public/services/cluster/cluster_service.js diff --git a/x-pack/plugins/logstash/public/services/cluster/index.js b/x-pack/platform/plugins/private/logstash/public/services/cluster/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/cluster/index.js rename to x-pack/platform/plugins/private/logstash/public/services/cluster/index.js diff --git a/x-pack/plugins/logstash/public/services/index.js b/x-pack/platform/plugins/private/logstash/public/services/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/index.js rename to x-pack/platform/plugins/private/logstash/public/services/index.js diff --git a/x-pack/plugins/logstash/public/services/license/index.js b/x-pack/platform/plugins/private/logstash/public/services/license/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/license/index.js rename to x-pack/platform/plugins/private/logstash/public/services/license/index.js diff --git a/x-pack/plugins/logstash/public/services/license/logstash_license_service.js b/x-pack/platform/plugins/private/logstash/public/services/license/logstash_license_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/license/logstash_license_service.js rename to x-pack/platform/plugins/private/logstash/public/services/license/logstash_license_service.js diff --git a/x-pack/plugins/logstash/public/services/monitoring/index.js b/x-pack/platform/plugins/private/logstash/public/services/monitoring/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/monitoring/index.js rename to x-pack/platform/plugins/private/logstash/public/services/monitoring/index.js diff --git a/x-pack/plugins/logstash/public/services/monitoring/monitoring_service.js b/x-pack/platform/plugins/private/logstash/public/services/monitoring/monitoring_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/monitoring/monitoring_service.js rename to x-pack/platform/plugins/private/logstash/public/services/monitoring/monitoring_service.js diff --git a/x-pack/plugins/logstash/public/services/pipeline/index.js b/x-pack/platform/plugins/private/logstash/public/services/pipeline/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipeline/index.js rename to x-pack/platform/plugins/private/logstash/public/services/pipeline/index.js diff --git a/x-pack/plugins/logstash/public/services/pipeline/pipeline_service.js b/x-pack/platform/plugins/private/logstash/public/services/pipeline/pipeline_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipeline/pipeline_service.js rename to x-pack/platform/plugins/private/logstash/public/services/pipeline/pipeline_service.js diff --git a/x-pack/plugins/logstash/public/services/pipelines/index.js b/x-pack/platform/plugins/private/logstash/public/services/pipelines/index.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipelines/index.js rename to x-pack/platform/plugins/private/logstash/public/services/pipelines/index.js diff --git a/x-pack/plugins/logstash/public/services/pipelines/pipelines_service.js b/x-pack/platform/plugins/private/logstash/public/services/pipelines/pipelines_service.js similarity index 100% rename from x-pack/plugins/logstash/public/services/pipelines/pipelines_service.js rename to x-pack/platform/plugins/private/logstash/public/services/pipelines/pipelines_service.js diff --git a/x-pack/plugins/logstash/server/index.ts b/x-pack/platform/plugins/private/logstash/server/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/index.ts rename to x-pack/platform/plugins/private/logstash/server/index.ts diff --git a/x-pack/plugins/logstash/server/lib/check_license/check_license.test.ts b/x-pack/platform/plugins/private/logstash/server/lib/check_license/check_license.test.ts similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/check_license.test.ts rename to x-pack/platform/plugins/private/logstash/server/lib/check_license/check_license.test.ts diff --git a/x-pack/plugins/logstash/server/lib/check_license/check_license.ts b/x-pack/platform/plugins/private/logstash/server/lib/check_license/check_license.ts similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/check_license.ts rename to x-pack/platform/plugins/private/logstash/server/lib/check_license/check_license.ts diff --git a/x-pack/plugins/logstash/server/lib/check_license/index.ts b/x-pack/platform/plugins/private/logstash/server/lib/check_license/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/lib/check_license/index.ts rename to x-pack/platform/plugins/private/logstash/server/lib/check_license/index.ts diff --git a/x-pack/plugins/logstash/server/models/cluster/cluster.test.ts b/x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.test.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/cluster/cluster.test.ts rename to x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.test.ts diff --git a/x-pack/plugins/logstash/server/models/cluster/cluster.ts b/x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/cluster/cluster.ts rename to x-pack/platform/plugins/private/logstash/server/models/cluster/cluster.ts diff --git a/x-pack/plugins/logstash/server/models/cluster/index.ts b/x-pack/platform/plugins/private/logstash/server/models/cluster/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/cluster/index.ts rename to x-pack/platform/plugins/private/logstash/server/models/cluster/index.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline/index.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/index.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline/index.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline/pipeline.test.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline/pipeline.test.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/pipeline.test.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline/pipeline.test.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline/pipeline.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline/pipeline.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline/pipeline.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline/pipeline.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/index.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/index.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/index.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.test.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/pipeline_list_item.test.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.test.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/pipeline_list_item.test.ts diff --git a/x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.ts b/x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/pipeline_list_item.ts similarity index 100% rename from x-pack/plugins/logstash/server/models/pipeline_list_item/pipeline_list_item.ts rename to x-pack/platform/plugins/private/logstash/server/models/pipeline_list_item/pipeline_list_item.ts diff --git a/x-pack/plugins/logstash/server/plugin.ts b/x-pack/platform/plugins/private/logstash/server/plugin.ts similarity index 100% rename from x-pack/plugins/logstash/server/plugin.ts rename to x-pack/platform/plugins/private/logstash/server/plugin.ts diff --git a/x-pack/plugins/logstash/server/routes/cluster/index.ts b/x-pack/platform/plugins/private/logstash/server/routes/cluster/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/cluster/index.ts rename to x-pack/platform/plugins/private/logstash/server/routes/cluster/index.ts diff --git a/x-pack/plugins/logstash/server/routes/cluster/load.ts b/x-pack/platform/plugins/private/logstash/server/routes/cluster/load.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/cluster/load.ts rename to x-pack/platform/plugins/private/logstash/server/routes/cluster/load.ts diff --git a/x-pack/plugins/logstash/server/routes/index.ts b/x-pack/platform/plugins/private/logstash/server/routes/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/index.ts rename to x-pack/platform/plugins/private/logstash/server/routes/index.ts diff --git a/x-pack/plugins/logstash/server/routes/pipeline/delete.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipeline/delete.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipeline/delete.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipeline/delete.ts diff --git a/x-pack/plugins/logstash/server/routes/pipeline/index.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipeline/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipeline/index.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipeline/index.ts diff --git a/x-pack/plugins/logstash/server/routes/pipeline/load.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipeline/load.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipeline/load.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipeline/load.ts diff --git a/x-pack/plugins/logstash/server/routes/pipeline/save.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipeline/save.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipeline/save.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipeline/save.ts diff --git a/x-pack/plugins/logstash/server/routes/pipelines/delete.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipelines/delete.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipelines/delete.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipelines/delete.ts diff --git a/x-pack/plugins/logstash/server/routes/pipelines/index.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipelines/index.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipelines/index.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipelines/index.ts diff --git a/x-pack/plugins/logstash/server/routes/pipelines/list.ts b/x-pack/platform/plugins/private/logstash/server/routes/pipelines/list.ts similarity index 100% rename from x-pack/plugins/logstash/server/routes/pipelines/list.ts rename to x-pack/platform/plugins/private/logstash/server/routes/pipelines/list.ts diff --git a/x-pack/plugins/logstash/server/types.ts b/x-pack/platform/plugins/private/logstash/server/types.ts similarity index 100% rename from x-pack/plugins/logstash/server/types.ts rename to x-pack/platform/plugins/private/logstash/server/types.ts diff --git a/x-pack/plugins/logstash/tsconfig.json b/x-pack/platform/plugins/private/logstash/tsconfig.json similarity index 91% rename from x-pack/plugins/logstash/tsconfig.json rename to x-pack/platform/plugins/private/logstash/tsconfig.json index 62240bd04b0cc..e5f89e5557317 100644 --- a/x-pack/plugins/logstash/tsconfig.json +++ b/x-pack/platform/plugins/private/logstash/tsconfig.json @@ -1,6 +1,6 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/monitoring/common/cancel_promise.ts b/x-pack/platform/plugins/private/monitoring/common/cancel_promise.ts similarity index 100% rename from x-pack/plugins/monitoring/common/cancel_promise.ts rename to x-pack/platform/plugins/private/monitoring/common/cancel_promise.ts diff --git a/x-pack/plugins/monitoring/common/ccs_utils.test.js b/x-pack/platform/plugins/private/monitoring/common/ccs_utils.test.js similarity index 100% rename from x-pack/plugins/monitoring/common/ccs_utils.test.js rename to x-pack/platform/plugins/private/monitoring/common/ccs_utils.test.js diff --git a/x-pack/plugins/monitoring/common/ccs_utils.ts b/x-pack/platform/plugins/private/monitoring/common/ccs_utils.ts similarity index 100% rename from x-pack/plugins/monitoring/common/ccs_utils.ts rename to x-pack/platform/plugins/private/monitoring/common/ccs_utils.ts diff --git a/x-pack/plugins/monitoring/common/constants.ts b/x-pack/platform/plugins/private/monitoring/common/constants.ts similarity index 99% rename from x-pack/plugins/monitoring/common/constants.ts rename to x-pack/platform/plugins/private/monitoring/common/constants.ts index 61dcf1a17df6b..232d2e08a94ed 100644 --- a/x-pack/plugins/monitoring/common/constants.ts +++ b/x-pack/platform/plugins/private/monitoring/common/constants.ts @@ -588,12 +588,12 @@ export const LEGACY_RULES = [ /** * Matches the id for the built-in in email action type - * See x-pack/plugins/stack_connectors/server/connector_types/stack/email/index.ts + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/email/index.ts */ export const ALERT_ACTION_TYPE_EMAIL = '.email'; /** * Matches the id for the built-in in log action type - * See x-pack/plugins/stack_connectors/server/connector_types/stack/server_log/index.ts + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/stack/server_log/index.ts */ export const ALERT_ACTION_TYPE_LOG = '.server-log'; diff --git a/x-pack/plugins/monitoring/common/enums.ts b/x-pack/platform/plugins/private/monitoring/common/enums.ts similarity index 100% rename from x-pack/plugins/monitoring/common/enums.ts rename to x-pack/platform/plugins/private/monitoring/common/enums.ts diff --git a/x-pack/plugins/monitoring/common/es_glob_patterns.test.ts b/x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/es_glob_patterns.test.ts rename to x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.test.ts diff --git a/x-pack/plugins/monitoring/common/es_glob_patterns.ts b/x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.ts similarity index 100% rename from x-pack/plugins/monitoring/common/es_glob_patterns.ts rename to x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.ts diff --git a/x-pack/plugins/monitoring/common/format_timestamp_to_duration.js b/x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js similarity index 100% rename from x-pack/plugins/monitoring/common/format_timestamp_to_duration.js rename to x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js diff --git a/x-pack/plugins/monitoring/common/format_timestamp_to_duration.test.js b/x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.test.js similarity index 100% rename from x-pack/plugins/monitoring/common/format_timestamp_to_duration.test.js rename to x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.test.js diff --git a/x-pack/plugins/monitoring/common/formatting.ts b/x-pack/platform/plugins/private/monitoring/common/formatting.ts similarity index 100% rename from x-pack/plugins/monitoring/common/formatting.ts rename to x-pack/platform/plugins/private/monitoring/common/formatting.ts diff --git a/x-pack/plugins/monitoring/common/get_index_patterns.test.ts b/x-pack/platform/plugins/private/monitoring/common/get_index_patterns.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/get_index_patterns.test.ts rename to x-pack/platform/plugins/private/monitoring/common/get_index_patterns.test.ts diff --git a/x-pack/plugins/monitoring/common/get_index_patterns.ts b/x-pack/platform/plugins/private/monitoring/common/get_index_patterns.ts similarity index 100% rename from x-pack/plugins/monitoring/common/get_index_patterns.ts rename to x-pack/platform/plugins/private/monitoring/common/get_index_patterns.ts diff --git a/x-pack/plugins/monitoring/common/http_api/_health/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/_health/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/_health/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/_health/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_instance.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_instance.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instance.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_instances.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instances.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_instances.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instances.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beat_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beat_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beat_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beat_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beats_listing.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_listing.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beats_listing.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_listing.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beats_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beats_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/post_cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/post_cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/post_clusters.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/post_clusters.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_clusters.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts diff --git a/x-pack/plugins/monitoring/common/http_api/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instance.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instance.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instance.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instances.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instances.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instances.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instances.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_cluster_setup_status.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_cluster_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_cluster_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_cluster_setup_status.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_disable_internal_collection.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_disable_internal_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_disable_internal_collection.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_disable_internal_collection.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_node_setup_status.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_node_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_node_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_node_setup_status.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/ccs.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/ccs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/ccs.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/ccs.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/pagination.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/pagination.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/pagination.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/pagination.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.test.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.test.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.test.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_number.test.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_number.test.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.test.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_number.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_number.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/sorting.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/sorting.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/sorting.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/sorting.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/time_range.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/time_range.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/time_range.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/time_range.ts diff --git a/x-pack/plugins/monitoring/common/index.ts b/x-pack/platform/plugins/private/monitoring/common/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/index.ts rename to x-pack/platform/plugins/private/monitoring/common/index.ts diff --git a/x-pack/plugins/monitoring/common/runtime_types.ts b/x-pack/platform/plugins/private/monitoring/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/monitoring/common/runtime_types.ts rename to x-pack/platform/plugins/private/monitoring/common/runtime_types.ts diff --git a/x-pack/plugins/monitoring/common/types/alerts.ts b/x-pack/platform/plugins/private/monitoring/common/types/alerts.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/alerts.ts rename to x-pack/platform/plugins/private/monitoring/common/types/alerts.ts diff --git a/x-pack/plugins/monitoring/common/types/es.ts b/x-pack/platform/plugins/private/monitoring/common/types/es.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/es.ts rename to x-pack/platform/plugins/private/monitoring/common/types/es.ts diff --git a/x-pack/plugins/monitoring/common/types/logs.ts b/x-pack/platform/plugins/private/monitoring/common/types/logs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/logs.ts rename to x-pack/platform/plugins/private/monitoring/common/types/logs.ts diff --git a/x-pack/plugins/monitoring/common/validate_duration.ts b/x-pack/platform/plugins/private/monitoring/common/validate_duration.ts similarity index 100% rename from x-pack/plugins/monitoring/common/validate_duration.ts rename to x-pack/platform/plugins/private/monitoring/common/validate_duration.ts diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/apm_tracing.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/apm_tracing.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/apm_tracing.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/apm_tracing.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/cloud_setup.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/cloud_setup.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/cloud_setup.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/cloud_setup.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md similarity index 94% rename from x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md index d6988cc7d5987..f4576a746125b 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md @@ -1,6 +1,6 @@ When diagnosing issues with UI or alert errors, it can be useful to know the exact query being sent by kibana to elasticsearch. -Rules should have a `fetchData` setup [like this one](/x-pack/plugins/monitoring/server/alerts/nodes_changed_rule.ts#L96). Tracing down will get you to `fetchNodesFromClusterStats`. +Rules should have a `fetchData` setup [like this one](/x-pack/platform/plugins/private/monitoring/server/alerts/nodes_changed_rule.ts#L96). Tracing down will get you to `fetchNodesFromClusterStats`. Just before the `esClient.search` call you can log out the query parameters using something like: diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md similarity index 87% rename from x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md index 4e1b67ddd612e..5b3f9898b166d 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md @@ -49,7 +49,7 @@ docker run --name metricbeat \ --pull always --rm \ --hostname=metricbeat \ --publish=5066:5066 \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml:/usr/share/metricbeat/metricbeat.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml:/usr/share/metricbeat/metricbeat.yml:ro" \ docker.elastic.co/beats/metricbeat:master-SNAPSHOT ``` @@ -65,7 +65,7 @@ docker run --name filebeat \ --hostname=filebeat \ --publish=5067:5067 \ --volume="$(pwd)/.es:/es:ro" \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml:/usr/share/filebeat/filebeat.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml:/usr/share/filebeat/filebeat.yml:ro" \ docker.elastic.co/beats/filebeat:master-SNAPSHOT ``` @@ -80,8 +80,8 @@ docker run --name logstash \ --pull always --rm \ --hostname=logstash \ --publish=9600:9600 \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/logstash.yml:/usr/share/logstash/config/logstash.yml:ro" \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml:/usr/share/logstash/config/pipelines.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml:/usr/share/logstash/config/logstash.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml:/usr/share/logstash/config/pipelines.yml:ro" \ docker.elastic.co/logstash/logstash:master-SNAPSHOT ``` diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/running_components_from_source.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/running_components_from_source.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/testing.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md similarity index 74% rename from x-pack/plugins/monitoring/dev_docs/how_to/testing.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md index 75f16b1aab05c..937d6753fb8fa 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/testing.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md @@ -4,7 +4,7 @@ See the [Kibana Testing guide](https://www.elastic.co/guide/en/kibana/master/dev We mainly use: 1. Jest unit tests - located in sibling files to the source code -2. [api_integration tests](../../../../test/api_integration/apis/monitoring) -3. [functional tests](../../../../test/functional/apps/monitoring) +2. [api_integration tests](../../../../../../test/api_integration/apis/monitoring) +3. [functional tests](../../../../../../test/functional/apps/monitoring) The functional and api integration tests are both under a 'Monitoring' description, so you can use `--grep Monitoring` to run only our tests. \ No newline at end of file diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/version_compatibility.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/version_compatibility.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/version_compatibility.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/version_compatibility.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/work_with_packages.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/work_with_packages.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/work_with_packages.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/work_with_packages.md diff --git a/x-pack/plugins/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png b/x-pack/platform/plugins/private/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png rename to x-pack/platform/plugins/private/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png diff --git a/x-pack/plugins/monitoring/dev_docs/images/ek_internal_collection_overview.png b/x-pack/platform/plugins/private/monitoring/dev_docs/images/ek_internal_collection_overview.png similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/images/ek_internal_collection_overview.png rename to x-pack/platform/plugins/private/monitoring/dev_docs/images/ek_internal_collection_overview.png diff --git a/x-pack/plugins/monitoring/dev_docs/reference/architectural_overview.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/architectural_overview.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/architectural_overview.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/architectural_overview.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md similarity index 98% rename from x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md index ea585fda0306e..dca58cb3daea3 100644 --- a/x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md @@ -38,7 +38,7 @@ subgraph Kibana click Collectors "https://github.com/elastic/kibana/tree/main/src/core/server/metrics/collectors" click OpsMetricsObservable "https://github.com/elastic/kibana/blob/92a8636f0ff63ab072527574e96e6616327b2ea4/src/core/server/metrics/metrics_service.ts#L32" - click BulkUploader "https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts" + click BulkUploader "https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts" end BulkUploader-->|/_monitoring/bulk|ProdElasticsearch diff --git a/x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/indices.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/indices.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/indices.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/indices.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/logstash.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/logstash.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/rules_alerts.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/rules_alerts.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/rules_alerts.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/rules_alerts.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/terminology.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/terminology.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/terminology.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/terminology.md diff --git a/x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md similarity index 81% rename from x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md index 7f8ee8de1c1e5..3d85ddcded998 100644 --- a/x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md @@ -6,9 +6,9 @@ When trying to debug why a CPU metric doesn't look the way you expect it to in a At the time of writing, the code path to get from a system level CPU metric to a utilization percentage looks like this: -1. `node_cpu_metric` set to `node_cgroup_quota_as_cpu_utilization` when cgroup is enabled: [node_detail.js](/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.js#L61-65) -1. `node_cgroup_quota_as_cpu_utilization` defined as a `QuotaMetric` against `cpu.cfs_quota_micros`: [metrics.ts](/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts#L798-801) -1. `QuotaMetric` tries to produce a ratio of usage to quota, but returns null when quota isn't a positive number: [quota_metric.ts](/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts#L79-80) +1. `node_cpu_metric` set to `node_cgroup_quota_as_cpu_utilization` when cgroup is enabled: [node_detail.js](/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.js#L61-65) +1. `node_cgroup_quota_as_cpu_utilization` defined as a `QuotaMetric` against `cpu.cfs_quota_micros`: [metrics.ts](/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts#L798-801) +1. `QuotaMetric` tries to produce a ratio of usage to quota, but returns null when quota isn't a positive number: [quota_metric.ts](/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts#L79-80) So it's important to be aware of the `monitoring.ui.container.elasticsearch.enabled` setting, which defaults to `true` on cloud.elastic.co. diff --git a/x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md similarity index 94% rename from x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md index 04653d84c6b8b..1538044d9b2a4 100644 --- a/x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md @@ -1,6 +1,6 @@ If the stack monitoring UI isn't showing data for any cluster or missing key metrics, it may first be useful to survey the available data. -If troubleshooting a cluster with a version >= 8.3.1, the [Stack Monitoring health API](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/routes/api/v1/_health) is the recommended way to get an overview of the available data and possible metrics collection issues. +If troubleshooting a cluster with a version >= 8.3.1, the [Stack Monitoring health API](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health) is the recommended way to get an overview of the available data and possible metrics collection issues. The API is included in the [support-diagnostics utility](https://github.com/elastic/support-diagnostics) so if a bundle is provided in the issue you're working on, the API response would already be available in `kibana_stack_monitoring_health.json`. Otherwise, one can ask for the API response instead of the raw queries. If troubleshooting an older version, the following queries would be good starters: diff --git a/x-pack/platform/plugins/private/monitoring/jest.config.js b/x-pack/platform/plugins/private/monitoring/jest.config.js new file mode 100644 index 0000000000000..31c593b40a0a0 --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/monitoring'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/monitoring', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/monitoring/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/monitoring/kibana.jsonc b/x-pack/platform/plugins/private/monitoring/kibana.jsonc similarity index 100% rename from x-pack/plugins/monitoring/kibana.jsonc rename to x-pack/platform/plugins/private/monitoring/kibana.jsonc diff --git a/x-pack/plugins/monitoring/public/alerts/alert_form.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/alert_form.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/alert_form.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/alert_form.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/alerts_dropdown.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/alerts_dropdown.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/badge.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/badge.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/badge.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/badge.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/callout.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/callout.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/callout.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/callout.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/validation.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/validation.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/configuration.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/configuration.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/configuration.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/configuration.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/context.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/context.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/context.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/context.ts diff --git a/x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/disk_usage_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/disk_usage_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/disk_usage_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/disk_usage_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/enable_alerts_modal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/enable_alerts_modal.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/large_shard_size_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/large_shard_size_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/large_shard_size_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/large_shard_size_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/legacy_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/legacy_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/legacy_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/legacy_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/alerts/lib/alerts_toast.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/alerts_toast.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/alerts_toast.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/alerts_toast.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/replace_tokens.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/replace_tokens.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/replace_tokens.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/replace_tokens.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/should_show_alert_badge.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/should_show_alert_badge.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/should_show_alert_badge.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/should_show_alert_badge.ts diff --git a/x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts diff --git a/x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.ts diff --git a/x-pack/plugins/monitoring/public/alerts/memory_usage_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/memory_usage_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/memory_usage_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/memory_usage_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/panel.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/panel.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/panel.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/panel.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/status.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/status.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/status.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/types.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/types.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/types.ts diff --git a/x-pack/plugins/monitoring/public/application/contexts/external_config_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/external_config_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/external_config_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/external_config_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/global_state_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/global_state_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/header_action_menu_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/header_action_menu_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.test.ts b/x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.test.ts rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.test.ts diff --git a/x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.ts b/x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.ts rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_alerts_modal.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_alerts_modal.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_breadcrumbs.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_breadcrumbs.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_charts.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_charts.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_charts.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_charts.tsx diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_clusters.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_local_storage.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_local_storage.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_local_storage.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_local_storage.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_monitoring_time.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_monitoring_time.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_request_error_handler.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_request_error_handler.tsx diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_table.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_table.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_table.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_table.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_title.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_title.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_title.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_title.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_track_metric.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_track_metric.tsx diff --git a/x-pack/plugins/monitoring/public/application/index.tsx b/x-pack/platform/plugins/private/monitoring/public/application/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/index.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/access_denied/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/access_denied/index.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/apm_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/apm_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/apm_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/apm_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/index.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/index.ts diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/beats_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/beats_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/beats_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/beats_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/cluster/overview_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/cluster/overview_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/indices_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/indices_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/item_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/item_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/nodes_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/nodes_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/home/cluster_listing.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/home/cluster_listing.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/kibana_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/kibana_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/kibana_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/kibana_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/license_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/license_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/license_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/license_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/loading_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/loading_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/loading_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/loading_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/advanced.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/advanced.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/logstash_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/logstash_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node_pipelines.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node_pipelines.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/nodes.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/nodes.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipelines.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipelines.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts similarity index 94% rename from x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts index 6225e3863b2f7..18cb74404a21f 100644 --- a/x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts +++ b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts @@ -5,7 +5,7 @@ * 2.0. */ -// From x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js +// From x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js export class Enabler { http: any; updateModel: any; diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/index.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/no_data/index.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/index.ts diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/no_data_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/no_data_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/page_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/page_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/page_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/preserve_query_history.ts b/x-pack/platform/plugins/private/monitoring/public/application/preserve_query_history.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/preserve_query_history.ts rename to x-pack/platform/plugins/private/monitoring/public/application/preserve_query_history.ts diff --git a/x-pack/plugins/monitoring/public/application/route_init.tsx b/x-pack/platform/plugins/private/monitoring/public/application/route_init.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/route_init.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/route_init.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/apm_metrics.tsx b/x-pack/platform/plugins/private/monitoring/public/components/apm/apm_metrics.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/apm_metrics.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/apm/apm_metrics.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/instance.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/instance.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/instance.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/instance.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/instances.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/overview/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/overview/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/overview/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/overview/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/beats/beat/beat.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/beat/beat.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/beat/beat.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/beat/beat.js diff --git a/x-pack/plugins/monitoring/public/components/beats/beat/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/beat/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/beat/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/beat/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_active.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_active.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_active.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_active.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_types.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_types.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_types.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_types.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/overview.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/overview.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/stats.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/stats.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/stats.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/stats.js diff --git a/x-pack/plugins/monitoring/public/components/chart/chart_target.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/chart_target.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/chart_target.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/chart_target.js diff --git a/x-pack/plugins/monitoring/public/components/chart/event_bus.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/event_bus.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/event_bus.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/event_bus.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_chart_options.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_chart_options.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_chart_options.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_chart_options.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_color.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_color.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_color.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_color.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_last_value.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_last_value.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_last_value.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_last_value.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_technical_preview.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_technical_preview.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_technical_preview.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_technical_preview.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_title.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_title.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_title.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_title.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_units.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_units.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_units.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_units.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/horizontal_legend.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/horizontal_legend.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/horizontal_legend.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/horizontal_legend.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/index.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/index.js diff --git a/x-pack/plugins/monitoring/public/components/chart/info_tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/info_tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/chart/info_tooltip.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/info_tooltip.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries.js diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.tsx b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.tsx diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_container.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_container.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_container.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_container.js diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.js diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.scss diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/listing.scss b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/listing.scss rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.scss diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/apm_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/apm_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/beats_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/beats_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/elasticsearch_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/elasticsearch_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/enterprise_search_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/enterprise_search_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/enterprise_search_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/enterprise_search_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/helpers.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/helpers.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/helpers.test.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/helpers.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.test.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.d.ts diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/kibana_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/kibana_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/logstash_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/logstash_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/status.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/advanced.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/advanced.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index_detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index_detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/advanced.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/advanced.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/advanced.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/advanced.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node_detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node_detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/parse_props.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/parse_props.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/progress.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/progress.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/snapshot.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/snapshot.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_destination.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_destination.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/total_time.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/total_time.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/index.ts diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/overview.tsx diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/status.tsx b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/status.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/status.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/index.ts diff --git a/x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kibana/cluster_status/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/cluster_status/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/format_last_seen_timestamp.ts b/x-pack/platform/plugins/private/monitoring/public/components/kibana/format_last_seen_timestamp.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/format_last_seen_timestamp.ts rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/format_last_seen_timestamp.ts diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/index.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/instances/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/instances.tsx diff --git a/x-pack/plugins/monitoring/public/components/kibana/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/autocomplete_field.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/autocomplete_field.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/suggestion_item.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/suggestion_item.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx diff --git a/x-pack/plugins/monitoring/public/components/license/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/license/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/license/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/license/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/components/logs/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/logs.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/logs.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/logs.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/logs.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/logs.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/logs.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/logs.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/logs.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/reason.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/reason.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/reason.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/reason.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/reason.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/reason.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/reason.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/reason.tsx diff --git a/x-pack/plugins/monitoring/public/components/logstash/cluster_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/cluster_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/listing.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/listing.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/constants.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/constants.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/constants.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/constants.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/changes_needed.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/changes_needed.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/cloud_deployment.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/cloud_deployment.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/looking_for.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/looking_for.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/looking_for.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/looking_for.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/what_is.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/what_is.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/what_is.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/what_is.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checker_errors.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checker_errors.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checker_errors.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checker_errors.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checking_settings.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checking_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checking_settings.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checking_settings.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/no_data/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/index.ts diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.d.ts diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.test.js diff --git a/x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/page_loading/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/page_loading/page_loading.test.js b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/page_loading.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/page_loading.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/page_loading.test.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/renderers/index.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/index.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/lib/find_new_uuid.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/lib/find_new_uuid.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/lib/find_new_uuid.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/lib/find_new_uuid.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.d.ts diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.test.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/badge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/badge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/badge.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/badge.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/exit_button.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/exit_button.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/exit_button.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/exit_button.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/formatting.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/formatting.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.ts diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/setup_mode_context.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/setup_mode_context.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/setup_mode_context.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/setup_mode_context.ts diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/tooltip.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/tooltip.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/types.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/types.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/types.ts diff --git a/x-pack/plugins/monitoring/public/components/shared/toolbar.tsx b/x-pack/platform/plugins/private/monitoring/public/components/shared/toolbar.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/shared/toolbar.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/shared/toolbar.tsx diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/sparkline/index.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/index.test.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/index.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.test.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/sparkline.scss b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/sparkline.scss rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline.scss diff --git a/x-pack/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline_flot_chart.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline_flot_chart.js diff --git a/x-pack/plugins/monitoring/public/components/status_icon/_index.scss b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/_index.scss rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/_status_icon.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/_status_icon.scss diff --git a/x-pack/plugins/monitoring/public/components/status_icon/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/summary_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.scss b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.scss rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.scss diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.test.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.tsx b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.tsx diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table.tsx b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table.tsx diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.d.ts diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table_ssp.js b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table_ssp.js rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.js diff --git a/x-pack/plugins/monitoring/public/components/table/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/index.ts diff --git a/x-pack/plugins/monitoring/public/components/table/storage.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/storage.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/storage.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/storage.ts diff --git a/x-pack/plugins/monitoring/public/external_config.ts b/x-pack/platform/plugins/private/monitoring/public/external_config.ts similarity index 100% rename from x-pack/plugins/monitoring/public/external_config.ts rename to x-pack/platform/plugins/private/monitoring/public/external_config.ts diff --git a/x-pack/plugins/monitoring/public/icons/health-gray.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-gray.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-green.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-green.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-red.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-red.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-yellow.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-yellow.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg diff --git a/x-pack/plugins/monitoring/public/index.scss b/x-pack/platform/plugins/private/monitoring/public/index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/index.scss rename to x-pack/platform/plugins/private/monitoring/public/index.scss diff --git a/x-pack/plugins/monitoring/public/index.ts b/x-pack/platform/plugins/private/monitoring/public/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/index.ts rename to x-pack/platform/plugins/private/monitoring/public/index.ts diff --git a/x-pack/plugins/monitoring/public/jest.helpers.ts b/x-pack/platform/plugins/private/monitoring/public/jest.helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/public/jest.helpers.ts rename to x-pack/platform/plugins/private/monitoring/public/jest.helpers.ts diff --git a/x-pack/plugins/monitoring/public/legacy_shims.ts b/x-pack/platform/plugins/private/monitoring/public/legacy_shims.ts similarity index 100% rename from x-pack/plugins/monitoring/public/legacy_shims.ts rename to x-pack/platform/plugins/private/monitoring/public/legacy_shims.ts diff --git a/x-pack/plugins/monitoring/public/lib/apm_agent.ts b/x-pack/platform/plugins/private/monitoring/public/lib/apm_agent.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/apm_agent.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/apm_agent.ts diff --git a/x-pack/plugins/monitoring/public/lib/calculate_shard_stats.js b/x-pack/platform/plugins/private/monitoring/public/lib/calculate_shard_stats.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/calculate_shard_stats.js rename to x-pack/platform/plugins/private/monitoring/public/lib/calculate_shard_stats.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/index.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/index.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/index.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.test.js diff --git a/x-pack/plugins/monitoring/public/lib/ensure_minimum_time.js b/x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ensure_minimum_time.js rename to x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.js diff --git a/x-pack/plugins/monitoring/public/lib/ensure_minimum_time.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ensure_minimum_time.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.test.js diff --git a/x-pack/plugins/monitoring/public/lib/extract_ip.js b/x-pack/platform/plugins/private/monitoring/public/lib/extract_ip.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/extract_ip.js rename to x-pack/platform/plugins/private/monitoring/public/lib/extract_ip.js diff --git a/x-pack/plugins/monitoring/public/lib/fetch_alerts.ts b/x-pack/platform/plugins/private/monitoring/public/lib/fetch_alerts.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/fetch_alerts.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/fetch_alerts.ts diff --git a/x-pack/plugins/monitoring/public/lib/fetch_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/lib/fetch_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/fetch_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/fetch_clusters.ts diff --git a/x-pack/plugins/monitoring/public/lib/form_validation.ts b/x-pack/platform/plugins/private/monitoring/public/lib/form_validation.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/form_validation.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/form_validation.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_msg.test.ts b/x-pack/platform/plugins/private/monitoring/public/lib/format_msg.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_msg.test.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/format_msg.test.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_msg.ts b/x-pack/platform/plugins/private/monitoring/public/lib/format_msg.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_msg.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/format_msg.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_number.js b/x-pack/platform/plugins/private/monitoring/public/lib/format_number.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_number.js rename to x-pack/platform/plugins/private/monitoring/public/lib/format_number.js diff --git a/x-pack/plugins/monitoring/public/lib/format_number.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/format_number.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_number.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/format_number.test.js diff --git a/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_cluster_from_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_cluster_from_clusters.ts diff --git a/x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.test.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.test.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.test.ts diff --git a/x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.ts diff --git a/x-pack/plugins/monitoring/public/lib/kuery.ts b/x-pack/platform/plugins/private/monitoring/public/lib/kuery.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/kuery.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/kuery.ts diff --git a/x-pack/plugins/monitoring/public/lib/logstash/pipelines.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/logstash/pipelines.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.test.js diff --git a/x-pack/plugins/monitoring/public/lib/logstash/pipelines.ts b/x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/logstash/pipelines.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.ts diff --git a/x-pack/plugins/monitoring/public/lib/setup_mode.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/setup_mode.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.test.js diff --git a/x-pack/plugins/monitoring/public/lib/setup_mode.tsx b/x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/lib/setup_mode.tsx rename to x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.tsx diff --git a/x-pack/plugins/monitoring/public/lib/typed_react.tsx b/x-pack/platform/plugins/private/monitoring/public/lib/typed_react.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/lib/typed_react.tsx rename to x-pack/platform/plugins/private/monitoring/public/lib/typed_react.tsx diff --git a/x-pack/plugins/monitoring/public/plugin.ts b/x-pack/platform/plugins/private/monitoring/public/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring/public/plugin.ts rename to x-pack/platform/plugins/private/monitoring/public/plugin.ts diff --git a/x-pack/plugins/monitoring/public/types.ts b/x-pack/platform/plugins/private/monitoring/public/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/types.ts rename to x-pack/platform/plugins/private/monitoring/public/types.ts diff --git a/x-pack/plugins/monitoring/public/url_state.ts b/x-pack/platform/plugins/private/monitoring/public/url_state.ts similarity index 100% rename from x-pack/plugins/monitoring/public/url_state.ts rename to x-pack/platform/plugins/private/monitoring/public/url_state.ts diff --git a/x-pack/plugins/monitoring/readme.md b/x-pack/platform/plugins/private/monitoring/readme.md similarity index 100% rename from x-pack/plugins/monitoring/readme.md rename to x-pack/platform/plugins/private/monitoring/readme.md diff --git a/x-pack/plugins/monitoring/server/config.test.ts b/x-pack/platform/plugins/private/monitoring/server/config.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/config.test.ts rename to x-pack/platform/plugins/private/monitoring/server/config.test.ts diff --git a/x-pack/plugins/monitoring/server/config.ts b/x-pack/platform/plugins/private/monitoring/server/config.ts similarity index 100% rename from x-pack/plugins/monitoring/server/config.ts rename to x-pack/platform/plugins/private/monitoring/server/config.ts diff --git a/x-pack/plugins/monitoring/server/debug_logger.ts b/x-pack/platform/plugins/private/monitoring/server/debug_logger.ts similarity index 100% rename from x-pack/plugins/monitoring/server/debug_logger.ts rename to x-pack/platform/plugins/private/monitoring/server/debug_logger.ts diff --git a/x-pack/plugins/monitoring/server/deprecations.test.js b/x-pack/platform/plugins/private/monitoring/server/deprecations.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/deprecations.test.js rename to x-pack/platform/plugins/private/monitoring/server/deprecations.test.js diff --git a/x-pack/plugins/monitoring/server/deprecations.ts b/x-pack/platform/plugins/private/monitoring/server/deprecations.ts similarity index 100% rename from x-pack/plugins/monitoring/server/deprecations.ts rename to x-pack/platform/plugins/private/monitoring/server/deprecations.ts diff --git a/x-pack/plugins/monitoring/server/es_client/README.md b/x-pack/platform/plugins/private/monitoring/server/es_client/README.md similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/README.md rename to x-pack/platform/plugins/private/monitoring/server/es_client/README.md diff --git a/x-pack/plugins/monitoring/server/es_client/instantiate_client.test.js b/x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/instantiate_client.test.js rename to x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.test.js diff --git a/x-pack/plugins/monitoring/server/es_client/instantiate_client.ts b/x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.ts similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/instantiate_client.ts rename to x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.ts diff --git a/x-pack/plugins/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts b/x-pack/platform/plugins/private/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts rename to x-pack/platform/plugins/private/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts diff --git a/x-pack/plugins/monitoring/server/index.ts b/x-pack/platform/plugins/private/monitoring/server/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/index.ts rename to x-pack/platform/plugins/private/monitoring/server/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/types.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/types.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/types.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/init.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/init.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/init.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/init.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/create_dataset_query_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/create_dataset_query_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/create_dataset_query_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/create_dataset_query_filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_status.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_status.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/_apm_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/_apm_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/_apm_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/_apm_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/_get_time_of_last_event.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/_get_time_of_last_event.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/_get_time_of_last_event.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/_get_time_of_last_event.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/create_apm_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/create_apm_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/create_apm_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/create_apm_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apm_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apm_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apm_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apm_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.test.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/_beats_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/_beats_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/_beats_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/_beats_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/create_beats_query.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/create_beats_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/types.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_auto.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_auto.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_auto.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_auto.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_availabiilty.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_availabiilty.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_availabiilty.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_availabiilty.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_availability.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_availability.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_availability.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_availability.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_overall_status.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_overall_status.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_overall_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_overall_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_rate.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_rate.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_rate.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_rate.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__fixtures__/clusters.json b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/__fixtures__/clusters.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__fixtures__/clusters.json rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/__fixtures__/clusters.json diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_license.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_license.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_license.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_license.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_from_request.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_from_request.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/is_in_code_path.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/is_in_code_path.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/is_in_code_path.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/is_in_code_path.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_query.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_query.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_query.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_query.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_route_validation_function.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_route_validation_function.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_route_validation_function.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_route_validation_function.ts diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/details/get_metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/details/get_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/details/get_series.ts b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_series.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_series.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_series.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/ccr.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/convert_metric_names.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/convert_metric_names.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/convert_metric_names.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/convert_metric_names.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/types.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/error_missing_required.ts b/x-pack/platform/plugins/private/monitoring/server/lib/error_missing_required.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/error_missing_required.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/error_missing_required.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/auth_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/auth_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/auth_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/auth_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/custom_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/custom_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/custom_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/custom_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/esclient_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/esclient_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/esclient_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/esclient_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/handle_error.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_error.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/handle_error.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_error.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/handle_settings_error.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_settings_error.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/handle_settings_error.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_settings_error.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/pipeline_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/pipeline_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/pipeline_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/pipeline_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/filter_partial_buckets.ts b/x-pack/platform/plugins/private/monitoring/server/lib/filter_partial_buckets.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/filter_partial_buckets.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/filter_partial_buckets.ts diff --git a/x-pack/plugins/monitoring/server/lib/format_timezone.ts b/x-pack/platform/plugins/private/monitoring/server/lib/format_timezone.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/format_timezone.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/format_timezone.ts diff --git a/x-pack/plugins/monitoring/server/lib/get_timezone.ts b/x-pack/platform/plugins/private/monitoring/server/lib/get_timezone.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/get_timezone.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/get_timezone.ts diff --git a/x-pack/plugins/monitoring/server/lib/helpers.ts b/x-pack/platform/plugins/private/monitoring/server/lib/helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/helpers.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/helpers.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/build_kibana_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/build_kibana_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/build_kibana_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/build_kibana_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.test.js diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibanas.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibanas.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/is_kibana_status_stale.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/is_kibana_status_stale.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/is_kibana_status_stale.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/is_kibana_status_stale.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/detect_reason.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/detect_reason.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/detect_reason_from_exception.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason_from_exception.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/detect_reason_from_exception.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason_from_exception.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/get_log_types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/get_log_types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/get_log_types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/get_log_types.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/get_logs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/get_logs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/get_logs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/get_logs.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/logs_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/logs_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/logs_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/logs_filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_logstash_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_logstash_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_node_info.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_node_info.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_node_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_node_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_nodes.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_nodes.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_paginated_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_paginated_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_paginated_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_paginated_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_ids.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_ids.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_state_document.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_state_document.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/sort_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/sort_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/sort_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/sort_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/lib/mb_safe_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/mb_safe_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/mb_safe_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/mb_safe_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/metrics/apm/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/apm/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/apm/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/apm/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/cluster_metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/cluster_metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/cluster_metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/cluster_metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/kibana/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/kibana/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/kibana/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/kibana/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/logstash/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/logstash/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/logstash/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/logstash/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/normalize_version_string.ts b/x-pack/platform/plugins/private/monitoring/server/lib/normalize_version_string.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/normalize_version_string.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/normalize_version_string.ts diff --git a/x-pack/plugins/monitoring/server/lib/pagination/filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/pagination/filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/pagination/filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/pagination/filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/pagination/paginate.ts b/x-pack/platform/plugins/private/monitoring/server/lib/pagination/paginate.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/pagination/paginate.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/pagination/paginate.ts diff --git a/x-pack/plugins/monitoring/server/lib/process_version_string.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/process_version_string.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/process_version_string.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/process_version_string.test.js diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts diff --git a/x-pack/plugins/monitoring/server/license_service.ts b/x-pack/platform/plugins/private/monitoring/server/license_service.ts similarity index 100% rename from x-pack/plugins/monitoring/server/license_service.ts rename to x-pack/platform/plugins/private/monitoring/server/license_service.ts diff --git a/x-pack/plugins/monitoring/server/mocks.ts b/x-pack/platform/plugins/private/monitoring/server/mocks.ts similarity index 100% rename from x-pack/plugins/monitoring/server/mocks.ts rename to x-pack/platform/plugins/private/monitoring/server/mocks.ts diff --git a/x-pack/plugins/monitoring/server/plugin.test.ts b/x-pack/platform/plugins/private/monitoring/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/plugin.test.ts rename to x-pack/platform/plugins/private/monitoring/server/plugin.test.ts diff --git a/x-pack/plugins/monitoring/server/plugin.ts b/x-pack/platform/plugins/private/monitoring/server/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring/server/plugin.ts rename to x-pack/platform/plugins/private/monitoring/server/plugin.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/README.md b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/README.md similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/README.md rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/README.md diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/types.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/types.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/types.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/enable.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/enable.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/instances.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instances.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/instances.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instances.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/beat_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beat_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/beat_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beat_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/beats.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/beats.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beats.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/check_access/check_access.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/check_access.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/check_access/check_access.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/check_access.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/check_access/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/check_access/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/cluster.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/indices.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/indices.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/instances.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instances.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/instances.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instances.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_node.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_node.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/node.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/node.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/node.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/node.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipeline.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipeline.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipeline.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/node_setup_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/node_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/node_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/node_setup_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/index.ts diff --git a/x-pack/plugins/monitoring/server/rules/alert_helpers.ts b/x-pack/platform/plugins/private/monitoring/server/rules/alert_helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/alert_helpers.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/alert_helpers.ts diff --git a/x-pack/plugins/monitoring/server/rules/base_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/base_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/base_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/base_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/base_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/base_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/base_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/base_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/cluster_health_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cluster_health_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/cluster_health_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cluster_health_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/cpu_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cpu_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/cpu_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cpu_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/disk_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/disk_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/disk_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/disk_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/index.ts b/x-pack/platform/plugins/private/monitoring/server/rules/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/index.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/index.ts diff --git a/x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/large_shard_size_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/large_shard_size_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/large_shard_size_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/large_shard_size_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/license_expiration_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/license_expiration_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/license_expiration_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/license_expiration_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/memory_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/memory_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/memory_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/memory_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/nodes_changed_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/nodes_changed_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/nodes_changed_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/nodes_changed_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/rules_factory.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/rules_factory.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/rules_factory.ts b/x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/rules_factory.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_rejections_rule_base.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_rejections_rule_base.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_rejections_rule_base.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_rejections_rule_base.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.ts diff --git a/x-pack/plugins/monitoring/server/static_globals.ts b/x-pack/platform/plugins/private/monitoring/server/static_globals.ts similarity index 100% rename from x-pack/plugins/monitoring/server/static_globals.ts rename to x-pack/platform/plugins/private/monitoring/server/static_globals.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/create_query.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/create_query.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/create_query.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/create_query.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/index.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/index.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/index.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts diff --git a/x-pack/plugins/monitoring/server/types.ts b/x-pack/platform/plugins/private/monitoring/server/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/types.ts rename to x-pack/platform/plugins/private/monitoring/server/types.ts diff --git a/x-pack/plugins/monitoring/tsconfig.json b/x-pack/platform/plugins/private/monitoring/tsconfig.json similarity index 96% rename from x-pack/plugins/monitoring/tsconfig.json rename to x-pack/platform/plugins/private/monitoring/tsconfig.json index 75676ed06e3c4..0a9770f9e7da8 100644 --- a/x-pack/plugins/monitoring/tsconfig.json +++ b/x-pack/platform/plugins/private/monitoring/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/monitoring_collection/README.md b/x-pack/platform/plugins/private/monitoring_collection/README.md similarity index 100% rename from x-pack/plugins/monitoring_collection/README.md rename to x-pack/platform/plugins/private/monitoring_collection/README.md diff --git a/x-pack/platform/plugins/private/monitoring_collection/jest.config.js b/x-pack/platform/plugins/private/monitoring_collection/jest.config.js new file mode 100644 index 0000000000000..91ceff0234bdd --- /dev/null +++ b/x-pack/platform/plugins/private/monitoring_collection/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/monitoring_collection'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/monitoring_collection', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/monitoring_collection/{common,public,server}/**/*.{js,ts,tsx}', + ], +}; diff --git a/x-pack/plugins/monitoring_collection/kibana.jsonc b/x-pack/platform/plugins/private/monitoring_collection/kibana.jsonc similarity index 100% rename from x-pack/plugins/monitoring_collection/kibana.jsonc rename to x-pack/platform/plugins/private/monitoring_collection/kibana.jsonc diff --git a/x-pack/plugins/monitoring_collection/server/config.ts b/x-pack/platform/plugins/private/monitoring_collection/server/config.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/config.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/config.ts diff --git a/x-pack/plugins/monitoring_collection/server/constants.ts b/x-pack/platform/plugins/private/monitoring_collection/server/constants.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/constants.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/constants.ts diff --git a/x-pack/plugins/monitoring_collection/server/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/prometheus_exporter.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/prometheus_exporter.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/prometheus_exporter.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/prometheus_exporter.ts diff --git a/x-pack/plugins/monitoring_collection/server/mocks.ts b/x-pack/platform/plugins/private/monitoring_collection/server/mocks.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/mocks.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/mocks.ts diff --git a/x-pack/plugins/monitoring_collection/server/plugin.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/plugin.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/plugin.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/plugin.ts b/x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/plugin.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/index.ts diff --git a/x-pack/plugins/monitoring_collection/tsconfig.json b/x-pack/platform/plugins/private/monitoring_collection/tsconfig.json similarity index 87% rename from x-pack/plugins/monitoring_collection/tsconfig.json rename to x-pack/platform/plugins/private/monitoring_collection/tsconfig.json index 7e27b29c24c9c..a863a06a8a0dc 100644 --- a/x-pack/plugins/monitoring_collection/tsconfig.json +++ b/x-pack/platform/plugins/private/monitoring_collection/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/actions/README.md b/x-pack/platform/plugins/shared/actions/README.md similarity index 98% rename from x-pack/plugins/actions/README.md rename to x-pack/platform/plugins/shared/actions/README.md index 4e7f20e47cb7d..26e1cd2681424 100644 --- a/x-pack/plugins/actions/README.md +++ b/x-pack/platform/plugins/shared/actions/README.md @@ -91,7 +91,7 @@ The following table describes the properties of the `options` object. | name | A user-friendly name for the action type. These will be displayed in dropdowns when chosing action types. | string | | maxAttempts | The maximum number of times this action will attempt to run when scheduled. | number | | minimumLicenseRequired | The license required to use the action type. | string | -| supportedFeatureIds | List of IDs of the features that this action type is available in. Allowed values are `alerting`, `siem`, `uptime`, `cases`. See `x-pack/plugins/actions/common/connector_feature_config.ts` for the most up to date list. | string[] | +| supportedFeatureIds | List of IDs of the features that this action type is available in. Allowed values are `alerting`, `siem`, `uptime`, `cases`. See `x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts` for the most up to date list. | string[] | | validate.params | When developing an action type, it needs to accept parameters to know what to do with the action. (Example `to`, `from`, `subject`, `body` of an email). See the current built-in email action type for an example of the state-of-the-art validation.

Technically, the value of this property should have a property named `validate()` which is a function that takes a params object to validate and returns a sanitized version of that object to pass to the execution function. Validation errors should be thrown from the `validate()` function and will be available as an error message | schema / validation function | | validate.config | Similar to params, a config may be required when creating an action (for example `host` and `port` for an email server). | schema / validation function | | validate.secrets | Similar to params, a secrets object may be required when creating an action (for example `user` and `password` for an email server). | schema / validation function | @@ -187,7 +187,7 @@ When throwing an error in the `PreSave` hook, the Error's message will be used a ### Example The built-in email action type provides a good example of creating an action type with non-trivial configuration and params: -[x-pack/plugins/actions/server/builtin_action_types/email.ts](server/builtin_action_types/email.ts) +[x-pack/platform/plugins/shared/actions/server/builtin_action_types/email.ts](server/builtin_action_types/email.ts) ## RESTful API diff --git a/x-pack/plugins/actions/common/alert_history_schema.test.ts b/x-pack/platform/plugins/shared/actions/common/alert_history_schema.test.ts similarity index 100% rename from x-pack/plugins/actions/common/alert_history_schema.test.ts rename to x-pack/platform/plugins/shared/actions/common/alert_history_schema.test.ts diff --git a/x-pack/plugins/actions/common/alert_history_schema.ts b/x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts similarity index 100% rename from x-pack/plugins/actions/common/alert_history_schema.ts rename to x-pack/platform/plugins/shared/actions/common/alert_history_schema.ts diff --git a/x-pack/plugins/actions/common/connector_feature_config.test.ts b/x-pack/platform/plugins/shared/actions/common/connector_feature_config.test.ts similarity index 100% rename from x-pack/plugins/actions/common/connector_feature_config.test.ts rename to x-pack/platform/plugins/shared/actions/common/connector_feature_config.test.ts diff --git a/x-pack/plugins/actions/common/connector_feature_config.ts b/x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts similarity index 100% rename from x-pack/plugins/actions/common/connector_feature_config.ts rename to x-pack/platform/plugins/shared/actions/common/connector_feature_config.ts diff --git a/x-pack/plugins/actions/common/execution_log_types.ts b/x-pack/platform/plugins/shared/actions/common/execution_log_types.ts similarity index 100% rename from x-pack/plugins/actions/common/execution_log_types.ts rename to x-pack/platform/plugins/shared/actions/common/execution_log_types.ts diff --git a/x-pack/plugins/actions/common/index.ts b/x-pack/platform/plugins/shared/actions/common/index.ts similarity index 95% rename from x-pack/plugins/actions/common/index.ts rename to x-pack/platform/plugins/shared/actions/common/index.ts index 336ff003962a0..a28939f9e56aa 100644 --- a/x-pack/plugins/actions/common/index.ts +++ b/x-pack/platform/plugins/shared/actions/common/index.ts @@ -6,7 +6,6 @@ */ // TODO: https://github.com/elastic/kibana/issues/110895 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './types'; export * from './alert_history_schema'; diff --git a/x-pack/plugins/actions/common/mustache_template.test.ts b/x-pack/platform/plugins/shared/actions/common/mustache_template.test.ts similarity index 100% rename from x-pack/plugins/actions/common/mustache_template.test.ts rename to x-pack/platform/plugins/shared/actions/common/mustache_template.test.ts diff --git a/x-pack/plugins/actions/common/mustache_template.ts b/x-pack/platform/plugins/shared/actions/common/mustache_template.ts similarity index 100% rename from x-pack/plugins/actions/common/mustache_template.ts rename to x-pack/platform/plugins/shared/actions/common/mustache_template.ts diff --git a/x-pack/plugins/actions/common/rewrite_request_case.ts b/x-pack/platform/plugins/shared/actions/common/rewrite_request_case.ts similarity index 100% rename from x-pack/plugins/actions/common/rewrite_request_case.ts rename to x-pack/platform/plugins/shared/actions/common/rewrite_request_case.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/connector_types/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/connector_types/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/create/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/delete/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/execute/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/execute/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/execute/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/get/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/apis/update/types/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/index.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/index.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/index.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/index.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/schemas/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/schemas/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/schemas/v1.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/types/latest.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/latest.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/types/latest.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/latest.ts diff --git a/x-pack/plugins/actions/common/routes/connector/response/types/v1.ts b/x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/v1.ts similarity index 100% rename from x-pack/plugins/actions/common/routes/connector/response/types/v1.ts rename to x-pack/platform/plugins/shared/actions/common/routes/connector/response/types/v1.ts diff --git a/x-pack/plugins/actions/common/types.ts b/x-pack/platform/plugins/shared/actions/common/types.ts similarity index 100% rename from x-pack/plugins/actions/common/types.ts rename to x-pack/platform/plugins/shared/actions/common/types.ts diff --git a/x-pack/plugins/actions/common/validate_email_addresses.test.ts b/x-pack/platform/plugins/shared/actions/common/validate_email_addresses.test.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_email_addresses.test.ts rename to x-pack/platform/plugins/shared/actions/common/validate_email_addresses.test.ts diff --git a/x-pack/plugins/actions/common/validate_email_addresses.ts b/x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_email_addresses.ts rename to x-pack/platform/plugins/shared/actions/common/validate_email_addresses.ts diff --git a/x-pack/plugins/actions/common/validate_empty_strings.test.ts b/x-pack/platform/plugins/shared/actions/common/validate_empty_strings.test.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_empty_strings.test.ts rename to x-pack/platform/plugins/shared/actions/common/validate_empty_strings.test.ts diff --git a/x-pack/plugins/actions/common/validate_empty_strings.ts b/x-pack/platform/plugins/shared/actions/common/validate_empty_strings.ts similarity index 100% rename from x-pack/plugins/actions/common/validate_empty_strings.ts rename to x-pack/platform/plugins/shared/actions/common/validate_empty_strings.ts diff --git a/x-pack/plugins/actions/docs/openapi/README.md b/x-pack/platform/plugins/shared/actions/docs/openapi/README.md similarity index 65% rename from x-pack/plugins/actions/docs/openapi/README.md rename to x-pack/platform/plugins/shared/actions/docs/openapi/README.md index 052bcbc0db4c1..222c7bf5adcfe 100644 --- a/x-pack/plugins/actions/docs/openapi/README.md +++ b/x-pack/platform/plugins/shared/actions/docs/openapi/README.md @@ -2,4 +2,4 @@ This spec is experimental and may be incomplete or change later. -The files in this folder are referenced from the [OpenAPI overlay for connectors](../../../../../oas_docs/overlays/connectors.overlays.yaml). +The files in this folder are referenced from the [OpenAPI overlay for connectors](../../../../../../../oas_docs/overlays/connectors.overlays.yaml). diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/action_response_properties.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/action_response_properties.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/action_response_properties.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/action_response_properties.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/auth_type.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/auth_type.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/auth_type.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/auth_type.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/bedrock_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/bedrock_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/ca.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ca.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/ca.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/ca.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cases_webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/cert_type.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cert_type.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/cert_type.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/cert_type.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/connector_types.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/connector_types.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/connector_types.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/connector_types.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crowdstrike_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/crt.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crt.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/crt.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/crt.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/d3security_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/d3security_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/d3security_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/email_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/email_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/email_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/features.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/features.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/features.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/features.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/gemini_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/gemini_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/gemini_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_azure_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_azure_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_openai_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_openai_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/genai_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/genai_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/has_auth.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/has_auth.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/has_auth.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/has_auth.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/index_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/index_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/inference_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/inference_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/inference_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_deprecated.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_deprecated.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_deprecated.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_deprecated.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_missing_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_missing_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_missing_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_missing_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_preconfigured.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_preconfigured.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_preconfigured.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_preconfigured.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/is_system_action.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_system_action.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/is_system_action.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/is_system_action.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/jira_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/jira_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/jira_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/key.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/key.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/key.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/key.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/mapping_properties_swimlane.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/opsgenie_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pagerduty_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/pfx.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pfx.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/pfx.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/pfx.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/referenced_by_count.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/referenced_by_count.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/referenced_by_count.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/referenced_by_count.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/resilient_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/resilient_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/resilient_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_acknowledge_resolve_pagerduty.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_addevent.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_addevent.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_closealert.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closealert.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_closeincident.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_closeincident.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_createalert.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_createalert.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_documents.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_documents.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_fieldsbyissuetype.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getchoices.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getchoices.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getfields.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getfields.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_getincident.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_getincident.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issue.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issue.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issues.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issues.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_issuetypes.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_issuetypes.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_email.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_email.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_serverlog.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_serverlog.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_message_slack.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_message_slack.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_postmessage.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_postmessage.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_pushtoservice.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_pushtoservice.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_trigger_pagerduty.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/run_validchannelid.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/run_validchannelid.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/sentinelone_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_itom_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/servicenow_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/servicenow_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_api_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_api_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/slack_webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/swimlane_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/swimlane_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/teams_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/teams_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/thehive_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/thehive_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/thehive_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/tines_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/tines_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/tines_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/torq_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/torq_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/torq_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/verification_mode.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/verification_mode.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/verification_mode.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/verification_mode.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/webhook_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/webhook_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/webhook_secrets.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_config.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_config.yaml diff --git a/x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml b/x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml similarity index 100% rename from x-pack/plugins/actions/docs/openapi/components/schemas/xmatters_secrets.yaml rename to x-pack/platform/plugins/shared/actions/docs/openapi/components/schemas/xmatters_secrets.yaml diff --git a/x-pack/plugins/stack_connectors/jest.config.js b/x-pack/platform/plugins/shared/actions/jest.config.js similarity index 70% rename from x-pack/plugins/stack_connectors/jest.config.js rename to x-pack/platform/plugins/shared/actions/jest.config.js index 6bfda7da5ca5e..ec78c89a1e06e 100644 --- a/x-pack/plugins/stack_connectors/jest.config.js +++ b/x-pack/platform/plugins/shared/actions/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/stack_connectors'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/stack_connectors', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/actions'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/actions', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/stack_connectors/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/actions/{common,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/alerting/jest.integration.config.js b/x-pack/platform/plugins/shared/actions/jest.integration.config.js similarity index 77% rename from x-pack/plugins/alerting/jest.integration.config.js rename to x-pack/platform/plugins/shared/actions/jest.integration.config.js index a77ce935061fd..8593abe2b95e0 100644 --- a/x-pack/plugins/alerting/jest.integration.config.js +++ b/x-pack/platform/plugins/shared/actions/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/alerting'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/actions'], }; diff --git a/x-pack/plugins/actions/kibana.jsonc b/x-pack/platform/plugins/shared/actions/kibana.jsonc similarity index 100% rename from x-pack/plugins/actions/kibana.jsonc rename to x-pack/platform/plugins/shared/actions/kibana.jsonc diff --git a/x-pack/plugins/actions/public/index.ts b/x-pack/platform/plugins/shared/actions/public/index.ts similarity index 100% rename from x-pack/plugins/actions/public/index.ts rename to x-pack/platform/plugins/shared/actions/public/index.ts diff --git a/x-pack/plugins/actions/public/plugin.test.ts b/x-pack/platform/plugins/shared/actions/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/actions/public/plugin.test.ts rename to x-pack/platform/plugins/shared/actions/public/plugin.test.ts diff --git a/x-pack/plugins/actions/public/plugin.ts b/x-pack/platform/plugins/shared/actions/public/plugin.ts similarity index 100% rename from x-pack/plugins/actions/public/plugin.ts rename to x-pack/platform/plugins/shared/actions/public/plugin.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.mock.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.mock.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.mock.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.test.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.test.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.test.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.test.ts diff --git a/x-pack/plugins/actions/server/action_type_registry.ts b/x-pack/platform/plugins/shared/actions/server/action_type_registry.ts similarity index 100% rename from x-pack/plugins/actions/server/action_type_registry.ts rename to x-pack/platform/plugins/shared/actions/server/action_type_registry.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.mock.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.test.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client.ts diff --git a/x-pack/plugins/actions/server/actions_client/actions_client_hooks.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/actions_client_hooks.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/actions_client_hooks.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/actions_client_hooks.test.ts diff --git a/x-pack/plugins/actions/server/actions_client/index.ts b/x-pack/platform/plugins/shared/actions/server/actions_client/index.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_client/index.ts rename to x-pack/platform/plugins/shared/actions/server/actions_client/index.ts diff --git a/x-pack/plugins/actions/server/actions_config.mock.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.mock.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.mock.ts diff --git a/x-pack/plugins/actions/server/actions_config.test.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.test.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.test.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.test.ts diff --git a/x-pack/plugins/actions/server/actions_config.ts b/x-pack/platform/plugins/shared/actions/server/actions_config.ts similarity index 100% rename from x-pack/plugins/actions/server/actions_config.ts rename to x-pack/platform/plugins/shared/actions/server/actions_config.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/connector_from_save_object.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/connector_from_save_object.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/connector_from_save_object.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/connector_from_save_object.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts similarity index 96% rename from x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts index 5946ed07bab74..5bf7b73ad8015 100644 --- a/x-pack/plugins/actions/server/application/connector/lib/is_connector_deprecated.ts +++ b/x-pack/platform/plugins/shared/actions/server/application/connector/lib/is_connector_deprecated.ts @@ -36,7 +36,7 @@ export const isConnectorDeprecated = ( * If the usesTableApi is not defined it means that the connector is created * before the introduction of the usesTableApi property. In that case, the connector is assumed * to be deprecated because all connectors prior 7.16 where using the Table API. - * Migrations x-pack/plugins/actions/server/saved_objects/actions_migrations.ts set + * Migrations x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts set * the usesTableApi property to true to all connectors prior 7.16. Pre configured connectors * cannot be migrated. This check ensures that pre configured connectors without the * usesTableApi property explicitly in the kibana.yml file are considered deprecated. diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/create.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/create.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/create.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/create/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/create/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/execute.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/execute.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/execute.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/execute.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/execute/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/execute/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/execute/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/get.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/get.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/get.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/get.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get/types/params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get/types/params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/get_all.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/types/params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/get_all/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/get_all/types/params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.test.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.test.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/list_types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/list_types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/schemas/list_types_params_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/list_types/types/list_types_params.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/list_types_params.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/list_types/types/list_types_params.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/list_types/types/list_types_params.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/types/types.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/types/types.ts diff --git a/x-pack/plugins/actions/server/application/connector/methods/update/update.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/methods/update/update.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/methods/update/update.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/connector_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/connector_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/connector_type_schema.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_type_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/connector_type_schema.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/connector_type_schema.ts diff --git a/x-pack/plugins/actions/server/application/connector/schemas/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/schemas/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/schemas/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/schemas/index.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/connector.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/connector.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/connector.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/connector.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/connector_type.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/connector_type.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/connector_type.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/connector_type.ts diff --git a/x-pack/plugins/actions/server/application/connector/types/index.ts b/x-pack/platform/plugins/shared/actions/server/application/connector/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/application/connector/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/application/connector/types/index.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.mock.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.mock.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.mock.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.test.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.test.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.test.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.test.ts diff --git a/x-pack/plugins/actions/server/authorization/actions_authorization.ts b/x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.ts similarity index 100% rename from x-pack/plugins/actions/server/authorization/actions_authorization.ts rename to x-pack/platform/plugins/shared/actions/server/authorization/actions_authorization.ts diff --git a/x-pack/plugins/actions/server/config.test.ts b/x-pack/platform/plugins/shared/actions/server/config.test.ts similarity index 100% rename from x-pack/plugins/actions/server/config.test.ts rename to x-pack/platform/plugins/shared/actions/server/config.test.ts diff --git a/x-pack/plugins/actions/server/config.ts b/x-pack/platform/plugins/shared/actions/server/config.ts similarity index 100% rename from x-pack/plugins/actions/server/config.ts rename to x-pack/platform/plugins/shared/actions/server/config.ts diff --git a/x-pack/plugins/actions/server/constants/event_log.ts b/x-pack/platform/plugins/shared/actions/server/constants/event_log.ts similarity index 100% rename from x-pack/plugins/actions/server/constants/event_log.ts rename to x-pack/platform/plugins/shared/actions/server/constants/event_log.ts diff --git a/x-pack/plugins/actions/server/constants/plugin.ts b/x-pack/platform/plugins/shared/actions/server/constants/plugin.ts similarity index 90% rename from x-pack/plugins/actions/server/constants/plugin.ts rename to x-pack/platform/plugins/shared/actions/server/constants/plugin.ts index 0d9d147275f07..f385e2e435259 100644 --- a/x-pack/plugins/actions/server/constants/plugin.ts +++ b/x-pack/platform/plugins/shared/actions/server/constants/plugin.ts @@ -10,7 +10,7 @@ import { LicenseType } from '@kbn/licensing-plugin/server'; export const PLUGIN = { ID: 'actions', MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType, // TODO: supposed to be changed up on requirements - // eslint-disable-next-line @typescript-eslint/no-explicit-any + getI18nName: (i18n: any): string => i18n.translate('xpack.actions.appName', { defaultMessage: 'Actions', diff --git a/x-pack/plugins/actions/server/constants/saved_objects.ts b/x-pack/platform/plugins/shared/actions/server/constants/saved_objects.ts similarity index 100% rename from x-pack/plugins/actions/server/constants/saved_objects.ts rename to x-pack/platform/plugins/shared/actions/server/constants/saved_objects.ts diff --git a/x-pack/plugins/actions/server/create_execute_function.test.ts b/x-pack/platform/plugins/shared/actions/server/create_execute_function.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_execute_function.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_execute_function.test.ts diff --git a/x-pack/plugins/actions/server/create_execute_function.ts b/x-pack/platform/plugins/shared/actions/server/create_execute_function.ts similarity index 100% rename from x-pack/plugins/actions/server/create_execute_function.ts rename to x-pack/platform/plugins/shared/actions/server/create_execute_function.ts diff --git a/x-pack/plugins/actions/server/create_system_actions.test.ts b/x-pack/platform/plugins/shared/actions/server/create_system_actions.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_system_actions.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_system_actions.test.ts diff --git a/x-pack/plugins/actions/server/create_system_actions.ts b/x-pack/platform/plugins/shared/actions/server/create_system_actions.ts similarity index 100% rename from x-pack/plugins/actions/server/create_system_actions.ts rename to x-pack/platform/plugins/shared/actions/server/create_system_actions.ts diff --git a/x-pack/plugins/actions/server/create_unsecured_execute_function.test.ts b/x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.test.ts similarity index 100% rename from x-pack/plugins/actions/server/create_unsecured_execute_function.test.ts rename to x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.test.ts diff --git a/x-pack/plugins/actions/server/create_unsecured_execute_function.ts b/x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.ts similarity index 100% rename from x-pack/plugins/actions/server/create_unsecured_execute_function.ts rename to x-pack/platform/plugins/shared/actions/server/create_unsecured_execute_function.ts diff --git a/x-pack/plugins/actions/server/data/connector/constants.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/constants.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/constants.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/constants.ts diff --git a/x-pack/plugins/actions/server/data/connector/find_connectors_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/find_connectors_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/find_connectors_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/find_connectors_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/get_connector_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/get_connector_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/get_connector_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/get_connector_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/index.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/index.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/index.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/index.ts diff --git a/x-pack/plugins/actions/server/data/connector/search_connectors_so.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/search_connectors_so.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/search_connectors_so.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/search_connectors_so.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/find_connectors_so_result.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/find_connectors_so_result.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/find_connectors_so_result.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/find_connectors_so_result.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/get_connector_so_result.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/get_connector_so_result.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/get_connector_so_result.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/get_connector_so_result.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/index.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/index.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/index.ts diff --git a/x-pack/plugins/actions/server/data/connector/types/params.ts b/x-pack/platform/plugins/shared/actions/server/data/connector/types/params.ts similarity index 100% rename from x-pack/plugins/actions/server/data/connector/types/params.ts rename to x-pack/platform/plugins/shared/actions/server/data/connector/types/params.ts diff --git a/x-pack/plugins/actions/server/feature.ts b/x-pack/platform/plugins/shared/actions/server/feature.ts similarity index 100% rename from x-pack/plugins/actions/server/feature.ts rename to x-pack/platform/plugins/shared/actions/server/feature.ts diff --git a/x-pack/plugins/actions/server/index.ts b/x-pack/platform/plugins/shared/actions/server/index.ts similarity index 100% rename from x-pack/plugins/actions/server/index.ts rename to x-pack/platform/plugins/shared/actions/server/index.ts diff --git a/x-pack/plugins/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap b/x-pack/platform/plugins/shared/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap rename to x-pack/platform/plugins/shared/actions/server/integration_tests/__snapshots__/connector_types.test.ts.snap diff --git a/x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts similarity index 99% rename from x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts index 99559e8ce6b68..f7eb05ba1caaf 100644 --- a/x-pack/plugins/actions/server/integration_tests/axios_utils_connection.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_connection.test.ts @@ -32,7 +32,7 @@ import { getFips } from 'crypto'; const logger = loggingSystemMock.create().get() as jest.Mocked; -const CERT_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CERT_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const MOCK_CERT_DIR = '../mock_certs'; const KIBANA_CRT_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.crt')); @@ -61,7 +61,7 @@ const AuthB64 = Buffer.from(Auth).toString('base64'); describe('axios connections', () => { let testServer: http.Server | https.Server | null; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + let savedAxiosDefaultsAdapter: any; beforeEach(() => { diff --git a/x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts similarity index 99% rename from x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts index 97a917d6b6893..6d5e98ee236ce 100644 --- a/x-pack/plugins/actions/server/integration_tests/axios_utils_proxy.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/integration_tests/axios_utils_proxy.test.ts @@ -31,7 +31,7 @@ import { const logger = loggingSystemMock.create().get() as jest.Mocked; -const CERT_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CERT_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const KIBANA_CRT_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.crt')); const KIBANA_KEY_FILE = pathResolve(__filename, pathJoin(CERT_DIR, 'kibana.key')); @@ -48,7 +48,7 @@ const ServerResponse = 'A unique response returned by the server!'; describe('axios connections', () => { let testServer: http.Server | https.Server | null; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + let savedAxiosDefaultsAdapter: any; beforeEach(() => { diff --git a/x-pack/plugins/actions/server/integration_tests/connector_types.test.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/connector_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/connector_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/connector_types.test.ts diff --git a/x-pack/plugins/actions/server/integration_tests/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/lib/index.ts diff --git a/x-pack/plugins/actions/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.crt b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.crt similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.crt rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.crt diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.key b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.key similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized.key rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized.key diff --git a/x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized_ca.crt b/x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized_ca.crt similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mock_certs/unauthorized_ca.crt rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mock_certs/unauthorized_ca.crt diff --git a/x-pack/plugins/actions/server/integration_tests/mocks/connector_types.ts b/x-pack/platform/plugins/shared/actions/server/integration_tests/mocks/connector_types.ts similarity index 100% rename from x-pack/plugins/actions/server/integration_tests/mocks/connector_types.ts rename to x-pack/platform/plugins/shared/actions/server/integration_tests/mocks/connector_types.ts diff --git a/x-pack/plugins/actions/server/lib/action_execution_source.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_execution_source.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_execution_source.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.mock.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.test.ts diff --git a/x-pack/plugins/actions/server/lib/action_executor.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_executor.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_executor.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_executor.ts diff --git a/x-pack/plugins/actions/server/lib/action_task_params_utils.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_task_params_utils.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.test.ts diff --git a/x-pack/plugins/actions/server/lib/action_task_params_utils.ts b/x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/action_task_params_utils.ts rename to x-pack/platform/plugins/shared/actions/server/lib/action_task_params_utils.ts diff --git a/x-pack/plugins/actions/server/lib/audit_events.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/audit_events.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/audit_events.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/audit_events.test.ts diff --git a/x-pack/plugins/actions/server/lib/audit_events.ts b/x-pack/platform/plugins/shared/actions/server/lib/audit_events.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/audit_events.ts rename to x-pack/platform/plugins/shared/actions/server/lib/audit_events.ts diff --git a/x-pack/plugins/actions/server/lib/axios_utils.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/axios_utils.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/axios_utils.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/axios_utils.test.ts diff --git a/x-pack/plugins/actions/server/lib/axios_utils.ts b/x-pack/platform/plugins/shared/actions/server/lib/axios_utils.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/axios_utils.ts rename to x-pack/platform/plugins/shared/actions/server/lib/axios_utils.ts diff --git a/x-pack/plugins/actions/server/lib/bidirectional_connectors.ts b/x-pack/platform/plugins/shared/actions/server/lib/bidirectional_connectors.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/bidirectional_connectors.ts rename to x-pack/platform/plugins/shared/actions/server/lib/bidirectional_connectors.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.mock.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.test.ts diff --git a/x-pack/plugins/actions/server/lib/connector_token_client.ts b/x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/connector_token_client.ts rename to x-pack/platform/plugins/shared/actions/server/lib/connector_token_client.ts diff --git a/x-pack/plugins/actions/server/lib/create_action_event_log_record_object.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_action_event_log_record_object.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.test.ts diff --git a/x-pack/plugins/actions/server/lib/create_action_event_log_record_object.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_action_event_log_record_object.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_action_event_log_record_object.ts diff --git a/x-pack/plugins/actions/server/lib/create_jwt_assertion.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_jwt_assertion.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.test.ts diff --git a/x-pack/plugins/actions/server/lib/create_jwt_assertion.ts b/x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/create_jwt_assertion.ts rename to x-pack/platform/plugins/shared/actions/server/lib/create_jwt_assertion.ts diff --git a/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts similarity index 99% rename from x-pack/plugins/actions/server/lib/custom_host_settings.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts index f9173f5e007d0..4b0b0d5b5d6bb 100644 --- a/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.test.ts @@ -21,7 +21,7 @@ import { DEFAULT_MICROSOFT_EXCHANGE_URL, } from '../../common'; -const CA_DIR = '../../../../../../packages/kbn-dev-utils/certs'; +const CA_DIR = '../../../../../../../../packages/kbn-dev-utils/certs'; const CA_FILE1 = pathResolve(__filename, pathJoin(CA_DIR, 'ca.crt')); const CA_CONTENTS1 = fsReadFileSync(CA_FILE1, 'utf8'); const CA_FILE2 = pathResolve(__filename, pathJoin(CA_DIR, 'kibana.crt')); diff --git a/x-pack/plugins/actions/server/lib/custom_host_settings.ts b/x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/custom_host_settings.ts rename to x-pack/platform/plugins/shared/actions/server/lib/custom_host_settings.ts diff --git a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts similarity index 96% rename from x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts index 5cd2fec223ffc..88c5bad62ee8f 100644 --- a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.test.ts @@ -65,7 +65,7 @@ describe('ensureSufficientLicense()', () => { ensureSufficientLicense({ ...sampleActionType, // we're faking an invalid value, this requires stripping the typing - // eslint-disable-next-line @typescript-eslint/no-explicit-any + minimumLicenseRequired: 'foo' as any, }) ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); diff --git a/x-pack/plugins/actions/server/lib/ensure_sufficient_license.ts b/x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/ensure_sufficient_license.ts rename to x-pack/platform/plugins/shared/actions/server/lib/ensure_sufficient_license.ts diff --git a/x-pack/plugins/actions/server/lib/errors/action_execution_error.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/action_execution_error.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/action_execution_error.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/action_execution_error.ts diff --git a/x-pack/plugins/actions/server/lib/errors/action_type_disabled.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/action_type_disabled.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/action_type_disabled.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/action_type_disabled.ts diff --git a/x-pack/plugins/actions/server/lib/errors/index.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/index.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/index.ts diff --git a/x-pack/plugins/actions/server/lib/errors/preconfigured_action_disabled_modification.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/preconfigured_action_disabled_modification.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/preconfigured_action_disabled_modification.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/preconfigured_action_disabled_modification.ts diff --git a/x-pack/plugins/actions/server/lib/errors/types.ts b/x-pack/platform/plugins/shared/actions/server/lib/errors/types.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/errors/types.ts rename to x-pack/platform/plugins/shared/actions/server/lib/errors/types.ts diff --git a/x-pack/plugins/actions/server/lib/event_based_telemetry.ts b/x-pack/platform/plugins/shared/actions/server/lib/event_based_telemetry.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/event_based_telemetry.ts rename to x-pack/platform/plugins/shared/actions/server/lib/event_based_telemetry.ts diff --git a/x-pack/plugins/actions/server/lib/gen_ai_token_tracking.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/gen_ai_token_tracking.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.test.ts diff --git a/x-pack/plugins/actions/server/lib/gen_ai_token_tracking.ts b/x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/gen_ai_token_tracking.ts rename to x-pack/platform/plugins/shared/actions/server/lib/gen_ai_token_tracking.ts diff --git a/x-pack/plugins/actions/server/lib/get_action_type_feature_usage_name.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_action_type_feature_usage_name.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_action_type_feature_usage_name.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_action_type_feature_usage_name.ts diff --git a/x-pack/plugins/actions/server/lib/get_basic_auth_header.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_basic_auth_header.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_basic_auth_header.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_basic_auth_header.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_basic_auth_header.ts diff --git a/x-pack/plugins/actions/server/lib/get_custom_agents.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_custom_agents.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_custom_agents.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_custom_agents.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_custom_agents.ts diff --git a/x-pack/plugins/actions/server/lib/get_execution_log_aggregation.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_execution_log_aggregation.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_execution_log_aggregation.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_execution_log_aggregation.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_execution_log_aggregation.ts diff --git a/x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_gcp_oauth_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_gcp_oauth_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_node_ssl_options.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_node_ssl_options.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_node_ssl_options.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_node_ssl_options.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_node_ssl_options.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_client_credentials_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_client_credentials_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_oauth_jwt_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_oauth_jwt_access_token.ts diff --git a/x-pack/plugins/actions/server/lib/get_system_action_kibana_privileges.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_system_action_kibana_privileges.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_system_action_kibana_privileges.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_system_action_kibana_privileges.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_converse.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_converse.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_converse.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_converse.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_bedrock_invoke.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_bedrock_invoke.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_async_iterator.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_async_iterator.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_invoke_stream.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_invoke_stream.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.test.ts diff --git a/x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.ts b/x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/get_token_count_from_openai_stream.ts rename to x-pack/platform/plugins/shared/actions/server/lib/get_token_count_from_openai_stream.ts diff --git a/x-pack/plugins/actions/server/lib/has_reached_queued_action_limit.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_action_limit.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/has_reached_queued_action_limit.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_action_limit.test.ts diff --git a/x-pack/plugins/actions/server/lib/has_reached_queued_actions_limit.ts b/x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_actions_limit.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/has_reached_queued_actions_limit.ts rename to x-pack/platform/plugins/shared/actions/server/lib/has_reached_queued_actions_limit.ts diff --git a/x-pack/plugins/actions/server/lib/index.ts b/x-pack/platform/plugins/shared/actions/server/lib/index.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/index.ts rename to x-pack/platform/plugins/shared/actions/server/lib/index.ts diff --git a/x-pack/plugins/actions/server/lib/is_preconfigured.ts b/x-pack/platform/plugins/shared/actions/server/lib/is_preconfigured.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/is_preconfigured.ts rename to x-pack/platform/plugins/shared/actions/server/lib/is_preconfigured.ts diff --git a/x-pack/plugins/actions/server/lib/is_system_action.ts b/x-pack/platform/plugins/shared/actions/server/lib/is_system_action.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/is_system_action.ts rename to x-pack/platform/plugins/shared/actions/server/lib/is_system_action.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.mock.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.mock.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.mock.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.test.ts diff --git a/x-pack/plugins/actions/server/lib/license_state.ts b/x-pack/platform/plugins/shared/actions/server/lib/license_state.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/license_state.ts rename to x-pack/platform/plugins/shared/actions/server/lib/license_state.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_lambdas.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_lambdas.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.test.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_lambdas.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_lambdas.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_lambdas.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_renderer.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/mustache_renderer.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.test.ts diff --git a/x-pack/plugins/actions/server/lib/mustache_renderer.ts b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts similarity index 98% rename from x-pack/plugins/actions/server/lib/mustache_renderer.ts rename to x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts index 06f067493468b..2489391a0985d 100644 --- a/x-pack/plugins/actions/server/lib/mustache_renderer.ts +++ b/x-pack/platform/plugins/shared/actions/server/lib/mustache_renderer.ts @@ -113,7 +113,7 @@ function addToStringDeep(object: unknown): void { // walk arrays, but don't add a toString() as mustache already does something if (Array.isArray(object)) { // instead, add an asJSON() - // eslint-disable-next-line @typescript-eslint/no-explicit-any + (object as any).asJSON = () => JSON.stringify(object); object.forEach((element) => addToStringDeep(element)); return; diff --git a/x-pack/plugins/actions/server/lib/number_formatter.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/number_formatter.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/number_formatter.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/number_formatter.test.ts diff --git a/x-pack/plugins/actions/server/lib/number_formatter.ts b/x-pack/platform/plugins/shared/actions/server/lib/number_formatter.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/number_formatter.ts rename to x-pack/platform/plugins/shared/actions/server/lib/number_formatter.ts diff --git a/x-pack/plugins/actions/server/lib/parse_date.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/parse_date.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/parse_date.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/parse_date.test.ts diff --git a/x-pack/plugins/actions/server/lib/parse_date.ts b/x-pack/platform/plugins/shared/actions/server/lib/parse_date.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/parse_date.ts rename to x-pack/platform/plugins/shared/actions/server/lib/parse_date.ts diff --git a/x-pack/plugins/actions/server/lib/related_saved_objects.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/related_saved_objects.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.test.ts diff --git a/x-pack/plugins/actions/server/lib/related_saved_objects.ts b/x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/related_saved_objects.ts rename to x-pack/platform/plugins/shared/actions/server/lib/related_saved_objects.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_client_credentials_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_client_credentials_token.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_jwt_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_jwt_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_jwt_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_jwt_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_jwt_token.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_token.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.test.ts diff --git a/x-pack/plugins/actions/server/lib/request_oauth_token.ts b/x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/request_oauth_token.ts rename to x-pack/platform/plugins/shared/actions/server/lib/request_oauth_token.ts diff --git a/x-pack/plugins/actions/server/lib/retry_if_conflicts.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/retry_if_conflicts.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.test.ts diff --git a/x-pack/plugins/actions/server/lib/retry_if_conflicts.ts b/x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/retry_if_conflicts.ts rename to x-pack/platform/plugins/shared/actions/server/lib/retry_if_conflicts.ts diff --git a/x-pack/plugins/actions/server/lib/space_id_to_namespace.ts b/x-pack/platform/plugins/shared/actions/server/lib/space_id_to_namespace.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/space_id_to_namespace.ts rename to x-pack/platform/plugins/shared/actions/server/lib/space_id_to_namespace.ts diff --git a/x-pack/plugins/actions/server/lib/task_runner_factory.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/task_runner_factory.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.test.ts diff --git a/x-pack/plugins/actions/server/lib/task_runner_factory.ts b/x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/task_runner_factory.ts rename to x-pack/platform/plugins/shared/actions/server/lib/task_runner_factory.ts diff --git a/x-pack/plugins/actions/server/lib/track_legacy_route_usage.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/track_legacy_route_usage.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.test.ts diff --git a/x-pack/plugins/actions/server/lib/track_legacy_route_usage.ts b/x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/track_legacy_route_usage.ts rename to x-pack/platform/plugins/shared/actions/server/lib/track_legacy_route_usage.ts diff --git a/x-pack/plugins/actions/server/lib/try_catch.ts b/x-pack/platform/plugins/shared/actions/server/lib/try_catch.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/try_catch.ts rename to x-pack/platform/plugins/shared/actions/server/lib/try_catch.ts diff --git a/x-pack/plugins/actions/server/lib/validate_with_schema.test.ts b/x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.test.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/validate_with_schema.test.ts rename to x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.test.ts diff --git a/x-pack/plugins/actions/server/lib/validate_with_schema.ts b/x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/validate_with_schema.ts rename to x-pack/platform/plugins/shared/actions/server/lib/validate_with_schema.ts diff --git a/x-pack/plugins/actions/server/lib/verify_api_access.ts b/x-pack/platform/plugins/shared/actions/server/lib/verify_api_access.ts similarity index 100% rename from x-pack/plugins/actions/server/lib/verify_api_access.ts rename to x-pack/platform/plugins/shared/actions/server/lib/verify_api_access.ts diff --git a/x-pack/plugins/actions/server/manual_tests/forward_proxy.js b/x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js similarity index 96% rename from x-pack/plugins/actions/server/manual_tests/forward_proxy.js rename to x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js index 5b97d9b9b0d3e..a2d4a0f96bcff 100644 --- a/x-pack/plugins/actions/server/manual_tests/forward_proxy.js +++ b/x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js @@ -14,7 +14,7 @@ work as expected. # start 4 proxies: -node x-pack/plugins/actions/server/manual_tests/forward_proxy.js http-8080-open http-8081-auth https-8443-open https-8444-auth +node x-pack/platform/plugins/shared/actions/server/manual_tests/forward_proxy.js http-8080-open http-8081-auth https-8443-open https-8444-auth # issue some requests through the proxies @@ -43,7 +43,7 @@ const https = require('https'); const proxy = require('proxy'); const PROGRAM = path.basename(__filename).replace(/.js$/, ''); -const CertDir = path.resolve(__dirname, '../../../../../packages/kbn-dev-utils/certs'); +const CertDir = path.resolve(__dirname, '../../../../../../../packages/kbn-dev-utils/certs'); const Auth = 'elastic:changeme'; const AuthB64 = Buffer.from(Auth).toString('base64'); diff --git a/x-pack/plugins/actions/server/mocks.ts b/x-pack/platform/plugins/shared/actions/server/mocks.ts similarity index 100% rename from x-pack/plugins/actions/server/mocks.ts rename to x-pack/platform/plugins/shared/actions/server/mocks.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.mock.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.mock.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.mock.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/in_memory_metrics.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/in_memory_metrics.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/in_memory_metrics.ts diff --git a/x-pack/plugins/actions/server/monitoring/index.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/index.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/index.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/index.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_cluster_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_cluster_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_cluster_collector.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_cluster_collector.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_cluster_collector.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_node_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_node_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.test.ts diff --git a/x-pack/plugins/actions/server/monitoring/register_node_collector.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/register_node_collector.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/register_node_collector.ts diff --git a/x-pack/plugins/actions/server/monitoring/types.ts b/x-pack/platform/plugins/shared/actions/server/monitoring/types.ts similarity index 100% rename from x-pack/plugins/actions/server/monitoring/types.ts rename to x-pack/platform/plugins/shared/actions/server/monitoring/types.ts diff --git a/x-pack/plugins/actions/server/plugin.test.ts b/x-pack/platform/plugins/shared/actions/server/plugin.test.ts similarity index 96% rename from x-pack/plugins/actions/server/plugin.test.ts rename to x-pack/platform/plugins/shared/actions/server/plugin.test.ts index f5de52810b162..2b127b68ba9a6 100644 --- a/x-pack/plugins/actions/server/plugin.test.ts +++ b/x-pack/platform/plugins/shared/actions/server/plugin.test.ts @@ -298,7 +298,7 @@ describe('Actions Plugin', () => { beforeEach(async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + setup = await plugin.setup(coreSetup as any, pluginsSetup); }); @@ -307,7 +307,7 @@ describe('Actions Plugin', () => { setup.registerType({ ...sampleActionType, // we're faking an invalid value, this requires stripping the typing - // eslint-disable-next-line @typescript-eslint/no-explicit-any + minimumLicenseRequired: 'foo' as any, }) ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); @@ -358,7 +358,7 @@ describe('Actions Plugin', () => { it('should correctly return whether connector is preconfigured', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); expect(pluginSetup.isPreconfiguredConnector('preconfiguredServerLog')).toEqual(true); @@ -386,7 +386,7 @@ describe('Actions Plugin', () => { it('should set connector type enabled', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); const coreStart = coreMock.createStart(); const pluginsStart = { @@ -429,7 +429,7 @@ describe('Actions Plugin', () => { it('should set connector type enabled and check isActionTypeEnabled with plugin setup method', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ @@ -466,7 +466,7 @@ describe('Actions Plugin', () => { it('should set all the connector types enabled when null or ["*"] passed', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); const coreStart = coreMock.createStart(); const pluginsStart = { @@ -509,7 +509,7 @@ describe('Actions Plugin', () => { it('should set all the connector types disabled when [] passed', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); const coreStart = coreMock.createStart(); const pluginsStart = { @@ -552,7 +552,7 @@ describe('Actions Plugin', () => { it('should throw if the enabledActionTypes is already set by the config', async () => { setup({ ...getConfig(), enabledActionTypes: ['.email'] }); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); expect(() => pluginSetup.setEnabledConnectorTypes(['.index'])).toThrow( @@ -702,7 +702,7 @@ describe('Actions Plugin', () => { it('should handle preconfigured actions', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ id: '.server-log', @@ -728,7 +728,6 @@ describe('Actions Plugin', () => { it('should handle preconfiguredAlertHistoryEsIndex = true', async () => { setup(getConfig({ preconfiguredAlertHistoryEsIndex: true })); - // eslint-disable-next-line @typescript-eslint/no-explicit-any const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ id: '.index', @@ -765,7 +764,7 @@ describe('Actions Plugin', () => { }) ); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + await plugin.setup(coreSetup as any, pluginsSetup); const pluginStart = await plugin.start(coreStart, pluginsStart); @@ -780,7 +779,7 @@ describe('Actions Plugin', () => { it('should set system actions correctly', async () => { setup(getConfig()); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); const platinumLicense = licensingMock.createLicense({ @@ -848,7 +847,7 @@ describe('Actions Plugin', () => { ); // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ @@ -890,7 +889,7 @@ describe('Actions Plugin', () => { it('passes through the notifyUsage option when set to true', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType(actionType); const pluginStart = plugin.start(coreStart, pluginsStart); @@ -918,7 +917,7 @@ describe('Actions Plugin', () => { it('passes through the notifyUsage option when set to true', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType(actionType); const pluginStart = plugin.start(coreStart, pluginsStart); @@ -933,7 +932,7 @@ describe('Actions Plugin', () => { describe('getActionsHealth()', () => { it('should return hasPermanentEncryptionKey false if canEncrypt of encryptedSavedObjects is false', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); expect(pluginSetup.getActionsHealth()).toEqual({ hasPermanentEncryptionKey: false }); }); @@ -952,7 +951,7 @@ describe('Actions Plugin', () => { describe('isSystemActionConnector()', () => { it('should return true if the connector is a system connector', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ @@ -975,7 +974,7 @@ describe('Actions Plugin', () => { it('should return false if the connector is not a system connector', async () => { // coreMock.createSetup doesn't support Plugin generics - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const pluginSetup = await plugin.setup(coreSetup as any, pluginsSetup); pluginSetup.registerType({ diff --git a/x-pack/plugins/actions/server/plugin.ts b/x-pack/platform/plugins/shared/actions/server/plugin.ts similarity index 100% rename from x-pack/plugins/actions/server/plugin.ts rename to x-pack/platform/plugins/shared/actions/server/plugin.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/alert_history_es_index.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.test.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/create_alert_history_index_template.ts diff --git a/x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json b/x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json similarity index 100% rename from x-pack/plugins/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json rename to x-pack/platform/plugins/shared/actions/server/preconfigured_connectors/alert_history_es_index/mappings.json diff --git a/x-pack/plugins/actions/server/routes/_mock_handler_arguments.ts b/x-pack/platform/plugins/shared/actions/server/routes/_mock_handler_arguments.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/_mock_handler_arguments.ts rename to x-pack/platform/plugins/shared/actions/server/routes/_mock_handler_arguments.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/common_transforms/transform_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/create.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/create.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/create.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/create.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/create.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/create/transforms/transform_connector_body/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/delete.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/delete.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/delete.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/delete.ts diff --git a/x-pack/plugins/actions/server/routes/connector/delete/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/delete/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/delete/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/delete/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/execute.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/execute.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/execute.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/execute.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/execute/transforms/transform_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/get.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/get.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/get.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/get.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/get.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/get_all.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/get_all.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/get_all.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/get_all.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all/transforms/transform_connectors_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/get_all_system.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/get_all_system.ts diff --git a/x-pack/plugins/actions/server/routes/connector/get_all_system/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/get_all_system/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/get_all_system/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/list_types.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/list_types.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/list_types.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/list_types.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types/transforms/transform_list_types_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/list_types_system/list_types_system.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/list_types_system/list_types_system.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/index.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/latest.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/transforms/transform_update_connector_response/v1.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/update.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/update.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.test.ts diff --git a/x-pack/plugins/actions/server/routes/connector/update/update.ts b/x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/connector/update/update.ts rename to x-pack/platform/plugins/shared/actions/server/routes/connector/update/update.ts diff --git a/x-pack/plugins/actions/server/routes/constants.ts b/x-pack/platform/plugins/shared/actions/server/routes/constants.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/constants.ts rename to x-pack/platform/plugins/shared/actions/server/routes/constants.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_kpi.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_kpi.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_kpi.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_logs.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_logs.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_global_execution_logs.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_global_execution_logs.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_global_execution_logs.ts diff --git a/x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_oauth_access_token.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.test.ts diff --git a/x-pack/plugins/actions/server/routes/get_oauth_access_token.ts b/x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/get_oauth_access_token.ts rename to x-pack/platform/plugins/shared/actions/server/routes/get_oauth_access_token.ts diff --git a/x-pack/plugins/actions/server/routes/index.ts b/x-pack/platform/plugins/shared/actions/server/routes/index.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/index.ts rename to x-pack/platform/plugins/shared/actions/server/routes/index.ts diff --git a/x-pack/plugins/actions/server/routes/rewrite_namespaces.ts b/x-pack/platform/plugins/shared/actions/server/routes/rewrite_namespaces.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/rewrite_namespaces.ts rename to x-pack/platform/plugins/shared/actions/server/routes/rewrite_namespaces.ts diff --git a/x-pack/plugins/actions/server/routes/verify_access_and_context.test.ts b/x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.test.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/verify_access_and_context.test.ts rename to x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.test.ts diff --git a/x-pack/plugins/actions/server/routes/verify_access_and_context.ts b/x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.ts similarity index 100% rename from x-pack/plugins/actions/server/routes/verify_access_and_context.ts rename to x-pack/platform/plugins/shared/actions/server/routes/verify_access_and_context.ts diff --git a/x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/action_task_params_migrations.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/action_task_params_migrations.ts diff --git a/x-pack/plugins/actions/server/saved_objects/actions_migrations.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/actions_migrations.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/actions_migrations.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/actions_migrations.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/actions_migrations.ts diff --git a/x-pack/plugins/actions/server/saved_objects/get_import_warnings.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/get_import_warnings.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/get_import_warnings.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/get_import_warnings.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/get_import_warnings.ts diff --git a/x-pack/plugins/actions/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/mappings.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/mappings.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/mappings.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/mappings.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/action_task_params_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/connector_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/connector_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/connector_token_model_versions.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_token_model_versions.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/connector_token_model_versions.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/connector_token_model_versions.ts diff --git a/x-pack/plugins/actions/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/action_task_params/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/action_task_params/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/index.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/index.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/index.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/index.ts diff --git a/x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/v1.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/v1.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/schemas/raw_connector_token/v1.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/schemas/raw_connector_token/v1.ts diff --git a/x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.test.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.test.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.test.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.test.ts diff --git a/x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.ts b/x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.ts similarity index 100% rename from x-pack/plugins/actions/server/saved_objects/transform_connectors_for_export.ts rename to x-pack/platform/plugins/shared/actions/server/saved_objects/transform_connectors_for_export.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/README.md b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md similarity index 99% rename from x-pack/plugins/actions/server/sub_action_framework/README.md rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md index 28ff2e0e358fc..bdc656f5425e4 100644 --- a/x-pack/plugins/actions/server/sub_action_framework/README.md +++ b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/README.md @@ -355,7 +355,7 @@ plugins.actions.registerSubActionConnectorType({ }); ``` -You can see a full example in [x-pack/test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts](../../../../test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts) +You can see a full example in [x-pack/test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts](../../../../../../test/alerting_api_integration/common/plugins/alerts/server/sub_action_connector.ts) ### Example: Register sub action connector with custom validators diff --git a/x-pack/plugins/actions/server/sub_action_framework/case.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/case.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/case.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/case.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/case.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/executor.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/executor.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/executor.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/executor.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/index.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/index.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/index.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/index.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/validators.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/validators.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/helpers/validators.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/helpers/validators.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/helpers/validators.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/index.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/index.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/index.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/index.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/mocks.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/mocks.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/mocks.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/mocks.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/register.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/register.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/register.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/register.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/register.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/sub_action_connector.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/sub_action_connector.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/translations.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/translations.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/translations.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/translations.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/types.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/types.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/types.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/validators.test.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.test.ts similarity index 100% rename from x-pack/plugins/actions/server/sub_action_framework/validators.test.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.test.ts diff --git a/x-pack/plugins/actions/server/sub_action_framework/validators.ts b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts similarity index 95% rename from x-pack/plugins/actions/server/sub_action_framework/validators.ts rename to x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts index e9cbbb3ae8f80..53ec3a8888610 100644 --- a/x-pack/plugins/actions/server/sub_action_framework/validators.ts +++ b/x-pack/platform/plugins/shared/actions/server/sub_action_framework/validators.ts @@ -37,7 +37,7 @@ export const buildValidators = < /** * With this validation we enforce the subActionParams to be an object. * Each sub action has different parameters and they are validated inside the executor - * (x-pack/plugins/actions/server/sub_action_framework/executor.ts). For that reason, + * (x-pack/platform/plugins/shared/actions/server/sub_action_framework/executor.ts). For that reason, * we allow all unknowns at this level of validation as they are not known at this * time of execution. */ diff --git a/x-pack/plugins/actions/server/types.ts b/x-pack/platform/plugins/shared/actions/server/types.ts similarity index 99% rename from x-pack/plugins/actions/server/types.ts rename to x-pack/platform/plugins/shared/actions/server/types.ts index 4f063828016d1..e95e46d6d8cfb 100644 --- a/x-pack/plugins/actions/server/types.ts +++ b/x-pack/platform/plugins/shared/actions/server/types.ts @@ -228,7 +228,7 @@ export interface RawAction extends Record { export interface ActionTaskParams extends SavedObjectAttributes { actionId: string; // Saved Objects won't allow us to enforce unknown rather than any - // eslint-disable-next-line @typescript-eslint/no-explicit-any + params: Record; apiKey?: string; executionId?: string; diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.mock.ts diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.test.ts diff --git a/x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts b/x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts similarity index 100% rename from x-pack/plugins/actions/server/unsecured_actions_client/unsecured_actions_client.ts rename to x-pack/platform/plugins/shared/actions/server/unsecured_actions_client/unsecured_actions_client.ts diff --git a/x-pack/plugins/actions/server/usage/actions_telemetry.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_telemetry.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.test.ts diff --git a/x-pack/plugins/actions/server/usage/actions_telemetry.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_telemetry.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_telemetry.ts diff --git a/x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_usage_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.test.ts diff --git a/x-pack/plugins/actions/server/usage/actions_usage_collector.ts b/x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/actions_usage_collector.ts rename to x-pack/platform/plugins/shared/actions/server/usage/actions_usage_collector.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_collector.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_collector.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.test.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_collector.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_collector.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_collector.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_reporting_task.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_reporting_task.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.test.ts diff --git a/x-pack/plugins/actions/server/usage/connector_usage_reporting_task.ts b/x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/connector_usage_reporting_task.ts rename to x-pack/platform/plugins/shared/actions/server/usage/connector_usage_reporting_task.ts diff --git a/x-pack/plugins/actions/server/usage/index.ts b/x-pack/platform/plugins/shared/actions/server/usage/index.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/index.ts rename to x-pack/platform/plugins/shared/actions/server/usage/index.ts diff --git a/x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.test.ts diff --git a/x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/actions_telemetry_util.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/actions_telemetry_util.ts diff --git a/x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.test.ts diff --git a/x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.ts b/x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/lib/parse_connector_type_bucket.ts rename to x-pack/platform/plugins/shared/actions/server/usage/lib/parse_connector_type_bucket.ts diff --git a/x-pack/plugins/actions/server/usage/task.ts b/x-pack/platform/plugins/shared/actions/server/usage/task.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task.ts diff --git a/x-pack/plugins/actions/server/usage/task_state.test.ts b/x-pack/platform/plugins/shared/actions/server/usage/task_state.test.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task_state.test.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task_state.test.ts diff --git a/x-pack/plugins/actions/server/usage/task_state.ts b/x-pack/platform/plugins/shared/actions/server/usage/task_state.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/task_state.ts rename to x-pack/platform/plugins/shared/actions/server/usage/task_state.ts diff --git a/x-pack/plugins/actions/server/usage/types.ts b/x-pack/platform/plugins/shared/actions/server/usage/types.ts similarity index 100% rename from x-pack/plugins/actions/server/usage/types.ts rename to x-pack/platform/plugins/shared/actions/server/usage/types.ts diff --git a/x-pack/plugins/actions/tsconfig.json b/x-pack/platform/plugins/shared/actions/tsconfig.json similarity index 96% rename from x-pack/plugins/actions/tsconfig.json rename to x-pack/platform/plugins/shared/actions/tsconfig.json index 709826d33e897..9927b50990274 100644 --- a/x-pack/plugins/actions/tsconfig.json +++ b/x-pack/platform/plugins/shared/actions/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/platform/plugins/shared/aiops/public/cases/constants.ts b/x-pack/platform/plugins/shared/aiops/public/cases/constants.ts new file mode 100644 index 0000000000000..547734955cbbb --- /dev/null +++ b/x-pack/platform/plugins/shared/aiops/public/cases/constants.ts @@ -0,0 +1,32 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { ChangePointDetectionViewType } from '@kbn/aiops-change-point-detection/constants'; +import { i18n } from '@kbn/i18n'; + +/** + * Titles for the cases toast messages + */ +export const CASES_TOAST_MESSAGES_TITLES = { + CHANGE_POINT_DETECTION: (viewType: ChangePointDetectionViewType, chartsCount: number) => + viewType === 'table' + ? i18n.translate('xpack.aiops.cases.changePointDetectionTableTitle', { + defaultMessage: 'Change point table', + }) + : i18n.translate('xpack.aiops.cases.changePointDetectionChartsTitle', { + defaultMessage: 'Change point {chartsCount, plural, one {chart} other {charts}}', + values: { + chartsCount, + }, + }), + LOG_RATE_ANALYSIS: i18n.translate('xpack.aiops.cases.logRateAnalysisTitle', { + defaultMessage: 'Log rate analysis', + }), + PATTERN_ANALYSIS: i18n.translate('xpack.aiops.cases.logPatternAnalysisTitle', { + defaultMessage: 'Log pattern analysis', + }), +}; diff --git a/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx index fb1a51c311668..226eb6fbbc2fc 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/change_point_detection/fields_config.tsx @@ -56,6 +56,7 @@ import { import { useChangePointResults } from './use_change_point_agg_request'; import { useSplitFieldCardinality } from './use_split_field_cardinality'; import { ViewTypeSelector } from './view_type_selector'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../cases/constants'; const selectControlCss = { width: '350px' }; @@ -215,12 +216,18 @@ const FieldPanel: FC = ({ progress, } = useChangePointResults(fieldConfig, requestParams, combinedQuery, splitFieldCardinality); - const openCasesModalCallback = useCasesModal(EMBEDDABLE_CHANGE_POINT_CHART_TYPE); - const selectedPartitions = useMemo(() => { return (selectedChangePoints[panelIndex] ?? []).map((v) => v.group?.value as string); }, [selectedChangePoints, panelIndex]); + const openCasesModalCallback = useCasesModal( + EMBEDDABLE_CHANGE_POINT_CHART_TYPE, + CASES_TOAST_MESSAGES_TITLES.CHANGE_POINT_DETECTION( + caseAttachment.viewType, + selectedPartitions.length + ) + ); + const caseAttachmentButtonDisabled = isDefined(fieldConfig.splitField) && selectedPartitions.length === 0; @@ -283,6 +290,7 @@ const FieldPanel: FC = ({ defaultMessage: 'To dashboard', }), panel: 'attachToDashboardPanel', + icon: 'dashboardApp', 'data-test-subj': 'aiopsChangePointDetectionAttachToDashboardButton', }, ] @@ -307,6 +315,7 @@ const FieldPanel: FC = ({ : {}), 'data-test-subj': 'aiopsChangePointDetectionAttachToCaseButton', panel: 'attachToCasePanel', + icon: 'casesApp', }, ] : []), @@ -513,42 +522,37 @@ const FieldPanel: FC = ({ return ( - + - - - !prevState)} - aria-label={i18n.translate('xpack.aiops.changePointDetection.expandConfigLabel', { - defaultMessage: 'Expand configuration', - })} - /> - - - - - - } - value={progress ?? 0} - max={100} - valueText - size="m" + !prevState)} + aria-label={i18n.translate('xpack.aiops.changePointDetection.expandConfigLabel', { + defaultMessage: 'Expand configuration', + })} + size="s" + /> + + + + + + - - - + } + value={progress ?? 0} + max={100} + valueText + size="m" + /> + - + @@ -565,8 +569,11 @@ const FieldPanel: FC = ({ defaultMessage: 'Context menu', } )} - iconType="boxesHorizontal" color="text" + display="base" + size="s" + isSelected={isActionMenuOpen} + iconType="boxesHorizontal" onClick={setIsActionMenuOpen.bind(null, !isActionMenuOpen)} /> } @@ -678,7 +685,7 @@ export const FieldsControls: FC> = ({ : undefined } > - + onChangeFn('fn', v)} /> diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx index 409b489ff4510..a82e1a4b087ed 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/attachments_menu.tsx @@ -34,6 +34,7 @@ import type { PatternAnalysisEmbeddableState } from '../../embeddables/pattern_a import type { RandomSamplerOption, RandomSamplerProbability } from './sampling_menu/random_sampler'; import { useCasesModal } from '../../hooks/use_cases_modal'; import { useAiopsAppContext } from '../../hooks/use_aiops_app_context'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../cases/constants'; const SavedObjectSaveModalDashboard = withSuspense(LazySavedObjectSaveModalDashboard); @@ -66,7 +67,10 @@ export const AttachmentsMenu = ({ update: false, }; - const openCasesModalCallback = useCasesModal(EMBEDDABLE_PATTERN_ANALYSIS_TYPE); + const openCasesModalCallback = useCasesModal( + EMBEDDABLE_PATTERN_ANALYSIS_TYPE, + CASES_TOAST_MESSAGES_TITLES.PATTERN_ANALYSIS + ); const timeRange = useTimeRangeUpdates(); @@ -123,6 +127,7 @@ export const AttachmentsMenu = ({ defaultMessage: 'Add to dashboard', }), panel: 'attachToDashboardPanel', + icon: 'dashboardApp', 'data-test-subj': 'aiopsLogPatternAnalysisAttachToDashboardButton', }, ] @@ -133,6 +138,7 @@ export const AttachmentsMenu = ({ name: i18n.translate('xpack.aiops.logCategorization.attachToCaseLabel', { defaultMessage: 'Add to case', }), + icon: 'casesApp', 'data-test-subj': 'aiopsLogPatternAnalysisAttachToCaseButton', onClick: () => { setIsActionMenuOpen(false); @@ -218,8 +224,11 @@ export const AttachmentsMenu = ({ defaultMessage: 'Attachments', } )} - iconType="boxesHorizontal" + size="m" color="text" + display="base" + isSelected={isActionMenuOpen} + iconType="boxesHorizontal" onClick={() => setIsActionMenuOpen(!isActionMenuOpen)} /> } diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx index 9bebf4d9b731a..482ef5801183d 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/log_categorization_page.tsx @@ -357,48 +357,56 @@ export const LogCategorizationPage: FC = () => { - - - - - - - - {loading === false ? ( - { - loadCategories(); - }} - data-test-subj="aiopsLogPatternAnalysisRunButton" + + + + - - - ) : ( - cancelRequest()} - > - Cancel - - )} - - - + + + + {loading === false ? ( + { + loadCategories(); + }} + data-test-subj="aiopsLogPatternAnalysisRunButton" + > + + + ) : ( + cancelRequest()} + > + Cancel + + )} + + + loadCategories()} /> diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx index d2dd9591e76f7..7da2736fdd453 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_categorization/sampling_menu/sampling_menu.tsx @@ -8,7 +8,7 @@ import type { FC } from 'react'; import { useMemo } from 'react'; import React, { useState } from 'react'; -import { EuiPopover, EuiButtonEmpty, EuiPanel } from '@elastic/eui'; +import { EuiPopover, EuiPanel, EuiButton } from '@elastic/eui'; import useObservable from 'react-use/lib/useObservable'; import type { RandomSampler } from './random_sampler'; @@ -34,14 +34,16 @@ export const SamplingMenu: FC = ({ randomSampler, reload }) => { data-test-subj="aiopsRandomSamplerOptionsPopover" id="aiopsSamplingOptions" button={ - setShowSamplingOptionsPopover(!showSamplingOptionsPopover)} + color="text" iconSide="right" - iconType="arrowDown" + isSelected={showSamplingOptionsPopover} + iconType={showSamplingOptionsPopover ? 'arrowUp' : 'arrowDown'} > {buttonText} - + } isOpen={showSamplingOptionsPopover} closePopover={() => setShowSamplingOptionsPopover(false)} diff --git a/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx index d7e68ae42799c..def6721c2adb3 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/log_rate_analysis/log_rate_analysis_content/log_rate_analysis_attachments_menu.tsx @@ -28,6 +28,7 @@ import { } from '@elastic/eui'; import type { WindowParameters } from '@kbn/aiops-log-rate-analysis/window_parameters'; import type { SignificantItem } from '@kbn/ml-agg-utils'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../../cases/constants'; import { useCasesModal } from '../../../hooks/use_cases_modal'; import { useDataSource } from '../../../hooks/use_data_source'; import type { LogRateAnalysisEmbeddableState } from '../../../embeddables/log_rate_analysis/types'; @@ -60,7 +61,10 @@ export const LogRateAnalysisAttachmentsMenu = ({ const timeRange = useTimeRangeUpdates(); const absoluteTimeRange = useTimeRangeUpdates(true); - const openCasesModalCallback = useCasesModal(EMBEDDABLE_LOG_RATE_ANALYSIS_TYPE); + const openCasesModalCallback = useCasesModal( + EMBEDDABLE_LOG_RATE_ANALYSIS_TYPE, + CASES_TOAST_MESSAGES_TITLES.LOG_RATE_ANALYSIS + ); const canEditDashboards = capabilities.dashboard.createNew; @@ -120,6 +124,7 @@ export const LogRateAnalysisAttachmentsMenu = ({ name: i18n.translate('xpack.aiops.logRateAnalysis.addToDashboardTitle', { defaultMessage: 'Add to dashboard', }), + icon: 'dashboardApp', panel: 'attachToDashboardPanel', 'data-test-subj': 'aiopsLogRateAnalysisAttachToDashboardButton', }, @@ -131,6 +136,7 @@ export const LogRateAnalysisAttachmentsMenu = ({ name: i18n.translate('xpack.aiops.logRateAnalysis.attachToCaseLabel', { defaultMessage: 'Add to case', }), + icon: 'casesApp', 'data-test-subj': 'aiopsLogRateAnalysisAttachToCaseButton', disabled: !isCasesAttachmentEnabled, ...(!isCasesAttachmentEnabled @@ -217,8 +223,11 @@ export const LogRateAnalysisAttachmentsMenu = ({ aria-label={i18n.translate('xpack.aiops.logRateAnalysis.attachmentsMenuAriaLabel', { defaultMessage: 'Attachments', })} - iconType="boxesHorizontal" color="text" + display="base" + size="s" + isSelected={isActionMenuOpen} + iconType="boxesHorizontal" onClick={() => setIsActionMenuOpen(!isActionMenuOpen)} /> } diff --git a/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx b/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx index a01e715e86272..3efed2b74093e 100644 --- a/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx +++ b/x-pack/platform/plugins/shared/aiops/public/components/page_header/page_header.tsx @@ -80,7 +80,6 @@ export const PageHeader: FC = () => { isAutoRefreshOnly={!hasValidTimeField} showRefresh={!hasValidTimeField} width="full" - flexGroup={!hasValidTimeField} />, hasValidTimeField && ( = * Returns a callback for opening the cases modal with provided attachment state. */ export const useCasesModal = ( - embeddableType: EmbeddableType + embeddableType: EmbeddableType, + title: string ) => { const { cases } = useAiopsAppContext(); - const selectCaseModal = cases?.hooks.useCasesAddToExistingCaseModal(); + const successMessage = useMemo(() => { + return i18n.translate('xpack.aiops.useCasesModal.successMessage', { + defaultMessage: '{title} added to case.', + values: { title }, + }); + }, [title]); + + const selectCaseModal = cases?.hooks.useCasesAddToExistingCaseModal({ + successToaster: { + content: successMessage, + }, + }); return useCallback( (persistableState: Partial, 'id'>>) => { @@ -64,7 +77,6 @@ export const useCasesModal = ( ], }); }, - // eslint-disable-next-line react-hooks/exhaustive-deps - [embeddableType] + [embeddableType, selectCaseModal] ); }; diff --git a/x-pack/plugins/alerting/README.md b/x-pack/platform/plugins/shared/alerting/README.md similarity index 99% rename from x-pack/plugins/alerting/README.md rename to x-pack/platform/plugins/shared/alerting/README.md index 5139b05d4f4fa..fde3c5fdec3b3 100644 --- a/x-pack/plugins/alerting/README.md +++ b/x-pack/platform/plugins/shared/alerting/README.md @@ -254,7 +254,7 @@ Currently most rule types are free features. But some rule types are subscriptio You should create asciidoc for each new rule type you develop: -- For stack rules, add an entry to the rule type index - [`docs/user/alerting/stack-rules.asciidoc`](../../../docs/user/alerting/stack-rules.asciidoc) which points to a new document for the rule type that should live in the directory [`docs/user/alerting/stack-rules`](../../../docs/user/alerting/stack-rules). +- For stack rules, add an entry to the rule type index - [`docs/user/alerting/stack-rules.asciidoc`](../../../../../docs/user/alerting/stack-rules.asciidoc) which points to a new document for the rule type that should live in the directory [`docs/user/alerting/stack-rules`](../../../docs/user/alerting/stack-rules). - Solution specific rule documentation should live within the docs for the solution. @@ -271,14 +271,14 @@ This example rule type receives server and threshold as parameters. It will read ```typescript import { schema } from '@kbn/config-schema'; -import { RuleType, RuleExecutorOptions } from '../../../alerting/server'; +import { RuleType, RuleExecutorOptions } from '../../../../../alerting/server'; // These type names will eventually be updated to reflect the new terminology import { RuleTypeParams, RuleTypeState, AlertInstanceState, AlertInstanceContext, -} from '../../../alerting/common'; +} from '../../../../../alerting/common'; ... interface MyRuleTypeParams extends RuleTypeParams { server: string; diff --git a/x-pack/plugins/alerting/common/action_ref_prefix.ts b/x-pack/platform/plugins/shared/alerting/common/action_ref_prefix.ts similarity index 100% rename from x-pack/plugins/alerting/common/action_ref_prefix.ts rename to x-pack/platform/plugins/shared/alerting/common/action_ref_prefix.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/context_to_schema_name.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/context_to_schema_name.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/component_template_from_field_map.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.test.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/field_maps/mapping_from_field_map.ts diff --git a/x-pack/plugins/alerting/common/alert_schema/index.ts b/x-pack/platform/plugins/shared/alerting/common/alert_schema/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_schema/index.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_schema/index.ts diff --git a/x-pack/plugins/alerting/common/alert_summary.ts b/x-pack/platform/plugins/shared/alerting/common/alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/common/alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/common/alert_summary.ts diff --git a/x-pack/plugins/alerting/common/builtin_action_groups.ts b/x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts similarity index 100% rename from x-pack/plugins/alerting/common/builtin_action_groups.ts rename to x-pack/platform/plugins/shared/alerting/common/builtin_action_groups.ts diff --git a/x-pack/plugins/alerting/common/bulk_edit.ts b/x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts similarity index 100% rename from x-pack/plugins/alerting/common/bulk_edit.ts rename to x-pack/platform/plugins/shared/alerting/common/bulk_edit.ts diff --git a/x-pack/plugins/alerting/common/constants/ad_hoc_run_status.ts b/x-pack/platform/plugins/shared/alerting/common/constants/ad_hoc_run_status.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/ad_hoc_run_status.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/ad_hoc_run_status.ts diff --git a/x-pack/plugins/alerting/common/constants/backfill.ts b/x-pack/platform/plugins/shared/alerting/common/constants/backfill.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/backfill.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/backfill.ts diff --git a/x-pack/plugins/alerting/common/constants/index.ts b/x-pack/platform/plugins/shared/alerting/common/constants/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/constants/index.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/index.ts diff --git a/x-pack/plugins/alerting/common/constants/plugin.ts b/x-pack/platform/plugins/shared/alerting/common/constants/plugin.ts similarity index 90% rename from x-pack/plugins/alerting/common/constants/plugin.ts rename to x-pack/platform/plugins/shared/alerting/common/constants/plugin.ts index e8136f257d465..d9d578de08ac0 100644 --- a/x-pack/plugins/alerting/common/constants/plugin.ts +++ b/x-pack/platform/plugins/shared/alerting/common/constants/plugin.ts @@ -11,7 +11,7 @@ export const PLUGIN = { ID: 'alerting', MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType, // TODO: supposed to be changed up on requirements // all plugins seem to use getI18nName with any - // eslint-disable-next-line @typescript-eslint/no-explicit-any + getI18nName: (i18n: any): string => i18n.translate('xpack.alerting.appName', { defaultMessage: 'Alerting', diff --git a/x-pack/plugins/alerting/common/disabled_action_groups.test.ts b/x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/disabled_action_groups.test.ts rename to x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.test.ts diff --git a/x-pack/plugins/alerting/common/disabled_action_groups.ts b/x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts similarity index 100% rename from x-pack/plugins/alerting/common/disabled_action_groups.ts rename to x-pack/platform/plugins/shared/alerting/common/disabled_action_groups.ts diff --git a/x-pack/plugins/alerting/common/execution_log_types.ts b/x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts similarity index 100% rename from x-pack/plugins/alerting/common/execution_log_types.ts rename to x-pack/platform/plugins/shared/alerting/common/execution_log_types.ts diff --git a/x-pack/plugins/alerting/common/index.ts b/x-pack/platform/plugins/shared/alerting/common/index.ts similarity index 98% rename from x-pack/plugins/alerting/common/index.ts rename to x-pack/platform/plugins/shared/alerting/common/index.ts index 94c307b67fd02..0740858784a2c 100644 --- a/x-pack/plugins/alerting/common/index.ts +++ b/x-pack/platform/plugins/shared/alerting/common/index.ts @@ -6,7 +6,7 @@ */ // TODO: https://github.com/elastic/kibana/issues/110895 -/* eslint-disable @kbn/eslint/no_export_all */ + export * from './rule'; export * from './rules_settings'; export * from './rule_type'; diff --git a/x-pack/plugins/alerting/common/iso_weekdays.ts b/x-pack/platform/plugins/shared/alerting/common/iso_weekdays.ts similarity index 100% rename from x-pack/plugins/alerting/common/iso_weekdays.ts rename to x-pack/platform/plugins/shared/alerting/common/iso_weekdays.ts diff --git a/x-pack/plugins/alerting/common/lib/index.ts b/x-pack/platform/plugins/shared/alerting/common/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/index.ts diff --git a/x-pack/plugins/alerting/common/lib/validate_backfill_schedule.test.ts b/x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/validate_backfill_schedule.test.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.test.ts diff --git a/x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts b/x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/common/lib/validate_backfill_schedule.ts rename to x-pack/platform/plugins/shared/alerting/common/lib/validate_backfill_schedule.ts diff --git a/x-pack/plugins/alerting/common/maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/common/maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/common/maintenance_window.ts diff --git a/x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts b/x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts similarity index 100% rename from x-pack/plugins/alerting/common/maintenance_window_scoped_query_error_message.ts rename to x-pack/platform/plugins/shared/alerting/common/maintenance_window_scoped_query_error_message.ts diff --git a/x-pack/plugins/alerting/common/parse_duration.test.ts b/x-pack/platform/plugins/shared/alerting/common/parse_duration.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/parse_duration.test.ts rename to x-pack/platform/plugins/shared/alerting/common/parse_duration.test.ts diff --git a/x-pack/plugins/alerting/common/parse_duration.ts b/x-pack/platform/plugins/shared/alerting/common/parse_duration.ts similarity index 100% rename from x-pack/plugins/alerting/common/parse_duration.ts rename to x-pack/platform/plugins/shared/alerting/common/parse_duration.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/index.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/alerts_filter_query/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/alerts_filter_query/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/apis/schedule/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/apis/schedule/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/backfill/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/backfill/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/backfill/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/index.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/framework/apis/health/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/framework/apis/health/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/framework/apis/health/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/archive/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/bulk_get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/create/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/finish/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/get_active/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/index.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/maintenance_window/shared/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/maintenance_window/shared/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/index.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/request/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/request/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/request/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/index.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_end_date/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_recurrence_by/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/r_rule/validation/validate_start_date/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/aggregate/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/aggregate/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_delete/validation/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_disable/validation/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_edit/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_enable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/bulk_untrack_by_query/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/clone/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/clone/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/clone/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/create/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/create/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/create/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/delete/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/delete/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/delete/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/disable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/disable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/disable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/enable/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/enable/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/enable/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/find/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/find/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/find/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/get_schedule_frequency/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/list_types/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/list_types/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_alert/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_alert/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/mute_all/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/mute_all/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/resolve/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/resolve/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/snooze/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/snooze/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/tags/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/tags/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/tags/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_alert/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unmute_all/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unmute_all/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/unsnooze/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/apis/update_api_key/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/apis/update_api_key/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/constants/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/constants/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/constants/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/constants/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/constants/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/flapping/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/flapping/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/flapping/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/common/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/common/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/common/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/common/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/request/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/request/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/request/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_duration/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_duration/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.test.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_flapping/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_flapping/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_hours/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_hours/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_notify_when/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_notify_when/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_snooze_schedule/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rule/validation/validate_timezone/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rule/validation/validate_timezone/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/get/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/get/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/apis/update/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/apis/update/types/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/index.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/index.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/index.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/index.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/schemas/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/schemas/v1.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/types/latest.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/latest.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/types/latest.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/latest.ts diff --git a/x-pack/plugins/alerting/common/routes/rules_settings/response/types/v1.ts b/x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/v1.ts similarity index 100% rename from x-pack/plugins/alerting/common/routes/rules_settings/response/types/v1.ts rename to x-pack/platform/plugins/shared/alerting/common/routes/rules_settings/response/types/v1.ts diff --git a/x-pack/plugins/alerting/common/rrule_type.ts b/x-pack/platform/plugins/shared/alerting/common/rrule_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rrule_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rrule_type.ts diff --git a/x-pack/plugins/alerting/common/rule.ts b/x-pack/platform/plugins/shared/alerting/common/rule.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule.ts rename to x-pack/platform/plugins/shared/alerting/common/rule.ts diff --git a/x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.test.ts diff --git a/x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts b/x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_circuit_breaker_error_message.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_circuit_breaker_error_message.ts diff --git a/x-pack/plugins/alerting/common/rule_notify_when_type.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_notify_when_type.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.test.ts diff --git a/x-pack/plugins/alerting/common/rule_notify_when_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_notify_when_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_notify_when_type.ts diff --git a/x-pack/plugins/alerting/common/rule_snooze_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_snooze_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_snooze_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_snooze_type.ts diff --git a/x-pack/plugins/alerting/common/rule_tags_aggregation.test.ts b/x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.test.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_tags_aggregation.test.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.test.ts diff --git a/x-pack/plugins/alerting/common/rule_tags_aggregation.ts b/x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_tags_aggregation.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_tags_aggregation.ts diff --git a/x-pack/plugins/alerting/common/rule_type.ts b/x-pack/platform/plugins/shared/alerting/common/rule_type.ts similarity index 100% rename from x-pack/plugins/alerting/common/rule_type.ts rename to x-pack/platform/plugins/shared/alerting/common/rule_type.ts diff --git a/x-pack/plugins/alerting/common/rules_settings.ts b/x-pack/platform/plugins/shared/alerting/common/rules_settings.ts similarity index 100% rename from x-pack/plugins/alerting/common/rules_settings.ts rename to x-pack/platform/plugins/shared/alerting/common/rules_settings.ts diff --git a/x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts b/x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts similarity index 100% rename from x-pack/plugins/alerting/common/saved_objects/rules/mappings.ts rename to x-pack/platform/plugins/shared/alerting/common/saved_objects/rules/mappings.ts diff --git a/x-pack/plugins/alerting/docs/openapi/README.md b/x-pack/platform/plugins/shared/alerting/docs/openapi/README.md similarity index 74% rename from x-pack/plugins/alerting/docs/openapi/README.md rename to x-pack/platform/plugins/shared/alerting/docs/openapi/README.md index c514b4e14249d..e6d23d5d4cec9 100644 --- a/x-pack/plugins/alerting/docs/openapi/README.md +++ b/x-pack/platform/plugins/shared/alerting/docs/openapi/README.md @@ -1,6 +1,6 @@ # OpenAPI (Experimental) -The current self-contained spec file is [as JSON](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.json) or [as YAML](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at https://openapi.tools/. +The current self-contained spec file is [as JSON](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.json) or [as YAML](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at https://openapi.tools/. This spec is experimental and may be incomplete or change later. A guide about the openApi specification can be found at [https://swagger.io/docs/specification/about/](https://swagger.io/docs/specification/about/). diff --git a/x-pack/plugins/alerting/docs/openapi/bundled.json b/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.json similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/bundled.json rename to x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.json diff --git a/x-pack/plugins/alerting/docs/openapi/bundled.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/bundled.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/bundled.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_health_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_health_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_health_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_health_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_types_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_types_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/examples/get_rule_types_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/examples/get_rule_types_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/headers/kbn_xsrf.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/headers/kbn_xsrf.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/headers/kbn_xsrf.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/headers/kbn_xsrf.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/alert_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/alert_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/alert_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/alert_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/rule_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/rule_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/rule_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/rule_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/parameters/space_id.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/space_id.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/parameters/space_id.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/parameters/space_id.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/400_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/400_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/400_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/400_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/401_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/401_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/401_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/401_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/404_response.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/404_response.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/404_response.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/404_response.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/actions.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/actions.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/actions.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/actions.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/aggfield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggfield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/aggfield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggfield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/aggtype.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggtype.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/aggtype.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/aggtype.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/alert_delay.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_delay.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/alert_delay.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_delay.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/alert_response_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_response_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/alert_response_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/alert_response_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/consumer.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/consumer.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/consumer.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/consumer.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/create_rule_request.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/create_rule_request.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/create_rule_request.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/create_rule_request.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/enabled_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/enabled_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/enabled_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/enabled_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/excludehitsfrompreviousrun.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/fieldmap_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/filter.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/filter.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/filter.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/filter.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/groupby.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/groupby.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/groupby.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/groupby.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/name_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/name_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/name_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/name_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when_action.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when_action.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/notify_when_action.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/notify_when_action.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_esql_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_kql_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_index_threshold_rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/rule_response_properties.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/rule_response_properties.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/rule_response_properties.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/rule_response_properties.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/schedule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/schedule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/schedule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/schedule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/size.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/size.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/size.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/size.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/tags.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/tags.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/tags.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/tags.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/termfield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termfield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/termfield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termfield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/termsize.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termsize.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/termsize.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/termsize.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/threshold.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/threshold.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/threshold.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/threshold.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/thresholdcomparator.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/throttle.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/throttle.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/throttle_action.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle_action.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/throttle_action.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/throttle_action.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timefield.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timefield.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timefield.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timefield.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowsize.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowsize.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowsize.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowsize.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowunit.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowunit.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/timewindowunit.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/timewindowunit.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/components/schemas/update_rule_request.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/update_rule_request.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/components/schemas/update_rule_request.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/update_rule_request.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/entrypoint.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/entrypoint.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/entrypoint.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/entrypoint.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@_health.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@_health.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@_health.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@_health.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_disable.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_enable.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_mute_all.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_unmute_all.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@_update_api_key.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_mute.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule@{ruleid}@alert@{alertid}@_unmute.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule_types.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule_types.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rule_types.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rule_types.yaml diff --git a/x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml b/x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml similarity index 100% rename from x-pack/plugins/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml rename to x-pack/platform/plugins/shared/alerting/docs/openapi/paths/api@alerting@rules@_find.yaml diff --git a/x-pack/platform/plugins/shared/alerting/jest.config.js b/x-pack/platform/plugins/shared/alerting/jest.config.js new file mode 100644 index 0000000000000..810afcdcbac07 --- /dev/null +++ b/x-pack/platform/plugins/shared/alerting/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/alerting'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/alerting', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/alerting/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/actions/jest.integration.config.js b/x-pack/platform/plugins/shared/alerting/jest.integration.config.js similarity index 77% rename from x-pack/plugins/actions/jest.integration.config.js rename to x-pack/platform/plugins/shared/alerting/jest.integration.config.js index daea840925756..6452b6ab9c693 100644 --- a/x-pack/plugins/actions/jest.integration.config.js +++ b/x-pack/platform/plugins/shared/alerting/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/actions'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/alerting'], }; diff --git a/x-pack/plugins/alerting/kibana.jsonc b/x-pack/platform/plugins/shared/alerting/kibana.jsonc similarity index 100% rename from x-pack/plugins/alerting/kibana.jsonc rename to x-pack/platform/plugins/shared/alerting/kibana.jsonc diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.mock.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.test.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/alert_navigation_registry.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/alert_navigation_registry.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/index.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/index.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/index.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/index.ts diff --git a/x-pack/plugins/alerting/public/alert_navigation_registry/types.ts b/x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/types.ts similarity index 100% rename from x-pack/plugins/alerting/public/alert_navigation_registry/types.ts rename to x-pack/platform/plugins/shared/alerting/public/alert_navigation_registry/types.ts diff --git a/x-pack/plugins/alerting/public/application/maintenance_windows.tsx b/x-pack/platform/plugins/shared/alerting/public/application/maintenance_windows.tsx similarity index 100% rename from x-pack/plugins/alerting/public/application/maintenance_windows.tsx rename to x-pack/platform/plugins/shared/alerting/public/application/maintenance_windows.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_breadcrumbs.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_breadcrumbs.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_create_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_create_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_find_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_find_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_and_archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_finish_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_finish_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_get_rule_types.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_get_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_get_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_get_rule_types.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_license.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_license.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_license.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_license.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_license.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_license.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_license.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_license.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_navigation.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_navigation.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_navigation.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_navigation.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_navigation.ts diff --git a/x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.test.tsx b/x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.test.tsx diff --git a/x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/public/hooks/use_update_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/public/hooks/use_update_maintenance_window.ts diff --git a/x-pack/plugins/alerting/public/index.ts b/x-pack/platform/plugins/shared/alerting/public/index.ts similarity index 100% rename from x-pack/plugins/alerting/public/index.ts rename to x-pack/platform/plugins/shared/alerting/public/index.ts diff --git a/x-pack/plugins/alerting/public/lib/common_transformations.test.ts b/x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/lib/common_transformations.test.ts rename to x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.test.ts diff --git a/x-pack/plugins/alerting/public/lib/common_transformations.ts b/x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.ts similarity index 100% rename from x-pack/plugins/alerting/public/lib/common_transformations.ts rename to x-pack/platform/plugins/shared/alerting/public/lib/common_transformations.ts diff --git a/x-pack/plugins/alerting/public/lib/test_utils.tsx b/x-pack/platform/plugins/shared/alerting/public/lib/test_utils.tsx similarity index 100% rename from x-pack/plugins/alerting/public/lib/test_utils.tsx rename to x-pack/platform/plugins/shared/alerting/public/lib/test_utils.tsx diff --git a/x-pack/plugins/alerting/public/mocks.ts b/x-pack/platform/plugins/shared/alerting/public/mocks.ts similarity index 100% rename from x-pack/plugins/alerting/public/mocks.ts rename to x-pack/platform/plugins/shared/alerting/public/mocks.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/center_justified_spinner.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/create_maintenance_windows_form.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/empty_prompt.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/fields/date_picker_range_field.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/license_prompt.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/license_prompt.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/link_icon.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/link_icon.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_category_selection.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_window_scoped_query_switch.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/maintenance_windows_list.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/page_header.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/page_header.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/custom_recurring_schedule.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/recurring_schedule_form/recurring_schedule.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/schema.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/schema.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/schema.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/schema.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/status_filter.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/status_filter.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/submit_button.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/submit_button.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/table_actions_popover.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/truncated_text.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/truncated_text.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/components/upcoming_events_popover.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/constants.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/constants.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/constants.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/constants.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_from_maintenance_window_to_form.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/convert_to_rrule.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_initial_by_weekday.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_nth_by_weekday.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_presets.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_presets.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_selected_for_date_picker.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/get_weekday_info.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/month_day_date.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/parse_schedule.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.test.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/helpers/recurring_summary.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/index.test.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.test.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/index.test.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.test.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/index.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/index.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/index.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_create_page.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/maintenance_window_edit_page.tsx diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/translations.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/translations.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/translations.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/translations.ts diff --git a/x-pack/plugins/alerting/public/pages/maintenance_windows/types.ts b/x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/types.ts similarity index 100% rename from x-pack/plugins/alerting/public/pages/maintenance_windows/types.ts rename to x-pack/platform/plugins/shared/alerting/public/pages/maintenance_windows/types.ts diff --git a/x-pack/plugins/alerting/public/plugin.test.ts b/x-pack/platform/plugins/shared/alerting/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/plugin.test.ts rename to x-pack/platform/plugins/shared/alerting/public/plugin.test.ts diff --git a/x-pack/plugins/alerting/public/plugin.ts b/x-pack/platform/plugins/shared/alerting/public/plugin.ts similarity index 100% rename from x-pack/plugins/alerting/public/plugin.ts rename to x-pack/platform/plugins/shared/alerting/public/plugin.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/archive.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/archive.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/create.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/create.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/create.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/create.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/create.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/find.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/find.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/find.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/find.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/find.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/finish.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/finish.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/get.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/get.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/get.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/get.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/get.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/transform_maintenance_window_response.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/update.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/update.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.test.ts diff --git a/x-pack/plugins/alerting/public/services/maintenance_windows_api/update.ts b/x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/maintenance_windows_api/update.ts rename to x-pack/platform/plugins/shared/alerting/public/services/maintenance_windows_api/update.ts diff --git a/x-pack/plugins/alerting/public/services/rule_api.test.ts b/x-pack/platform/plugins/shared/alerting/public/services/rule_api.test.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/rule_api.test.ts rename to x-pack/platform/plugins/shared/alerting/public/services/rule_api.test.ts diff --git a/x-pack/plugins/alerting/public/services/rule_api.ts b/x-pack/platform/plugins/shared/alerting/public/services/rule_api.ts similarity index 100% rename from x-pack/plugins/alerting/public/services/rule_api.ts rename to x-pack/platform/plugins/shared/alerting/public/services/rule_api.ts diff --git a/x-pack/plugins/alerting/public/utils/kibana_react.ts b/x-pack/platform/plugins/shared/alerting/public/utils/kibana_react.ts similarity index 100% rename from x-pack/plugins/alerting/public/utils/kibana_react.ts rename to x-pack/platform/plugins/shared/alerting/public/utils/kibana_react.ts diff --git a/x-pack/plugins/alerting/server/alert/alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alert/alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/alert.test.ts diff --git a/x-pack/plugins/alerting/server/alert/alert.ts b/x-pack/platform/plugins/shared/alerting/server/alert/alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/alert.ts diff --git a/x-pack/plugins/alerting/server/alert/create_alert_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/create_alert_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.test.ts diff --git a/x-pack/plugins/alerting/server/alert/create_alert_factory.ts b/x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/create_alert_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/create_alert_factory.ts diff --git a/x-pack/plugins/alerting/server/alert/index.ts b/x-pack/platform/plugins/shared/alerting/server/alert/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alert/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alert/index.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.mock.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/alerting_authorization_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerting_authorization_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/alerting_authorization_client_factory.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client_error.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client_error.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_error.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/alerts_client_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/alerts_client_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/alerts_client_fixtures.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/legacy_alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/legacy_alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts similarity index 99% rename from x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts index 55a3a885f1c71..aa7aab6feda3c 100644 --- a/x-pack/plugins/alerting/server/alerts_client/lib/alert_conflict_resolver.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/alert_conflict_resolver.ts @@ -160,7 +160,7 @@ async function refreshFieldsInDocs( // @ts-expect-error @elastic/elasticsearch _source is not in the type! const freshDoc = freshResponse._source; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const conflictDoc = conflictRequest.doc as Record; if (!freshDoc || !conflictDoc) continue; diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_new_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_new_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_ongoing_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_ongoing_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_recovered_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_recovered_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/build_updated_recovered_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_alert.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_alert.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/format_rule.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/format_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/format_rule.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/get_summarized_alerts_query.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/initialize_alerts_client.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/initialize_alerts_client.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/inject_analyze_wildcard.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/is_alert_improving.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/is_alert_improving.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/nanos_to_micros.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/nanos_to_micros.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/sanitize_bulk_response.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/sanitize_bulk_response.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/strip_framework_fields.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/strip_framework_fields.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/lib/test_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/test_fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/lib/test_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/lib/test_fixtures.ts diff --git a/x-pack/plugins/alerting/server/alerts_client/types.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_client/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_client/types.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_client/types.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts index ec78cb5ea9cd7..cba4b5e573b33 100644 --- a/x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.test.ts @@ -2055,13 +2055,11 @@ describe('Alerts Service', () => { // leverage the outcome of the first retry expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Retrying resource initialization for context "test"` ).length ).toEqual(1); expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Resource installation for "test" succeeded after retry` ).length @@ -2134,7 +2132,6 @@ describe('Alerts Service', () => { // Should only log the retry once because the second and third retries should be throttled expect( logger.info.mock.calls.filter( - // eslint-disable-next-line @typescript-eslint/no-explicit-any (calls: any[]) => calls[0] === `Retrying resource initialization for context "test"` ).length ).toEqual(1); diff --git a/x-pack/plugins/alerting/server/alerts_service/alerts_service.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/alerts_service.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/alerts_service.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/create_resource_installation_helper.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/create_resource_installation_helper.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/default_lifecycle_policy.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/default_lifecycle_policy.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_concrete_write_index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_concrete_write_index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_component_template.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_component_template.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_ilm_policy.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/create_or_update_index_template.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/create_or_update_index_template.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.mock.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/data_stream_adapter.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/data_stream_adapter.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/index.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/install_with_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/install_with_timeout.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/is_valid_alert_index_name.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts similarity index 92% rename from x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts index 2501c57776d80..3a59b07556f9b 100644 --- a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.test.ts @@ -66,16 +66,16 @@ describe('retryTransientErrors', () => { const errors = [ new EsErrors.NoLivingConnectionsError('no living connection', { warnings: [], - // eslint-disable-next-line @typescript-eslint/no-explicit-any + meta: {} as any, }), new EsErrors.ConnectionError('no connection'), new EsErrors.TimeoutError('timeout'), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 503, meta: {} as any, warnings: [] }), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 408, meta: {} as any, warnings: [] }), - // eslint-disable-next-line @typescript-eslint/no-explicit-any + new EsErrors.ResponseError({ statusCode: 410, meta: {} as any, warnings: [] }), ]; diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/retry_transient_es_errors.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/retry_transient_es_errors.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/lib/set_alerts_to_untracked.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.test.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/resource_installer_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/resource_installer_utils.ts diff --git a/x-pack/plugins/alerting/server/alerts_service/test_utils.ts b/x-pack/platform/plugins/shared/alerting/server/alerts_service/test_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/alerts_service/test_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/alerts_service/test_utils.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/alerts_filter_query_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/alerts_filter_query.ts diff --git a/x-pack/plugins/alerting/server/application/alerts_filter_query/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/alerts_filter_query/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/alerts_filter_query/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/delete_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/delete_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/find_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/find_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_query_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/find_backfill_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/get_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/get_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/get/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/get/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/get/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schedule_backfill.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/schemas/schedule_backfill_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/methods/schedule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/methods/schedule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/methods/schedule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/result/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/result/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/result/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/result/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/result/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/result/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/result/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/result/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_ad_hoc_run_to_backfill_result.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.test.ts diff --git a/x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/application/backfill/transforms/transform_backfill_param_to_ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/constants.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/constants.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/generate_maintenance_window_events.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/get_maintenance_window_date_and_status.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/lib/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/archive_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/archive_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/archive_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/archive/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/archive/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/bulk_get_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/bulk_get_maintenance_windows_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/bulk_get_maintenance_window_result.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/bulk_get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/create_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/create_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/create_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/create/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/delete_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/delete_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/delete_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/find_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/find_maintenance_windows_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/find_maintenance_window_result.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/finish_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/finish_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/finish_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/finish/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/finish/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/get_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/get_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/get_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/get_active/get_active_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/schemas/update_maintenance_window_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/types/update_maintenance_window_params.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.test.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/methods/update/update_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/schemas/maintenance_window_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_attributes_to_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/transforms/transform_maintenance_window_to_maintenance_window_attributes.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/maintenance_window/types/maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/maintenance_window/types/maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/application/maintenance_window/types/maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_request_schema.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/schemas/r_rule_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/schemas/r_rule_schema.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/r_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/r_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/types/r_rule_request.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule_request.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/types/r_rule_request.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/types/r_rule_request.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_end_date.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_end_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_end_date.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_end_date.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_recurrence_by.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_recurrence_by.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_recurrence_by.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_recurrence_by.ts diff --git a/x-pack/plugins/alerting/server/application/r_rule/validation/validate_start_date.ts b/x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_start_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/r_rule/validation/validate_start_date.ts rename to x-pack/platform/plugins/shared/alerting/server/application/r_rule/validation/validate_start_date.ts diff --git a/x-pack/plugins/alerting/server/application/rule/constants.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/constants.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/aggregate_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/latest.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/factories/default_rule_aggregation_factory/v1.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/aggregate_options_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/aggregate/validation/validate_rule_aggregation_fields.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/bulk_delete_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_delete/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_delete/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/bulk_disable_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_disable/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_disable/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts index 61d38c2c37c19..f0421bc53e639 100644 --- a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.test.ts @@ -1897,7 +1897,6 @@ describe('bulkEdit()', () => { }; }; - // eslint-disable-next-line @typescript-eslint/no-explicit-any const getMockAttribute = (override: Record = {}) => { return { saved_objects: [ @@ -2000,7 +1999,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2045,7 +2043,6 @@ describe('bulkEdit()', () => { ...existingDecryptedRule.attributes, muteAll: true, snoozeSchedule: [], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2092,7 +2089,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2136,7 +2132,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2181,7 +2176,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -2232,7 +2226,6 @@ describe('bulkEdit()', () => { attributes: { ...existingDecryptedRule.attributes, snoozeSchedule: existingSnooze, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, }, ], @@ -3254,7 +3247,6 @@ describe('bulkEdit()', () => { uuid: '100', }, ], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, references: [ { @@ -3267,7 +3259,6 @@ describe('bulkEdit()', () => { type: 'action', id: '2', }, - // eslint-disable-next-line @typescript-eslint/no-explicit-any ] as any, }, ], @@ -3365,7 +3356,6 @@ describe('bulkEdit()', () => { uuid: '111', }, ], - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any, references: [ { @@ -3373,7 +3363,6 @@ describe('bulkEdit()', () => { type: 'action', id: '1', }, - // eslint-disable-next-line @typescript-eslint/no-explicit-any ] as any, }, ], diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/bulk_edit_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/bulk_edit_rules_option_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/bulk_edit_rules_options.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_edit/validation/validate_snooze_schedule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/bulk_enable_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/bulk_enable_rules_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/bulk_enable_rules_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_enable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_enable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/bulk_untrack_alerts.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/bulk_untrack_body_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/bulk_untrack_body.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/bulk_untrack/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/bulk_untrack/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/clone_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/clone_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/clone_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/clone_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/clone/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/clone/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/clone/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/create_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/create_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/create_rule_data_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/types/create_rule_data.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/create_rule_data.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/types/create_rule_data.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/create_rule_data.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/create/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/create/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/create/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/delete_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/delete_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/delete_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/delete_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/delete/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/delete/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/delete/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/disable_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/disable_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/disable/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/disable/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/disable/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/enable_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/enable_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/enable_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/enable_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/enable_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/enable_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/find_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/find_rules.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/find_rules_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/types/find_rules_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/find_rules_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/types/find_rules_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/find_rules_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/find/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/find/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/find/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/get_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/get_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/get_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/types/get_rule_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/get_rule_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/types/get_rule_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/get_rule_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/get_schedule_frequency.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/get_schedule_frequency_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/schema/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/get_schedule_frequency_result.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/get_schedule_frequency/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/mute_instance.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/mute_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/mute_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/mute_instance.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/schemas/mute_alert_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_alert/types/mute_alert_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/mute_all.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/mute_all.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/schemas/mute_all_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/mute_all/types/mute_all_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/resolve_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/resolve_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/schemas/resolve_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/resolve/types/resolved_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/rule_types/rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/rule_types/rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_body_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/schemas/snooze_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/snooze_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/snooze_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/snooze_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/snooze_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/snooze/types/snooze_rule_options.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/get_rule_tags.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/get_rule_tags.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_aggregation_result_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/schemas/rule_tags_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_aggregation_result.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/tags/types/rule_tags_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/schemas/unmute_alert_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/types/unmute_alert_params.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_alert/unmute_instance.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/schemas/unmute_all_rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/types/unmute_all_rule_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unmute_all/unmute_all.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unmute_all/unmute_all.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/schemas/unsnooze_rule_params_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/unsnooze/unsnooze_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/schemas/update_rule_data_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/types/update_rule_data.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/update_rule_data.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/types/update_rule_data.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/types/update_rule_data.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update/update_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update/update_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/schemas/update_rule_api_key_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/types/update_rule_api_key_types.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/methods/update_api_key/update_rule_api_key.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/action_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/action_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/action_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/date_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/date_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/date_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/flapping_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/flapping_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/flapping_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/flapping_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/notify_when_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/notify_when_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/notify_when_schema.ts diff --git a/x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/rule_schemas.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/schemas/rule_schemas.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/schemas/rule_schemas.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_raw_actions_to_domain_actions.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_attributes_to_rule_domain.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/transforms/transform_rule_domain_to_rule_attributes.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/action.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/action.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/action.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/action.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/types/rule.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/types/rule.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/types/rule.ts diff --git a/x-pack/plugins/alerting/server/application/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/application/rule/validation/validate_duration.ts b/x-pack/platform/plugins/shared/alerting/server/application/rule/validation/validate_duration.ts similarity index 100% rename from x-pack/plugins/alerting/server/application/rule/validation/validate_duration.ts rename to x-pack/platform/plugins/shared/alerting/server/application/rule/validation/validate_duration.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.mock.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.mock.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.test.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.test.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.test.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.test.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.test.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.test.ts diff --git a/x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/alerting_authorization_kuery.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/alerting_authorization_kuery.ts diff --git a/x-pack/plugins/alerting/server/authorization/index.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/index.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/index.ts diff --git a/x-pack/plugins/alerting/server/authorization/types.ts b/x-pack/platform/plugins/shared/alerting/server/authorization/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/authorization/types.ts rename to x-pack/platform/plugins/shared/alerting/server/authorization/types.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.mock.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.test.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/backfill_client.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/backfill_client.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/backfill_client.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.test.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.test.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/calculate_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/calculate_schedule.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/create_backfill_error.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/create_backfill_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/create_backfill_error.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/create_backfill_error.ts diff --git a/x-pack/plugins/alerting/server/backfill_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/backfill_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/backfill_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/config.test.ts b/x-pack/platform/plugins/shared/alerting/server/config.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/config.test.ts rename to x-pack/platform/plugins/shared/alerting/server/config.test.ts diff --git a/x-pack/plugins/alerting/server/config.ts b/x-pack/platform/plugins/shared/alerting/server/config.ts similarity index 100% rename from x-pack/plugins/alerting/server/config.ts rename to x-pack/platform/plugins/shared/alerting/server/config.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/connector_adapter_registry.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/connector_adapter_registry.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/get_system_action_kibana_privileges.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/types.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/types.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/types.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/connector_adapters/validate_rule_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/connector_adapters/validate_rule_action_params.ts diff --git a/x-pack/plugins/alerting/server/constants/translations.ts b/x-pack/platform/plugins/shared/alerting/server/constants/translations.ts similarity index 100% rename from x-pack/plugins/alerting/server/constants/translations.ts rename to x-pack/platform/plugins/shared/alerting/server/constants/translations.ts diff --git a/x-pack/plugins/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/data/ad_hoc_run/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/ad_hoc_run/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/ad_hoc_run/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/alerts_filter_query_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/alerts_filter_query/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/alerts_filter_query/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/alerts_filter_query/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/constants.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/constants.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/bulk_get_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/create_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/delete_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/find_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/get_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/methods/update_maintenance_window_so.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/test_helpers.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/test_helpers.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/test_helpers.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/test_helpers.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/maintenance_window/types/maintenance_window_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/r_rule/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/r_rule/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/index.ts diff --git a/x-pack/plugins/alerting/server/data/r_rule/types/r_rule_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/r_rule_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/r_rule/types/r_rule_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/data/r_rule/types/r_rule_attributes.ts diff --git a/x-pack/plugins/alerting/server/data/rule/constants.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/constants.ts diff --git a/x-pack/plugins/alerting/server/data/rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/index.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_create_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_create_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_create_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_create_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_delete_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_delete_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_delete_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_delete_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/bulk_disable_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_disable_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/bulk_disable_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/bulk_disable_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/create_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/create_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/create_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/create_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/delete_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/delete_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/delete_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/delete_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/find_rules_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/find_rules_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/find_rules_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/find_rules_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/get_decrypted_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_decrypted_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/get_decrypted_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_decrypted_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/get_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/get_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/get_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/resolve_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/resolve_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/resolve_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/resolve_rule_so.ts diff --git a/x-pack/plugins/alerting/server/data/rule/methods/update_rule_so.ts b/x-pack/platform/plugins/shared/alerting/server/data/rule/methods/update_rule_so.ts similarity index 100% rename from x-pack/plugins/alerting/server/data/rule/methods/update_rule_so.ts rename to x-pack/platform/plugins/shared/alerting/server/data/rule/methods/update_rule_so.ts diff --git a/x-pack/plugins/alerting/server/health/get_health.test.ts b/x-pack/platform/plugins/shared/alerting/server/health/get_health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/get_health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/health/get_health.test.ts diff --git a/x-pack/plugins/alerting/server/health/get_health.ts b/x-pack/platform/plugins/shared/alerting/server/health/get_health.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/get_health.ts rename to x-pack/platform/plugins/shared/alerting/server/health/get_health.ts diff --git a/x-pack/plugins/alerting/server/health/index.ts b/x-pack/platform/plugins/shared/alerting/server/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/index.ts rename to x-pack/platform/plugins/shared/alerting/server/health/index.ts diff --git a/x-pack/plugins/alerting/server/health/task.ts b/x-pack/platform/plugins/shared/alerting/server/health/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task.ts diff --git a/x-pack/plugins/alerting/server/health/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/health/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/health/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/health/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/health/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/health/task_state.ts diff --git a/x-pack/plugins/alerting/server/index.ts b/x-pack/platform/plugins/shared/alerting/server/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/index.ts rename to x-pack/platform/plugins/shared/alerting/server/index.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap b/x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/alert_as_data_fields.test.ts.snap diff --git a/x-pack/plugins/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap b/x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/__snapshots__/serverless_upgrade_and_rollback_checks.test.ts.snap diff --git a/x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/alert_as_data_fields.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/alert_as_data_fields.test.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/alert_as_data_fields.test.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/index.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts b/x-pack/platform/plugins/shared/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts rename to x-pack/platform/plugins/shared/alerting/server/integration_tests/serverless_upgrade_and_rollback_checks.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/bulk_mark_api_keys_for_invalidation.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/invalidate_pending_api_keys/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/invalidate_pending_api_keys/task_state.ts diff --git a/x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.test.ts diff --git a/x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alert_summary_from_event_log.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alert_summary_from_event_log.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.test.ts diff --git a/x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts b/x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/alerting_event_logger/alerting_event_logger.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.test.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_es_sort_to_event_log_sort.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_es_sort_to_event_log_sort.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.test.ts diff --git a/x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.ts b/x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/convert_rule_ids_to_kuery_node.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/convert_rule_ids_to_kuery_node.ts diff --git a/x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.test.ts diff --git a/x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_alert_event_log_record_object.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_alert_event_log_record_object.ts diff --git a/x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.test.ts diff --git a/x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.ts b/x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/create_get_alert_indices_alias.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/create_get_alert_indices_alias.ts diff --git a/x-pack/plugins/alerting/server/lib/determine_alerts_to_return.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/determine_alerts_to_return.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.test.ts diff --git a/x-pack/plugins/alerting/server/lib/determine_alerts_to_return.ts b/x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/determine_alerts_to_return.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/determine_alerts_to_return.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_reason.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_reason.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.test.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_reason.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_reason.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_reason.ts diff --git a/x-pack/plugins/alerting/server/lib/error_with_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/error_with_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/error_with_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/error_with_type.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/es_error_parser.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/es_error_parser.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.test.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/es_error_parser.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/es_error_parser.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/es_error_parser.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/index.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/rule_muted.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_muted.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/rule_muted.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_muted.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/rule_type_disabled.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_type_disabled.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/rule_type_disabled.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/rule_type_disabled.ts diff --git a/x-pack/plugins/alerting/server/lib/errors/types.ts b/x-pack/platform/plugins/shared/alerting/server/lib/errors/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/errors/types.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/errors/types.ts diff --git a/x-pack/plugins/alerting/server/lib/flapping_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/flapping_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.test.ts diff --git a/x-pack/plugins/alerting/server/lib/flapping_utils.ts b/x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/flapping_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/flapping_utils.ts diff --git a/x-pack/plugins/alerting/server/lib/format_execution_log_errors.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/format_execution_log_errors.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.test.ts diff --git a/x-pack/plugins/alerting/server/lib/format_execution_log_errors.ts b/x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/format_execution_log_errors.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/format_execution_log_errors.ts diff --git a/x-pack/plugins/alerting/server/lib/get_actions_config_map.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_actions_config_map.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_actions_config_map.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_actions_config_map.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_actions_config_map.ts diff --git a/x-pack/plugins/alerting/server/lib/get_alerts_for_notification.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_alerts_for_notification.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_alerts_for_notification.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_alerts_for_notification.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_alerts_for_notification.ts diff --git a/x-pack/plugins/alerting/server/lib/get_cadence.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_cadence.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_cadence.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_cadence.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_query_config.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_query_config.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_query_config.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_query_config.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_query_config.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_request_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_request_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_es_request_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_es_request_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_es_request_timeout.ts diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_execution_log_aggregation.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_execution_log_aggregation.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_notify_when_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_notify_when_type.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_task_timeout.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_task_timeout.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_task_timeout.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_task_timeout.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_task_timeout.ts diff --git a/x-pack/plugins/alerting/server/lib/get_rule_type_feature_usage_name.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_rule_type_feature_usage_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_rule_type_feature_usage_name.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_rule_type_feature_usage_name.ts diff --git a/x-pack/plugins/alerting/server/lib/get_security_health.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_security_health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_security_health.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_security_health.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_security_health.ts diff --git a/x-pack/plugins/alerting/server/lib/get_time_range.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_time_range.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.test.ts diff --git a/x-pack/plugins/alerting/server/lib/get_time_range.ts b/x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/get_time_range.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/get_time_range.ts diff --git a/x-pack/plugins/alerting/server/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/index.ts diff --git a/x-pack/plugins/alerting/server/lib/is_alerting_error.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_alerting_error.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.test.ts diff --git a/x-pack/plugins/alerting/server/lib/is_alerting_error.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_alerting_error.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_alerting_error.ts diff --git a/x-pack/plugins/alerting/server/lib/is_rule_snoozed.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_rule_snoozed.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.test.ts diff --git a/x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts b/x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/is_rule_snoozed.ts diff --git a/x-pack/plugins/alerting/server/lib/iso_or_relative_date.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/iso_or_relative_date.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.test.ts diff --git a/x-pack/plugins/alerting/server/lib/iso_or_relative_date.ts b/x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/iso_or_relative_date.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/iso_or_relative_date.ts diff --git a/x-pack/plugins/alerting/server/lib/last_run_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/last_run_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.test.ts diff --git a/x-pack/plugins/alerting/server/lib/last_run_status.ts b/x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/last_run_status.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/last_run_status.ts diff --git a/x-pack/plugins/alerting/server/lib/license_api_access.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_api_access.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_api_access.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_api_access.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.test.ts diff --git a/x-pack/plugins/alerting/server/lib/license_state.ts b/x-pack/platform/plugins/shared/alerting/server/lib/license_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/license_state.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/license_state.ts diff --git a/x-pack/plugins/alerting/server/lib/monitoring.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts similarity index 98% rename from x-pack/plugins/alerting/server/lib/monitoring.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts index 5d417c2735681..8fc4e9f231139 100644 --- a/x-pack/plugins/alerting/server/lib/monitoring.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.test.ts @@ -161,7 +161,7 @@ describe('convertMonitoringFromRawAndVerify', () => { const mockLogger = { debug: mockLoggerDebug, }; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const result = convertMonitoringFromRawAndVerify(mockLogger as any, '123', monitoring); expect(mockLoggerDebug).toHaveBeenCalledWith( 'invalid monitoring last_run.timestamp "invalid" in raw rule 123' diff --git a/x-pack/plugins/alerting/server/lib/monitoring.ts b/x-pack/platform/plugins/shared/alerting/server/lib/monitoring.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/monitoring.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/monitoring.ts diff --git a/x-pack/plugins/alerting/server/lib/next_run.ts b/x-pack/platform/plugins/shared/alerting/server/lib/next_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/next_run.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/next_run.ts diff --git a/x-pack/plugins/alerting/server/lib/process_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/process_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/process_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/process_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/process_alerts.ts diff --git a/x-pack/plugins/alerting/server/lib/result_type.ts b/x-pack/platform/plugins/shared/alerting/server/lib/result_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/result_type.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/result_type.ts diff --git a/x-pack/plugins/alerting/server/lib/retry_if_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/retry_if_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/retry_if_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/retry_if_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/retry_if_conflicts.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts index bad1ba413f782..a9bd4f263ee01 100644 --- a/x-pack/plugins/alerting/server/lib/rule_execution_status.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.test.ts @@ -444,7 +444,6 @@ describe('RuleExecutionStatus', () => { }); }); -// eslint-disable-next-line @typescript-eslint/no-explicit-any function checkDateIsNearNow(date: any) { expect(date instanceof Date).toBe(true); // allow for lots of slop in the time difference diff --git a/x-pack/plugins/alerting/server/lib/rule_execution_status.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_execution_status.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_execution_status.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.test.ts diff --git a/x-pack/plugins/alerting/server/lib/rule_run_metrics_store.ts b/x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/rule_run_metrics_store.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/rule_run_metrics_store.ts diff --git a/x-pack/plugins/alerting/server/lib/set_flapping.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/set_flapping.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.test.ts diff --git a/x-pack/plugins/alerting/server/lib/set_flapping.ts b/x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/set_flapping.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/set_flapping.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.test.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_active.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_active.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.test.ts diff --git a/x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.ts b/x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/snooze/is_snooze_expired.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/snooze/is_snooze_expired.ts diff --git a/x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.test.ts diff --git a/x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_deprecated_route_usage.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_deprecated_route_usage.ts diff --git a/x-pack/plugins/alerting/server/lib/track_legacy_route_usage.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_legacy_route_usage.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.test.ts diff --git a/x-pack/plugins/alerting/server/lib/track_legacy_route_usage.ts b/x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/track_legacy_route_usage.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/track_legacy_route_usage.ts diff --git a/x-pack/plugins/alerting/server/lib/trim_recovered_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/trim_recovered_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/lib/trim_recovered_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/trim_recovered_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/trim_recovered_alerts.ts diff --git a/x-pack/plugins/alerting/server/lib/types.ts b/x-pack/platform/plugins/shared/alerting/server/lib/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/types.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/types.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.test.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_authorize_system_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_authorize_system_actions.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_mutated_rule_type_params.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_mutated_rule_type_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_mutated_rule_type_params.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_mutated_rule_type_params.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rrule_by.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rrule_by.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rrule_by.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rrule_by.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rule_type_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rule_type_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.test.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_rule_type_params.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_rule_type_params.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_rule_type_params.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_snooze_date.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_snooze_date.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_date.ts diff --git a/x-pack/plugins/alerting/server/lib/validate_snooze_schedule.ts b/x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_schedule.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/validate_snooze_schedule.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/validate_snooze_schedule.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.test.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_scoped_cluster_client.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_scoped_cluster_client.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.mock.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.test.ts diff --git a/x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts b/x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/lib/wrap_search_source_client.ts rename to x-pack/platform/plugins/shared/alerting/server/lib/wrap_search_source_client.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client.mock.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/index.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client/maintenance_window_client.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/maintenance_window_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client/maintenance_window_client.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client/maintenance_window_client.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_client_factory.ts diff --git a/x-pack/plugins/alerting/server/maintenance_window_feature.ts b/x-pack/platform/plugins/shared/alerting/server/maintenance_window_feature.ts similarity index 100% rename from x-pack/plugins/alerting/server/maintenance_window_feature.ts rename to x-pack/platform/plugins/shared/alerting/server/maintenance_window_feature.ts diff --git a/x-pack/plugins/alerting/server/manual_tests/action_param_templates.sh b/x-pack/platform/plugins/shared/alerting/server/manual_tests/action_param_templates.sh similarity index 100% rename from x-pack/plugins/alerting/server/manual_tests/action_param_templates.sh rename to x-pack/platform/plugins/shared/alerting/server/manual_tests/action_param_templates.sh diff --git a/x-pack/plugins/alerting/server/mocks.ts b/x-pack/platform/plugins/shared/alerting/server/mocks.ts similarity index 100% rename from x-pack/plugins/alerting/server/mocks.ts rename to x-pack/platform/plugins/shared/alerting/server/mocks.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/in_memory_metrics.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/in_memory_metrics.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/in_memory_metrics.ts diff --git a/x-pack/plugins/alerting/server/monitoring/index.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/index.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/index.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_cluster_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_cluster_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_cluster_collector.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_cluster_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_cluster_collector.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_node_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_node_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/register_node_collector.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/register_node_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/register_node_collector.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_monitoring_service.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_monitoring_service.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.mock.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.test.ts diff --git a/x-pack/plugins/alerting/server/monitoring/rule_result_service.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/rule_result_service.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/rule_result_service.ts diff --git a/x-pack/plugins/alerting/server/monitoring/types.ts b/x-pack/platform/plugins/shared/alerting/server/monitoring/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/monitoring/types.ts rename to x-pack/platform/plugins/shared/alerting/server/monitoring/types.ts diff --git a/x-pack/plugins/alerting/server/plugin.test.ts b/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts similarity index 99% rename from x-pack/plugins/alerting/server/plugin.test.ts rename to x-pack/platform/plugins/shared/alerting/server/plugin.test.ts index 2938daf8b1ec3..d9d7feab2227e 100644 --- a/x-pack/plugins/alerting/server/plugin.test.ts +++ b/x-pack/platform/plugins/shared/alerting/server/plugin.test.ts @@ -184,7 +184,7 @@ describe('Alerting Plugin', () => { expect(() => setup.registerType({ ...sampleRuleType, - // eslint-disable-next-line @typescript-eslint/no-explicit-any + minimumLicenseRequired: 'foo' as any, }) ).toThrowErrorMatchingInlineSnapshot(`"\\"foo\\" is not a valid license type"`); diff --git a/x-pack/plugins/alerting/server/plugin.ts b/x-pack/platform/plugins/shared/alerting/server/plugin.ts similarity index 100% rename from x-pack/plugins/alerting/server/plugin.ts rename to x-pack/platform/plugins/shared/alerting/server/plugin.ts diff --git a/x-pack/plugins/alerting/server/routes/_mock_handler_arguments.ts b/x-pack/platform/plugins/shared/alerting/server/routes/_mock_handler_arguments.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/_mock_handler_arguments.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/_mock_handler_arguments.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/delete/delete_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/find_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/find_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/find/transforms/transform_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/get/get_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/get/get_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/schedule_backfill_route.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/apis/schedule/transforms/transform_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/backfill/transforms/transform_backfill_to_backfill_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/constants.ts b/x-pack/platform/plugins/shared/alerting/server/routes/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/constants.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/health.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.test.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/health.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/health.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/health.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/index.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/framework/apis/health/transforms/transform_health_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/get_action_error_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_action_error_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_action_error_log.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_action_error_log.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_action_error_log.ts diff --git a/x-pack/plugins/alerting/server/routes/get_flapping_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_flapping_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_flapping_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_flapping_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_flapping_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_logs.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_global_execution_logs.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_global_execution_logs.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_alert_summary.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_alert_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_alert_summary.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_alert_summary.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_execution_log.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_execution_log.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_execution_log.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.test.ts diff --git a/x-pack/plugins/alerting/server/routes/get_rule_state.ts b/x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/get_rule_state.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/get_rule_state.ts diff --git a/x-pack/plugins/alerting/server/routes/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/index.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/actions_schema.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/actions_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/actions_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/actions_schema.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/count_usage_of_predefined_ids.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/count_usage_of_predefined_ids.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/error_handler.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/error_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/error_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/error_handler.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/index.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rename_keys.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rename_keys.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rename_keys.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rename_keys.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_actions.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_actions.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_maintenance_window.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_maintenance_window.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_maintenance_window.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_maintenance_window.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_namespaces.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_namespaces.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_namespaces.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_request_case.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_request_case.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_request_case.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_request_case.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rewrite_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rewrite_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rewrite_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/rrule_schema.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/rrule_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/rrule_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/rrule_schema.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/track_legacy_terminology.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/track_legacy_terminology.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_hours.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_hours.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_hours.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_hours.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_hours.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_timezone.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_timezone.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.test.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/validate_timezone.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/validate_timezone.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/validate_timezone.ts diff --git a/x-pack/plugins/alerting/server/routes/lib/verify_access_and_context.ts b/x-pack/platform/plugins/shared/alerting/server/routes/lib/verify_access_and_context.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/lib/verify_access_and_context.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/lib/verify_access_and_context.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/archive/archive_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/bulk_get_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/bulk_get/transforms/transform_bulk_get_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/create_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/create/transforms/transform_create_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/delete/delete_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/find_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_params/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/find/transforms/transform_find_maintenance_window_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/finish/finish_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get/get_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/get_active/get_active_maintenance_windows_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/transforms/transform_update_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/apis/update/update_maintenance_window_route.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/maintenance_window/transforms/transform_maintenance_window_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/aggregate_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/format_default_aggregation_result/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_body_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/transforms/transform_aggregate_query_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/aggregate/types/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/aggregate/types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/aggregate/types/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_delete/bulk_delete_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_disable/bulk_disable_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/bulk_edit_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_edit/transforms/transform_operations/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/bulk_enable_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_enable/transforms/transform_bulk_enable_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/bulk_untrack_alerts_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack/transforms/transform_bulk_untrack_alerts_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/bulk_untrack_alerts_by_query_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/bulk_untrack_by_query/transforms/transform_bulk_untrack_alerts_by_query_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/clone/clone_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/clone/clone_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/create_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/create_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/create/transforms/transform_create_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/delete/delete_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/delete/delete_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/disable/disable_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/disable/disable_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/enable/enable_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/enable/enable_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_internal_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/find_rules_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/find_rules_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/find/transforms/transform_find_rules_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get/get_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get/get_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/get_schedule_frequency_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/get_schedule_frequency/transforms/transform_get_schedule_frequency_result/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/rule_types.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/rule_types.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/list_types/transforms/transform_rule_types_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/mute_alert.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_alert/transforms/transform_request_params_to_application/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/mute_all/mute_all_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/resolve_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/resolve/transforms/transform_resolve_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/snooze_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/snooze/transforms/transform_snooze_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/get_rule_tags.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/get_rule_tags.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_body_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/tags/transforms/transform_rule_tags_query_request/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/transforms/transform_request_params_to_application/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_alert/unmute_alert_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unmute_all/unmute_all_rule.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/transforms/transform_unsnooze_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/unsnooze/unsnooze_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/transforms/transform_update_body/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update/update_rule_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update/update_rule_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/apis/update_api_key/update_rule_api_key_route.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/transforms/transform_rule_to_rule_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rule/validation/validate_required_group_in_default_actions/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/get/get_query_delay_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/apis/update/update_query_delay_settings.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/index.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/index.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/index.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/latest.ts diff --git a/x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts b/x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/rules_settings/transforms/transform_query_delay_settings_to_response/v1.ts diff --git a/x-pack/plugins/alerting/server/routes/run_soon.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/run_soon.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/run_soon.test.ts diff --git a/x-pack/plugins/alerting/server/routes/run_soon.ts b/x-pack/platform/plugins/shared/alerting/server/routes/run_soon.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/run_soon.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/run_soon.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/fields_rules.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fields_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/fields_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fields_rules.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/fileds_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fileds_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/fileds_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/fileds_rule.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_alerts.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.test.ts diff --git a/x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.ts b/x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/suggestions/values_suggestion_rules.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/suggestions/values_suggestion_rules.ts diff --git a/x-pack/plugins/alerting/server/routes/update_flapping_settings.test.ts b/x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/update_flapping_settings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.test.ts diff --git a/x-pack/plugins/alerting/server/routes/update_flapping_settings.ts b/x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.ts similarity index 100% rename from x-pack/plugins/alerting/server/routes/update_flapping_settings.ts rename to x-pack/platform/plugins/shared/alerting/server/routes/update_flapping_settings.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.mock.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.test.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.test.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.test.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.test.ts diff --git a/x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.ts b/x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.ts similarity index 100% rename from x-pack/plugins/alerting/server/rule_type_registry_deprecated_consumers.ts rename to x-pack/platform/plugins/shared/alerting/server/rule_type_registry_deprecated_consumers.ts diff --git a/x-pack/plugins/alerting/server/rules_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/api_key_as_alert_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/api_key_as_alert_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/apply_bulk_edit_operation.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/apply_bulk_edit_operation.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/audit_events.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/audit_events.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/audit_events.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/audit_events.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/audit_events.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/build_kuery_node_filter.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/build_kuery_node_filter.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/constants.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/constants.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/filters.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/filters.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/filters.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/filters.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/filters.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/generate_api_key_name.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/generate_api_key_name.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/generate_api_key_name.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/generate_api_key_name.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/get_and_validate_common_bulk_options.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/include_fields_required_for_authentication.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/include_fields_required_for_authentication.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/include_fields_required_for_authentication.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/include_fields_required_for_authentication.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/inject_references.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/inject_references.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/inject_references.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/map_sort_field.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/map_sort_field.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/map_sort_field.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/map_sort_field.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/map_sort_field.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/mapped_params_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/mapped_params_utils.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/parse_date.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/parse_date.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/parse_date.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/parse_date.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_edit_conflicts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/retry_if_bulk_operation_conflicts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/snooze_utils.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/snooze_utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/snooze_utils.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/snooze_utils.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/try_to_remove_tasks.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/try_to_remove_tasks.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/try_to_remove_tasks.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/try_to_remove_tasks.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/validate_attributes.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/validate_attributes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/validate_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/validate_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/validate_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/common/wait_before_next_retry.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/common/wait_before_next_retry.ts diff --git a/x-pack/plugins/alerting/server/rules_client/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/add_generated_action_values.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/add_generated_action_values.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/check_authorization_and_get_total.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/check_authorization_and_get_total.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/check_authorization_and_get_total.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/check_authorization_and_get_total.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_new_api_key_set.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_new_api_key_set.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/create_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/create_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/denormalize_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/denormalize_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/denormalize_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/denormalize_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/extract_references.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/extract_references.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/extract_references.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/extract_references.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_alert_from_raw.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_alert_from_raw.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_alert_from_raw.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_alert_from_raw.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_authorization_filter.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_authorization_filter.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_authorization_filter.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_authorization_filter.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/get_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/get_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/get_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/increment_revision.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/increment_revision.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/increment_revision.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/increment_revision.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/increment_revision.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/index.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/resolve_rule_saved_object.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/resolve_rule_saved_object.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/resolve_rule_saved_object.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/resolve_rule_saved_object.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/schedule_task.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/schedule_task.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/schedule_task.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/schedule_task.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/format_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/migrate_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/retrieve_migrated_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_legacy_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_alert_throttle.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/transform_to_notify_when.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/types.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/siem_legacy_actions/types.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/siem_legacy_actions/types.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/untrack_rule_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/untrack_rule_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/untrack_rule_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/untrack_rule_alerts.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/update_meta.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/update_meta.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/update_meta_attributes.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta_attributes.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/update_meta_attributes.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/update_meta_attributes.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/validate_actions.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/validate_actions.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/lib/validate_actions.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/lib/validate_actions.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/lib/validate_actions.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/bulk_edit.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/bulk_edit.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/bulk_edit.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/bulk_edit.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_action_error_log.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_action_error_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_action_error_log.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_action_error_log.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_alert_state.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_alert_state.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_state.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_alert_summary.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_summary.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_alert_summary.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_alert_summary.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_execution_kpi.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_kpi.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_execution_kpi.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_kpi.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/get_execution_log.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/get_execution_log.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/get_execution_log.ts diff --git a/x-pack/plugins/alerting/server/rules_client/methods/run_soon.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/methods/run_soon.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/methods/run_soon.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/methods/run_soon.ts diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/rules_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/rules_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/rules_client.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_action_error_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_action_error_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_action_error_log.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_alert_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_alert_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_state.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_alert_summary.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_summary.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_alert_summary.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_alert_summary.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_execution_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/get_execution_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/get_execution_log.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/lib.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts similarity index 98% rename from x-pack/plugins/alerting/server/rules_client/tests/lib.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts index 386cfe8f41eec..d1ed758c021e6 100644 --- a/x-pack/plugins/alerting/server/rules_client/tests/lib.ts +++ b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/lib.ts @@ -23,7 +23,7 @@ export function setGlobalDate() { const DateOriginal = Date; // A version of date that responds to `new Date(null|undefined)` and `Date.now()` // by returning a fixed date, otherwise should be same as Date. - /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ + (global as any).Date = class Date { constructor(...args: unknown[]) { // sometimes the ctor has no args, sometimes has a single `null` arg diff --git a/x-pack/plugins/alerting/server/rules_client/tests/list_rule_types.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/list_rule_types.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/list_rule_types.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/list_rule_types.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/mute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/mute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_all.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/mute_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/mute_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/mute_instance.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/resolve.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/resolve.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/resolve.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/resolve.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/run_soon.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/run_soon.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/run_soon.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/run_soon.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/test_helpers.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/test_helpers.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/test_helpers.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/test_helpers.ts diff --git a/x-pack/plugins/alerting/server/rules_client/tests/unmute_all.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/tests/unmute_all.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/tests/unmute_all.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/tests/unmute_all.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client/types.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client/types.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client/types.ts diff --git a/x-pack/plugins/alerting/server/rules_client_conflict_retries.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_conflict_retries.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_conflict_retries.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_conflict_retries.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/rules_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_client_factory.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/flapping/rules_settings_flapping_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/index.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/query_delay/rules_settings_query_delay_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_client_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_client_factory.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_feature.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_feature.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.mock.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.test.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/rules_settings_service.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/rules_settings_service.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/rules_settings_service.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/flapping_schema.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/flapping_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/flapping_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/flapping_schema.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/index.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/index.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/index.ts diff --git a/x-pack/plugins/alerting/server/rules_settings/schemas/query_delay_schema.ts b/x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/query_delay_schema.ts similarity index 100% rename from x-pack/plugins/alerting/server/rules_settings/schemas/query_delay_schema.ts rename to x-pack/platform/plugins/shared/alerting/server/rules_settings/schemas/query_delay_schema.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/geo_containment/migrations.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/geo_containment/migrations.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/get_import_warnings.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/get_import_warnings.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/get_import_warnings.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/get_import_warnings.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/get_import_warnings.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/is_rule_exportable.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/is_rule_exportable.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/maintenance_window_mapping.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/maintenance_window_mapping.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/maintenance_window_mapping.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/maintenance_window_mapping.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.10/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.10/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.10/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.10/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.11/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.11/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.13/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.13/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.13/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.13/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.14/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.14/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.14/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.14/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.15/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.15/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/7.16/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.16/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/7.16/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/7.16/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.0/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.0/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.0/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.0/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.2/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.2/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.2/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.2/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.3/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.3/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.3/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.3/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.4/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.4/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.4/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.4/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.5/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.5/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.5/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.5/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts similarity index 98% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts index b3d362fc4dd77..5c42e2f65b52e 100644 --- a/x-pack/plugins/alerting/server/saved_objects/migrations/8.6/index.ts +++ b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.6/index.ts @@ -60,7 +60,6 @@ const getMonitoring = (attributes: RawRule) => { const { lastExecutionDate, lastDuration } = executionStatus; - // eslint-disable-next-line @typescript-eslint/no-explicit-any const monitoringExecution = (monitoring as any).execution; return { diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.7/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.7/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.7/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.7/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/8.8/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.8/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/8.8/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/8.8/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/constants.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/constants.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/constants.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/constants.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/index.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/index.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/types.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/types.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/types.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/migrations/utils.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/utils.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/migrations/utils.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/migrations/utils.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/ad_hoc_run_params_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/api_key_pending_invalidation_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/maintenance_window_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/rule_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rule_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/rule_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rule_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/model_versions/rules_settings_model_versions.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/partially_update_rule.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/partially_update_rule.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/partially_update_rule.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/partially_update_rule.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/partially_update_rule.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/rrule_mappings_field.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/rrule_mappings_field.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/rrule_mappings_field.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/rrule_mappings_field.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/rules_settings_mappings.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/rules_settings_mappings.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/rules_settings_mappings.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_ad_hoc_run_params/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_api_key_pending_invalidation/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_maintenance_window/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/latest.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/latest.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/latest.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/latest.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v2.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v2.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v2.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v2.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v3.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v3.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rule/v3.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rule/v3.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/index.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/schemas/raw_rules_settings/v1.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.test.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.test.ts diff --git a/x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts b/x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.ts similarity index 100% rename from x-pack/plugins/alerting/server/saved_objects/transform_rule_for_export.ts rename to x-pack/platform/plugins/shared/alerting/server/saved_objects/transform_rule_for_export.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/build_rule_url.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/format_action_to_enqueue.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/get_summarized_alerts.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/rule_action_helper.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/lib/should_schedule_action.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/per_alert_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/summary_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/schedulers/system_action_scheduler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts similarity index 98% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts index 5d56e03d0a462..1ae9c6336f141 100644 --- a/x-pack/plugins/alerting/server/task_runner/action_scheduler/test_fixtures.ts +++ b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/test_fixtures.ts @@ -177,7 +177,7 @@ export const getDefaultSchedulerContext = < actionsPluginMock: jest.Mocked, alertingEventLoggerMock: jest.Mocked, actionsClientMock: jest.Mocked>, - // eslint-disable-next-line @typescript-eslint/no-explicit-any + alertsClientMock: jest.Mocked ) => ({ rule: getRule(), diff --git a/x-pack/plugins/alerting/server/task_runner/action_scheduler/types.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/action_scheduler/types.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/action_scheduler/types.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/ad_hoc_task_running_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/ad_hoc_task_running_handler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/alert_task_instance.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/alert_task_instance.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/alert_task_instance.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/alert_task_instance.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/alert_task_instance.ts diff --git a/x-pack/plugins/alerting/server/task_runner/fixtures.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/fixtures.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/fixtures.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/fixtures.ts diff --git a/x-pack/plugins/alerting/server/task_runner/get_executor_services.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/get_executor_services.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/get_executor_services.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/get_executor_services.ts diff --git a/x-pack/plugins/alerting/server/task_runner/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/inject_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/inject_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/inject_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/inject_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/inject_action_params.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/clear_expired_snoozes.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/clear_expired_snoozes.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/partially_update_ad_hoc_run.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/process_run_result.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/process_run_result.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/process_run_result.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/process_run_result.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/process_run_result.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/task_runner_logger.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/task_runner_logger.ts diff --git a/x-pack/plugins/alerting/server/task_runner/lib/with_alerting_span.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/lib/with_alerting_span.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/lib/with_alerting_span.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/lib/with_alerting_span.ts diff --git a/x-pack/plugins/alerting/server/task_runner/log_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/log_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/log_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/log_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/log_alerts.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/get_maintenance_windows.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/index.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/index.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/index.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.mock.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/maintenance_windows/maintenance_windows_service.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_loader.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_loader.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_loader.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_loader.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_loader.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_running_handler.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_running_handler.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_running_handler.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_running_handler.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_running_handler.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_type_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_type_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/rule_type_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/rule_type_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/rule_type_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_alerts_client.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_alerts_client.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_alerts_client.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_alerts_client.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_cancel.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_cancel.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_cancel.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_cancel.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_factory.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_factory.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_factory.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_factory.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_factory.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_timer.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_timer.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/task_runner_timer.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/task_runner_timer.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/task_runner_timer.ts diff --git a/x-pack/plugins/alerting/server/task_runner/transform_action_params.test.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/transform_action_params.test.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.test.ts diff --git a/x-pack/plugins/alerting/server/task_runner/transform_action_params.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts similarity index 95% rename from x-pack/plugins/alerting/server/task_runner/transform_action_params.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/transform_action_params.ts index fb934db0ffb7d..cb28d0aefcbd0 100644 --- a/x-pack/plugins/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/plugins/alerting/server/task_runner/types.ts b/x-pack/platform/plugins/shared/alerting/server/task_runner/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/task_runner/types.ts rename to x-pack/platform/plugins/shared/alerting/server/task_runner/types.ts diff --git a/x-pack/plugins/alerting/server/test_utils/index.ts b/x-pack/platform/plugins/shared/alerting/server/test_utils/index.ts similarity index 93% rename from x-pack/plugins/alerting/server/test_utils/index.ts rename to x-pack/platform/plugins/shared/alerting/server/test_utils/index.ts index 401225f171f06..fe2cf8ee0bc07 100644 --- a/x-pack/plugins/alerting/server/test_utils/index.ts +++ b/x-pack/platform/plugins/shared/alerting/server/test_utils/index.ts @@ -27,7 +27,7 @@ export function resolvable(): Promise & Resolvable { // Used to convert a raw Rule's UUID to something that can be used // to compare with a jest snapshot. -// eslint-disable-next-line @typescript-eslint/no-explicit-any + export function alertWithAnyUUID(rawAlert: Record): Record { if (!rawAlert?.meta?.uuid) return rawAlert; @@ -37,7 +37,6 @@ export function alertWithAnyUUID(rawAlert: Record): Record ): Record { const newAlerts: Record = {}; diff --git a/x-pack/plugins/alerting/server/types.ts b/x-pack/platform/plugins/shared/alerting/server/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/types.ts rename to x-pack/platform/plugins/shared/alerting/server/types.ts diff --git a/x-pack/plugins/alerting/server/usage/alerting_usage_collector.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/alerting_usage_collector.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.test.ts diff --git a/x-pack/plugins/alerting/server/usage/alerting_usage_collector.ts b/x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/alerting_usage_collector.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/alerting_usage_collector.ts diff --git a/x-pack/plugins/alerting/server/usage/index.ts b/x-pack/platform/plugins/shared/alerting/server/usage/index.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/index.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/index.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_alerts.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_alerts.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_event_log.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_event_log.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_kibana.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_kibana.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/get_telemetry_from_task_manager.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/get_telemetry_from_task_manager.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_connectors_by_consumers.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_connectors_by_consumers.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_connectors_by_consumers.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_connectors_by_consumers.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_notify_when.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_notify_when.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_search_type.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_search_type.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/group_rules_by_status.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/group_rules_by_status.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/parse_simple_rule_type_bucket.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.test.ts diff --git a/x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.ts b/x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/lib/replace_dots_with_underscores.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/lib/replace_dots_with_underscores.ts diff --git a/x-pack/plugins/alerting/server/usage/task.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task.ts diff --git a/x-pack/plugins/alerting/server/usage/task_state.test.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task_state.test.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task_state.test.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task_state.test.ts diff --git a/x-pack/plugins/alerting/server/usage/task_state.ts b/x-pack/platform/plugins/shared/alerting/server/usage/task_state.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/task_state.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/task_state.ts diff --git a/x-pack/plugins/alerting/server/usage/types.ts b/x-pack/platform/plugins/shared/alerting/server/usage/types.ts similarity index 100% rename from x-pack/plugins/alerting/server/usage/types.ts rename to x-pack/platform/plugins/shared/alerting/server/usage/types.ts diff --git a/x-pack/plugins/alerting/tsconfig.json b/x-pack/platform/plugins/shared/alerting/tsconfig.json similarity index 97% rename from x-pack/plugins/alerting/tsconfig.json rename to x-pack/platform/plugins/shared/alerting/tsconfig.json index 6019f8711d681..274cb8dde4527 100644 --- a/x-pack/plugins/alerting/tsconfig.json +++ b/x-pack/platform/plugins/shared/alerting/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/plugins/cases/README.md b/x-pack/platform/plugins/shared/cases/README.md similarity index 100% rename from x-pack/plugins/cases/README.md rename to x-pack/platform/plugins/shared/cases/README.md diff --git a/x-pack/plugins/cases/common/api/helpers.ts b/x-pack/platform/plugins/shared/cases/common/api/helpers.ts similarity index 78% rename from x-pack/plugins/cases/common/api/helpers.ts rename to x-pack/platform/plugins/shared/cases/common/api/helpers.ts index 230fe8128855e..fcdf2be6b6159 100644 --- a/x-pack/plugins/cases/common/api/helpers.ts +++ b/x-pack/platform/plugins/shared/cases/common/api/helpers.ts @@ -22,6 +22,10 @@ import { INTERNAL_DELETE_FILE_ATTACHMENTS_URL, CASE_FIND_ATTACHMENTS_URL, INTERNAL_PUT_CUSTOM_FIELDS_URL, + INTERNAL_CASE_OBSERVABLES_URL, + INTERNAL_CASE_OBSERVABLES_PATCH_URL, + INTERNAL_CASE_SIMILAR_CASES_URL, + INTERNAL_CASE_OBSERVABLES_DELETE_URL, } from '../constants'; export const getCaseDetailsUrl = (id: string): string => { @@ -90,3 +94,25 @@ export const getCustomFieldReplaceUrl = (caseId: string, customFieldId: string): customFieldId ); }; + +export const getCaseCreateObservableUrl = (id: string): string => { + return INTERNAL_CASE_OBSERVABLES_URL.replace('{case_id}', id); +}; + +export const getCaseUpdateObservableUrl = (id: string, observableId: string): string => { + return INTERNAL_CASE_OBSERVABLES_PATCH_URL.replace('{case_id}', id).replace( + '{observable_id}', + observableId + ); +}; + +export const getCaseDeleteObservableUrl = (id: string, observableId: string): string => { + return INTERNAL_CASE_OBSERVABLES_DELETE_URL.replace('{case_id}', id).replace( + '{observable_id}', + observableId + ); +}; + +export const getCaseSimilarCasesUrl = (caseId: string) => { + return INTERNAL_CASE_SIMILAR_CASES_URL.replace('{case_id}', caseId); +}; diff --git a/x-pack/plugins/cases/common/api/index.ts b/x-pack/platform/plugins/shared/cases/common/api/index.ts similarity index 100% rename from x-pack/plugins/cases/common/api/index.ts rename to x-pack/platform/plugins/shared/cases/common/api/index.ts diff --git a/x-pack/plugins/cases/common/api/runtime_types.ts b/x-pack/platform/plugins/shared/cases/common/api/runtime_types.ts similarity index 100% rename from x-pack/plugins/cases/common/api/runtime_types.ts rename to x-pack/platform/plugins/shared/cases/common/api/runtime_types.ts diff --git a/x-pack/plugins/cases/common/api/saved_object.ts b/x-pack/platform/plugins/shared/cases/common/api/saved_object.ts similarity index 100% rename from x-pack/plugins/cases/common/api/saved_object.ts rename to x-pack/platform/plugins/shared/cases/common/api/saved_object.ts diff --git a/x-pack/plugins/cases/common/constants/application.ts b/x-pack/platform/plugins/shared/cases/common/constants/application.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/application.ts rename to x-pack/platform/plugins/shared/cases/common/constants/application.ts diff --git a/x-pack/plugins/cases/common/constants/files.ts b/x-pack/platform/plugins/shared/cases/common/constants/files.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/files.ts rename to x-pack/platform/plugins/shared/cases/common/constants/files.ts diff --git a/x-pack/plugins/cases/common/constants/index.ts b/x-pack/platform/plugins/shared/cases/common/constants/index.ts similarity index 85% rename from x-pack/plugins/cases/common/constants/index.ts rename to x-pack/platform/plugins/shared/cases/common/constants/index.ts index 1fee73f8608c8..70a7f73bd4526 100644 --- a/x-pack/plugins/cases/common/constants/index.ts +++ b/x-pack/platform/plugins/shared/cases/common/constants/index.ts @@ -85,7 +85,14 @@ export const INTERNAL_DELETE_FILE_ATTACHMENTS_URL = export const INTERNAL_GET_CASE_CATEGORIES_URL = `${CASES_INTERNAL_URL}/categories` as const; export const INTERNAL_CASE_METRICS_URL = `${CASES_INTERNAL_URL}/metrics` as const; export const INTERNAL_CASE_METRICS_DETAILS_URL = `${CASES_INTERNAL_URL}/metrics/{case_id}` as const; +export const INTERNAL_CASE_SIMILAR_CASES_URL = `${CASES_INTERNAL_URL}/{case_id}/_similar` as const; export const INTERNAL_PUT_CUSTOM_FIELDS_URL = `${CASES_INTERNAL_URL}/{case_id}/custom_fields/{custom_field_id}`; +export const INTERNAL_CASE_OBSERVABLES_URL = `${CASES_INTERNAL_URL}/{case_id}/observables` as const; +export const INTERNAL_CASE_OBSERVABLES_PATCH_URL = + `${INTERNAL_CASE_OBSERVABLES_URL}/{observable_id}` as const; +export const INTERNAL_CASE_OBSERVABLES_DELETE_URL = + `${INTERNAL_CASE_OBSERVABLES_URL}/{observable_id}` as const; + /** * Action routes */ @@ -142,6 +149,7 @@ export const MAX_TEMPLATES_LENGTH = 10 as const; export const MAX_TEMPLATE_TAG_LENGTH = 50 as const; export const MAX_TAGS_PER_TEMPLATE = 10 as const; export const MAX_FILENAME_LENGTH = 160 as const; +export const MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH = 50 as const; /** * Cases features @@ -204,6 +212,7 @@ export const DEFAULT_USER_SIZE = 10; export const MAX_ASSIGNEES_PER_CASE = 10; export const NO_ASSIGNEES_FILTERING_KEYWORD = 'none'; export const KIBANA_SYSTEM_USERNAME = 'elastic/kibana'; +export const MAX_OBSERVABLES_PER_CASE = 50; /** * Delays @@ -262,3 +271,63 @@ export const CASES_CONNECTOR_TIME_WINDOW_REGEX = '^[1-9][0-9]*[d,w]$'; * operation continues, otherwise we throw a 403. */ export const OWNER_FIELD = 'owner'; + +export const MAX_OBSERVABLE_TYPE_KEY_LENGTH = 36; + +export const MAX_OBSERVABLE_TYPE_LABEL_LENGTH = 50; + +export const MAX_CUSTOM_OBSERVABLE_TYPES = 10; + +export const OBSERVABLE_TYPE_EMAIL = { + label: 'Email', + key: 'observable-type-email', +} as const; + +export const OBSERVABLE_TYPE_DOMAIN = { + label: 'Domain', + key: 'observable-type-domain', +} as const; + +export const OBSERVABLE_TYPE_IPV4 = { + label: 'IPv4', + key: 'observable-type-ipv4', +} as const; + +export const OBSERVABLE_TYPE_IPV6 = { + label: 'IPv6', + key: 'observable-type-ipv6', +} as const; + +export const OBSERVABLE_TYPE_URL = { + label: 'URL', + key: 'observable-type-url', +} as const; + +/** + * Exporting an array of built-in observable types for use in the application + */ +export const OBSERVABLE_TYPES_BUILTIN = [ + OBSERVABLE_TYPE_IPV4, + OBSERVABLE_TYPE_IPV6, + OBSERVABLE_TYPE_URL, + { + label: 'Hostname', + key: 'observable-type-hostname', + }, + { + label: 'File hash', + key: 'observable-type-file-hash', + }, + { + label: 'File path', + key: 'observable-type-file-path', + }, + { + ...OBSERVABLE_TYPE_EMAIL, + }, + { + ...OBSERVABLE_TYPE_DOMAIN, + }, +]; + +export const OBSERVABLE_TYPES_BUILTIN_KEYS = OBSERVABLE_TYPES_BUILTIN.map(({ key }) => key); diff --git a/x-pack/plugins/cases/common/constants/mime_types.ts b/x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/mime_types.ts rename to x-pack/platform/plugins/shared/cases/common/constants/mime_types.ts diff --git a/x-pack/plugins/cases/common/constants/owner.test.ts b/x-pack/platform/plugins/shared/cases/common/constants/owner.test.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/owner.test.ts rename to x-pack/platform/plugins/shared/cases/common/constants/owner.test.ts diff --git a/x-pack/plugins/cases/common/constants/owners.ts b/x-pack/platform/plugins/shared/cases/common/constants/owners.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/owners.ts rename to x-pack/platform/plugins/shared/cases/common/constants/owners.ts diff --git a/x-pack/plugins/cases/common/constants/types.ts b/x-pack/platform/plugins/shared/cases/common/constants/types.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/types.ts rename to x-pack/platform/plugins/shared/cases/common/constants/types.ts diff --git a/x-pack/plugins/cases/common/constants/visualizations.ts b/x-pack/platform/plugins/shared/cases/common/constants/visualizations.ts similarity index 100% rename from x-pack/plugins/cases/common/constants/visualizations.ts rename to x-pack/platform/plugins/shared/cases/common/constants/visualizations.ts diff --git a/x-pack/plugins/cases/common/files/index.test.ts b/x-pack/platform/plugins/shared/cases/common/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/common/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/common/files/index.test.ts diff --git a/x-pack/plugins/cases/common/files/index.ts b/x-pack/platform/plugins/shared/cases/common/files/index.ts similarity index 100% rename from x-pack/plugins/cases/common/files/index.ts rename to x-pack/platform/plugins/shared/cases/common/files/index.ts diff --git a/x-pack/plugins/cases/common/index.ts b/x-pack/platform/plugins/shared/cases/common/index.ts similarity index 100% rename from x-pack/plugins/cases/common/index.ts rename to x-pack/platform/plugins/shared/cases/common/index.ts diff --git a/x-pack/plugins/cases/common/registry.test.ts b/x-pack/platform/plugins/shared/cases/common/registry.test.ts similarity index 100% rename from x-pack/plugins/cases/common/registry.test.ts rename to x-pack/platform/plugins/shared/cases/common/registry.test.ts diff --git a/x-pack/plugins/cases/common/registry.ts b/x-pack/platform/plugins/shared/cases/common/registry.ts similarity index 100% rename from x-pack/plugins/cases/common/registry.ts rename to x-pack/platform/plugins/shared/cases/common/registry.ts diff --git a/x-pack/plugins/cases/common/schema/index.test.ts b/x-pack/platform/plugins/shared/cases/common/schema/index.test.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/index.test.ts rename to x-pack/platform/plugins/shared/cases/common/schema/index.test.ts diff --git a/x-pack/plugins/cases/common/schema/index.ts b/x-pack/platform/plugins/shared/cases/common/schema/index.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/index.ts rename to x-pack/platform/plugins/shared/cases/common/schema/index.ts diff --git a/x-pack/plugins/cases/common/schema/types.ts b/x-pack/platform/plugins/shared/cases/common/schema/types.ts similarity index 100% rename from x-pack/plugins/cases/common/schema/types.ts rename to x-pack/platform/plugins/shared/cases/common/schema/types.ts diff --git a/x-pack/plugins/cases/common/types.ts b/x-pack/platform/plugins/shared/cases/common/types.ts similarity index 92% rename from x-pack/plugins/cases/common/types.ts rename to x-pack/platform/plugins/shared/cases/common/types.ts index 32d6b34b11c16..bb57a712033ae 100644 --- a/x-pack/plugins/cases/common/types.ts +++ b/x-pack/platform/plugins/shared/cases/common/types.ts @@ -25,4 +25,6 @@ export enum CASE_VIEW_PAGE_TABS { ALERTS = 'alerts', ACTIVITY = 'activity', FILES = 'files', + OBSERVABLES = 'observables', + SIMILAR_CASES = 'similar_cases', } diff --git a/x-pack/plugins/cases/common/types/api/alert/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/alert/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/alert/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/alert/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/alert/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/attachment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/attachment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/attachment/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/case/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.test.ts similarity index 99% rename from x-pack/plugins/cases/common/types/api/case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/case/v1.test.ts index baf9626d3562e..fc8737c6bbfb1 100644 --- a/x-pack/plugins/cases/common/types/api/case/v1.test.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.test.ts @@ -124,6 +124,16 @@ const basicCase: Case = { value: 3, }, ], + observables: [ + { + value: 'test', + typeKey: '9b557398-0289-4e00-b696-5b277608789c', + id: 'df927ab8-54ed-47d6-be07-9948c255c097', + createdAt: '2024-11-14', + updatedAt: '2024-11-14', + description: null, + }, + ], }; describe('CasePostRequestRt', () => { diff --git a/x-pack/plugins/cases/common/types/api/case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts similarity index 96% rename from x-pack/plugins/cases/common/types/api/case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts index f66df68169e5b..0e1b9ae9894ac 100644 --- a/x-pack/plugins/cases/common/types/api/case/v1.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/api/case/v1.ts @@ -41,6 +41,7 @@ import { CasesRt, CaseStatusRt, RelatedCaseRt, + SimilarCaseRt, } from '../../domain/case/v1'; import { CaseConnectorRt } from '../../domain/connector/v1'; import { CaseUserProfileRt, UserRt } from '../../domain/user/v1'; @@ -394,6 +395,13 @@ export const CasesFindResponseRt = rt.intersection([ CasesStatusResponseRt, ]); +export const CasesSimilarResponseRt = rt.strict({ + cases: rt.array(SimilarCaseRt), + page: rt.number, + per_page: rt.number, + total: rt.number, +}); + /** * Delete cases */ @@ -452,7 +460,10 @@ export const CasePatchRequestRt = rt.intersection([ /** * The saved object ID and version */ - rt.strict({ id: rt.string, version: rt.string }), + rt.strict({ + id: rt.string, + version: rt.string, + }), ]); export const CasesPatchRequestRt = rt.strict({ @@ -519,6 +530,8 @@ export const CasesByAlertIDRequestRt = rt.exact( export const GetRelatedCasesByAlertResponseRt = rt.array(RelatedCaseRt); +export const SimilarCasesSearchRequestRt = paginationSchema({ maxPerPage: MAX_CASES_PER_PAGE }); + export type CasePostRequest = rt.TypeOf; export type CaseResolveResponse = rt.TypeOf; export type CasesDeleteRequest = rt.TypeOf; @@ -542,3 +555,5 @@ export type CaseRequestCustomFields = rt.TypeOf; export type BulkCreateCasesRequest = rt.TypeOf; export type BulkCreateCasesResponse = rt.TypeOf; +export type SimilarCasesSearchRequest = rt.TypeOf; +export type CasesSimilarResponse = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/api/configure/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/configure/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/configure/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/configure/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.test.ts similarity index 87% rename from x-pack/plugins/cases/common/types/api/configure/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.test.ts index 64baf7b2e46f4..2952246b1759a 100644 --- a/x-pack/plugins/cases/common/types/api/configure/v1.test.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.test.ts @@ -14,8 +14,11 @@ import { MAX_CUSTOM_FIELD_KEY_LENGTH, MAX_CUSTOM_FIELD_LABEL_LENGTH, MAX_CUSTOM_FIELD_TEXT_VALUE_LENGTH, + MAX_CUSTOM_OBSERVABLE_TYPES, MAX_DESCRIPTION_LENGTH, MAX_LENGTH_PER_TAG, + MAX_OBSERVABLE_TYPE_KEY_LENGTH, + MAX_OBSERVABLE_TYPE_LABEL_LENGTH, MAX_TAGS_PER_CASE, MAX_TAGS_PER_TEMPLATE, MAX_TEMPLATES_LENGTH, @@ -38,6 +41,7 @@ import { ToggleCustomFieldConfigurationRt, NumberCustomFieldConfigurationRt, TemplateConfigurationRt, + ObservableTypesConfigurationRt, } from './v1'; describe('configure', () => { @@ -96,6 +100,24 @@ describe('configure', () => { }); }); + it('has expected attributes in request with observableTypes', () => { + const request = { + ...defaultRequest, + observableTypes: [ + { + key: '371357ae-77ce-44bd-88b7-fbba9c80501f', + label: 'Example Label', + }, + ], + }; + const query = ConfigurationRequestRt.decode(request); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: request, + }); + }); + it(`limits customFields to ${MAX_CUSTOM_FIELDS_PER_CASE}`, () => { const customFields = new Array(MAX_CUSTOM_FIELDS_PER_CASE + 1).fill({ key: 'text_custom_field', @@ -270,6 +292,24 @@ describe('configure', () => { ).toContain(`The length of the field templates is too long. Array must be of length <= 10.`); }); + it('has expected attributes in request with observableTypes', () => { + const request = { + ...defaultRequest, + observableTypes: [ + { + key: '371357ae-77ce-44bd-88b7-fbba9c80501f', + label: 'Example Label', + }, + ], + }; + const query = ConfigurationPatchRequestRt.decode(request); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: request, + }); + }); + it('removes foo:bar attributes from request', () => { const query = ConfigurationPatchRequestRt.decode({ ...defaultRequest, foo: 'bar' }); @@ -926,4 +966,85 @@ describe('configure', () => { }); }); }); + + describe('ObservableTypesConfigurationRt', () => { + it('should validate a correct observable types configuration', () => { + const validData = [ + { key: 'observable_key_1', label: 'Observable Label 1' }, + { key: 'observable_key_2', label: 'Observable Label 2' }, + ]; + + const result = ObservableTypesConfigurationRt.decode(validData); + expect(PathReporter.report(result).join()).toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with an invalid key', () => { + const invalidData = [{ key: 'Invalid Key!', label: 'Observable Label 1' }]; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with a missing label', () => { + const invalidData = [{ key: 'observable_key_1' }]; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('should accept an observable types configuration with an empty array', () => { + const invalidData: unknown[] = []; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with a label exceeding max length', () => { + const invalidData = [ + { key: 'observable_key_1', label: 'a'.repeat(MAX_OBSERVABLE_TYPE_LABEL_LENGTH + 1) }, + ]; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with a key exceeding max length', () => { + const invalidData = [{ key: 'a'.repeat(MAX_OBSERVABLE_TYPE_KEY_LENGTH + 1), label: 'label' }]; + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('should invalidate an observable types configuration with observableTypes count exceeding max', () => { + const invalidData = new Array(MAX_CUSTOM_OBSERVABLE_TYPES + 1).fill({ + key: 'foo', + label: 'label', + }); + + const result = ObservableTypesConfigurationRt.decode(invalidData); + expect(PathReporter.report(result).join()).not.toContain('No errors!'); + }); + + it('accepts a uuid as an key', () => { + const key = uuidv4(); + + const query = ObservableTypesConfigurationRt.decode([{ key, label: 'Observable Label 1' }]); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: [{ key, label: 'Observable Label 1' }], + }); + }); + + it('accepts a slug as an key', () => { + const key = 'abc_key-1'; + + const query = ObservableTypesConfigurationRt.decode([{ key, label: 'Observable Label 1' }]); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: [{ key, label: 'Observable Label 1' }], + }); + }); + }); }); diff --git a/x-pack/plugins/cases/common/types/api/configure/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.ts similarity index 88% rename from x-pack/plugins/cases/common/types/api/configure/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.ts index 52843da1ac1ad..e5682d314f726 100644 --- a/x-pack/plugins/cases/common/types/api/configure/v1.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/api/configure/v1.ts @@ -10,6 +10,9 @@ import { MAX_CUSTOM_FIELDS_PER_CASE, MAX_CUSTOM_FIELD_KEY_LENGTH, MAX_CUSTOM_FIELD_LABEL_LENGTH, + MAX_CUSTOM_OBSERVABLE_TYPES, + MAX_OBSERVABLE_TYPE_KEY_LENGTH, + MAX_OBSERVABLE_TYPE_LABEL_LENGTH, MAX_TAGS_PER_TEMPLATE, MAX_TEMPLATES_LENGTH, MAX_TEMPLATE_DESCRIPTION_LENGTH, @@ -95,6 +98,24 @@ export const CustomFieldsConfigurationRt = limitedArraySchema({ fieldName: 'customFields', }); +export const ObservableTypesConfigurationRt = limitedArraySchema({ + min: 0, + max: MAX_CUSTOM_OBSERVABLE_TYPES, + fieldName: 'observableTypes', + codec: rt.strict({ + key: regexStringRt({ + codec: limitedStringSchema({ fieldName: 'key', min: 1, max: MAX_OBSERVABLE_TYPE_KEY_LENGTH }), + pattern: '^[a-z0-9_-]+$', + message: `Key must be lower case, a-z, 0-9, '_', and '-' are allowed`, + }), + label: limitedStringSchema({ + fieldName: 'label', + min: 1, + max: MAX_OBSERVABLE_TYPE_LABEL_LENGTH, + }), + }), +}); + export const TemplateConfigurationRt = rt.intersection([ rt.strict({ /** @@ -167,6 +188,7 @@ export const ConfigurationRequestRt = rt.intersection([ rt.partial({ customFields: CustomFieldsConfigurationRt, templates: TemplatesConfigurationRt, + observableTypes: ObservableTypesConfigurationRt, }) ), ]); @@ -192,6 +214,7 @@ export const ConfigurationPatchRequestRt = rt.intersection([ connector: ConfigurationBasicWithoutOwnerRt.type.props.connector, customFields: CustomFieldsConfigurationRt, templates: TemplatesConfigurationRt, + observableTypes: ObservableTypesConfigurationRt, }) ), rt.strict({ version: rt.string }), diff --git a/x-pack/plugins/cases/common/types/api/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/custom_field/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/custom_field/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/custom_field/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/external_service/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/external_service/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/external_service/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/index.ts b/x-pack/platform/plugins/shared/cases/common/types/api/index.ts similarity index 93% rename from x-pack/plugins/cases/common/types/api/index.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/index.ts index 9e8459dd6894b..ddd8392fd0950 100644 --- a/x-pack/plugins/cases/common/types/api/index.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/api/index.ts @@ -17,6 +17,7 @@ export * from './connector/latest'; export * from './attachment/latest'; export * from './metrics/latest'; export * from './custom_field/latest'; +export * from './observable/latest'; // V1 export * as configureApiV1 from './configure/v1'; @@ -30,3 +31,4 @@ export * as connectorApiV1 from './connector/v1'; export * as attachmentApiV1 from './attachment/v1'; export * as metricsApiV1 from './metrics/v1'; export * as customFieldsApiV1 from './custom_field/v1'; +export * as observableApiV1 from './observable/v1'; diff --git a/x-pack/plugins/cases/common/types/api/metrics/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/metrics/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/metrics/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/metrics/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/metrics/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/stats/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/stats/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/observable/latest.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.test.ts new file mode 100644 index 0000000000000..c13d24dfcab31 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.test.ts @@ -0,0 +1,45 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { AddObservableRequestRt, UpdateObservableRequestRt } from './v1'; + +describe('AddObservableRequestRT', () => { + it('has expected attributes in request', () => { + const defaultRequest = { + observable: { + description: null, + typeKey: 'ef528526-2af9-4345-9b78-046512c5bbd6', + value: 'email@example.com', + }, + }; + + const query = AddObservableRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); + +describe('UpdateObservableRequestRT', () => { + it('has expected attributes in request', () => { + const defaultRequest = { + observable: { + description: null, + value: 'email@example.com', + }, + }; + + const query = UpdateObservableRequestRt.decode(defaultRequest); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: defaultRequest, + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.ts new file mode 100644 index 0000000000000..c665184a3d20c --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/api/observable/v1.ts @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as rt from 'io-ts'; +import { CaseObservableBaseRt } from '../../domain/observable/v1'; + +/** + * Observables + */ +export const ObservablePostRt = CaseObservableBaseRt; + +export const ObservablePatchRt = rt.strict({ + value: rt.string, + description: rt.union([rt.string, rt.null]), +}); + +export type ObservablePatch = rt.TypeOf; +export type ObservablePost = rt.TypeOf; + +export const AddObservableRequestRt = rt.strict({ + observable: ObservablePostRt, +}); + +export const UpdateObservableRequestRt = rt.strict({ + observable: ObservablePatchRt, +}); + +export type AddObservableRequest = rt.TypeOf; +export type UpdateObservableRequest = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/api/user/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/stats/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/stats/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/stats/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/stats/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/stats/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/stats/v1.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/user/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/user/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/latest.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/api/user_action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/api/user_action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/api/user_action/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/attachment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/attachment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/attachment/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/configure/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/configure/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/case/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.test.ts similarity index 99% rename from x-pack/plugins/cases/common/types/domain/case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.test.ts index b0a6f96bcacd0..b4af10013513a 100644 --- a/x-pack/plugins/cases/common/types/domain/case/v1.test.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.test.ts @@ -91,6 +91,7 @@ const basicCase = { value: 0, }, ], + observables: [], }; describe('RelatedCaseRt', () => { @@ -204,6 +205,7 @@ describe('CaseAttributesRt', () => { value: 0, }, ], + observables: [], }; it('has expected attributes in request', () => { diff --git a/x-pack/plugins/cases/common/types/domain/case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts similarity index 89% rename from x-pack/plugins/cases/common/types/domain/case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts index 83d48df363bd2..14051228452ed 100644 --- a/x-pack/plugins/cases/common/types/domain/case/v1.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/case/v1.ts @@ -12,6 +12,7 @@ import { CaseAssigneesRt, UserRt } from '../user/v1'; import { CaseConnectorRt } from '../connector/v1'; import { AttachmentRt } from '../attachment/v1'; import { CaseCustomFieldsRt } from '../custom_field/v1'; +import { CaseObservableRt } from '../observable/v1'; export { CaseStatuses }; @@ -90,6 +91,10 @@ const CaseBaseFields = { * The alert sync settings */ settings: CaseSettingsRt, + /** + * Observables + */ + observables: rt.array(CaseObservableRt), }; export const CaseBaseOptionalFieldsRt = rt.exact( @@ -155,6 +160,16 @@ export const RelatedCaseRt = rt.strict({ totals: AttachmentTotalsRt, }); +export const SimilarityRt = rt.strict({ + typeKey: rt.string, + value: rt.string, +}); + +export const SimilarCaseRt = rt.intersection([ + CaseRt, + rt.strict({ similarities: rt.strict({ observables: rt.array(SimilarityRt) }) }), +]); + export type Case = rt.TypeOf; export type Cases = rt.TypeOf; export type CaseAttributes = rt.TypeOf; @@ -162,3 +177,5 @@ export type CaseSettings = rt.TypeOf; export type RelatedCase = rt.TypeOf; export type AttachmentTotals = rt.TypeOf; export type CaseBaseOptionalFields = rt.TypeOf; +export type SimilarCase = rt.TypeOf; +export type SimilarCases = SimilarCase[]; diff --git a/x-pack/plugins/cases/common/types/domain/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/configure/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/configure/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.test.ts similarity index 97% rename from x-pack/plugins/cases/common/types/domain/configure/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.test.ts index 59682de1e7c7a..179439d65697d 100644 --- a/x-pack/plugins/cases/common/types/domain/configure/v1.test.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.test.ts @@ -121,6 +121,12 @@ describe('configure', () => { username: 'lknope', email: 'leslie.knope@elastic.co', }, + observableTypes: [ + { + key: '8498cd52-e311-4467-9073-c6056960e2ca', + label: 'Email', + }, + ], }; it('has expected attributes in request', () => { @@ -188,6 +194,12 @@ describe('configure', () => { version: 'WzQ3LDFd', id: 'case-id', error: null, + observableTypes: [ + { + key: '8498cd52-e311-4467-9073-c6056960e2ca', + label: 'Email', + }, + ], }; it('has expected attributes in request', () => { diff --git a/x-pack/plugins/cases/common/types/domain/configure/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.ts similarity index 91% rename from x-pack/plugins/cases/common/types/domain/configure/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.ts index 17760922d2cda..b7d9a09791590 100644 --- a/x-pack/plugins/cases/common/types/domain/configure/v1.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/configure/v1.ts @@ -14,6 +14,7 @@ import { CustomFieldNumberTypeRt, } from '../custom_field/v1'; import { CaseBaseOptionalFieldsRt } from '../case/v1'; +import { CaseObservableTypeRt } from '../observable/v1'; export const ClosureTypeRt = rt.union([ rt.literal('close-by-user'), @@ -73,6 +74,8 @@ export const CustomFieldConfigurationRt = rt.union([ export const CustomFieldsConfigurationRt = rt.array(CustomFieldConfigurationRt); +export const ObservableTypesConfigurationRt = rt.array(CaseObservableTypeRt); + export const TemplateConfigurationRt = rt.intersection([ rt.strict({ /** @@ -121,6 +124,10 @@ export const ConfigurationBasicWithoutOwnerRt = rt.strict({ * Templates configured for the case */ templates: TemplatesConfigurationRt, + /** + * Observable types configured for the case + */ + observableTypes: ObservableTypesConfigurationRt, }); export const CasesConfigureBasicRt = rt.intersection([ @@ -166,3 +173,5 @@ export type ClosureType = rt.TypeOf; export type ConfigurationAttributes = rt.TypeOf; export type Configuration = rt.TypeOf; export type Configurations = rt.TypeOf; +export type ObservableTypesConfiguration = rt.TypeOf; +export type ObservableTypeConfiguration = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/custom_field/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/custom_field/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/custom_field/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/external_service/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/external_service/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/external_service/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/index.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/index.ts similarity index 91% rename from x-pack/plugins/cases/common/types/domain/index.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/index.ts index ef317908b4627..b6d3cbb8dd76c 100644 --- a/x-pack/plugins/cases/common/types/domain/index.ts +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/index.ts @@ -14,6 +14,7 @@ export * from './case/latest'; export * from './user/latest'; export * from './connector/latest'; export * from './attachment/latest'; +export * from './observable/latest'; // V1 export * as configureDomainV1 from './configure/v1'; @@ -24,3 +25,4 @@ export * as caseDomainV1 from './case/v1'; export * as userDomainV1 from './user/v1'; export * as connectorDomainV1 from './connector/v1'; export * as attachmentDomainV1 from './attachment/v1'; +export * as observableDomainV1 from './observable/v1'; diff --git a/x-pack/plugins/cases/common/types/domain/user_action/action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/observable/latest.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.test.ts new file mode 100644 index 0000000000000..a0ed481a2d322 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.test.ts @@ -0,0 +1,28 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { CaseObservableRt } from './v1'; + +describe('CaseObservableRt', () => { + it('has expected attributes in request', () => { + const observable = { + description: null, + id: '274fcbfc-87b8-47d0-9f17-bfe98e5453e9', + typeKey: 'ef528526-2af9-4345-9b78-046512c5bbd6', + value: 'email@example.com', + createdAt: '2024-10-01', + updatedAt: '2024-10-01', + }; + + const query = CaseObservableRt.decode(observable); + + expect(query).toStrictEqual({ + _tag: 'Right', + right: observable, + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.ts new file mode 100644 index 0000000000000..7fff862acac68 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/observable/v1.ts @@ -0,0 +1,31 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import * as rt from 'io-ts'; + +export const CaseObservableBaseRt = rt.strict({ + typeKey: rt.string, + value: rt.string, + description: rt.union([rt.string, rt.null]), +}); + +export const CaseObservableRt = rt.intersection([ + rt.strict({ + id: rt.string, + createdAt: rt.string, + updatedAt: rt.union([rt.string, rt.null]), + }), + CaseObservableBaseRt, +]); + +export const CaseObservableTypeRt = rt.strict({ + key: rt.string, + label: rt.string, +}); + +export type Observable = rt.TypeOf; +export type ObservableType = rt.TypeOf; diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/action/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/assignees/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/assignees/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/category/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/category/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/category/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/comment/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/comment/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/comment/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/connector/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/connector/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/connector/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/create_case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/create_case/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/custom_fields/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/custom_fields/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/delete_case/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/delete_case/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/description/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/description/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/description/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/pushed/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/pushed/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/settings/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/settings/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/settings/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/severity/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/severity/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/severity/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/latest.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/status/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/status/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/status/v1.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/latest.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/latest.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/latest.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/tags/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/tags/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/tags/v1.ts diff --git a/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/latest.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/latest.ts new file mode 100644 index 0000000000000..25300c97a6d2e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v1'; diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/title/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/title/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/title/v1.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/v1.test.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.test.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/v1.test.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.test.ts diff --git a/x-pack/plugins/cases/common/types/domain/user_action/v1.ts b/x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.ts similarity index 100% rename from x-pack/plugins/cases/common/types/domain/user_action/v1.ts rename to x-pack/platform/plugins/shared/cases/common/types/domain/user_action/v1.ts diff --git a/x-pack/plugins/cases/common/ui/index.ts b/x-pack/platform/plugins/shared/cases/common/ui/index.ts similarity index 100% rename from x-pack/plugins/cases/common/ui/index.ts rename to x-pack/platform/plugins/shared/cases/common/ui/index.ts diff --git a/x-pack/plugins/cases/common/ui/types.ts b/x-pack/platform/plugins/shared/cases/common/ui/types.ts similarity index 93% rename from x-pack/plugins/cases/common/ui/types.ts rename to x-pack/platform/plugins/shared/cases/common/ui/types.ts index a03f38979ceac..72b102d34770d 100644 --- a/x-pack/plugins/cases/common/ui/types.ts +++ b/x-pack/platform/plugins/shared/cases/common/ui/types.ts @@ -45,6 +45,7 @@ import type { CaseMetricsFeature, CasesMetricsResponse, SingleCaseMetricsResponse, + CasesSimilarResponse, } from '../types/api'; type DeepRequired = { [K in keyof T]: DeepRequired } & Required; @@ -100,6 +101,8 @@ export type CaseUserActionsStats = SnakeToCamelCase export type CaseUI = Omit, 'comments'> & { comments: AttachmentUI[]; }; +export type ObservableUI = CaseUI['observables'][0]; + export type CasesUI = CaseUI[]; export type CasesFindResponseUI = Omit, 'cases'> & { cases: CasesUI; @@ -109,6 +112,9 @@ export type CaseUpdateRequest = SnakeToCamelCase; export type CaseConnectors = SnakeToCamelCase; export type CaseUsers = GetCaseUsersResponse; export type CaseUICustomField = CaseUI['customFields'][number]; +export type CasesSimilarResponseUI = SnakeToCamelCase; +export type SimilarCaseUI = Omit, 'comments'>; +export type SimilarCasesUI = SimilarCaseUI[]; export interface ResolvedCase { case: CaseUI; @@ -127,6 +133,7 @@ export type CasesConfigurationUI = Pick< | 'id' | 'version' | 'owner' + | 'observableTypes' >; export type CasesConfigurationUICustomField = CasesConfigurationUI['customFields'][number]; @@ -172,7 +179,7 @@ export type SingleCaseMetricsFeature = Exclude ({ all: [ diff --git a/x-pack/plugins/cases/common/utils/connectors_api.ts b/x-pack/platform/plugins/shared/cases/common/utils/connectors_api.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/connectors_api.ts rename to x-pack/platform/plugins/shared/cases/common/utils/connectors_api.ts diff --git a/x-pack/plugins/cases/common/utils/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/constants.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/constants.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/constants.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/constants.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/parser.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/parser.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/parser.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/parser.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/lens/serializer.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/serializer.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/lens/serializer.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/lens/serializer.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/index.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/index.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/index.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/index.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/parser.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/parser.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/parser.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/parser.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/serializer.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/serializer.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/serializer.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/serializer.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/timeline/translations.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/translations.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/timeline/translations.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/timeline/translations.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/utils.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/utils.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.test.ts diff --git a/x-pack/plugins/cases/common/utils/markdown_plugins/utils.ts b/x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/markdown_plugins/utils.ts rename to x-pack/platform/plugins/shared/cases/common/utils/markdown_plugins/utils.ts diff --git a/x-pack/plugins/cases/common/utils/owner.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/owner.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/owner.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/owner.test.ts diff --git a/x-pack/plugins/cases/common/utils/owner.ts b/x-pack/platform/plugins/shared/cases/common/utils/owner.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/owner.ts rename to x-pack/platform/plugins/shared/cases/common/utils/owner.ts diff --git a/x-pack/plugins/cases/common/utils/user_actions.test.ts b/x-pack/platform/plugins/shared/cases/common/utils/user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/common/utils/user_actions.test.ts diff --git a/x-pack/plugins/cases/common/utils/user_actions.ts b/x-pack/platform/plugins/shared/cases/common/utils/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/common/utils/user_actions.ts rename to x-pack/platform/plugins/shared/cases/common/utils/user_actions.ts diff --git a/x-pack/plugins/cases/docs/openapi/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/README.md similarity index 73% rename from x-pack/plugins/cases/docs/openapi/README.md rename to x-pack/platform/plugins/shared/cases/docs/openapi/README.md index 6de117e966fe0..da3211520da73 100644 --- a/x-pack/plugins/cases/docs/openapi/README.md +++ b/x-pack/platform/plugins/shared/cases/docs/openapi/README.md @@ -1,6 +1,6 @@ # OpenAPI (Experimental) -The current self-contained spec file is [as JSON](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.json) or [as YAML](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/plugins/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at . +The current self-contained spec file is [as JSON](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.json) or [as YAML](https://raw.githubusercontent.com/elastic/kibana/master/x-pack/platform/plugins/shared/cases/common/openapi/bundled.yaml) and can be used for online tools like those found at . This spec is experimental and may be incomplete or change later. A guide about the openApi specification can be found at [https://swagger.io/docs/specification/about/](https://swagger.io/docs/specification/about/). diff --git a/x-pack/plugins/cases/docs/openapi/bundled.json b/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.json similarity index 100% rename from x-pack/plugins/cases/docs/openapi/bundled.json rename to x-pack/platform/plugins/shared/cases/docs/openapi/bundled.json diff --git a/x-pack/plugins/cases/docs/openapi/bundled.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/bundled.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/components/README.md similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/README.md rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/README.md diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/add_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/add_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/add_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/add_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/add_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/create_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/create_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/create_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/create_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/create_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_case_activity_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_activity_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_case_activity_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_activity_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/find_connector_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_connector_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/find_connector_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/find_connector_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_alerts_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_alerts_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_alerts_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_alerts_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_observability_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_observability_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_observability_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_observability_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_reporters_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_reporters_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_reporters_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_reporters_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/get_tags_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_tags_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/get_tags_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/get_tags_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/push_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/push_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/push_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/push_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/set_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/set_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_configuration_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_configuration_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_case_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_case_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_case_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/examples/update_comment_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/examples/update_comment_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/examples/update_comment_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/headers/kbn_xsrf.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/headers/kbn_xsrf.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/headers/kbn_xsrf.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/headers/kbn_xsrf.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/alert_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/alert_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/alert_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/alert_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/assignees_filter.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/assignees_filter.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/assignees_filter.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/assignees_filter.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/case_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/case_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/case_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/case_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/category.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/category.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/category.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/category.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/comment_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/comment_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/comment_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/comment_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/configuration_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/configuration_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/configuration_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/configuration_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/connector_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/connector_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/connector_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/connector_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/defaultSearchOperator.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/from.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/from.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/from.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/from.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/ids.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/ids.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/ids.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/ids.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/includeComments.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/includeComments.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/includeComments.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/includeComments.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/owner_filter.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/owner_filter.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/owner_filter.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/owner_filter.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/page_index.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_index.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/page_index.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_index.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/page_size.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_size.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/page_size.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/page_size.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/reporters.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/reporters.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/reporters.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/reporters.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/search.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/search.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/search.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/search.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsType.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsType.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsType.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsType.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/searchFieldsTypeArray.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/sortField.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sortField.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/sortField.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sortField.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/sort_order.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sort_order.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/sort_order.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/sort_order.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/space_id.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/space_id.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/space_id.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/space_id.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/to.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/to.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/to.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/to.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/parameters/user_action_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/user_action_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/parameters/user_action_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/parameters/user_action_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/4xx_response.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/4xx_response.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/4xx_response.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/4xx_response.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/action_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/action_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/action_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/action_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/actions.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/actions.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/actions.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/actions.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_alert_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_case_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_case_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_case_file_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_file_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_case_file_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_case_file_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/add_user_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_comment_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_identifiers.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_identifiers.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_identifiers.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_indices.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_indices.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_indices.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/alert_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/alert_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/alert_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/assignees.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/assignees.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/assignees.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/assignees.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_categories.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_categories.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_categories.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_categories.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_category.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_category.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_category.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_category.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_connector_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_customfields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_customfields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_customfields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_customfields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_configure_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_customfields.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_customfields.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_customfields.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_customfields.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_description.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_description.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_description.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_description.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_closed_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_connector_field_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_created_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_pushed_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_response_updated_by_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/case_title.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_title.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/case_title.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/case_title.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/closure_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/closure_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/closure_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/closure_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/comment_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/comment_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/comment_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/comment_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_cases_webhook.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_jira.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_jira.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_jira.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_jira.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_none.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_none.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_none.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_none.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_resilient.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_servicenow_sir.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_properties_swimlane.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/connector_types.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_types.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/connector_types.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/connector_types.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/create_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/create_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/create_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/create_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/external_service.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/external_service.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/external_service.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/external_service.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/owner.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owner.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/owner.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owner.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/owners.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owners.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/owners.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/owners.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_alert_comment.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_alert_comment.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_alert_comment.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_alert_comment.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_assignees.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_assignees.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_assignees.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_assignees.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_connector.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_connector.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_connector.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_connector.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_create_case.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_create_case.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_create_case.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_create_case.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_delete.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_delete.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_delete.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_delete.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_description.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_description.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_description.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_description.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_pushed.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_pushed.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_pushed.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_pushed.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_settings.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_settings.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_settings.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_settings.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_severity.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_severity.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_severity.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_severity.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_title.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_title.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_title.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_title.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/payload_user_comment.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_user_comment.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/payload_user_comment.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/payload_user_comment.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/rule.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/rule.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/rule_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/rule_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/rule_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/set_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/settings.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/settings.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/settings.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/settings.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/string.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/string.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/string_array.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string_array.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/string_array.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/string_array.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/template_tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/template_tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/template_tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/template_tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/templates.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/templates.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/templates.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/templates.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_alert_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_comment_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_comment_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_comment_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_comment_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_configuration_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_case_request.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_request.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_case_request.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_case_request.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/update_user_comment_request_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_find_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_actions_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_comment_response_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/components/schemas/user_properties.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_properties.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/components/schemas/user_properties.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/components/schemas/user_properties.yaml diff --git a/x-pack/plugins/cases/docs/openapi/entrypoint.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/entrypoint.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/entrypoint.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/entrypoint.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/README.md b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/README.md similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/README.md rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/README.md diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@alerts@{alertid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@connectors@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@configure@{configurationid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@reporters.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@reporters.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@reporters.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@status.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@status.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@status.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@tags.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@tags.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@tags.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@alerts.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@_find.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@comments@{commentid}.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@connector@{connectorid}@_push.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@files.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions.yaml diff --git a/x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml b/x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml similarity index 100% rename from x-pack/plugins/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml rename to x-pack/platform/plugins/shared/cases/docs/openapi/paths/api@cases@{caseid}@user_actions@_find.yaml diff --git a/x-pack/plugins/cases/images/all_cases.png b/x-pack/platform/plugins/shared/cases/images/all_cases.png similarity index 100% rename from x-pack/plugins/cases/images/all_cases.png rename to x-pack/platform/plugins/shared/cases/images/all_cases.png diff --git a/x-pack/plugins/cases/images/all_cases_selector_modal.png b/x-pack/platform/plugins/shared/cases/images/all_cases_selector_modal.png similarity index 100% rename from x-pack/plugins/cases/images/all_cases_selector_modal.png rename to x-pack/platform/plugins/shared/cases/images/all_cases_selector_modal.png diff --git a/x-pack/plugins/cases/images/case_view.png b/x-pack/platform/plugins/shared/cases/images/case_view.png similarity index 100% rename from x-pack/plugins/cases/images/case_view.png rename to x-pack/platform/plugins/shared/cases/images/case_view.png diff --git a/x-pack/plugins/cases/images/configure.png b/x-pack/platform/plugins/shared/cases/images/configure.png similarity index 100% rename from x-pack/plugins/cases/images/configure.png rename to x-pack/platform/plugins/shared/cases/images/configure.png diff --git a/x-pack/plugins/cases/images/create.png b/x-pack/platform/plugins/shared/cases/images/create.png similarity index 100% rename from x-pack/plugins/cases/images/create.png rename to x-pack/platform/plugins/shared/cases/images/create.png diff --git a/x-pack/plugins/cases/images/logo.png b/x-pack/platform/plugins/shared/cases/images/logo.png similarity index 100% rename from x-pack/plugins/cases/images/logo.png rename to x-pack/platform/plugins/shared/cases/images/logo.png diff --git a/x-pack/plugins/cases/images/recent_cases.png b/x-pack/platform/plugins/shared/cases/images/recent_cases.png similarity index 100% rename from x-pack/plugins/cases/images/recent_cases.png rename to x-pack/platform/plugins/shared/cases/images/recent_cases.png diff --git a/x-pack/plugins/file_upload/jest.config.js b/x-pack/platform/plugins/shared/cases/jest.config.js similarity index 66% rename from x-pack/plugins/file_upload/jest.config.js rename to x-pack/platform/plugins/shared/cases/jest.config.js index 92b3c27c74f11..677ec8f638740 100644 --- a/x-pack/plugins/file_upload/jest.config.js +++ b/x-pack/platform/plugins/shared/cases/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/file_upload'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/file_upload', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/cases'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cases', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/file_upload/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/cases/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/plugins/cases/kibana.jsonc b/x-pack/platform/plugins/shared/cases/kibana.jsonc similarity index 100% rename from x-pack/plugins/cases/kibana.jsonc rename to x-pack/platform/plugins/shared/cases/kibana.jsonc diff --git a/x-pack/plugins/cases/package.json b/x-pack/platform/plugins/shared/cases/package.json similarity index 100% rename from x-pack/plugins/cases/package.json rename to x-pack/platform/plugins/shared/cases/package.json diff --git a/x-pack/plugins/cases/public/api/__mocks__/index.ts b/x-pack/platform/plugins/shared/cases/public/api/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/cases/public/api/__mocks__/index.ts rename to x-pack/platform/plugins/shared/cases/public/api/__mocks__/index.ts diff --git a/x-pack/plugins/cases/public/api/decoders.ts b/x-pack/platform/plugins/shared/cases/public/api/decoders.ts similarity index 83% rename from x-pack/plugins/cases/public/api/decoders.ts rename to x-pack/platform/plugins/shared/cases/public/api/decoders.ts index c2f9f466ec69d..3bd6ff84af710 100644 --- a/x-pack/plugins/cases/public/api/decoders.ts +++ b/x-pack/platform/plugins/shared/cases/public/api/decoders.ts @@ -13,11 +13,13 @@ import type { CasesFindResponse, CasesBulkGetResponse, CasesMetricsResponse, + CasesSimilarResponse, } from '../../common/types/api'; import { CasesFindResponseRt, CasesBulkGetResponseRt, CasesMetricsResponseRt, + CasesSimilarResponseRt, } from '../../common/types/api'; import { createToasterPlainError } from '../containers/utils'; import { throwErrors } from '../../common'; @@ -35,3 +37,9 @@ export const decodeCasesBulkGetResponse = (res: CasesBulkGetResponse) => { return res; }; + +export const decodeCasesSimilarResponse = (respCases?: CasesSimilarResponse) => + pipe( + CasesSimilarResponseRt.decode(respCases), + fold(throwErrors(createToasterPlainError), identity) + ); diff --git a/x-pack/plugins/cases/public/api/index.test.ts b/x-pack/platform/plugins/shared/cases/public/api/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/api/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/api/index.test.ts diff --git a/x-pack/plugins/cases/public/api/index.ts b/x-pack/platform/plugins/shared/cases/public/api/index.ts similarity index 100% rename from x-pack/plugins/cases/public/api/index.ts rename to x-pack/platform/plugins/shared/cases/public/api/index.ts diff --git a/x-pack/plugins/cases/public/api/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/api/utils.test.ts similarity index 94% rename from x-pack/plugins/cases/public/api/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/api/utils.test.ts index e7dd99938e3cf..c909b2303aa85 100644 --- a/x-pack/plugins/cases/public/api/utils.test.ts +++ b/x-pack/platform/plugins/shared/cases/public/api/utils.test.ts @@ -16,6 +16,8 @@ import { persistableStateAttachment, caseUserActionsWithRegisteredAttachments, caseUserActionsWithRegisteredAttachmentsSnake, + similarCasesSnake, + similarCases, } from '../containers/mock'; import { convertAllCasesToCamel, @@ -27,6 +29,7 @@ import { convertAttachmentsToCamelCase, convertAttachmentToCamelCase, convertUserActionsToCamelCase, + convertSimilarCasesToCamel, } from './utils'; describe('utils', () => { @@ -120,4 +123,10 @@ describe('utils', () => { ); }); }); + + describe('convertSimilarCasesToCamel', () => { + it('convert similar cases to camel case', () => { + expect(convertSimilarCasesToCamel(similarCasesSnake)).toEqual(similarCases); + }); + }); }); diff --git a/x-pack/plugins/cases/public/api/utils.ts b/x-pack/platform/plugins/shared/cases/public/api/utils.ts similarity index 83% rename from x-pack/plugins/cases/public/api/utils.ts rename to x-pack/platform/plugins/shared/cases/public/api/utils.ts index 99e6ceb6f312c..12d820fdfce77 100644 --- a/x-pack/plugins/cases/public/api/utils.ts +++ b/x-pack/platform/plugins/shared/cases/public/api/utils.ts @@ -11,8 +11,16 @@ import type { AttachmentRequest, CaseResolveResponse, CasesFindResponse, + CasesSimilarResponse, } from '../../common/types/api'; -import type { Attachment, Case, Cases, UserActions } from '../../common/types/domain'; +import type { + Attachment, + Case, + Cases, + SimilarCase, + SimilarCases, + UserActions, +} from '../../common/types/domain'; import { isCommentRequestTypeExternalReference, isCommentRequestTypePersistableState, @@ -24,6 +32,9 @@ import type { CaseUI, AttachmentUI, ResolvedCase, + CasesSimilarResponseUI, + SimilarCasesUI, + SimilarCaseUI, } from '../containers/types'; export const convertArrayToCamelCase = (arrayOfSnakes: unknown[]): unknown[] => @@ -60,6 +71,16 @@ export const convertCaseToCamelCase = (theCase: Case): CaseUI => { export const convertCasesToCamelCase = (cases: Cases): CasesUI => cases.map(convertCaseToCamelCase); +export const convertSimilarCaseToCamelCase = (theCase: SimilarCase): SimilarCaseUI => { + const { comments, ...restCase } = theCase; + return { + ...convertToCamelCase(restCase), + }; +}; + +export const convertSimilarCasesToCamelCase = (cases: SimilarCases): SimilarCasesUI => + cases.map(convertSimilarCaseToCamelCase); + export const convertCaseResolveToCamelCase = (res: CaseResolveResponse): ResolvedCase => { const { case: theCase, ...rest } = res; return { @@ -125,3 +146,12 @@ export const convertAllCasesToCamel = (snakeCases: CasesFindResponse): CasesFind perPage: snakeCases.per_page, total: snakeCases.total, }); + +export const convertSimilarCasesToCamel = ( + snakeCases: CasesSimilarResponse +): CasesSimilarResponseUI => ({ + cases: convertSimilarCasesToCamelCase(snakeCases.cases), + page: snakeCases.page, + perPage: snakeCases.per_page, + total: snakeCases.total, +}); diff --git a/x-pack/plugins/cases/public/application.tsx b/x-pack/platform/plugins/shared/cases/public/application.tsx similarity index 100% rename from x-pack/plugins/cases/public/application.tsx rename to x-pack/platform/plugins/shared/cases/public/application.tsx diff --git a/x-pack/plugins/cases/public/client/api/index.test.ts b/x-pack/platform/plugins/shared/cases/public/client/api/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/api/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/api/index.test.ts diff --git a/x-pack/plugins/cases/public/client/api/index.ts b/x-pack/platform/plugins/shared/cases/public/client/api/index.ts similarity index 100% rename from x-pack/plugins/cases/public/client/api/index.ts rename to x-pack/platform/plugins/shared/cases/public/client/api/index.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/external_reference_registry.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/external_reference_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/external_reference_registry.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/external_reference_registry.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/persistable_state_registry.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/persistable_state_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/persistable_state_registry.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/persistable_state_registry.ts diff --git a/x-pack/plugins/cases/public/client/attachment_framework/types.ts b/x-pack/platform/plugins/shared/cases/public/client/attachment_framework/types.ts similarity index 100% rename from x-pack/plugins/cases/public/client/attachment_framework/types.ts rename to x-pack/platform/plugins/shared/cases/public/client/attachment_framework/types.ts diff --git a/x-pack/plugins/cases/public/client/helpers/can_use_cases.test.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/can_use_cases.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.test.ts diff --git a/x-pack/plugins/cases/public/client/helpers/can_use_cases.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/can_use_cases.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/can_use_cases.ts diff --git a/x-pack/plugins/cases/public/client/helpers/capabilities.test.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.test.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/capabilities.test.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.test.ts diff --git a/x-pack/plugins/cases/public/client/helpers/capabilities.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/capabilities.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/capabilities.ts diff --git a/x-pack/plugins/cases/public/client/helpers/get_rule_id_from_event.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/get_rule_id_from_event.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/get_rule_id_from_event.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/get_rule_id_from_event.ts diff --git a/x-pack/plugins/cases/public/client/helpers/group_alerts_by_rule.ts b/x-pack/platform/plugins/shared/cases/public/client/helpers/group_alerts_by_rule.ts similarity index 100% rename from x-pack/plugins/cases/public/client/helpers/group_alerts_by_rule.ts rename to x-pack/platform/plugins/shared/cases/public/client/helpers/group_alerts_by_rule.ts diff --git a/x-pack/plugins/cases/public/client/ui/get_all_cases_selector_modal.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_all_cases_selector_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_all_cases_selector_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_all_cases_selector_modal.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_cases.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_cases.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_cases_context.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_cases_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_cases_context.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_cases_context.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_create_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_create_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_create_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_create_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/client/ui/get_recent_cases.tsx b/x-pack/platform/plugins/shared/cases/public/client/ui/get_recent_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/client/ui/get_recent_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/client/ui/get_recent_cases.tsx diff --git a/x-pack/plugins/cases/public/common/apm/use_cases_transactions.test.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_cases_transactions.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.test.ts diff --git a/x-pack/plugins/cases/public/common/apm/use_cases_transactions.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_cases_transactions.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_cases_transactions.ts diff --git a/x-pack/plugins/cases/public/common/apm/use_start_transaction.ts b/x-pack/platform/plugins/shared/cases/public/common/apm/use_start_transaction.ts similarity index 100% rename from x-pack/plugins/cases/public/common/apm/use_start_transaction.ts rename to x-pack/platform/plugins/shared/cases/public/common/apm/use_start_transaction.ts diff --git a/x-pack/plugins/cases/public/common/errors.ts b/x-pack/platform/plugins/shared/cases/public/common/errors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/errors.ts rename to x-pack/platform/plugins/shared/cases/public/common/errors.ts diff --git a/x-pack/plugins/cases/public/common/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/hooks.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/__mocks__/index.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/__mocks__/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/index.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/__mocks__/use_application.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/use_application.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/__mocks__/use_application.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/__mocks__/use_application.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/hooks.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/index.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/index.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/kibana_react.mock.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.mock.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/kibana_react.mock.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.mock.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/kibana_react.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/kibana_react.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/kibana_react.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/services.ts b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/services.ts similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/services.ts rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/services.ts diff --git a/x-pack/plugins/cases/public/common/lib/kibana/use_application.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/use_application.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.test.tsx diff --git a/x-pack/plugins/cases/public/common/lib/kibana/use_application.tsx b/x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/lib/kibana/use_application.tsx rename to x-pack/platform/plugins/shared/cases/public/common/lib/kibana/use_application.tsx diff --git a/x-pack/plugins/cases/public/common/mock/connectors.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/connectors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/connectors.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/connectors.ts diff --git a/x-pack/plugins/cases/public/common/mock/index.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/index.ts diff --git a/x-pack/plugins/cases/public/common/mock/permissions.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/permissions.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/permissions.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/permissions.ts diff --git a/x-pack/plugins/cases/public/common/mock/register_connectors.ts b/x-pack/platform/plugins/shared/cases/public/common/mock/register_connectors.ts similarity index 100% rename from x-pack/plugins/cases/public/common/mock/register_connectors.ts rename to x-pack/platform/plugins/shared/cases/public/common/mock/register_connectors.ts diff --git a/x-pack/plugins/cases/public/common/mock/test_providers.tsx b/x-pack/platform/plugins/shared/cases/public/common/mock/test_providers.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/mock/test_providers.tsx rename to x-pack/platform/plugins/shared/cases/public/common/mock/test_providers.tsx diff --git a/x-pack/plugins/cases/public/common/navigation/__mocks__/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/__mocks__/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/__mocks__/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/__mocks__/hooks.ts diff --git a/x-pack/plugins/cases/public/common/navigation/deep_links.test.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/deep_links.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.test.ts diff --git a/x-pack/plugins/cases/public/common/navigation/deep_links.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/deep_links.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/deep_links.ts diff --git a/x-pack/plugins/cases/public/common/navigation/hooks.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/hooks.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.test.tsx diff --git a/x-pack/plugins/cases/public/common/navigation/hooks.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/hooks.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/hooks.ts diff --git a/x-pack/plugins/cases/public/common/navigation/index.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/index.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/index.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/index.ts diff --git a/x-pack/plugins/cases/public/common/navigation/paths.test.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/paths.test.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/paths.test.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/paths.test.ts diff --git a/x-pack/plugins/cases/public/common/navigation/paths.ts b/x-pack/platform/plugins/shared/cases/public/common/navigation/paths.ts similarity index 100% rename from x-pack/plugins/cases/public/common/navigation/paths.ts rename to x-pack/platform/plugins/shared/cases/public/common/navigation/paths.ts diff --git a/x-pack/plugins/cases/public/common/test_utils.tsx b/x-pack/platform/plugins/shared/cases/public/common/test_utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/test_utils.tsx rename to x-pack/platform/plugins/shared/cases/public/common/test_utils.tsx diff --git a/x-pack/plugins/cases/public/common/translations.ts b/x-pack/platform/plugins/shared/cases/public/common/translations.ts similarity index 99% rename from x-pack/plugins/cases/public/common/translations.ts rename to x-pack/platform/plugins/shared/cases/public/common/translations.ts index 7fa5b54db00ec..474edc33c6e27 100644 --- a/x-pack/plugins/cases/public/common/translations.ts +++ b/x-pack/platform/plugins/shared/cases/public/common/translations.ts @@ -319,7 +319,7 @@ export const LINK_APPROPRIATE_LICENSE = i18n.translate('xpack.cases.common.appro export const CASE_SUCCESS_TOAST = (title: string) => i18n.translate('xpack.cases.actions.caseSuccessToast', { values: { title }, - defaultMessage: '{title} has been updated', + defaultMessage: 'Case {title} updated', }); export const CASE_ALERT_SUCCESS_TOAST = (title: string, quantity: number = 1) => diff --git a/x-pack/plugins/cases/public/common/use_cases_features.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.test.tsx similarity index 96% rename from x-pack/plugins/cases/public/common/use_cases_features.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_features.test.tsx index c4c54af0b1c42..887ece71aef2c 100644 --- a/x-pack/plugins/cases/public/common/use_cases_features.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.test.tsx @@ -46,6 +46,7 @@ describe('useCasesFeatures', () => { metricsFeatures: [], caseAssignmentAuthorized: false, pushToServiceAuthorized: false, + observablesAuthorized: false, }); } ); @@ -65,6 +66,7 @@ describe('useCasesFeatures', () => { metricsFeatures: [CaseMetricsFeature.CONNECTORS], caseAssignmentAuthorized: false, pushToServiceAuthorized: false, + observablesAuthorized: false, }); }); @@ -92,6 +94,7 @@ describe('useCasesFeatures', () => { metricsFeatures: [], caseAssignmentAuthorized: expectedResult, pushToServiceAuthorized: expectedResult, + observablesAuthorized: expectedResult, }); } ); diff --git a/x-pack/plugins/cases/public/common/use_cases_features.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.tsx similarity index 95% rename from x-pack/plugins/cases/public/common/use_cases_features.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_features.tsx index 2f064df9a97a9..b9910c366fb11 100644 --- a/x-pack/plugins/cases/public/common/use_cases_features.tsx +++ b/x-pack/platform/plugins/shared/cases/public/common/use_cases_features.tsx @@ -13,6 +13,7 @@ import { useLicense } from './use_license'; export interface UseCasesFeatures { isAlertsEnabled: boolean; isSyncAlertsEnabled: boolean; + observablesAuthorized: boolean; caseAssignmentAuthorized: boolean; pushToServiceAuthorized: boolean; metricsFeatures: SingleCaseMetricsFeature[]; @@ -38,6 +39,7 @@ export const useCasesFeatures = (): UseCasesFeatures => { metricsFeatures: features.metrics, caseAssignmentAuthorized: hasLicenseGreaterThanPlatinum, pushToServiceAuthorized: hasLicenseGreaterThanPlatinum, + observablesAuthorized: hasLicenseGreaterThanPlatinum, }), [features.alerts.enabled, features.alerts.sync, features.metrics, hasLicenseGreaterThanPlatinum] ); diff --git a/x-pack/plugins/cases/public/common/use_cases_local_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_local_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_local_storage.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_cases_local_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_local_storage.tsx diff --git a/x-pack/plugins/cases/public/common/use_cases_toast.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.test.tsx similarity index 99% rename from x-pack/plugins/cases/public/common/use_cases_toast.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.test.tsx index c1f7d67a8b8b1..03b65029bc816 100644 --- a/x-pack/plugins/cases/public/common/use_cases_toast.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.test.tsx @@ -144,7 +144,7 @@ describe('Use cases toast hook', () => { theCase: mockCase, attachments: [basicComment as SupportedCaseAttachment], }); - validateTitle('Another horrible breach!! has been updated'); + validateTitle('Case Another horrible breach!! updated'); }); }); diff --git a/x-pack/plugins/cases/public/common/use_cases_toast.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.tsx similarity index 92% rename from x-pack/plugins/cases/public/common/use_cases_toast.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.tsx index 05c8e2f186a8b..3292a648a9b24 100644 --- a/x-pack/plugins/cases/public/common/use_cases_toast.tsx +++ b/x-pack/platform/plugins/shared/cases/public/common/use_cases_toast.tsx @@ -6,7 +6,14 @@ */ import type { ErrorToastOptions } from '@kbn/core/public'; -import { EuiButtonEmpty, EuiText, logicalCSS, useEuiTheme } from '@elastic/eui'; +import { + EuiButton, + EuiFlexGroup, + EuiFlexItem, + EuiText, + logicalCSS, + useEuiTheme, +} from '@elastic/eui'; import React, { useMemo } from 'react'; import { css } from '@emotion/react'; import { toMountPoint } from '@kbn/react-kibana-mount'; @@ -203,14 +210,17 @@ export const CaseToastSuccessContent = ({ ) : null} {onViewCaseClick !== undefined ? ( - - {VIEW_CASE} - + + + + {VIEW_CASE} + + + ) : null} ); diff --git a/x-pack/plugins/cases/public/common/use_is_user_typing.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_is_user_typing.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_is_user_typing.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_is_user_typing.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_is_user_typing.tsx diff --git a/x-pack/plugins/cases/public/common/use_license.test.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_license.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_license.test.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_license.test.tsx diff --git a/x-pack/plugins/cases/public/common/use_license.tsx b/x-pack/platform/plugins/shared/cases/public/common/use_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/common/use_license.tsx rename to x-pack/platform/plugins/shared/cases/public/common/use_license.tsx diff --git a/x-pack/plugins/cases/public/components/__mock__/form.ts b/x-pack/platform/plugins/shared/cases/public/components/__mock__/form.ts similarity index 100% rename from x-pack/plugins/cases/public/components/__mock__/form.ts rename to x-pack/platform/plugins/shared/cases/public/components/__mock__/form.ts diff --git a/x-pack/plugins/cases/public/components/__mock__/timeline.tsx b/x-pack/platform/plugins/shared/cases/public/components/__mock__/timeline.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/__mock__/timeline.tsx rename to x-pack/platform/plugins/shared/cases/public/components/__mock__/timeline.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/edit_assignees_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/edit_assignees_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/no_selected_assignees.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/no_selected_assignees.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/assignees/use_assignees_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/assignees/use_assignees_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/copy_id/use_copy_id_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/copy_id/use_copy_id_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/delete/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/delete/use_delete_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/use_delete_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/delete/use_delete_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/delete/use_delete_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/delete/use_delete_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/severity/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/severity/use_severity_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/use_severity_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/severity/use_severity_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/severity/use_severity_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/severity/use_severity_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/status/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_should_disable_status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_should_disable_status.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_status_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_status_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/status/use_status_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/status/use_status_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/status/use_status_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/edit_tags_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/edit_tags_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/tags/use_tags_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/use_tags_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/tags/use_tags_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/tags/use_tags_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/tags/use_tags_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/actions/types.ts diff --git a/x-pack/plugins/cases/public/components/actions/use_items_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_action.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_state.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_state.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.test.tsx diff --git a/x-pack/plugins/cases/public/components/actions/use_items_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/actions/use_items_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/actions/use_items_state.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/index.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/add_comment/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/schema.tsx diff --git a/x-pack/plugins/cases/public/components/add_comment/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/add_comment/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/add_comment/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/add_comment/translations.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/all_cases_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/all_cases_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/all_cases_list.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_column.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/assignees_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/assignees_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/assignees_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/cases_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/cases_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/cases_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/cases_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/cases_metrics.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/columns_popover.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/columns_popover.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/columns_popover.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/columns_popover.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/columns_popover.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/constants.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/header.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/header.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/header.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/header.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/header.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/header.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/header.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/header.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/multi_select_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/multi_select_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/multi_select_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/multi_select_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/multi_select_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/nav_buttons.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/nav_buttons.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/nav_buttons.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/nav_buttons.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/nav_buttons.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/schema.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/schema.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/schema.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/search.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/search.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/search.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/search.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/search.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/search.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/search.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/search.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/all_cases_selector_modal.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/index.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/selector_modal/use_cases_add_to_existing_case_modal.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/severity_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/severity_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/severity_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/severity_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/severity_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/solution_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/solution_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/solution_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/solution_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/solution_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/status_filter.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/status_filter.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/status_filter.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/status_filter.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/status_filter.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/more_filters_selectable.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/types.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/types.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_custom_fields_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filter_config/use_system_filter_config.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filters.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filters.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/table_filters.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/table_filters.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/table_filters.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/types.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/use_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_actions.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_all_cases_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_all_cases_state.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_bulk_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_bulk_actions.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_configuration.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_cases_columns_selection.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_cases_columns_selection.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_is_loading_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_is_loading_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_is_loading_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_is_loading_cases.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/use_on_refresh_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/use_on_refresh_cases.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utility_bar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utility_bar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utility_bar.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_deserializer.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/all_cases_url_state_serializer.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/index.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/index.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/index.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/merge_selected_columns_with_configuration.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/parse_url_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/parse_url_params.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.test.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.test.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.ts b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.ts similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/sanitize_state.ts rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/sanitize_state.ts diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/all_cases/utils/stringify_url_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/all_cases/utils/stringify_url_params.tsx diff --git a/x-pack/plugins/cases/public/components/app/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/index.tsx diff --git a/x-pack/plugins/cases/public/components/app/routes.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/routes.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/app/routes.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/routes.test.tsx diff --git a/x-pack/plugins/cases/public/components/app/routes.tsx b/x-pack/platform/plugins/shared/cases/public/components/app/routes.tsx similarity index 88% rename from x-pack/plugins/cases/public/components/app/routes.tsx rename to x-pack/platform/plugins/shared/cases/public/components/app/routes.tsx index ee2c82777dbf6..aee24f946eade 100644 --- a/x-pack/plugins/cases/public/components/app/routes.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/app/routes.tsx @@ -6,7 +6,7 @@ */ import React, { lazy, Suspense, useCallback } from 'react'; -import { Redirect } from 'react-router-dom'; +import { Redirect, useLocation } from 'react-router-dom'; import { Routes, Route } from '@kbn/shared-ux-router'; import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; @@ -45,6 +45,7 @@ const CasesRoutesComponent: React.FC = ({ const { navigateToAllCases } = useAllCasesNavigation(); const { navigateToCaseView } = useCaseViewNavigation(); useReadonlyHeader(); + const location = useLocation(); const onCreateCaseSuccess: CreateCaseFormProps['onSuccess'] = useCallback( async ({ id }) => navigateToCaseView({ detailName: id }), @@ -79,7 +80,12 @@ const CasesRoutesComponent: React.FC = ({ )} - + {/* NOTE: current case view implementation retains some local state between renders, eg. when going from one case directly to another one. as a short term fix, we are forcing the component remount. */} + }> ({ .mockReturnValue(

{'Case view files'}
), })); +jest.mock('./components/case_view_observables', () => ({ + CaseViewObservables: jest + .fn() + .mockReturnValue( +
{'Case view observables'}
+ ), +})); + +jest.mock('./components/case_view_similar_cases', () => ({ + CaseViewSimilarCases: jest + .fn() + .mockReturnValue( +
{'Case view similar cases'}
+ ), +})); + const useUrlParamsMock = useUrlParams as jest.Mock; const useCasesTitleBreadcrumbsMock = useCasesTitleBreadcrumbs as jest.Mock; diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.tsx similarity index 90% rename from x-pack/plugins/cases/public/components/case_view/case_view_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.tsx index add85202d0e55..51bc2a8eb29fb 100644 --- a/x-pack/plugins/cases/public/components/case_view/case_view_page.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_page.tsx @@ -17,10 +17,12 @@ import { useCasesTitleBreadcrumbs } from '../use_breadcrumbs'; import { CaseViewActivity } from './components/case_view_activity'; import { CaseViewAlerts } from './components/case_view_alerts'; import { CaseViewFiles } from './components/case_view_files'; +import { CaseViewObservables } from './components/case_view_observables'; import { CaseViewMetrics } from './metrics'; import type { CaseViewPageProps } from './types'; import { useRefreshCaseViewPage } from './use_on_refresh_case_view_page'; import { useOnUpdateField } from './use_on_update_field'; +import { CaseViewSimilarCases } from './components/case_view_similar_cases'; const getActiveTabId = (tabId?: string) => { if (tabId && Object.values(CASE_VIEW_PAGE_TABS).includes(tabId as CASE_VIEW_PAGE_TABS)) { @@ -122,6 +124,12 @@ export const CaseViewPage = React.memo( )} {activeTabId === CASE_VIEW_PAGE_TABS.FILES && } + {activeTabId === CASE_VIEW_PAGE_TABS.OBSERVABLES && ( + + )} + {activeTabId === CASE_VIEW_PAGE_TABS.SIMILAR_CASES && ( + + )}
); diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.test.tsx similarity index 72% rename from x-pack/plugins/cases/public/components/case_view/case_view_tabs.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.test.tsx index 14e6e94f91194..0c4de8ca2ece0 100644 --- a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.test.tsx @@ -8,6 +8,7 @@ import React from 'react'; import { screen, waitFor } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; +import { licensingMock } from '@kbn/licensing-plugin/public/mocks'; import type { AppMockRenderer } from '../../common/mock'; import type { UseGetCase } from '../../containers/use_get_case'; @@ -20,15 +21,18 @@ import { useGetCase } from '../../containers/use_get_case'; import { CaseViewTabs } from './case_view_tabs'; import { caseData, defaultGetCase } from './mocks'; import { useGetCaseFileStats } from '../../containers/use_get_case_file_stats'; +import { useCaseObservables } from './use_case_observables'; jest.mock('../../containers/use_get_case'); jest.mock('../../common/navigation/hooks'); jest.mock('../../common/hooks'); jest.mock('../../containers/use_get_case_file_stats'); +jest.mock('./use_case_observables'); const useFetchCaseMock = useGetCase as jest.Mock; const useCaseViewNavigationMock = useCaseViewNavigation as jest.Mock; const useGetCaseFileStatsMock = useGetCaseFileStats as jest.Mock; +const useGetCaseObservablesMock = useCaseObservables as jest.Mock; const mockGetCase = (props: Partial = {}) => { const data = { @@ -57,10 +61,15 @@ describe('CaseViewTabs', () => { const data = { total: 3 }; beforeEach(() => { + useGetCaseObservablesMock.mockReturnValue({ isLoading: false, observables: [] }); useGetCaseFileStatsMock.mockReturnValue({ data }); mockGetCase(); - appMockRenderer = createAppMockRenderer(); + const license = licensingMock.createLicense({ + license: { type: 'basic' }, + }); + + appMockRenderer = createAppMockRenderer({ license }); }); afterEach(() => { @@ -230,4 +239,74 @@ describe('CaseViewTabs', () => { await screen.findByTestId('case-view-alerts-table-experimental-badge') ).toBeInTheDocument(); }); + + it('should not show observable tabs in non-platinum tiers', async () => { + appMockRenderer = createAppMockRenderer(); + + appMockRenderer.render( + + ); + + expect(screen.queryByTestId('case-view-tab-title-observables')).not.toBeInTheDocument(); + expect(screen.queryByTestId('case-view-tab-title-similar_cases')).not.toBeInTheDocument(); + }); + + describe('show observable tabs in platinum tier or higher', () => { + beforeEach(() => { + const license = licensingMock.createLicense({ + license: { type: 'platinum' }, + }); + appMockRenderer = createAppMockRenderer({ license }); + }); + + it('should show the observables tab', async () => { + appMockRenderer.render( + + ); + + expect(await screen.findByTestId('case-view-tab-title-observables')).toBeInTheDocument(); + }); + + it('should show the similar cases tab', async () => { + appMockRenderer.render( + + ); + + expect(await screen.findByTestId('case-view-tab-title-similar_cases')).toBeInTheDocument(); + }); + + it('navigates to the similar cases tab when the similar cases tab is clicked', async () => { + const navigateToCaseViewMock = useCaseViewNavigationMock().navigateToCaseView; + appMockRenderer.render(); + + await userEvent.click(await screen.findByTestId('case-view-tab-title-similar_cases')); + + await waitFor(() => { + expect(navigateToCaseViewMock).toHaveBeenCalledWith({ + detailName: caseData.id, + tabId: CASE_VIEW_PAGE_TABS.SIMILAR_CASES, + }); + }); + }); + + it('shows the observables tab with the correct count', async () => { + appMockRenderer.render( + + ); + + const badge = await screen.findByTestId('case-view-observables-stats-badge'); + + expect(badge).toHaveTextContent('0'); + }); + + it('do not show count on the observables tab if the call isLoading', async () => { + useGetCaseObservablesMock.mockReturnValue({ isLoading: true, observables: [] }); + + appMockRenderer.render( + + ); + + expect(screen.queryByTestId('case-view-observables-stats-badge')).not.toBeInTheDocument(); + }); + }); }); diff --git a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.tsx similarity index 60% rename from x-pack/plugins/cases/public/components/case_view/case_view_tabs.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.tsx index 1dbfbad2c2630..62fe227d5cdb5 100644 --- a/x-pack/plugins/cases/public/components/case_view/case_view_tabs.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/case_view_tabs.tsx @@ -7,7 +7,6 @@ import type { EuiThemeComputed } from '@elastic/eui'; import { - EuiBetaBadge, EuiNotificationBadge, EuiSpacer, EuiTab, @@ -20,10 +19,19 @@ import { css } from '@emotion/react'; import { CASE_VIEW_PAGE_TABS } from '../../../common/types'; import { useCaseViewNavigation } from '../../common/navigation'; import { useCasesContext } from '../cases_context/use_cases_context'; -import { EXPERIMENTAL_DESC, EXPERIMENTAL_LABEL } from '../header_page/translations'; -import { ACTIVITY_TAB, ALERTS_TAB, FILES_TAB } from './translations'; +import { + ACTIVITY_TAB, + ALERTS_TAB, + FILES_TAB, + OBSERVABLES_TAB, + SIMILAR_CASES_TAB, +} from './translations'; import type { CaseUI } from '../../../common'; import { useGetCaseFileStats } from '../../containers/use_get_case_file_stats'; +import { useCaseObservables } from './use_case_observables'; +import { ExperimentalBadge } from '../experimental_badge/experimental_badge'; +import { useGetSimilarCases } from '../../containers/use_get_similar_cases'; +import { useCasesFeatures } from '../../common/use_cases_features'; const TabTitle = ({ title }: { title: string }) => ( @@ -61,6 +69,60 @@ const FilesBadge = ({ FilesBadge.displayName = 'FilesBadge'; +const ObservablesBadge = ({ + activeTab, + isLoading, + euiTheme, + count, +}: { + activeTab: string; + count: number; + isLoading: boolean; + euiTheme: EuiThemeComputed<{}>; +}) => ( + <> + {!isLoading && ( + + {count} + + )} + +); + +ObservablesBadge.displayName = 'ObservablesBadge'; + +const SimilarCasesBadge = ({ + activeTab, + count, + euiTheme, +}: { + activeTab: string; + count?: number; + euiTheme: EuiThemeComputed<{}>; +}) => ( + <> + { + + {count ?? 0} + + } + +); + +SimilarCasesBadge.displayName = 'SimilarCasesBadge'; + const AlertsBadge = ({ activeTab, totalAlerts, @@ -83,17 +145,7 @@ const AlertsBadge = ({ {totalAlerts || 0} {isExperimental && ( - + )} ); @@ -109,9 +161,17 @@ export const CaseViewTabs = React.memo(({ caseData, activeTab const { features } = useCasesContext(); const { navigateToCaseView } = useCaseViewNavigation(); const { euiTheme } = useEuiTheme(); - const { data: fileStatsData, isLoading } = useGetCaseFileStats({ + const { data: fileStatsData, isLoading: isLoadingFiles } = useGetCaseFileStats({ + caseId: caseData.id, + }); + const { observables, isLoading: isLoadingObservables } = useCaseObservables(caseData); + + const { data: similarCasesData } = useGetSimilarCases({ caseId: caseData.id, + perPage: 0, + page: 0, }); + const { observablesAuthorized: canShowObservableTabs } = useCasesFeatures(); const tabs = useMemo( () => [ @@ -140,22 +200,53 @@ export const CaseViewTabs = React.memo(({ caseData, activeTab name: FILES_TAB, badge: ( ), }, + ...(canShowObservableTabs + ? [ + { + id: CASE_VIEW_PAGE_TABS.OBSERVABLES, + name: OBSERVABLES_TAB, + badge: ( + + ), + }, + { + id: CASE_VIEW_PAGE_TABS.SIMILAR_CASES, + name: SIMILAR_CASES_TAB, + badge: ( + + ), + }, + ] + : []), ], [ features.alerts.enabled, features.alerts.isExperimental, caseData.totalAlerts, activeTab, - isLoading, - fileStatsData, euiTheme, + isLoadingFiles, + fileStatsData, + canShowObservableTabs, + isLoadingObservables, + observables.length, + similarCasesData?.total, ] ); diff --git a/x-pack/plugins/cases/public/components/case_view/components/assign_users.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/assign_users.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/assign_users.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/assign_users.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/assign_users.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.test.tsx similarity index 99% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.test.tsx index 606a364896ecf..fafc67fd1a5a2 100644 --- a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.test.tsx @@ -67,7 +67,7 @@ jest.mock('../../../containers/user_profiles/use_get_current_user_profile'); (useGetTags as jest.Mock).mockReturnValue({ data: ['coke', 'pepsi'], refetch: jest.fn() }); (useGetCategories as jest.Mock).mockReturnValue({ data: ['foo', 'bar'], refetch: jest.fn() }); -(useGetCaseConfiguration as jest.Mock).mockReturnValue({ data: {} }); +(useGetCaseConfiguration as jest.Mock).mockReturnValue({ data: { observableTypes: [] } }); (useGetCurrentUserProfile as jest.Mock).mockReturnValue({ data: {}, isFetching: false }); const caseData: CaseUI = { @@ -364,6 +364,7 @@ describe('Case View Page activity tab', () => { (useGetCaseConfiguration as jest.Mock).mockReturnValue({ data: { customFields: [customFieldsConfigurationMock[1]], + observableTypes: [], }, }); appMockRender.render( diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_activity.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_alerts_empty.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts_empty.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_alerts_empty.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_alerts_empty.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_files.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_files.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/case_view_files.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/case_view_files.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_files.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.test.tsx new file mode 100644 index 0000000000000..7e030febfca6e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.test.tsx @@ -0,0 +1,36 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen } from '@testing-library/react'; + +import type { AppMockRenderer } from '../../../common/mock'; + +import { createAppMockRenderer } from '../../../common/mock'; +import { basicCase } from '../../../containers/mock'; +import { CaseViewObservables } from './case_view_observables'; + +describe('Case View Page observables tab', () => { + let appMockRender: AppMockRenderer; + + beforeEach(() => { + appMockRender = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('should render the utility bar for the observables table', async () => { + appMockRender.render(); + + expect((await screen.findAllByTestId('cases-observables-add')).length).toBe(2); + }); + + it('should render the observable table', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('cases-observables-table')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.tsx new file mode 100644 index 0000000000000..65fa3d634207a --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_observables.tsx @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React, { useMemo } from 'react'; + +import { EuiFlexItem, EuiFlexGroup } from '@elastic/eui'; + +import type { CaseUI } from '../../../../common/ui/types'; + +import { CASE_VIEW_PAGE_TABS } from '../../../../common/types'; +import { CaseViewTabs } from '../case_view_tabs'; +import { ObservablesTable } from '../../observables/observables_table'; +import { ObservablesUtilityBar } from '../../observables/observables_utility_bar'; +import { useCaseObservables } from '../use_case_observables'; + +interface CaseViewObservablesProps { + caseData: CaseUI; + isLoading: boolean; +} + +export const CaseViewObservables = ({ caseData, isLoading }: CaseViewObservablesProps) => { + const { observables, isLoading: isLoadingObservables } = useCaseObservables(caseData); + + const caseDataWithFilteredObservables: CaseUI = useMemo(() => { + return { + ...caseData, + observables, + }; + }, [caseData, observables]); + + return ( + + + + + + + + + + + + ); +}; + +CaseViewObservables.displayName = 'CaseViewObservables'; diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.test.tsx new file mode 100644 index 0000000000000..a7b4631b1ac77 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.test.tsx @@ -0,0 +1,36 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen } from '@testing-library/react'; + +import type { CaseUI } from '../../../../common'; +import type { AppMockRenderer } from '../../../common/mock'; + +import { createAppMockRenderer } from '../../../common/mock'; +import { alertCommentWithIndices, basicCase } from '../../../containers/mock'; +import { CaseViewSimilarCases } from './case_view_similar_cases'; + +const caseData: CaseUI = { + ...basicCase, + comments: [...basicCase.comments, alertCommentWithIndices], +}; + +describe('Case View Page similar cases tab', () => { + let appMockRender: AppMockRenderer; + + beforeEach(() => { + appMockRender = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('should render the similar cases table', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('similar-cases-table')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.tsx new file mode 100644 index 0000000000000..cb72af1fa0e1f --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/case_view_similar_cases.tsx @@ -0,0 +1,67 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React, { useCallback, useMemo, useState } from 'react'; + +import { EuiFlexItem, EuiFlexGroup } from '@elastic/eui'; + +import { useGetSimilarCases, initialData } from '../../../containers/use_get_similar_cases'; +import type { CaseUI } from '../../../../common/ui/types'; + +import { CASE_VIEW_PAGE_TABS } from '../../../../common/types'; +import { CaseViewTabs } from '../case_view_tabs'; +import { CASES_TABLE_PER_PAGE_VALUES, type EuiBasicTableOnChange } from '../../all_cases/types'; +import { SimilarCasesTable } from '../../similar_cases/table'; + +interface CaseViewSimilarCasesProps { + caseData: CaseUI; +} + +export const CaseViewSimilarCases = ({ caseData }: CaseViewSimilarCasesProps) => { + const [pageIndex, setPageIndex] = useState(0); + const [pageSize, setPageSize] = useState(CASES_TABLE_PER_PAGE_VALUES[0]); + + const { data = initialData, isFetching: isLoadingCases } = useGetSimilarCases({ + caseId: caseData.id, + page: pageIndex + 1, + perPage: pageSize, + }); + + const tableOnChangeCallback = useCallback(({ page, sort }: EuiBasicTableOnChange) => { + setPageIndex(page.index); + setPageSize(page.size); + }, []); + + const pagination = useMemo( + () => ({ + pageIndex, + pageSize, + totalItemCount: data.total ?? 0, + pageSizeOptions: CASES_TABLE_PER_PAGE_VALUES, + }), + [data.total, pageIndex, pageSize] + ); + + return ( + + + + + + + + + + + ); +}; + +CaseViewSimilarCases.displayName = 'CaseViewObservables'; diff --git a/x-pack/plugins/cases/public/components/case_view/components/custom_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/custom_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/custom_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/custom_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/custom_fields.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_category.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_category.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_category.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_category.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_category.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/edit_tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/edit_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/edit_tags.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/helpers.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/helpers.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.test.ts diff --git a/x-pack/plugins/cases/public/components/case_view/components/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/helpers.ts diff --git a/x-pack/plugins/cases/public/components/case_view/components/sidebar_section.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_section.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/sidebar_section.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_section.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/sidebar_title.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/sidebar_title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/sidebar_title.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/suggest_users_popover.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/suggest_users_popover.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/user_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/components/user_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/components/user_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/components/user_list.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/does_not_exist.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/does_not_exist.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/does_not_exist.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/does_not_exist.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/index.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/status.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/status.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/totals.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/totals.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/totals.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/metrics/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/metrics/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/metrics/translations.ts diff --git a/x-pack/plugins/cases/public/components/case_view/mocks.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/mocks.ts diff --git a/x-pack/plugins/cases/public/components/case_view/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/translations.ts similarity index 96% rename from x-pack/plugins/cases/public/components/case_view/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/translations.ts index b876e94d760ec..341b7db784029 100644 --- a/x-pack/plugins/cases/public/components/case_view/translations.ts +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/translations.ts @@ -187,6 +187,14 @@ export const FILES_TAB = i18n.translate('xpack.cases.caseView.tabs.files', { defaultMessage: 'Files', }); +export const OBSERVABLES_TAB = i18n.translate('xpack.cases.caseView.tabs.observables', { + defaultMessage: 'Observables', +}); + +export const SIMILAR_CASES_TAB = i18n.translate('xpack.cases.caseView.tabs.similar', { + defaultMessage: 'Similar cases', +}); + export const ALERTS_EMPTY_DESCRIPTION = i18n.translate( 'xpack.cases.caseView.tabs.alerts.emptyDescription', { diff --git a/x-pack/plugins/cases/public/components/case_view/types.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/types.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.test.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.test.ts new file mode 100644 index 0000000000000..183619786deea --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.test.ts @@ -0,0 +1,94 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook } from '@testing-library/react-hooks'; +import { useCaseObservables } from './use_case_observables'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; +import { OBSERVABLE_TYPES_BUILTIN_KEYS } from '../../../common/constants'; +import { caseData } from './mocks'; + +const mockCaseData = { + ...caseData, + observables: [ + { + typeKey: 'type1', + value: '127.0.0.1', + description: null, + id: '6d44e478-3b35-4c48-929a-b22e98bfe178', + createdAt: '2024-12-02', + updatedAt: '2024-12-02', + }, + { + typeKey: 'unknown-type', + value: '127.0.0.1', + description: null, + id: '6d44e478-3b35-4c48-929a-b22e98bfe178', + createdAt: '2024-12-02', + updatedAt: '2024-12-02', + }, + ], +}; + +jest.mock('../../containers/configure/use_get_case_configuration'); + +describe('useCaseObservables', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('returns loading state when configuration is loading', () => { + (useGetCaseConfiguration as jest.Mock).mockReturnValue({ + data: { observableTypes: [] }, + isLoading: true, + }); + + const { result } = renderHook(() => useCaseObservables(mockCaseData)); + + expect(result.current).toEqual({ + observables: [], + isLoading: true, + }); + }); + + it('filters observables based on available types', () => { + (useGetCaseConfiguration as jest.Mock).mockReturnValue({ + data: { observableTypes: [{ key: 'type1' }] }, + isLoading: false, + }); + + const { result } = renderHook(() => useCaseObservables(mockCaseData)); + + expect(result.current).toEqual({ + observables: [ + { + typeKey: 'type1', + value: '127.0.0.1', + description: null, + id: '6d44e478-3b35-4c48-929a-b22e98bfe178', + createdAt: '2024-12-02', + updatedAt: '2024-12-02', + }, + ], + isLoading: false, + }); + }); + + it('includes built-in observable types', () => { + (useGetCaseConfiguration as jest.Mock).mockReturnValue({ + data: { observableTypes: [] }, + isLoading: false, + }); + + const { result } = renderHook(() => useCaseObservables(mockCaseData)); + + expect(result.current.observables).toEqual( + mockCaseData.observables.filter(({ typeKey }) => + OBSERVABLE_TYPES_BUILTIN_KEYS.includes(typeKey) + ) + ); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.ts new file mode 100644 index 0000000000000..6853295ce75d3 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_case_observables.ts @@ -0,0 +1,34 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useMemo } from 'react'; +import { OBSERVABLE_TYPES_BUILTIN_KEYS } from '../../../common/constants'; +import type { CaseUI } from '../../../common'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; + +export const useCaseObservables = (caseData: CaseUI) => { + const { data: currentConfiguration, isLoading: loadingCaseConfigure } = useGetCaseConfiguration(); + + return useMemo(() => { + if (loadingCaseConfigure) { + return { + observables: [], + isLoading: true, + }; + } + + const availableTypesSet = new Set([ + ...OBSERVABLE_TYPES_BUILTIN_KEYS, + ...currentConfiguration.observableTypes.map(({ key }) => key), + ]); + + return { + observables: caseData.observables.filter(({ typeKey }) => availableTypesSet.has(typeKey)), + isLoading: loadingCaseConfigure, + }; + }, [caseData.observables, currentConfiguration.observableTypes, loadingCaseConfigure]); +}; diff --git a/x-pack/plugins/cases/public/components/case_view/use_on_refresh_case_view_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_refresh_case_view_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/use_on_refresh_case_view_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_refresh_case_view_page.tsx diff --git a/x-pack/plugins/cases/public/components/case_view/use_on_update_field.ts b/x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_update_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/case_view/use_on_update_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/case_view/use_on_update_field.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/cases_global_components.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/cases_global_components.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.test.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/cases_global_components.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/cases_global_components.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/cases_global_components.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/index.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/query_client.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/query_client.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/query_client.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/query_client.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/state/cases_context_reducer.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_context_reducer.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/cases_context_reducer.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_context_reducer.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts similarity index 92% rename from x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts index 14a8c01bef902..86a29b121e752 100644 --- a/x-pack/plugins/cases/public/components/cases_context/state/cases_state_context.ts +++ b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/cases_state_context.ts @@ -14,7 +14,7 @@ export const useCasesStateContext = () => { const casesStateContext = useContext(CasesStateContext); if (!casesStateContext) { throw new Error( - 'useCasesStateContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/plugins/cases/README.md#cases-ui' + 'useCasesStateContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/cases/README.md#cases-ui' ); } return casesStateContext; diff --git a/x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.test.tsx diff --git a/x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.ts similarity index 100% rename from x-pack/plugins/cases/public/components/cases_context/state/use_is_add_to_case_open.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/state/use_is_add_to_case_open.ts diff --git a/x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts b/x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts similarity index 90% rename from x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts index 8f93dfe4a02e6..a71ab0bb193e6 100644 --- a/x-pack/plugins/cases/public/components/cases_context/use_cases_context.ts +++ b/x-pack/platform/plugins/shared/cases/public/components/cases_context/use_cases_context.ts @@ -13,7 +13,7 @@ export const useCasesContext = () => { if (!casesContext) { throw new Error( - 'useCasesContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/plugins/cases/README.md#cases-ui' + 'useCasesContext must be used within a CasesProvider and have a defined value. See https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/cases/README.md#cases-ui' ); } diff --git a/x-pack/plugins/cases/public/components/category/category_component.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_component.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_component.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_component.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_component.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_component.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_component.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_component.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_form_field.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_form_field.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_form_field.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_form_field.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_form_field.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_viewer_component.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_viewer_component.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.test.tsx diff --git a/x-pack/plugins/cases/public/components/category/category_viewer_component.tsx b/x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/category/category_viewer_component.tsx rename to x-pack/platform/plugins/shared/cases/public/components/category/category_viewer_component.tsx diff --git a/x-pack/plugins/cases/public/components/category/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/category/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/category/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/category/translations.ts diff --git a/x-pack/plugins/cases/public/components/configure_cases/__mock__/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/__mock__/index.tsx similarity index 98% rename from x-pack/plugins/cases/public/components/configure_cases/__mock__/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/__mock__/index.tsx index bf1ace60ced91..c7781bc9fcad9 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/__mock__/index.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/__mock__/index.tsx @@ -32,6 +32,7 @@ const mockConfigurationData = { version: '', id: '', owner: mockedTestProvidersOwner[0], + observableTypes: [], }; export const useCaseConfigureResponse = { diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/closure_options_radio.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/closure_options_radio.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/connectors_dropdown.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/delete_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/delete_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/field_mapping_row_static.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping_row_static.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/field_mapping_row_static.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/field_mapping_row_static.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.test.tsx similarity index 99% rename from x-pack/plugins/cases/public/components/configure_cases/flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.test.tsx index 8b42dd7df6f0d..0920950ed65b2 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/flyout.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.test.tsx @@ -365,6 +365,7 @@ describe('CommonFlyout ', () => { version: '', id: '', owner: mockedTestProvidersOwner[0], + observableTypes: [], }; const renderBody = ({ onChange }: FlyOutBodyProps) => ( diff --git a/x-pack/plugins/cases/public/components/configure_cases/flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/flyout.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.test.tsx similarity index 88% rename from x-pack/plugins/cases/public/components/configure_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.test.tsx index c309509d563a3..d0ee4fcebab9f 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/index.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.test.tsx @@ -12,8 +12,12 @@ import { waitFor, screen, within } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { ConfigureCases } from '.'; -import { noCasesSettingsPermission, TestProviders, createAppMockRenderer } from '../../common/mock'; -import { customFieldsConfigurationMock, templatesConfigurationMock } from '../../containers/mock'; +import { + observableTypesMock, + customFieldsConfigurationMock, + templatesConfigurationMock, +} from '../../containers/mock'; +import { TestProviders, createAppMockRenderer, noCasesSettingsPermission } from '../../common/mock'; import type { AppMockRenderer } from '../../common/mock'; import { Connectors } from './connectors'; import { ClosureOptions } from './closure_options'; @@ -71,7 +75,7 @@ describe('ConfigureCases', () => { beforeEach(() => { useGetActionTypesMock.mockImplementation(() => useActionTypesResponse); - useLicenseMock.mockReturnValue({ isAtLeastGold: () => true }); + useLicenseMock.mockReturnValue({ isAtLeastGold: () => true, isAtLeastPlatinum: () => false }); }); describe('rendering', () => { @@ -1257,6 +1261,160 @@ describe('ConfigureCases', () => { }); }); + describe('observable types', () => { + let appMockRender: AppMockRenderer; + const persistCaseConfigure = jest.fn(); + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + usePersistConfigurationMock.mockImplementation(() => ({ + ...usePersistConfigurationMockResponse, + mutate: persistCaseConfigure, + })); + useLicenseMock.mockReturnValue({ isAtLeastPlatinum: () => true, isAtLeastGold: () => true }); + }); + + it('should render observable types section', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(await screen.findByTestId('add-observable-type')).toBeInTheDocument(); + }); + + it('opens fly out for when click on add observable type', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-observable-type')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + }); + + it('closes fly out for when click on cancel', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-observable-type')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + await userEvent.click(screen.getByTestId('common-flyout-cancel')); + + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); + }); + + it('closes fly out and updates the data when click on save', async () => { + appMockRender.render(); + + await userEvent.click(screen.getByTestId('add-observable-type')); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + await userEvent.click(screen.getByTestId('observable-type-label-input')); + await userEvent.paste('added'); + + await userEvent.click(screen.getByTestId('common-flyout-save')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith( + expect.objectContaining({ + observableTypes: [expect.objectContaining({ key: expect.any(String), label: 'added' })], + }) + ); + }); + + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('common-flyout')).not.toBeInTheDocument(); + }); + + it('updates observable type correctly', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + observableTypes: observableTypesMock, + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('observable-types-list'); + + await userEvent.click( + within(list).getByTestId(`${observableTypesMock[0].key}-observable-type-edit`) + ); + + expect(await screen.findByTestId('common-flyout')).toBeInTheDocument(); + + expect(await screen.findByTestId('common-flyout-header')).toHaveTextContent( + i18n.EDIT_OBSERVABLE_TYPE + ); + + await userEvent.click(screen.getByTestId('observable-type-label-input')); + await userEvent.paste('updated'); + await userEvent.click(screen.getByTestId('common-flyout-save')); + + const updatedObservableTypes = structuredClone(observableTypesMock); + updatedObservableTypes[0].label = 'test_observable_type_1updated'; + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + closureType: 'close-by-user', + customFields: [], + templates: [], + observableTypes: updatedObservableTypes, + id: '', + version: '', + }); + }); + }); + + it('deletes observable types correctly', async () => { + useGetCaseConfigurationMock.mockImplementation(() => ({ + ...useCaseConfigureResponse, + data: { + ...useCaseConfigureResponse.data, + observableTypes: observableTypesMock, + }, + })); + + appMockRender.render(); + + const list = screen.getByTestId('observable-types-list'); + + await userEvent.click( + within(list).getByTestId(`${observableTypesMock[0].key}-observable-type-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(screen.getByText('Delete')); + + await waitFor(() => { + expect(persistCaseConfigure).toHaveBeenCalledWith({ + connector: { + id: 'none', + name: 'none', + type: ConnectorTypes.none, + fields: null, + }, + customFields: [], + closureType: 'close-by-user', + observableTypes: [observableTypesMock[1]], + templates: [], + id: '', + version: '', + }); + }); + }); + }); + describe('rendering with license limitations', () => { let appMockRender: AppMockRenderer; let persistCaseConfigure: jest.Mock; @@ -1273,7 +1431,10 @@ describe('ConfigureCases', () => { useGetCaseConfigurationMock.mockImplementation(() => useCaseConfigureResponse); // Updated - useLicenseMock.mockReturnValue({ isAtLeastGold: () => false }); + useLicenseMock.mockReturnValue({ + isAtLeastGold: () => false, + isAtLeastPlatinum: () => false, + }); }); it('should not render connectors and closure options', () => { @@ -1287,6 +1448,13 @@ describe('ConfigureCases', () => { expect(screen.getByTestId('custom-fields-form-group')).toBeInTheDocument(); }); + it('should not render observable types section', async () => { + appMockRender.render(); + + expect(screen.queryByTestId('observable-types-form-group')).not.toBeInTheDocument(); + expect(screen.queryByTestId('add-observable-type')).not.toBeInTheDocument(); + }); + describe('when the previously selected connector doesnt appear due to license downgrade or because it was deleted', () => { beforeEach(() => { useGetCaseConfigurationMock.mockImplementation(() => ({ diff --git a/x-pack/plugins/cases/public/components/configure_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.tsx similarity index 82% rename from x-pack/plugins/cases/public/components/configure_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.tsx index 071a4c5cfac4e..371369ee105a4 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/index.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/index.tsx @@ -29,6 +29,7 @@ import type { TemplateConfiguration, CustomFieldTypes, ActionConnector, + ObservableTypeConfiguration, } from '../../../common/types/domain'; import { useKibana } from '../../common/lib/kibana'; import { useGetActionTypes } from '../../containers/configure/use_action_types'; @@ -55,6 +56,8 @@ import { CustomFieldsForm } from '../custom_fields/form'; import { TemplateForm } from '../templates/form'; import type { CasesConfigurationUI, CaseUI } from '../../containers/types'; import { builderMap as customFieldsBuilderMap } from '../custom_fields/builder'; +import { ObservableTypes } from '../observable_types'; +import { ObservableTypesForm } from '../observable_types/form'; const sectionWrapperCss = css` box-sizing: content-box; @@ -71,7 +74,7 @@ const getFormWrapperCss = (euiTheme: EuiThemeComputed<{}>) => css` `; interface Flyout { - type: 'addConnector' | 'editConnector' | 'customField' | 'template'; + type: 'addConnector' | 'editConnector' | 'customField' | 'template' | 'observableTypes'; visible: boolean; } @@ -115,6 +118,7 @@ export const ConfigureCases: React.FC = React.memo(() => { useCasesBreadcrumbs(CasesDeepLinkId.casesConfigure); const license = useLicense(); const hasMinimumLicensePermissions = license.isAtLeastGold(); + const hasMinimumLicensePermissionsForObservables = license.isAtLeastPlatinum(); const [connectorIsValid, setConnectorIsValid] = useState(true); const [flyOutVisibility, setFlyOutVisibility] = useState(null); @@ -123,6 +127,8 @@ export const ConfigureCases: React.FC = React.memo(() => { ); const [customFieldToEdit, setCustomFieldToEdit] = useState(null); const [templateToEdit, setTemplateToEdit] = useState(null); + const [observableTypeToEdit, setObservableTypeToEdit] = + useState(null); const { euiTheme } = useEuiTheme(); const { @@ -139,6 +145,7 @@ export const ConfigureCases: React.FC = React.memo(() => { mappings, customFields, templates, + observableTypes, } = currentConfiguration; const { @@ -375,6 +382,87 @@ export const ConfigureCases: React.FC = React.memo(() => { setCustomFieldToEdit(null); }, [setFlyOutVisibility, setCustomFieldToEdit]); + const onEditObservableType = useCallback( + (key: string) => { + const selectedObservableType = observableTypes.find((item) => item.key === key); + + if (selectedObservableType) { + setObservableTypeToEdit(selectedObservableType); + } + setFlyOutVisibility({ type: 'observableTypes', visible: true }); + }, + [setFlyOutVisibility, observableTypes] + ); + + const onDeleteObservableType = useCallback( + (key: string) => { + const remainingObservableTypes = observableTypes.filter((field) => field.key !== key); + + persistCaseConfigure({ + connector, + observableTypes: remainingObservableTypes, + id: configurationId, + version: configurationVersion, + closureType, + customFields, + templates, + }); + }, + [ + closureType, + configurationId, + configurationVersion, + connector, + observableTypes, + persistCaseConfigure, + customFields, + templates, + ] + ); + + const onCloseObservableTypesFlyout = useCallback(() => { + setFlyOutVisibility({ type: 'observableTypes', visible: false }); + setObservableTypeToEdit(null); + }, [setFlyOutVisibility]); + + const onObservableTypeSave = useCallback( + (data: ObservableTypeConfiguration) => { + const existingObservableIndex = observableTypes.findIndex((item) => item.key === data.key); + + let updatedObservableTypes = []; + + if (existingObservableIndex === -1) { + updatedObservableTypes = [...structuredClone(observableTypes), data]; + } else { + updatedObservableTypes = structuredClone(observableTypes); + updatedObservableTypes[existingObservableIndex] = data; + } + + persistCaseConfigure({ + connector, + id: configurationId, + version: configurationVersion, + closureType, + observableTypes: updatedObservableTypes, + customFields, + templates, + }); + + onCloseObservableTypesFlyout(); + }, + [ + observableTypes, + persistCaseConfigure, + connector, + configurationId, + configurationVersion, + closureType, + customFields, + templates, + onCloseObservableTypesFlyout, + ] + ); + const onCustomFieldSave = useCallback( (data: CustomFieldConfiguration) => { const updatedCustomFields = addOrReplaceField(customFields, data); @@ -516,6 +604,23 @@ export const ConfigureCases: React.FC = React.memo(() => { ) : null; + const AddOrEditObservableTypeFlyout = + flyOutVisibility?.type === 'observableTypes' && flyOutVisibility?.visible ? ( + + isLoading={loadingCaseConfigure || isPersistingConfiguration} + disabled={!permissions.settings || loadingCaseConfigure || isPersistingConfiguration} + onCloseFlyout={onCloseObservableTypesFlyout} + onSaveField={onObservableTypeSave} + renderHeader={() => ( + {observableTypeToEdit ? i18n.EDIT_OBSERVABLE_TYPE : i18n.ADD_OBSERVABLE_TYPE} + )} + > + {({ onChange }) => ( + + )} + + ) : null; + return ( { /> + + {hasMinimumLicensePermissionsForObservables && ( + <> + + +
+ + + setFlyOutVisibility({ type: 'observableTypes', visible: true }) + } + handleDeleteObservableType={onDeleteObservableType} + handleEditObservableType={onEditObservableType} + /> + +
+ + )} + + {ConnectorAddFlyout} {ConnectorEditFlyout} {AddOrEditCustomFieldFlyout} {AddOrEditTemplateFlyout} + {AddOrEditObservableTypeFlyout}
diff --git a/x-pack/plugins/cases/public/components/configure_cases/mapping.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/mapping.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/mapping.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/mapping.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/mapping.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/translations.ts similarity index 94% rename from x-pack/plugins/cases/public/components/configure_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/translations.ts index 4fe462655dcc1..174bb5fafecd7 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/translations.ts +++ b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/translations.ts @@ -186,3 +186,17 @@ export const CREATE_TEMPLATE = i18n.translate('xpack.cases.configureCases.templa export const EDIT_TEMPLATE = i18n.translate('xpack.cases.configureCases.templates.editTemplate', { defaultMessage: 'Edit template', }); + +export const ADD_OBSERVABLE_TYPE = i18n.translate( + 'xpack.cases.configureCases.observableTypes.addObservableType', + { + defaultMessage: 'Add observable type', + } +); + +export const EDIT_OBSERVABLE_TYPE = i18n.translate( + 'xpack.cases.configureCases.observableTypes.editObservableType', + { + defaultMessage: 'Edit observable type', + } +); diff --git a/x-pack/plugins/cases/public/components/configure_cases/utils.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/utils.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.test.tsx diff --git a/x-pack/plugins/cases/public/components/configure_cases/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/configure_cases/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/configure_cases/utils.ts diff --git a/x-pack/plugins/cases/public/components/confirm_delete_case/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/confirm_delete_case/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/index.tsx diff --git a/x-pack/plugins/cases/public/components/confirm_delete_case/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/confirm_delete_case/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/confirm_delete_case/translations.ts diff --git a/x-pack/plugins/cases/public/components/connector_selector/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connector_selector/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/connector_selector/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connector_selector/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connector_selector/form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/card.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/card.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/card.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/card.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/card.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/card.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/card.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/card.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/cases_webhook/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/cases_webhook/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/cases_webhook/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/connectors_registry.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/connectors_registry.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/connectors_registry.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/connectors_registry.ts diff --git a/x-pack/plugins/cases/public/components/connectors/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/constants.ts diff --git a/x-pack/plugins/cases/public/components/connectors/deprecated_callout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/deprecated_callout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/deprecated_callout.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/fields_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/fields_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/fields_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/fields_form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/fields_preview_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/fields_preview_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/fields_preview_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/fields_preview_form.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/api.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/search_issues.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/search_issues.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/search_issues.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/search_issues.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_fields_by_issue_type.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issue_types.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issue_types.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/jira/use_get_issues.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/jira/use_get_issues.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/mock.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_incident_types.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_incident_types.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/resilient/use_get_severity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/resilient/use_get_severity.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/rewrite_response_to_camel_case.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/rewrite_response_to_camel_case.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/api.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/api.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/api.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/api.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/helpers.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_itsm_case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/servicenow_sir_case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/servicenow/use_get_choices.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/servicenow/use_get_choices.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/validator.test.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/validator.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.test.ts diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/validator.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/swimlane/validator.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/swimlane/validator.ts diff --git a/x-pack/plugins/cases/public/components/connectors/test_utils.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/test_utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/test_utils.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/test_utils.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/case_fields_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/case_fields_preview.tsx diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/index.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/index.ts diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/translations.ts diff --git a/x-pack/plugins/cases/public/components/connectors/thehive/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/thehive/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/thehive/types.ts diff --git a/x-pack/plugins/cases/public/components/connectors/types.ts b/x-pack/platform/plugins/shared/cases/public/components/connectors/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/connectors/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/connectors/types.ts diff --git a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/cancel_creation_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/cancel_creation_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/create_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/create_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/index.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/flyout/use_cases_add_to_new_case_flyout.tsx diff --git a/x-pack/plugins/cases/public/components/create/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_context.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_context.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_context.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_context.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_context.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_context.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_context.tsx diff --git a/x-pack/plugins/cases/public/components/create/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/create/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/index.tsx diff --git a/x-pack/plugins/cases/public/components/create/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/create/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/mock.ts diff --git a/x-pack/plugins/cases/public/components/create/owner_selector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/owner_selector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/owner_selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/owner_selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/owner_selector.tsx diff --git a/x-pack/plugins/cases/public/components/create/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/schema.tsx diff --git a/x-pack/plugins/cases/public/components/create/submit_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/submit_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/submit_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/submit_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/submit_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/submit_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/submit_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/submit_button.tsx diff --git a/x-pack/plugins/cases/public/components/create/template.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/template.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/template.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/template.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/templates.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/templates.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/templates.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/templates.tsx diff --git a/x-pack/plugins/cases/public/components/create/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/create/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/translations.ts diff --git a/x-pack/plugins/cases/public/components/create/use_cancel_creation_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/use_cancel_creation_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/create/use_cancel_creation_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/create/use_cancel_creation_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/create/use_cancel_creation_action.tsx diff --git a/x-pack/plugins/cases/public/components/create/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/create/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/create/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/create/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/create/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/create/utils.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/builder.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/builder.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/builder.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/custom_fields_list/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/custom_fields_list/index.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/delete_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/delete_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/index.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/config.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/config.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/configure_number_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/configure_number_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/number/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/number/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/number/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/schema.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/config.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/config.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/configure_text_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/configure_text_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/text/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/text/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/text/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure_text_field.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_text_field.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure_text_field.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_text_field.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/configure_toggle_field.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_toggle_field.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/configure_toggle_field.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/configure_toggle_field.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/create.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/create.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/create.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/create.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/create.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/edit.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/edit.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/edit.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/edit.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/edit.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/get_eui_table_column.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/view.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/view.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.test.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/toggle/view.tsx b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/toggle/view.tsx rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/toggle/view.tsx diff --git a/x-pack/plugins/cases/public/components/custom_fields/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/translations.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/types.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/types.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/custom_fields/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/custom_fields/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/custom_fields/utils.ts diff --git a/x-pack/plugins/cases/public/components/description/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/description/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/description/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/description/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/description/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/description/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/description/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/description/index.tsx diff --git a/x-pack/plugins/cases/public/components/description/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/description/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/description/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/description/schema.ts diff --git a/x-pack/plugins/cases/public/components/edit_connector/connectors_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/connectors_form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/connectors_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/connectors_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/connectors_form.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/index.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_button.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_callouts.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_callouts.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.test.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/push_callouts.tsx b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/push_callouts.tsx rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/push_callouts.tsx diff --git a/x-pack/plugins/cases/public/components/edit_connector/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/edit_connector/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/edit_connector/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/edit_connector/translations.ts diff --git a/x-pack/plugins/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/__snapshots__/empty_value.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/empty_value/empty_value.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/empty_value/empty_value.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/empty_value.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/empty_value.test.tsx diff --git a/x-pack/plugins/cases/public/components/empty_value/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/empty_value/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/index.tsx diff --git a/x-pack/plugins/cases/public/components/empty_value/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/empty_value/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/empty_value/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/empty_value/translations.ts diff --git a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.test.tsx diff --git a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx b/x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.tsx similarity index 91% rename from x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx rename to x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.tsx index ef3f4a8584141..73ae8590f1376 100644 --- a/x-pack/plugins/cases/public/components/experimental_badge/experimental_badge.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/experimental_badge/experimental_badge.tsx @@ -15,12 +15,14 @@ interface Props { icon?: boolean; size?: EuiBetaBadgeProps['size']; compact?: boolean; + 'data-test-subj'?: string; } const ExperimentalBadgeComponent: React.FC = ({ icon = false, size = 's', compact = false, + 'data-test-subj': testSubj = 'case-experimental-badge', }) => { const props: EuiBetaBadgeProps = { label: compact ? null : EXPERIMENTAL_LABEL, @@ -28,7 +30,7 @@ const ExperimentalBadgeComponent: React.FC = ({ ...((icon || compact) && { iconType: 'beaker' }), tooltipContent: EXPERIMENTAL_DESC, tooltipPosition: 'bottom' as const, - 'data-test-subj': 'case-experimental-badge', + 'data-test-subj': testSubj, }; const { euiTheme } = useEuiTheme(); diff --git a/x-pack/plugins/cases/public/components/files/add_file.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/add_file.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/add_file.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/add_file.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/add_file.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/add_file.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/add_file.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/add_file.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_actions_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_actions_popover_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_actions_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_actions_popover_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_actions_popover_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_attachment_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_attachment_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_attachment_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_attachment_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_attachment_event.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_delete_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_delete_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_delete_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_delete_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_delete_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_download_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_download_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_download_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_download_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_download_button.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_name_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_name_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_name_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_name_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_name_link.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_preview.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_type.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_type.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_type.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_type.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/file_type.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/file_type.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/file_type.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/file_type.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_table.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_table.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_table.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_table.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_table.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_table.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_table.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_utility_bar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/files_utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/files_utility_bar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/files_utility_bar.tsx diff --git a/x-pack/plugins/cases/public/components/files/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/translations.tsx diff --git a/x-pack/plugins/cases/public/components/files/types.ts b/x-pack/platform/plugins/shared/cases/public/components/files/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/files/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/files/types.ts diff --git a/x-pack/plugins/cases/public/components/files/use_file_preview.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_file_preview.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_file_preview.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_file_preview.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_file_preview.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_files_table_columns.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_files_table_columns.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/use_files_table_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/use_files_table_columns.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/use_files_table_columns.tsx diff --git a/x-pack/plugins/cases/public/components/files/utils.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/utils.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/utils.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/utils.test.tsx diff --git a/x-pack/plugins/cases/public/components/files/utils.tsx b/x-pack/platform/plugins/shared/cases/public/components/files/utils.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/files/utils.tsx rename to x-pack/platform/plugins/shared/cases/public/components/files/utils.tsx diff --git a/x-pack/plugins/cases/public/components/filter_popover/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/filter_popover/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/filter_popover/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/filter_popover/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/filter_popover/index.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/formatted_date/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/index.tsx diff --git a/x-pack/plugins/cases/public/components/formatted_date/maybe_date.test.ts b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/maybe_date.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.test.ts diff --git a/x-pack/plugins/cases/public/components/formatted_date/maybe_date.ts b/x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.ts similarity index 100% rename from x-pack/plugins/cases/public/components/formatted_date/maybe_date.ts rename to x-pack/platform/plugins/shared/cases/public/components/formatted_date/maybe_date.ts diff --git a/x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/editable_title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/editable_title.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/editable_title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/editable_title.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/index.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/title.test.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/title.tsx b/x-pack/platform/plugins/shared/cases/public/components/header_page/title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/header_page/title.tsx diff --git a/x-pack/plugins/cases/public/components/header_page/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/header_page/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/header_page/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/header_page/translations.ts diff --git a/x-pack/plugins/cases/public/components/insert_timeline/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/insert_timeline/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/insert_timeline/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/insert_timeline/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/insert_timeline/index.tsx diff --git a/x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/link_icon/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/link_icon/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/link_icon/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/link_icon/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/link_icon/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/link_icon/index.tsx diff --git a/x-pack/plugins/cases/public/components/links/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/links/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/links/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/links/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/links/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/links/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/links/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/links/index.tsx diff --git a/x-pack/plugins/cases/public/components/links/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/links/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/links/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/links/translations.ts diff --git a/x-pack/plugins/cases/public/components/localized_date_tooltip/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/localized_date_tooltip/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/localized_date_tooltip/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/localized_date_tooltip/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/localized_date_tooltip/index.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/context.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/context.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/context.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/context.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_footer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_footer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_footer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_footer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editable_markdown_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/editor.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editor.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/editor.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/editor.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/eui_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/eui_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/eui_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/eui_form.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/index.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/markdown_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/markdown_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/markdown_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/markdown_link.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/__mocks__/use_lens_draft_comment.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/constants.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/index.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/index.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/parser.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/parser.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/parser.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/parser.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/plugin.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/plugin.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/plugin.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/plugin.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/translations.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_button_toggle.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_draft_comment.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/plugins/lens/use_lens_open_visualization.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/scrollable_markdown_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/translations.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/types.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/types.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.test.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.tsx b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_markdown_session_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_markdown_session_storage.tsx diff --git a/x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/use_plugins.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/use_plugins.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/markdown_editor/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/markdown_editor/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/markdown_editor/utils.ts diff --git a/x-pack/plugins/cases/public/components/no_privileges/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/no_privileges/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/no_privileges/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/no_privileges/index.tsx diff --git a/x-pack/plugins/cases/public/components/no_privileges/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/no_privileges/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/no_privileges/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/no_privileges/translations.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.test.tsx new file mode 100644 index 0000000000000..caa622c2c32cd --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.test.tsx @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import userEvent from '@testing-library/user-event'; +import React from 'react'; +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer } from '../../common/mock'; +import { DeleteConfirmationModal } from './delete_confirmation_modal'; + +describe('DeleteConfirmationModal', () => { + let appMock: AppMockRenderer; + const props = { + label: 'Delete observable', + onCancel: jest.fn(), + onConfirm: jest.fn(), + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('confirm-delete-observable-modal')).toBeInTheDocument(); + expect(result.getByText('Delete')).toBeInTheDocument(); + expect(result.getByText('Cancel')).toBeInTheDocument(); + }); + + it('calls onConfirm', async () => { + const result = appMock.render(); + + expect(result.getByText('Delete')).toBeInTheDocument(); + await userEvent.click(result.getByText('Delete')); + + expect(props.onConfirm).toHaveBeenCalled(); + }); + + it('calls onCancel', async () => { + const result = appMock.render(); + + expect(result.getByText('Cancel')).toBeInTheDocument(); + await userEvent.click(result.getByText('Cancel')); + + expect(props.onCancel).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.tsx new file mode 100644 index 0000000000000..7b3d7bd0a48b9 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/delete_confirmation_modal.tsx @@ -0,0 +1,40 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiConfirmModal } from '@elastic/eui'; +import * as i18n from './translations'; + +interface ConfirmDeleteCaseModalProps { + label: string; + onCancel: () => void; + onConfirm: () => void; +} + +const DeleteConfirmationModalComponent: React.FC = ({ + label, + onCancel, + onConfirm, +}) => { + return ( + + {i18n.DELETE_OBSERVABLE_TYPE_DESCRIPTION} + + ); +}; +DeleteConfirmationModalComponent.displayName = 'DeleteConfirmationModal'; + +export const DeleteConfirmationModal = React.memo(DeleteConfirmationModalComponent); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.test.tsx new file mode 100644 index 0000000000000..a4feb8fa0b467 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.test.tsx @@ -0,0 +1,127 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer } from '../../common/mock'; +import { ObservableTypesForm, type ObservableTypesFormProps } from './form'; +import { fireEvent, screen, waitFor } from '@testing-library/react'; +import type { FormState } from '../configure_cases/flyout'; +import type { ObservableTypeConfiguration } from '../../../common/types/domain/configure/v1'; +import { MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH } from '../../../common/constants'; + +describe('ObservableTypesForm ', () => { + let appMock: AppMockRenderer; + + const props: ObservableTypesFormProps = { + onChange: jest.fn(), + initialValue: null, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + appMock.render(); + expect(await screen.findByTestId('observable-types-form')).toBeInTheDocument(); + }); + + describe('when initial value is set', () => { + let formState: FormState; + const onChangeState = (state: FormState) => (formState = state); + + it('should pass initial key to onChange handler', async () => { + appMock.render( + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const labelInput = await screen.findByTestId('observable-type-label-input'); + + expect(labelInput).toBeInTheDocument(); + + fireEvent.change(labelInput, { + target: { value: 'changed label' }, + }); + + const { data, isValid } = await formState!.submit(); + + expect(isValid).toEqual(true); + expect(data.key).toEqual('initial-key'); + expect(data.label).toEqual('changed label'); + }); + + it('should not allow invalid labels', async () => { + appMock.render( + + ); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const labelInput = await screen.findByTestId('observable-type-label-input'); + + expect(labelInput).toBeInTheDocument(); + + fireEvent.change(labelInput, { + target: { value: '' }, + }); + + const { isValid } = await formState!.submit(); + + expect(isValid).toEqual(false); + + fireEvent.change(labelInput, { + target: { value: 'a'.repeat(MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH + 1) }, + }); + + const { isValid: isValidWithTooLongLabel } = await formState!.submit(); + + expect(isValidWithTooLongLabel).toEqual(false); + }); + }); + + describe('when initial value is missing', () => { + it('should pass generated key to onChange handler', async () => { + let formState: FormState; + + const onChangeState = (state: FormState) => (formState = state); + + appMock.render(); + + await waitFor(() => { + expect(formState).not.toBeUndefined(); + }); + + const labelInput = await screen.findByTestId('observable-type-label-input'); + + expect(labelInput).toBeInTheDocument(); + + fireEvent.change(labelInput, { + target: { value: 'changed label' }, + }); + + const { data, isValid } = await formState!.submit(); + + expect(isValid).toEqual(true); + expect(data.key).toEqual(expect.any(String)); + expect(data.label).toEqual('changed label'); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.tsx new file mode 100644 index 0000000000000..ce51953a1cbeb --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form.tsx @@ -0,0 +1,48 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Form, useForm } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import React, { useEffect, useMemo } from 'react'; +import { v4 as uuidv4 } from 'uuid'; + +import { schema } from './schema'; +import { FormFields } from './form_fields'; +import type { ObservableTypeConfiguration } from '../../../common/types/domain'; +import type { FormState } from '../configure_cases/flyout'; + +export interface ObservableTypesFormProps { + onChange: (state: FormState) => void; + initialValue: ObservableTypeConfiguration | null; +} + +const FormComponent: React.FC = ({ onChange, initialValue }) => { + const defaultValue = useMemo(() => ({ key: uuidv4(), label: '' }), []); + + const { form } = useForm({ + defaultValue: initialValue || defaultValue, + options: { stripEmptyFields: false }, + schema, + }); + + const { submit, isValid, isSubmitting } = form; + + useEffect(() => { + if (onChange) { + onChange({ isValid, submit }); + } + }, [onChange, isValid, submit]); + + return ( +
+ + + ); +}; + +FormComponent.displayName = 'ObservableTypesForm '; + +export const ObservableTypesForm = React.memo(FormComponent); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.test.tsx new file mode 100644 index 0000000000000..74dd03bb0959e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.test.tsx @@ -0,0 +1,34 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen } from '@testing-library/react'; + +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer } from '../../common/mock'; +import { FormTestComponent } from '../../common/test_utils'; +import { FormFields } from './form_fields'; + +describe('FormFields ', () => { + let appMockRender: AppMockRenderer; + const onSubmit = jest.fn(); + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + }); + + it('renders correctly', async () => { + appMockRender.render( + + + + ); + + expect(await screen.findByTestId('observable-type-label-input')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.tsx new file mode 100644 index 0000000000000..ea4b21dbd8acb --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/form_fields.tsx @@ -0,0 +1,39 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { memo, useMemo } from 'react'; +import { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { TextField, HiddenField } from '@kbn/es-ui-shared-plugin/static/forms/components'; + +interface FormFieldsProps { + isSubmitting?: boolean; +} + +const FormFieldsComponent: React.FC = ({ isSubmitting }) => { + const labelFieldProps = useMemo( + () => ({ + euiFieldProps: { + 'data-test-subj': 'observable-type-label-input', + fullWidth: true, + autoFocus: true, + isLoading: isSubmitting, + }, + }), + [isSubmitting] + ); + + return ( + <> + + + + ); +}; + +FormFieldsComponent.displayName = 'FormFields'; + +export const FormFields = memo(FormFieldsComponent); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.test.tsx new file mode 100644 index 0000000000000..6709e6f5f811d --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.test.tsx @@ -0,0 +1,79 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen } from '@testing-library/react'; + +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer, noCasesPermissions } from '../../common/mock'; +import type { ObservableTypesProps } from '.'; +import { ObservableTypes } from '.'; +import { observableTypesMock } from '../../containers/mock'; +import * as i18n from './translations'; +import { MAX_CUSTOM_OBSERVABLE_TYPES } from '../../../common/constants'; + +describe('ObservableTypes', () => { + let appMock: AppMockRenderer; + + const props: ObservableTypesProps = { + disabled: false, + isLoading: false, + observableTypes: [], + handleAddObservableType: jest.fn(), + handleEditObservableType: jest.fn(), + handleDeleteObservableType: jest.fn(), + }; + + describe('with sufficient permissions', () => { + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly when there are no observable types', async () => { + appMock.render(); + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(screen.queryByTestId('observable-types-list')).not.toBeInTheDocument(); + }); + + it('renders correctly when there are observable types', async () => { + appMock.render(); + expect(await screen.findByTestId('observable-types-form-group')).toBeInTheDocument(); + expect(await screen.findByTestId('observable-types-list')).toBeInTheDocument(); + }); + + it('shows error when custom fields reaches the limit', async () => { + const generatedMockCustomFields = []; + + for (let i = 0; i < 11; i++) { + generatedMockCustomFields.push({ + key: `field_key_${i + 1}`, + label: `My custom label ${i + 1}`, + }); + } + + const observableTypes = [...generatedMockCustomFields]; + + appMock.render(); + + expect(await screen.findByText(i18n.MAX_OBSERVABLE_TYPES_LIMIT(MAX_CUSTOM_OBSERVABLE_TYPES))); + expect(screen.queryByTestId('add-observable-type')).not.toBeInTheDocument(); + }); + }); + + describe('with insufficient permissions', () => { + beforeEach(() => { + appMock = createAppMockRenderer({ permissions: noCasesPermissions() }); + jest.clearAllMocks(); + }); + + it('renders correctly when there are no observable types', async () => { + appMock.render(); + expect(screen.queryByTestId('observable-types-form-group')).not.toBeInTheDocument(); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.tsx new file mode 100644 index 0000000000000..c1106ef692132 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/index.tsx @@ -0,0 +1,120 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback } from 'react'; +import { + EuiButtonEmpty, + EuiPanel, + EuiDescribedFormGroup, + EuiSpacer, + EuiFlexGroup, + EuiFlexItem, + EuiText, +} from '@elastic/eui'; + +import { MAX_CUSTOM_OBSERVABLE_TYPES } from '../../../common/constants'; +import * as i18n from './translations'; +import { useCasesContext } from '../cases_context/use_cases_context'; +import type { ObservableTypesConfiguration } from '../../../common/types/domain'; +import { ObservableTypesList } from './observable_types_list'; + +export interface ObservableTypesProps { + observableTypes: ObservableTypesConfiguration; + disabled: boolean; + isLoading: boolean; + handleAddObservableType: () => void; + handleDeleteObservableType: (key: string) => void; + handleEditObservableType: (key: string) => void; +} +const ObservableTypesComponent: React.FC = ({ + disabled, + isLoading, + handleAddObservableType, + handleDeleteObservableType, + handleEditObservableType, + observableTypes, +}) => { + const { permissions } = useCasesContext(); + const canModifyObservableTypes = !disabled && permissions.settings; + + const onAddObservableType = useCallback(() => { + handleAddObservableType(); + }, [handleAddObservableType]); + + const onEditObservableType = useCallback( + (key: string) => { + handleEditObservableType(key); + }, + [handleEditObservableType] + ); + + if (!permissions.settings) { + return null; + } + + return ( + + {i18n.TITLE} + + } + description={

{i18n.DESCRIPTION}

} + data-test-subj="observable-types-form-group" + > + + {observableTypes.length ? ( + <> + + + ) : null} + + {!observableTypes.length ? ( + + + {i18n.NO_OBSERVABLE_TYPES} + + + + ) : null} + + + {observableTypes.length < MAX_CUSTOM_OBSERVABLE_TYPES ? ( + + {i18n.ADD_OBSERVABLE_TYPE} + + ) : ( + + + {i18n.MAX_OBSERVABLE_TYPES_LIMIT(MAX_CUSTOM_OBSERVABLE_TYPES)} + + + )} + + + + + +
+ ); +}; +ObservableTypesComponent.displayName = 'CustomFields'; + +export const ObservableTypes = React.memo(ObservableTypesComponent); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.test.tsx new file mode 100644 index 0000000000000..db2d6adb3234c --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.test.tsx @@ -0,0 +1,131 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { screen, within, waitFor } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; + +import type { AppMockRenderer } from '../../../common/mock'; +import { createAppMockRenderer } from '../../../common/mock'; +import { ObservableTypesList, type ObservableTypesListProps } from '.'; + +const observableTypes = [ + { label: 'Test Observable Type', key: 'deb68304-da86-483c-b5ed-ff5b3420e340' }, + { label: 'Test Observable Type vol 2', key: '532433db-045f-4ccc-b73c-db9441f0eefa' }, +]; + +describe('ObservableTypesList', () => { + let appMockRender: AppMockRenderer; + + const props: ObservableTypesListProps = { + disabled: false, + observableTypes, + onDeleteObservableType: jest.fn(), + onEditObservableType: jest.fn(), + }; + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + }); + + it('renders correctly', () => { + appMockRender.render(); + + expect(screen.getByTestId('observable-types-list')).toBeInTheDocument(); + }); + + it('shows ObservableTypesList correctly', async () => { + appMockRender.render(); + + expect(await screen.findByTestId('observable-types-list')).toBeInTheDocument(); + + expect( + await screen.findByTestId(`observable-type-${observableTypes[0].key}`) + ).toBeInTheDocument(); + expect(await screen.findByText('Test Observable Type')).toBeInTheDocument(); + expect( + await screen.findByTestId(`observable-type-${observableTypes[1].key}`) + ).toBeInTheDocument(); + }); + + describe('Delete', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('shows confirmation modal when deleting a field ', async () => { + appMockRender.render(); + + const list = await screen.findByTestId('observable-types-list'); + + await userEvent.click( + await within(list).findByTestId(`${observableTypes[0].key}-observable-type-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + }); + + it('calls onDeleteObservableType when confirm', async () => { + appMockRender.render(); + + const list = await screen.findByTestId('observable-types-list'); + + await userEvent.click( + await within(list).findByTestId(`${observableTypes[0].key}-observable-type-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(await screen.findByText('Delete')); + + await waitFor(() => { + expect(screen.queryByTestId('confirm-delete-modal')).not.toBeInTheDocument(); + expect(props.onDeleteObservableType).toHaveBeenCalledWith(observableTypes[0].key); + }); + }); + + it('does not call onDeleteObservableType when cancel', async () => { + appMockRender.render(); + + const list = await screen.findByTestId('observable-types-list'); + + await userEvent.click( + await within(list).findByTestId(`${observableTypes[0].key}-observable-type-delete`) + ); + + expect(await screen.findByTestId('confirm-delete-modal')).toBeInTheDocument(); + + await userEvent.click(await screen.findByText('Cancel')); + + await waitFor(() => { + expect(screen.queryByTestId('confirm-delete-modal')).not.toBeInTheDocument(); + expect(props.onDeleteObservableType).not.toHaveBeenCalledWith(); + }); + }); + }); + + describe('Edit', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('calls onEditObservableType correctly', async () => { + appMockRender.render(); + + const list = await screen.findByTestId('observable-types-list'); + + await userEvent.click( + await within(list).findByTestId(`${observableTypes[0].key}-observable-type-edit`) + ); + + await waitFor(() => { + expect(props.onEditObservableType).toHaveBeenCalledWith(observableTypes[0].key); + }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.tsx new file mode 100644 index 0000000000000..bdb898c718e8b --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/observable_types_list/index.tsx @@ -0,0 +1,116 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback, useState } from 'react'; +import { + EuiPanel, + EuiFlexGroup, + EuiFlexItem, + EuiSpacer, + EuiText, + EuiButtonIcon, +} from '@elastic/eui'; +import * as i18n from '../translations'; + +import type { ObservableTypesConfiguration } from '../../../../common/types/domain'; +import { DeleteConfirmationModal } from '../../configure_cases/delete_confirmation_modal'; + +export interface ObservableTypesListProps { + disabled: boolean; + observableTypes: ObservableTypesConfiguration; + onDeleteObservableType: (key: string) => void; + onEditObservableType: (key: string) => void; +} + +const ObservableTypesListComponent: React.FC = (props) => { + const { observableTypes, onDeleteObservableType, onEditObservableType } = props; + const [selectedItem, setSelectedItem] = useState( + null + ); + + const onConfirm = useCallback(() => { + if (selectedItem) { + onDeleteObservableType(selectedItem.key); + } + + setSelectedItem(null); + }, [onDeleteObservableType, setSelectedItem, selectedItem]); + + const onCancel = useCallback(() => { + setSelectedItem(null); + }, []); + + const showModal = Boolean(selectedItem); + + return observableTypes.length ? ( + <> + + + + {observableTypes.map((observableType) => ( + + + + + + + +

{observableType.label}

+
+
+
+
+ + + + onEditObservableType(observableType.key)} + /> + + + setSelectedItem(observableType)} + /> + + + +
+
+ +
+ ))} +
+ {showModal && selectedItem ? ( + + ) : null} +
+ + ) : null; +}; + +ObservableTypesListComponent.displayName = 'ObservableTypesListComponent'; + +export const ObservableTypesList = React.memo(ObservableTypesListComponent); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/observable_types/schema.tsx new file mode 100644 index 0000000000000..53a54cc5bddd9 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/schema.tsx @@ -0,0 +1,39 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; +import * as i18n from './translations'; +import { MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH } from '../../../common/constants'; + +const { emptyField, maxLengthField } = fieldValidators; + +export const schema = { + key: { + validations: [ + { + validator: emptyField('key'), + }, + ], + }, + label: { + label: i18n.OBSERVABLE_TYPE_LABEL, + validations: [ + { + validator: emptyField(i18n.REQUIRED_FIELD(i18n.OBSERVABLE_TYPE_LABEL.toLocaleLowerCase())), + }, + { + validator: maxLengthField({ + length: MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH, + message: i18n.MAX_LENGTH_ERROR( + i18n.OBSERVABLE_TYPE_LABEL.toLocaleLowerCase(), + MAX_CUSTOM_OBSERVABLE_TYPES_LABEL_LENGTH + ), + }), + }, + ], + }, +}; diff --git a/x-pack/platform/plugins/shared/cases/public/components/observable_types/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/observable_types/translations.ts new file mode 100644 index 0000000000000..61218e536ae90 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observable_types/translations.ts @@ -0,0 +1,59 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export * from '../../common/translations'; + +export const TITLE = i18n.translate('xpack.cases.observableTypes.title', { + defaultMessage: 'Observable types', +}); + +export const DESCRIPTION = i18n.translate('xpack.cases.observableTypes.description', { + defaultMessage: 'Add observable types for customized case collaboration.', +}); + +export const NO_OBSERVABLE_TYPES = i18n.translate('xpack.cases.observableTypes.noObservableTypes', { + defaultMessage: 'You do not have any observable types yet', +}); + +export const ADD_OBSERVABLE_TYPE = i18n.translate('xpack.cases.observableTypes.addObservableType', { + defaultMessage: 'Add observable type', +}); + +export const OBSERVABLE_TYPE_LABEL = i18n.translate('xpack.cases.observableTypes.fieldLabel', { + defaultMessage: 'Observable type label', +}); + +export const REQUIRED_FIELD = (fieldName: string): string => + i18n.translate('xpack.cases.observableTypes.requiredField', { + values: { fieldName }, + defaultMessage: '{fieldName} is required.', + }); + +export const DELETE_OBSERVABLE_TYPE_TITLE = (fieldName: string) => + i18n.translate('xpack.cases.observableTypes.deleteField', { + values: { fieldName }, + defaultMessage: 'Delete observable type "{fieldName}"?', + }); + +export const DELETE_OBSERVABLE_TYPE_DESCRIPTION = i18n.translate( + 'xpack.cases.observableTypes.deleteObservableTypeDescription', + { + defaultMessage: 'The observable type will be removed from all cases and data will be lost.', + } +); + +export const DELETE = i18n.translate('xpack.cases.observableTypes.options.Delete', { + defaultMessage: 'Delete', +}); + +export const MAX_OBSERVABLE_TYPES_LIMIT = (maxObservableTypesLimit: number) => + i18n.translate('xpack.cases.observableTypes.maxObservableTypesLimit', { + values: { maxObservableTypesLimit }, + defaultMessage: 'Maximum number of {maxObservableTypesLimit} observable types reached.', + }); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.test.tsx new file mode 100644 index 0000000000000..7e88b78db49d3 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.test.tsx @@ -0,0 +1,102 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { createAppMockRenderer, noCasesPermissions } from '../../common/mock'; +import type { AddObservableProps } from './add_observable'; +import { AddObservable } from './add_observable'; +import { mockCase } from '../../containers/mock'; +import { licensingMock } from '@kbn/licensing-plugin/public/mocks'; +import userEvent from '@testing-library/user-event'; +import { screen } from '@testing-library/react'; +import { OBSERVABLE_TYPE_IPV4 } from '../../../common/constants'; +import { postObservable } from '../../containers/api'; + +jest.mock('../../containers/api'); + +const platinumLicense = licensingMock.createLicense({ + license: { type: 'platinum' }, +}); + +const basicLicense = licensingMock.createLicense({ + license: { type: 'basic' }, +}); + +describe('AddObservable', () => { + const props: AddObservableProps = { + caseData: mockCase, + }; + + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('renders the button as enabled when subscribed to platinum', async () => { + const appMock = createAppMockRenderer({ license: platinumLicense }); + const result = appMock.render(); + + const addButton = result.getByTestId('cases-observables-add'); + + expect(addButton).toBeInTheDocument(); + expect(addButton).toBeEnabled(); + }); + + it('opens the modal when clicked', async () => { + const appMock = createAppMockRenderer({ license: platinumLicense }); + const result = appMock.render(); + + const addButton = result.getByTestId('cases-observables-add'); + + expect(addButton).toBeInTheDocument(); + expect(addButton).toBeEnabled(); + + await userEvent.click(addButton); + + expect(await screen.findByTestId('cases-observables-add-modal')).toBeInTheDocument(); + }); + + it('submits the data on save', async () => { + const appMock = createAppMockRenderer({ license: platinumLicense }); + const result = appMock.render(); + + await userEvent.click(result.getByTestId('cases-observables-add')); + + await userEvent.selectOptions( + result.getByTestId('observable-type-select'), + OBSERVABLE_TYPE_IPV4.key + ); + + await userEvent.click(screen.getByTestId('observable-value-field')); + await userEvent.paste('127.0.0.1'); + + await userEvent.click(result.getByTestId('save-observable')); + + expect(screen.queryByTestId('cases-observables-add-modal')).not.toBeInTheDocument(); + + expect(jest.mocked(postObservable)).toHaveBeenCalledWith( + { observable: { description: '', typeKey: 'observable-type-ipv4', value: '127.0.0.1' } }, + 'mock-id' + ); + }); + + it('renders the button as disabled when license is too low', async () => { + const appMock = createAppMockRenderer({ license: basicLicense }); + const result = appMock.render(); + + const addButton = result.getByTestId('cases-observables-add'); + + expect(addButton).toBeInTheDocument(); + expect(addButton).toBeDisabled(); + }); + + it('does not render the button with insufficient permissions', async () => { + const appMock = createAppMockRenderer({ permissions: noCasesPermissions() }); + const result = appMock.render(); + + expect(result.queryByTestId('cases-observables-add')).not.toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.tsx new file mode 100644 index 0000000000000..d8241b46e18f8 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/add_observable.tsx @@ -0,0 +1,81 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { + EuiButton, + EuiFlexItem, + EuiModal, + EuiModalBody, + EuiModalHeader, + EuiModalHeaderTitle, +} from '@elastic/eui'; +import React, { useState, useCallback } from 'react'; + +import type { ObservablePost } from '../../../common/types/api/observable/v1'; +import type { CaseUI } from '../../../common'; +import { useCasesContext } from '../cases_context/use_cases_context'; +import * as i18n from './translations'; +import { usePostObservable } from '../../containers/use_post_observables'; +import { ObservableForm, type ObservableFormProps } from './observable_form'; +import { useCasesFeatures } from '../../common/use_cases_features'; + +export interface AddObservableProps { + caseData: CaseUI; +} + +const AddObservableComponent: React.FC = ({ caseData }) => { + const { permissions } = useCasesContext(); + const [isModalVisible, setIsModalVisible] = useState(false); + const { isLoading, mutateAsync: postObservables } = usePostObservable(caseData.id); + const { observablesAuthorized: isObservablesEnabled } = useCasesFeatures(); + + const closeModal = () => setIsModalVisible(false); + const showModal = () => setIsModalVisible(true); + + const handleCreateObservable = useCallback( + async (observable: ObservablePost) => { + await postObservables({ + observable, + }); + + closeModal(); + }, + [postObservables] + ); + + return permissions.create && permissions.update ? ( + + + {i18n.ADD_OBSERVABLE} + + {isModalVisible && ( + + + {i18n.ADD_OBSERVABLE} + + + + + + )} + + ) : null; +}; + +AddObservableComponent.displayName = 'AddObservable'; + +export const AddObservable = React.memo(AddObservableComponent); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/builder.tsx new file mode 100644 index 0000000000000..9c715f03d854f --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/builder.tsx @@ -0,0 +1,57 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +/* eslint-disable react/display-name */ + +import React, { type ComponentType } from 'react'; +import { UseField } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { TextField } from '@kbn/es-ui-shared-plugin/static/forms/components'; +import { + OBSERVABLE_TYPE_DOMAIN, + OBSERVABLE_TYPE_EMAIL, + OBSERVABLE_TYPE_IPV4, + OBSERVABLE_TYPE_IPV6, + OBSERVABLE_TYPE_URL, +} from '../../../common/constants'; +import { fieldsConfig } from './fields_config'; +import * as i18n from './translations'; + +const sharedProps = { + path: 'value', + componentProps: { + placeholder: i18n.VALUE_PLACEHOLDER, + euiFieldProps: { + 'data-test-subj': 'observable-value-field', + }, + }, + component: TextField, +} as const; + +const cachedComponents = Object.freeze({ + generic: () => , + [OBSERVABLE_TYPE_EMAIL.key]: () => ( + + ), + [OBSERVABLE_TYPE_URL.key]: () => ( + + ), + [OBSERVABLE_TYPE_IPV4.key]: () => ( + + ), + [OBSERVABLE_TYPE_IPV6.key]: () => ( + + ), + [OBSERVABLE_TYPE_DOMAIN.key]: () => ( + + ), +} as const) as Record; + +/* + * Returns value component with validation config matching the type (or generic value component if the specialized field is not found). + */ +export const getDynamicValueField = (observableType: string) => + cachedComponents[observableType] ?? cachedComponents.generic; diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.test.tsx new file mode 100644 index 0000000000000..68dc7e8a74b5d --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.test.tsx @@ -0,0 +1,62 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import userEvent from '@testing-library/user-event'; +import React from 'react'; +import type { AppMockRenderer } from '../../common/mock'; +import { createAppMockRenderer } from '../../common/mock'; +import { EditObservableModal, type EditObservableModalProps } from './edit_observable_modal'; +import { mockCase } from '../../containers/mock'; +import { patchObservable } from '../../containers/api'; + +jest.mock('../../containers/api'); + +describe('EditObservableModal', () => { + let appMock: AppMockRenderer; + const props: EditObservableModalProps = { + onCloseModal: jest.fn(), + caseData: mockCase, + observable: { + value: 'test', + typeKey: '67ac7899-2cc0-4ce5-80d3-0f4a2d2af33e', + id: '84279197-3746-47fb-ba4d-c7946a7feb88', + createdAt: '2024-10-01', + updatedAt: '2024-10-01', + description: '', + }, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('case-observables-edit-modal')).toBeInTheDocument(); + expect(result.getByText('Save observable')).toBeInTheDocument(); + }); + + it('calls handleUpdateObservable', async () => { + const result = appMock.render(); + + expect(result.getByText('Save observable')).toBeInTheDocument(); + await userEvent.click(result.getByText('Save observable')); + + expect(patchObservable).toHaveBeenCalled(); + }); + + it('calls onCancel', async () => { + const result = appMock.render(); + + expect(result.getByText('Cancel')).toBeInTheDocument(); + await userEvent.click(result.getByText('Cancel')); + + expect(props.onCloseModal).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.tsx new file mode 100644 index 0000000000000..e76fe417eae00 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/edit_observable_modal.tsx @@ -0,0 +1,56 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { EuiModal, EuiModalHeader, EuiModalHeaderTitle, EuiModalBody } from '@elastic/eui'; +import React, { type FC } from 'react'; +import type { ObservablePatch } from '../../../common/types/api/observable/v1'; +import type { Observable } from '../../../common/types/domain/observable/v1'; +import { ObservableForm } from './observable_form'; +import * as i18n from './translations'; +import { usePatchObservable } from '../../containers/use_patch_observables'; +import { type CaseUI } from '../../containers/types'; + +export interface EditObservableModalProps { + onCloseModal: VoidFunction; + observable: Observable; + caseData: CaseUI; +} + +export const EditObservableModal: FC = ({ + onCloseModal: closeModal, + observable, + caseData, +}) => { + const { isLoading, mutateAsync: patchObservable } = usePatchObservable( + caseData.id, + observable.id + ); + const handleUpdateObservable = async (updatedObservable: ObservablePatch) => { + patchObservable({ + observable: updatedObservable, + }); + closeModal(); + }; + + return ( + + + {i18n.EDIT_OBSERVABLE} + + + + + + ); +}; + +EditObservableModal.displayName = 'EditObservableModal'; diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.test.ts b/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.test.ts new file mode 100644 index 0000000000000..348b5b1ca27b5 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.test.ts @@ -0,0 +1,146 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { ValidationFunc } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib/types'; +import { domainValidator, emailValidator, genericValidator, ipv4Validator } from './fields_config'; + +describe('emailValidator', () => { + it('should return an error if the value is not a string', () => { + const result = emailValidator({ + value: undefined, + path: 'email', + } as Parameters[0]); + + expect(result).toEqual({ + code: 'ERR_NOT_STRING', + message: 'Value should be a string', + path: 'email', + }); + }); + + it('should return an error if the value is not a valid email', () => { + const result = emailValidator({ + value: 'invalid-email', + path: 'email', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_EMAIL', + message: 'Value should be a valid email', + path: 'email', + }); + }); + + it('should return undefined if the value is a valid email', () => { + const result = emailValidator({ + value: 'test@example.com', + path: 'email', + } as Parameters[0]); + expect(result).toBeUndefined(); + }); +}); + +describe('genericValidator', () => { + it('should return an error if the value is not a string', () => { + const result = genericValidator({ + value: 123, + path: 'generic', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_STRING', + message: 'Value should be a string', + path: 'generic', + }); + }); + + it('should return an error if the value is not valid', () => { + const result = genericValidator({ + value: 'invalid value!', + path: 'generic', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_VALID', + message: 'Value is invalid', + path: 'generic', + }); + }); + + it('should return undefined if the value is valid', () => { + const result = genericValidator({ + value: 'valid_value', + path: 'generic', + } as Parameters[0]); + expect(result).toBeUndefined(); + }); +}); + +describe('domainValidator', () => { + it('should return undefined for a valid domain', () => { + const result = domainValidator({ + value: 'example.com', + path: 'domain', + } as Parameters[0]); + expect(result).toBeUndefined(); + }); + + it('should return an error for an invalid domain', () => { + const result = domainValidator({ + value: '-invalid.com', + path: 'domain', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_VALID', + message: 'Value is invalid', + path: 'domain', + }); + }); + + it('should return an error for hyphen-spaced strings', () => { + const result = domainValidator({ + value: 'test-test', + path: 'domain', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_VALID', + message: 'Value is invalid', + path: 'domain', + }); + }); + + it('should return an error for a non-string value', () => { + const result = domainValidator({ + value: 12345, + path: 'domain', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_STRING', + message: 'Value should be a string', + path: 'domain', + }); + }); +}); + +describe('ipv4Validator', () => { + it('should return undefined for a valid ipv4', () => { + const result = ipv4Validator({ + value: '127.0.0.1', + path: 'ipv4', + } as Parameters[0]); + expect(result).toBeUndefined(); + }); + + it('should return an error for invalid ipv4', () => { + const result = domainValidator({ + value: 'invalid ip', + path: 'ipv4', + } as Parameters[0]); + expect(result).toEqual({ + code: 'ERR_NOT_VALID', + message: 'Value is invalid', + path: 'ipv4', + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.ts b/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.ts new file mode 100644 index 0000000000000..b858bb1251bb2 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/fields_config.ts @@ -0,0 +1,209 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { type ValidationFunc } from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { parseAddressList } from 'email-addresses'; +import ipaddr from 'ipaddr.js'; +import { fieldValidators } from '@kbn/es-ui-shared-plugin/static/forms/helpers'; + +import { + OBSERVABLE_TYPE_DOMAIN, + OBSERVABLE_TYPE_EMAIL, + OBSERVABLE_TYPE_IPV4, + OBSERVABLE_TYPE_IPV6, + OBSERVABLE_TYPE_URL, +} from '../../../common/constants'; +import * as i18n from './translations'; + +export const normalizeValueType = (value: string): keyof typeof fieldsConfig.value | 'generic' => { + if (value in fieldsConfig.value) { + return value as keyof typeof fieldsConfig.value; + } + + return 'generic'; +}; + +const DOMAIN_REGEX = /^(?!-)[A-Za-z0-9-]{1,63}(? ({ + code: 'ERR_NOT_STRING', + message: 'Value should be a string', + path, +}); + +const { emptyField } = fieldValidators; + +const validatorFactory = + ( + regex: RegExp, + message: string = i18n.INVALID_VALUE, + code: string = 'ERR_NOT_VALID' + ): ValidationFunc => + (...args: Parameters) => { + const [{ value, path }] = args; + + if (typeof value !== 'string') { + return notStringError(path); + } + + if (!regex.test(value)) { + return { + code, + message, + path, + }; + } + }; + +export const genericValidator = validatorFactory(GENERIC_REGEX); +export const domainValidator = validatorFactory(DOMAIN_REGEX); + +const ipValidatorFactory = + (kind: 'ipv6' | 'ipv4') => + (...args: Parameters) => { + const [{ value, path }] = args; + + if (typeof value !== 'string') { + return notStringError(path); + } + + try { + const parsed = ipaddr.parse(value); + + if (parsed.kind() !== kind) { + return { + code: 'ERR_NOT_VALID', + message: i18n.INVALID_VALUE, + path, + }; + } + } catch (error) { + return { + code: 'ERR_NOT_VALID', + message: i18n.INVALID_VALUE, + path, + }; + } + }; + +export const ipv6Validator = ipValidatorFactory('ipv6'); +export const ipv4Validator = ipValidatorFactory('ipv4'); + +export const urlValidator = (...args: Parameters) => { + const [{ value, path }] = args; + + if (typeof value !== 'string') { + return notStringError(path); + } + + try { + new URL(value); + } catch (error) { + return { + code: 'ERR_NOT_VALID', + message: i18n.INVALID_VALUE, + path, + }; + } +}; + +export const emailValidator = (...args: Parameters) => { + const [{ value, path }] = args; + + if (typeof value !== 'string') { + return notStringError(path); + } + + const emailAddresses = parseAddressList(value); + + if (emailAddresses == null) { + return { message: i18n.INVALID_EMAIL, code: 'ERR_NOT_EMAIL', path }; + } +}; + +export const fieldsConfig = { + value: { + generic: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: genericValidator, + }, + ], + label: i18n.FIELD_LABEL_VALUE, + }, + [OBSERVABLE_TYPE_EMAIL.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: emailValidator, + }, + ], + label: 'Email', + }, + [OBSERVABLE_TYPE_DOMAIN.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: domainValidator, + }, + ], + label: 'Domain', + }, + [OBSERVABLE_TYPE_IPV4.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: ipv4Validator, + }, + ], + label: 'IPv4', + }, + [OBSERVABLE_TYPE_IPV6.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: ipv6Validator, + }, + ], + label: 'IPv6', + }, + [OBSERVABLE_TYPE_URL.key]: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + { + validator: urlValidator, + }, + ], + label: 'URL', + }, + }, + typeKey: { + validations: [ + { + validator: emptyField(i18n.REQUIRED_VALUE), + }, + ], + label: i18n.FIELD_LABEL_TYPE, + }, + description: { + label: i18n.FIELD_LABEL_DESCRIPTION, + }, +}; diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.test.tsx new file mode 100644 index 0000000000000..8a3befb11e2f3 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.test.tsx @@ -0,0 +1,148 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; + +import { screen, waitFor } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; + +import type { AppMockRenderer } from '../../common/mock'; +import { buildCasesPermissions, createAppMockRenderer } from '../../common/mock'; + +import { ObservableActionsPopoverButton } from './observable_actions_popover_button'; +import type { CaseUI } from '../../../common'; +import type { Observable } from '../../../common/types/domain/observable/v1'; +import { mockCase } from '../../containers/mock'; +import { usePostObservable } from '../../containers/use_post_observables'; +import { useDeleteObservable } from '../../containers/use_delete_observables'; + +jest.mock('../../containers/use_post_observables'); +jest.mock('../../containers/use_delete_observables'); + +describe('ObservableActionsPopoverButton', () => { + let appMockRender: AppMockRenderer; + const addObservable = jest.fn().mockResolvedValue({}); + const deleteObservable = jest.fn().mockResolvedValue({}); + + const caseData: CaseUI = { ...mockCase }; + const observable = { id: '05041f40-ac9f-4192-b367-7e6a5dafcee5' } as Observable; + + beforeEach(() => { + jest + .mocked(usePostObservable) + .mockReturnValue({ mutateAsync: addObservable, isLoading: false } as unknown as ReturnType< + typeof usePostObservable + >); + jest + .mocked(useDeleteObservable) + .mockReturnValue({ mutateAsync: deleteObservable, isLoading: false } as unknown as ReturnType< + typeof useDeleteObservable + >); + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + }); + + it('renders observable actions popover button correctly', async () => { + appMockRender.render( + + ); + + expect( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ).toBeInTheDocument(); + }); + + it('clicking the button opens the popover', async () => { + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + expect( + await screen.findByTestId(`cases-observables-popover-${observable.id}`) + ).toBeInTheDocument(); + expect(await screen.findByTestId('cases-observables-delete-button')).toBeInTheDocument(); + expect(await screen.findByTestId('cases-observables-edit-button')).toBeInTheDocument(); + }); + + describe('edit buttton', () => { + it('clicking edit button opens the edit modal', async () => { + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + await userEvent.click(await screen.findByTestId('cases-observables-edit-button'), { + pointerEventsCheck: 0, + }); + + expect(await screen.findByTestId('case-observables-edit-modal')).toBeInTheDocument(); + }); + }); + + describe('delete button', () => { + it('clicking delete button opens the confirmation modal', async () => { + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + await userEvent.click(await screen.findByTestId('cases-observables-delete-button'), { + pointerEventsCheck: 0, + }); + + expect(await screen.findByTestId('property-actions-confirm-modal')).toBeInTheDocument(); + }); + + it('clicking delete button in the confirmation modal calls deleteObservable with proper params', async () => { + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + await userEvent.click(await screen.findByTestId('cases-observables-delete-button'), { + pointerEventsCheck: 0, + }); + + expect(await screen.findByTestId('property-actions-confirm-modal')).toBeInTheDocument(); + + await userEvent.click(await screen.findByTestId('confirmModalConfirmButton')); + + await waitFor(() => { + expect(deleteObservable).toHaveBeenCalledTimes(1); + }); + }); + + it('delete button is not rendered if user has no update permission', async () => { + appMockRender = createAppMockRenderer({ + permissions: buildCasesPermissions({ update: false }), + }); + + appMockRender.render( + + ); + + await userEvent.click( + await screen.findByTestId(`cases-observables-actions-popover-button-${observable.id}`) + ); + + expect(screen.queryByTestId('cases-observables-delete-button')).not.toBeInTheDocument(); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.tsx new file mode 100644 index 0000000000000..1717abcaae469 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_actions_popover_button.tsx @@ -0,0 +1,137 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback, useMemo, useState } from 'react'; +import type { + EuiContextMenuPanelDescriptor, + EuiContextMenuPanelItemDescriptor, +} from '@elastic/eui'; +import { EuiButtonIcon, EuiPopover, EuiContextMenu, EuiIcon, EuiTextColor } from '@elastic/eui'; +import type { Observable } from '../../../common/types/domain/observable/v1'; +import * as i18n from './translations'; + +import { useCasesContext } from '../cases_context/use_cases_context'; +import { DeleteAttachmentConfirmationModal } from '../user_actions/delete_attachment_confirmation_modal'; +import { useDeletePropertyAction } from '../user_actions/property_actions/use_delete_property_action'; +import { type CaseUI } from '../../containers/types'; +import { EditObservableModal } from './edit_observable_modal'; +import { useDeleteObservable } from '../../containers/use_delete_observables'; + +export const ObservableActionsPopoverButton: React.FC<{ + caseData: CaseUI; + observable: Observable; +}> = ({ caseData, observable }) => { + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + const { permissions } = useCasesContext(); + const [showEditModal, setShowEditModal] = useState(false); + + const { isLoading: isDeleteLoading, mutateAsync: deleteObservable } = useDeleteObservable( + caseData.id, + observable.id + ); + + const isLoading = isDeleteLoading; + + const { + showDeletionModal, + onModalOpen: onDeletionModalOpen, + onConfirm, + onCancel, + } = useDeletePropertyAction({ + onDelete: () => { + deleteObservable(); + }, + }); + + const tooglePopover = useCallback(() => setIsPopoverOpen((prevValue) => !prevValue), []); + const closePopover = useCallback(() => setIsPopoverOpen(false), []); + + const panels = useMemo((): EuiContextMenuPanelDescriptor[] => { + const mainPanelItems: EuiContextMenuPanelItemDescriptor[] = []; + + const panelsToBuild = [ + { + id: 0, + title: i18n.OBSERVABLE_ACTIONS, + items: mainPanelItems, + }, + ]; + + if (permissions.update) { + mainPanelItems.push({ + name: {i18n.DELETE_OBSERVABLE}, + icon: , + onClick: () => { + closePopover(); + onDeletionModalOpen(); + }, + disabled: isLoading, + 'data-test-subj': 'cases-observables-delete-button', + }); + + mainPanelItems.push({ + name: {i18n.EDIT_OBSERVABLE}, + icon: , + onClick: () => { + setShowEditModal(true); + closePopover(); + }, + disabled: isLoading, + 'data-test-subj': 'cases-observables-edit-button', + }); + } + + return panelsToBuild; + }, [closePopover, isLoading, onDeletionModalOpen, permissions]); + + return ( + <> + + } + isOpen={isPopoverOpen} + closePopover={closePopover} + panelPaddingSize="none" + anchorPosition="downLeft" + > + + + {showDeletionModal && ( + + )} + {showEditModal && ( + setShowEditModal(false)} + /> + )} + + ); +}; + +ObservableActionsPopoverButton.displayName = 'FileActionsPopoverButton'; diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.test.tsx new file mode 100644 index 0000000000000..c2bd6b096f47e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.test.tsx @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { type AppMockRenderer, createAppMockRenderer } from '../../common/mock'; +import { ObservableForm, type ObservableFormProps } from './observable_form'; + +describe('ObservableForm', () => { + let appMock: AppMockRenderer; + const props: ObservableFormProps = { + isLoading: false, + onSubmit: jest.fn(), + onCancel: jest.fn(), + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('save-observable')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.tsx new file mode 100644 index 0000000000000..5e2cb9656b14e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/observable_form.tsx @@ -0,0 +1,143 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { type FC, useCallback, useMemo, memo, useState } from 'react'; +import { + useForm, + Form, + UseField, + useFormContext, +} from '@kbn/es-ui-shared-plugin/static/forms/hook_form_lib'; +import { EuiButton, EuiFlexGroup, EuiSpacer } from '@elastic/eui'; + +import { TextAreaField, SelectField } from '@kbn/es-ui-shared-plugin/static/forms/components'; + +import { OBSERVABLE_TYPES_BUILTIN } from '../../../common/constants'; +import type { ObservablePatch, ObservablePost } from '../../../common/types/api'; +import type { Observable } from '../../../common/types/domain'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; +import * as i18n from './translations'; +import { fieldsConfig, normalizeValueType } from './fields_config'; +import { getDynamicValueField } from './builder'; + +export interface ObservableFormFieldsProps { + observable?: Observable; +} + +export const ObservableFormFields = memo(({ observable }: ObservableFormFieldsProps) => { + const { data, isLoading } = useGetCaseConfiguration(); + const [selectedTypeKey, setSelectedTypeKey] = useState(observable?.typeKey ?? ''); + + const { validateFields } = useFormContext(); + + const options = useMemo(() => { + return [...OBSERVABLE_TYPES_BUILTIN, ...data.observableTypes].map((observableType) => ({ + value: observableType.key, + text: observableType.label, + })); + }, [data.observableTypes]); + + const handleSelectedTypeChange = useCallback( + (selectedTypeKeyValue: string) => { + validateFields(['value']); + setSelectedTypeKey(selectedTypeKeyValue); + }, + [validateFields] + ); + + // NOTE: dynamic, because of field config changes, depending on the selectedTypeKey + const ValueComponent = useMemo( + () => getDynamicValueField(normalizeValueType(selectedTypeKey)), + [selectedTypeKey] + ); + + return ( + <> + {!observable && ( + + )} + + + + ); +}); +ObservableFormFields.displayName = 'ObservableFormFields'; + +export interface ObservableFormProps { + isLoading: boolean; + onSubmit: (observable: ObservablePatch | ObservablePost) => Promise; + observable?: Observable; + onCancel: VoidFunction; +} + +export const ObservableForm: FC = ({ + isLoading, + onSubmit, + observable, + onCancel, +}) => { + const { form } = useForm({ + defaultValue: observable ?? { + typeKey: '', + value: '', + description: '', + }, + options: { stripEmptyFields: false }, + }); + + const handleSubmitClick = useCallback( + async (e: React.MouseEvent) => { + const { isValid, data } = await form.submit(e); + + if (isValid) { + return onSubmit({ + ...data, + }); + } + }, + [form, onSubmit] + ); + + return ( +
+ + + + + {i18n.CANCEL} + + + {observable ? i18n.SAVE_OBSERVABLE : i18n.ADD_OBSERVABLE} + + + + ); +}; + +ObservableForm.displayName = 'ObservableForm'; diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.test.tsx new file mode 100644 index 0000000000000..bdbefc49240f8 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.test.tsx @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { type AppMockRenderer, createAppMockRenderer } from '../../common/mock'; +import { mockCase, mockObservables } from '../../containers/mock'; +import { ObservablesTable, type ObservablesTableProps } from './observables_table'; + +describe('ObservablesTable', () => { + let appMock: AppMockRenderer; + const props: ObservablesTableProps = { + caseData: { + ...mockCase, + observables: mockObservables, + }, + isLoading: false, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('cases-observables-table')).toBeInTheDocument(); + + expect(result.getByText('Showing 2 observables')).toBeInTheDocument(); + expect(result.getByText('Observable type')).toBeInTheDocument(); + expect(result.getByText('Observable value')).toBeInTheDocument(); + }); + + it('renders loading indicator when loading', async () => { + const result = appMock.render(); + expect(result.queryByTestId('cases-observables-table')).not.toBeInTheDocument(); + expect(result.getByTestId('cases-observables-table-loading')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.tsx new file mode 100644 index 0000000000000..423fd31a07ea6 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_table.tsx @@ -0,0 +1,120 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React, { useCallback, useMemo } from 'react'; + +import type { EuiBasicTableColumn } from '@elastic/eui'; + +import { EuiBasicTable, EuiSkeletonText, EuiSpacer, EuiText, EuiEmptyPrompt } from '@elastic/eui'; + +import { OBSERVABLE_TYPES_BUILTIN } from '../../../common/constants'; +import type { Observable, ObservableType } from '../../../common/types/domain'; +import type { CaseUI } from '../../../common/ui'; +import * as i18n from './translations'; +import { AddObservable } from './add_observable'; +import { ObservableActionsPopoverButton } from './observable_actions_popover_button'; +import { useGetCaseConfiguration } from '../../containers/configure/use_get_case_configuration'; + +const getColumns = ( + caseData: CaseUI, + observableTypes: ObservableType[] +): Array> => [ + { + name: i18n.DATE_ADDED, + field: 'createdAt', + 'data-test-subj': 'cases-observables-table-date-added', + dataType: 'date', + }, + { + name: i18n.OBSERVABLE_TYPE, + field: 'typeKey', + 'data-test-subj': 'cases-observables-table-type', + render: (typeKey: string) => + observableTypes.find((observableType) => observableType.key === typeKey)?.label || '-', + }, + { + name: i18n.OBSERVABLE_VALUE, + field: 'value', + 'data-test-subj': 'cases-observables-table-value', + }, + { + name: i18n.OBSERVABLE_ACTIONS, + field: 'actions', + 'data-test-subj': 'cases-observables-table-actions', + width: '120px', + actions: [ + { + name: i18n.OBSERVABLE_ACTIONS, + render: (observable: Observable) => { + return ; + }, + }, + ], + }, +]; + +const EmptyObservablesTable = ({ caseData }: { caseData: CaseUI }) => ( + {i18n.NO_OBSERVABLES}} + data-test-subj="cases-observables-table-empty" + titleSize="xs" + actions={} + /> +); + +EmptyObservablesTable.displayName = 'EmptyObservablesTable'; + +export interface ObservablesTableProps { + caseData: CaseUI; + isLoading: boolean; +} + +export const ObservablesTable = ({ caseData, isLoading }: ObservablesTableProps) => { + const filesTableRowProps = useCallback( + (observable: Observable) => ({ + 'data-test-subj': `cases-observables-table-row-${observable.id}`, + }), + [] + ); + + const { data: currentConfiguration, isLoading: loadingCaseConfigure } = useGetCaseConfiguration(); + + const columns = useMemo( + () => + getColumns(caseData, [...OBSERVABLE_TYPES_BUILTIN, ...currentConfiguration.observableTypes]), + [caseData, currentConfiguration.observableTypes] + ); + + return isLoading || loadingCaseConfigure ? ( + <> + + + + ) : ( + <> + {caseData.observables.length > 0 && ( + <> + + + {i18n.SHOWING_OBSERVABLES(caseData.observables.length)} + + + )} + + } + rowProps={filesTableRowProps} + /> + + ); +}; + +ObservablesTable.displayName = 'ObservablesTable'; diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.test.tsx new file mode 100644 index 0000000000000..9c35939785a0d --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.test.tsx @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { type AppMockRenderer, createAppMockRenderer } from '../../common/mock'; +import type { AddObservableProps } from './add_observable'; +import { mockCase } from '../../containers/mock'; +import { ObservablesUtilityBar } from './observables_utility_bar'; + +describe('ObservablesUtilityBar', () => { + let appMock: AppMockRenderer; + const props: AddObservableProps = { + caseData: mockCase, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('cases-observables-add')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.tsx new file mode 100644 index 0000000000000..3888b1d31c1a0 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/observables_utility_bar.tsx @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React from 'react'; + +import { EuiFlexGroup } from '@elastic/eui'; + +import type { CaseUI } from '../../../common'; +import { AddObservable } from './add_observable'; + +interface ObservablesUtilityBarProps { + caseData: CaseUI; +} + +export const ObservablesUtilityBar = ({ caseData }: ObservablesUtilityBarProps) => { + return ( + + + + ); +}; + +ObservablesUtilityBar.displayName = 'ObservablesUtilityBar'; diff --git a/x-pack/platform/plugins/shared/cases/public/components/observables/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/observables/translations.tsx new file mode 100644 index 0000000000000..5eb77528e52a5 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/observables/translations.tsx @@ -0,0 +1,124 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ADD_OBSERVABLE = i18n.translate('xpack.cases.caseView.observables.addObservable', { + defaultMessage: 'Add observable', +}); + +export const EDIT_OBSERVABLE = i18n.translate('xpack.cases.caseView.observables.edit', { + defaultMessage: 'Edit observable', +}); + +export const NO_OBSERVABLES = i18n.translate( + 'xpack.cases.caseView.observables.noObservablesAvailable', + { + defaultMessage: 'No observables available', + } +); + +export const SHOWING_OBSERVABLES = (totalObservables: number) => + i18n.translate('xpack.cases.caseView.observables.showingObservablesTitle', { + values: { totalObservables }, + defaultMessage: + 'Showing {totalObservables} {totalObservables, plural, =1 {observable} other {observables}}', + }); + +export const OBSERVABLES_TABLE = i18n.translate( + 'xpack.cases.caseView.observables.observablesTable', + { + defaultMessage: 'Observables table', + } +); + +export const SEARCH_PLACEHOLDER = i18n.translate( + 'xpack.cases.caseView.observables.searchPlaceholder', + { + defaultMessage: 'Search observables', + } +); + +export const DATE_ADDED = i18n.translate('xpack.cases.caseView.observables.dateAdded', { + defaultMessage: 'Date added', +}); + +export const OBSERVABLE_TYPE = i18n.translate('xpack.cases.caseView.observables.type', { + defaultMessage: 'Observable type', +}); + +export const OBSERVABLE_VALUE = i18n.translate('xpack.cases.caseView.observables.value', { + defaultMessage: 'Observable value', +}); + +export const OBSERVABLE_ACTIONS = i18n.translate('xpack.cases.caseView.observables.actions', { + defaultMessage: 'Actions', +}); + +export const DELETE_OBSERVABLE = i18n.translate('xpack.cases.caseView.observables.delete', { + defaultMessage: 'Delete observable', +}); + +export const CANCEL = i18n.translate('xpack.cases.caseView.observables.cancel', { + defaultMessage: 'Cancel', +}); + +export const VALUE_PLACEHOLDER = i18n.translate( + 'xpack.cases.caseView.observables.valuePlaceholder', + { + defaultMessage: 'Observable value', + } +); + +export const DELETE_OBSERVABLE_CONFIRM = i18n.translate( + 'xpack.cases.caseView.observables.deleteConfirmation', + { + defaultMessage: 'Are you sure you want to delete this observable?', + } +); + +export const SAVE_OBSERVABLE = i18n.translate('xpack.cases.caseView.observables.save', { + defaultMessage: 'Save observable', +}); + +export const ADDED = (type: string, value: string) => + i18n.translate('xpack.cases.caseView.observables.added', { + defaultMessage: 'observable value "{value}" of type {type} added', + values: { type, value }, + }); + +export const PLATINUM_NOTICE = i18n.translate('xpack.cases.caseView.observables.platinumNotice', { + defaultMessage: + 'In order to assign observables to cases, you must be subscribed to an Elastic Platinum license', +}); + +export const REQUIRED_VALUE = i18n.translate('xpack.cases.caseView.observables.requiredValue', { + defaultMessage: 'Value is required', +}); + +export const INVALID_VALUE = i18n.translate('xpack.cases.caseView.observables.invalidValue', { + defaultMessage: 'Value is invalid', +}); + +export const INVALID_EMAIL = i18n.translate('xpack.cases.caseView.observables.invalidEmail', { + defaultMessage: 'Value should be a valid email', +}); + +export const FIELD_LABEL_VALUE = i18n.translate('xpack.cases.caseView.observables.labelValue', { + defaultMessage: 'Value', +}); + +export const FIELD_LABEL_DESCRIPTION = i18n.translate( + 'xpack.cases.caseView.observables.labelDescription', + { + defaultMessage: 'Description', + } +); + +export const FIELD_LABEL_TYPE = i18n.translate('xpack.cases.caseView.observables.labelType', { + defaultMessage: 'Type', +}); diff --git a/x-pack/plugins/cases/public/components/optional_field_label/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/optional_field_label/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/optional_field_label/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/optional_field_label/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/optional_field_label/index.tsx diff --git a/x-pack/plugins/cases/public/components/property_actions/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/property_actions/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/property_actions/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/property_actions/index.tsx diff --git a/x-pack/plugins/cases/public/components/property_actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/property_actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/property_actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/property_actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/filters/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/filters/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/filters/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/filters/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/filters/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/get_filter_options.test.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/get_filter_options.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.test.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/get_filter_options.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/get_filter_options.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/get_filter_options.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/icon_with_count.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/icon_with_count.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/icon_with_count.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/icon_with_count.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/loading_placeholders.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/loading_placeholders.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/loading_placeholders.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/loading_placeholders.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/no_cases/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/no_cases/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/no_cases/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/no_cases/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/no_cases/index.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/recent_cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/recent_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/recent_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/recent_cases.tsx diff --git a/x-pack/plugins/cases/public/components/recent_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/recent_cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/recent_cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/recent_cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/recent_cases/types.ts diff --git a/x-pack/plugins/cases/public/components/removable_item/removable_item.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/removable_item/removable_item.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.test.tsx diff --git a/x-pack/plugins/cases/public/components/removable_item/removable_item.tsx b/x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/removable_item/removable_item.tsx rename to x-pack/platform/plugins/shared/cases/public/components/removable_item/removable_item.tsx diff --git a/x-pack/plugins/cases/public/components/severity/config.ts b/x-pack/platform/plugins/shared/cases/public/components/severity/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/severity/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/severity/config.ts diff --git a/x-pack/plugins/cases/public/components/severity/selector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/selector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/selector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/selector.test.tsx diff --git a/x-pack/plugins/cases/public/components/severity/selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/selector.tsx diff --git a/x-pack/plugins/cases/public/components/severity/sidebar_selector.tsx b/x-pack/platform/plugins/shared/cases/public/components/severity/sidebar_selector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/severity/sidebar_selector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/severity/sidebar_selector.tsx diff --git a/x-pack/plugins/cases/public/components/severity/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/severity/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/severity/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/severity/translations.ts diff --git a/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.test.tsx new file mode 100644 index 0000000000000..2d3de8b54ae93 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.test.tsx @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { type AppMockRenderer, createAppMockRenderer } from '../../common/mock'; +import { SimilarCasesTable, type SimilarCasesTableProps } from './table'; +import { mockCase, mockObservables } from '../../containers/mock'; + +describe('SimilarCasesTable', () => { + let appMock: AppMockRenderer; + const props: SimilarCasesTableProps = { + cases: [{ ...mockCase, similarities: { observables: mockObservables } }], + isLoading: false, + onChange: jest.fn(), + pagination: { pageIndex: 0, totalItemCount: 1 }, + }; + + beforeEach(() => { + appMock = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('renders correctly', async () => { + const result = appMock.render(); + + expect(result.getByTestId('similar-cases-table')).toBeInTheDocument(); + }); + + it('renders loading indicator when loading', async () => { + const result = appMock.render(); + expect(result.queryByTestId('similar-cases-table')).not.toBeInTheDocument(); + expect(result.getByTestId('similar-cases-table-loading')).toBeInTheDocument(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.tsx new file mode 100644 index 0000000000000..6ceb299bc1501 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/table.tsx @@ -0,0 +1,72 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { FunctionComponent } from 'react'; +import React, { useCallback } from 'react'; +import { css } from '@emotion/react'; +import type { EuiBasicTableProps, Pagination } from '@elastic/eui'; +import { EuiEmptyPrompt, EuiSkeletonText, EuiBasicTable, useEuiTheme } from '@elastic/eui'; + +import type { SimilarCaseUI } from '../../../common/ui/types'; + +import * as i18n from './translations'; +import { useSimilarCasesColumns } from './use_similar_cases_columns'; + +export interface SimilarCasesTableProps { + cases: SimilarCaseUI[]; + isLoading: boolean; + onChange: EuiBasicTableProps['onChange']; + pagination: Pagination; +} + +export const SimilarCasesTable: FunctionComponent = ({ + cases, + isLoading, + onChange, + pagination, +}) => { + const { euiTheme } = useEuiTheme(); + + const { columns } = useSimilarCasesColumns(); + + const tableRowProps = useCallback( + (theCase: SimilarCaseUI) => ({ + 'data-test-subj': `similar-cases-table-row-${theCase.id}`, + }), + [] + ); + + return isLoading ? ( +
+ +
+ ) : ( + <> + {i18n.NO_CASES}} + titleSize="xs" + body={i18n.NO_CASES_BODY} + /> + } + rowProps={tableRowProps} + /> + + ); +}; +SimilarCasesTable.displayName = 'SimilarCasesTable'; diff --git a/x-pack/platform/plugins/shared/cases/public/components/similar_cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/translations.ts new file mode 100644 index 0000000000000..3b0f1179d3877 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/translations.ts @@ -0,0 +1,28 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export * from '../../common/translations'; +export * from '../user_profiles/translations'; +export { + OPEN as STATUS_OPEN, + IN_PROGRESS as STATUS_IN_PROGRESS, + CLOSED as STATUS_CLOSED, +} from '@kbn/cases-components/src/status/translations'; + +export const NO_CASES = i18n.translate('xpack.cases.similarCaseTable.noCases.title', { + defaultMessage: 'No cases to display', +}); + +export const NO_CASES_BODY = i18n.translate('xpack.cases.similarCaseTable.noCases.readonly.body', { + defaultMessage: 'Edit your filter settings.', +}); + +export const SIMILARITY_REASON = i18n.translate('xpack.cases.similarCaseTable.similarities.title', { + defaultMessage: 'Similar observable values', +}); diff --git a/x-pack/platform/plugins/shared/cases/public/components/similar_cases/use_similar_cases_columns.tsx b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/use_similar_cases_columns.tsx new file mode 100644 index 0000000000000..54ad38363f14e --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/components/similar_cases/use_similar_cases_columns.tsx @@ -0,0 +1,191 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useMemo } from 'react'; +import { css } from '@emotion/react'; +import type { + EuiTableActionsColumnType, + EuiTableComputedColumnType, + EuiTableFieldDataColumnType, +} from '@elastic/eui'; +import { EuiBadgeGroup, EuiBadge, EuiHealth, EuiToolTip } from '@elastic/eui'; +import { Status } from '@kbn/cases-components/src/status/status'; + +import { CaseSeverity } from '../../../common/types/domain'; +import type { CaseUI, SimilarCaseUI } from '../../../common/ui/types'; +import { getEmptyCellValue } from '../empty_value'; +import { CaseDetailsLink } from '../links'; +import { TruncatedText } from '../truncated_text'; +import { severities } from '../severity/config'; +import { useCasesColumnsConfiguration } from '../all_cases/use_cases_columns_configuration'; +import * as i18n from './translations'; + +type SimilarCasesColumns = + | EuiTableActionsColumnType + | EuiTableComputedColumnType + | EuiTableFieldDataColumnType; + +const LINE_CLAMP = 3; +const getLineClampedCss = css` + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: ${LINE_CLAMP}; + -webkit-box-orient: vertical; + overflow: hidden; + word-break: normal; +`; + +const SIMILARITIES_FIELD = 'similarities' as const; + +export interface UseSimilarCasesColumnsReturnValue { + columns: SimilarCasesColumns[]; + rowHeader: string; +} + +export const useSimilarCasesColumns = (): UseSimilarCasesColumnsReturnValue => { + const casesColumnsConfig = useCasesColumnsConfiguration(false); + const columns: SimilarCasesColumns[] = useMemo( + () => [ + { + field: casesColumnsConfig.title.field, + name: casesColumnsConfig.title.name, + sortable: false, + render: (title: string, theCase: SimilarCaseUI) => { + if (theCase.id != null && theCase.title != null) { + const caseDetailsLinkComponent = ( + + + + ); + + return caseDetailsLinkComponent; + } + return getEmptyCellValue(); + }, + width: '20%', + }, + { + field: casesColumnsConfig.tags.field, + name: casesColumnsConfig.tags.name, + render: (tags: CaseUI['tags']) => { + if (tags != null && tags.length > 0) { + const clampedBadges = ( + + {tags.map((tag: string, i: number) => ( + + {tag} + + ))} + + ); + + const unclampedBadges = ( + + {tags.map((tag: string, i: number) => ( + + {tag} + + ))} + + ); + + return ( + + {clampedBadges} + + ); + } + return getEmptyCellValue(); + }, + width: '12%', + }, + { + field: casesColumnsConfig.category.field, + name: casesColumnsConfig.category.name, + sortable: false, + render: (category: CaseUI['category']) => { + if (category != null) { + return ( + + {category} + + ); + } + return getEmptyCellValue(); + }, + width: '120px', + }, + { + field: casesColumnsConfig.status.field, + name: casesColumnsConfig.status.name, + sortable: false, + render: (status: CaseUI['status']) => { + if (status != null) { + return ; + } + + return getEmptyCellValue(); + }, + width: '110px', + }, + { + field: casesColumnsConfig.severity.field, + name: casesColumnsConfig.severity.name, + sortable: false, + render: (severity: CaseUI['severity']) => { + if (severity != null) { + const severityData = severities[severity ?? CaseSeverity.LOW]; + return ( + + {severityData.label} + + ); + } + return getEmptyCellValue(); + }, + width: '90px', + }, + { + field: SIMILARITIES_FIELD, + name: i18n.SIMILARITY_REASON, + sortable: false, + render: (similarities: SimilarCaseUI['similarities'], theCase: SimilarCaseUI) => { + if (theCase.id != null && theCase.title != null) { + return similarities.observables.map((similarity) => similarity.value).join(', '); + } + return getEmptyCellValue(); + }, + width: '20%', + }, + ], + [casesColumnsConfig] + ); + + return { columns, rowHeader: casesColumnsConfig.title.field }; +}; diff --git a/x-pack/plugins/cases/public/components/status/button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/button.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/button.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/button.tsx diff --git a/x-pack/plugins/cases/public/components/status/config.ts b/x-pack/platform/plugins/shared/cases/public/components/status/config.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/config.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/config.ts diff --git a/x-pack/plugins/cases/public/components/status/index.ts b/x-pack/platform/plugins/shared/cases/public/components/status/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/index.ts diff --git a/x-pack/plugins/cases/public/components/status/status_popover_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_popover_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_popover_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_popover_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_popover_button.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_stats.test.tsx diff --git a/x-pack/plugins/cases/public/components/status/status_stats.tsx b/x-pack/platform/plugins/shared/cases/public/components/status/status_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/status/status_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/components/status/status_stats.tsx diff --git a/x-pack/plugins/cases/public/components/status/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/status/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/translations.ts diff --git a/x-pack/plugins/cases/public/components/status/types.ts b/x-pack/platform/plugins/shared/cases/public/components/status/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/status/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/status/types.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.test.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases_params.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases_params.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.test.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/cases_params.tsx b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/cases_params.tsx rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/cases_params.tsx diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/constants.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/translations.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/types.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/types.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/cases/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/cases/utils.ts diff --git a/x-pack/plugins/cases/public/components/system_actions/index.ts b/x-pack/platform/plugins/shared/cases/public/components/system_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/system_actions/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/system_actions/index.ts diff --git a/x-pack/plugins/cases/public/components/tags/tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/tags/tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/tags/tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/tags/tags.tsx diff --git a/x-pack/plugins/cases/public/components/tags/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/tags/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/tags/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/tags/translations.ts diff --git a/x-pack/plugins/cases/public/components/templates/form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form.test.tsx similarity index 99% rename from x-pack/plugins/cases/public/components/templates/form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form.test.tsx index 349457c2be98f..60fb63c64e8b3 100644 --- a/x-pack/plugins/cases/public/components/templates/form.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/templates/form.test.tsx @@ -57,6 +57,7 @@ describe('TemplateForm', () => { version: '', id: '', owner: mockedTestProvidersOwner[0], + observableTypes: [], }, onChange: jest.fn(), initialValue: null, @@ -343,6 +344,7 @@ describe('TemplateForm', () => { description: undefined, name: 'Template 1', tags: [], + observables: [], }, isValid: true, }) diff --git a/x-pack/plugins/cases/public/components/templates/form.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form.tsx diff --git a/x-pack/plugins/cases/public/components/templates/form_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.test.tsx similarity index 99% rename from x-pack/plugins/cases/public/components/templates/form_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.test.tsx index 48c6f956ccc7c..b1f08415acdec 100644 --- a/x-pack/plugins/cases/public/components/templates/form_fields.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.test.tsx @@ -43,6 +43,7 @@ describe('form fields', () => { version: '', id: '', owner: mockedTestProvidersOwner[0], + observableTypes: [], }, }; diff --git a/x-pack/plugins/cases/public/components/templates/form_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/form_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/form_fields.tsx diff --git a/x-pack/plugins/cases/public/components/templates/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/index.tsx diff --git a/x-pack/plugins/cases/public/components/templates/schema.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/schema.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/schema.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/schema.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/schema.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/schema.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/schema.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/schema.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_fields.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/template_tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/template_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/template_tags.tsx diff --git a/x-pack/plugins/cases/public/components/templates/templates_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/templates_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/templates/templates_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/templates/templates_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/templates/templates_list.tsx diff --git a/x-pack/plugins/cases/public/components/templates/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/translations.ts diff --git a/x-pack/plugins/cases/public/components/templates/types.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/types.ts diff --git a/x-pack/plugins/cases/public/components/templates/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/templates/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/templates/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/templates/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/templates/utils.ts diff --git a/x-pack/plugins/cases/public/components/timeline_context/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/timeline_context/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/timeline_context/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/timeline_context/index.tsx diff --git a/x-pack/plugins/cases/public/components/timeline_context/use_timeline_context.ts b/x-pack/platform/plugins/shared/cases/public/components/timeline_context/use_timeline_context.ts similarity index 100% rename from x-pack/plugins/cases/public/components/timeline_context/use_timeline_context.ts rename to x-pack/platform/plugins/shared/cases/public/components/timeline_context/use_timeline_context.ts diff --git a/x-pack/plugins/cases/public/components/truncated_text/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/truncated_text/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/truncated_text/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/truncated_text/index.tsx diff --git a/x-pack/plugins/cases/public/components/types.ts b/x-pack/platform/plugins/shared/cases/public/components/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/types.ts diff --git a/x-pack/plugins/cases/public/components/use_breadcrumbs/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_breadcrumbs/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_breadcrumbs/index.ts b/x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_breadcrumbs/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_breadcrumbs/index.ts diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/create_case_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/create_case_modal.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_create_case_modal/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_create_case_modal/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_create_case_modal/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/callout.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/callout.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/helpers.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/helpers.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/translations.ts diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/callout/types.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/callout/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/callout/types.ts diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/helpers.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/helpers.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/helpers.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/helpers.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/index.tsx diff --git a/x-pack/plugins/cases/public/components/use_push_to_service/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/use_push_to_service/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/use_push_to_service/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/assignees.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/assignees.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/assignees.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/assignees.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/assignees.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/builder.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/builder.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/builder.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/builder.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/category.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/category.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/category.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/category.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/category.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/category.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/category.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/category.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/__snapshots__/registered_attachments.test.tsx.snap diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/alert_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/alert_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/alert_event.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.tsx similarity index 99% rename from x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.tsx index 36dd0c5325e48..48d00f075c81f 100644 --- a/x-pack/plugins/cases/public/components/user_actions/comment/comment.tsx +++ b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/comment.tsx @@ -10,7 +10,7 @@ import type { EuiCommentProps } from '@elastic/eui'; import type { SnakeToCamelCase } from '../../../../common/types'; import type { CommentUserAction } from '../../../../common/types/domain'; import { UserActionActions, AttachmentType } from '../../../../common/types/domain'; -import type { AttachmentTypeRegistry } from '../../../../common/registry'; +import { type AttachmentTypeRegistry } from '../../../../common/registry'; import type { UserActionBuilder, UserActionBuilderArgs } from '../types'; import { createCommonUpdateUserActionBuilder } from '../common'; import type { AttachmentUI } from '../../../containers/types'; @@ -242,6 +242,7 @@ const getCreateCommentUserAction = ({ }); return persistableBuilder.build(); + default: return []; } diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/external_reference.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/external_reference.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/external_reference.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/external_reference.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/host_isolation_event.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/host_isolation_event.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/persistable_state.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/persistable_state.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/persistable_state.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/persistable_state.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/registered_attachments.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/show_alert_table_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/show_alert_table_link.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/translations.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/comment/user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/comment/user.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/common.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/common.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/common.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/common.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/common.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/common.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/common.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/common.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/connector.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/connector.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/connector.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/connector.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/connector.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/constants.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/constants.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/constants.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/constants.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/content_toolbar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/content_toolbar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/content_toolbar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/content_toolbar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/content_toolbar.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/copy_link.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/copy_link.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/copy_link.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/copy_link.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/copy_link.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/create_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/create_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/create_case.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/create_case.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/create_case.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/custom_fields/custom_fields.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/custom_fields/custom_fields.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/delete_attachment_confirmation_modal.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/description.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/description.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/description.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/description.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/description.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/description.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/description.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/description.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/helpers.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/helpers.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.test.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/helpers.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/helpers.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/helpers.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/index.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/markdown_form.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/markdown_form.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/markdown_form.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/markdown_form.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/markdown_form.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/mock.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/mock.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/move_to_reference.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/move_to_reference.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/move_to_reference.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/move_to_reference.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/move_to_reference.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/alert_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/alert_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/registered_attachments_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/translations.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/use_delete_property_action.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/property_actions/user_comment_property_actions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/pushed.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/pushed.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/pushed.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/pushed.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/pushed.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/schema.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/schema.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/schema.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/schema.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/settings.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/settings.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/settings.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/settings.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/settings.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/severity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/severity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/severity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/severity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/severity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/show_more_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/show_more_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/show_more_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/show_more_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/show_more_button.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/status.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/status.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/status.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/status.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/status.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/status.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/status.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/status.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/tags.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/tags.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/tags.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/timestamp.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/timestamp.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/timestamp.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/timestamp.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/timestamp.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/title.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/title.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/title.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/title.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/title.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/title.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/title.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/title.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/types.ts diff --git a/x-pack/plugins/cases/public/components/user_actions/use_last_page.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_last_page.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_last_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_last_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_last_page.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_handler.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_handler.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_last_page.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_last_page.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_actions_pagination.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_actions_pagination.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_permissions.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_permissions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/use_user_permissions.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/use_user_permissions.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/use_user_permissions.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_aria_labels.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_aria_labels.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_list.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_list.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions/user_actions_list.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions/user_actions_list.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions/user_actions_list.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/filter_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/filter_activity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/index.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/index.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/index.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/index.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/index.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/sort_activity.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/sort_activity.tsx diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_actions_activity_bar/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_actions_activity_bar/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_actions_activity_bar/types.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/data_test_subject.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/data_test_subject.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/data_test_subject.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/data_test_subject.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/display_name.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/display_name.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/display_name.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/display_name.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/display_name.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/empty_message.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/empty_message.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/empty_message.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/empty_message.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/empty_message.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_avatar_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_user_with_avatar_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/hoverable_username_resolver.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/hoverable_username_resolver.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/no_matches.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/no_matches.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/no_matches.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/no_matches.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/no_matches.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/removable_user.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/removable_user.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/removable_user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/removable_user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/removable_user.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/small_user_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/small_user_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/sort.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/sort.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/sort.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/sort.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/sort.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/translations.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/types.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/types.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/unknown_user.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/unknown_user.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/unknown_user.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/unknown_user.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_avatar.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_avatar.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_avatar.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_avatar.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_avatar.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_converter.test.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_converter.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.test.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_converter.ts b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.ts similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_converter.ts rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_converter.ts diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_tooltip.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_tooltip.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/user_tooltip.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/user_tooltip.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/user_tooltip.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/username.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/username.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.test.tsx diff --git a/x-pack/plugins/cases/public/components/user_profiles/username.tsx b/x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/user_profiles/username.tsx rename to x-pack/platform/plugins/shared/cases/public/components/user_profiles/username.tsx diff --git a/x-pack/plugins/cases/public/components/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/utils.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/__mocks__/action_wrapper.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/action_wrapper.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/action_wrapper.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/add_to_existing_case.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/add_to_existing_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/add_to_existing_case.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/add_to_existing_case.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/convert_to_absolute_time_range.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/index.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/index.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/index.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/index.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.test.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.test.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/is_compatible.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/is_compatible.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/mocks.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/mocks.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/open_modal.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/open_modal.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/open_modal.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/open_modal.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/open_modal.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/register.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/register.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/register.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/register.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/translations.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/translations.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/translations.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/types.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/types.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.test.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/actions/utils.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/actions/utils.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/actions/utils.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/attachment.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/attachment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/attachment.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/attachment.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/attachment.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/index.mock.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/index.mock.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/index.mock.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/index.mock.ts diff --git a/x-pack/plugins/cases/public/components/visualizations/lens_renderer.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/lens_renderer.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/lens_renderer.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/lens_renderer.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/lens_renderer.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/open_lens_button.test.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/open_lens_button.test.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.test.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/open_lens_button.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/open_lens_button.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/open_lens_button.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/translations.tsx b/x-pack/platform/plugins/shared/cases/public/components/visualizations/translations.tsx similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/translations.tsx rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/translations.tsx diff --git a/x-pack/plugins/cases/public/components/visualizations/types.ts b/x-pack/platform/plugins/shared/cases/public/components/visualizations/types.ts similarity index 100% rename from x-pack/plugins/cases/public/components/visualizations/types.ts rename to x-pack/platform/plugins/shared/cases/public/components/visualizations/types.ts diff --git a/x-pack/plugins/cases/public/containers/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/api.ts similarity index 96% rename from x-pack/plugins/cases/public/containers/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/__mocks__/api.ts index 2e792fbd134cc..ab12561e2c733 100644 --- a/x-pack/plugins/cases/public/containers/__mocks__/api.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/api.ts @@ -30,6 +30,7 @@ import { getCaseUserActionsStatsResponse, getCaseUsersMockResponse, customFieldsMock, + allCasesSnake, } from '../mock'; import type { CaseConnectors, @@ -187,3 +188,9 @@ export const replaceCustomField = async ({ customFieldValue: string | boolean | null; caseVersion: string; }): Promise => Promise.resolve(customFieldsMock[0]); + +export const getSimilarCases = async () => allCasesSnake; + +export const postObservable = jest.fn(); +export const patchObservable = jest.fn(); +export const deleteObservable = jest.fn(); diff --git a/x-pack/plugins/cases/public/containers/__mocks__/use_get_action_license.tsx b/x-pack/platform/plugins/shared/cases/public/containers/__mocks__/use_get_action_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/__mocks__/use_get_action_license.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/__mocks__/use_get_action_license.tsx diff --git a/x-pack/plugins/cases/public/containers/api.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/api.test.tsx similarity index 89% rename from x-pack/plugins/cases/public/containers/api.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/api.test.tsx index d72eece49e1e3..2934c4d1f3432 100644 --- a/x-pack/plugins/cases/public/containers/api.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/containers/api.test.tsx @@ -40,6 +40,10 @@ import { deleteFileAttachments, getCategories, replaceCustomField, + postObservable, + getSimilarCases, + patchObservable, + deleteObservable, } from './api'; import { @@ -63,6 +67,9 @@ import { getCaseUserActionsStatsResponse, basicFileMock, customFieldsMock, + mockCase, + similarCases, + similarCasesSnake, } from './mock'; import { DEFAULT_FILTER_OPTIONS, DEFAULT_QUERY_PARAMS } from './constants'; @@ -1154,4 +1161,164 @@ describe('Cases API', () => { expect(resp).toEqual(customFieldsMock[0]); }); }); + + describe('getSimilarCases', () => { + beforeEach(() => { + fetchMock.mockClear(); + fetchMock.mockResolvedValue(similarCasesSnake); + }); + + it('should be called with correct url, method, signal', async () => { + await getSimilarCases({ + caseId: mockCase.id, + signal: abortCtrl.signal, + page: 0, + perPage: 10, + }); + expect(fetchMock).toHaveBeenCalledWith(`${CASES_INTERNAL_URL}/${mockCase.id}/_similar`, { + method: 'POST', + body: JSON.stringify({ + page: 0, + perPage: 10, + }), + signal: abortCtrl.signal, + }); + }); + + it('should return correct response', async () => { + const resp = await getSimilarCases({ + caseId: mockCase.id, + signal: abortCtrl.signal, + page: 1, + perPage: 10, + }); + expect(resp).toEqual(similarCases); + }); + }); + + describe('postObservable', () => { + beforeEach(() => { + fetchMock.mockClear(); + fetchMock.mockResolvedValue(basicCaseSnake); + }); + + it('should be called with correct check url, method, signal', async () => { + await postObservable( + { + observable: { + typeKey: '18b62f19-8c60-415e-8a08-706d1078c556', + value: 'test value', + description: '', + }, + }, + mockCase.id, + abortCtrl.signal + ); + + expect(fetchMock).toHaveBeenCalledWith(`${CASES_INTERNAL_URL}/${mockCase.id}/observables`, { + method: 'POST', + body: JSON.stringify({ + observable: { + typeKey: '18b62f19-8c60-415e-8a08-706d1078c556', + value: 'test value', + description: '', + }, + }), + signal: abortCtrl.signal, + }); + }); + + it('should return correct response', async () => { + const resp = await postObservable( + { + observable: { + typeKey: '18b62f19-8c60-415e-8a08-706d1078c556', + value: 'test value', + description: '', + }, + }, + mockCase.id, + abortCtrl.signal + ); + expect(resp).toEqual(basicCase); + }); + }); + + describe('patchObservable', () => { + const observableId = 'afa44220-862c-4a21-b574-351ab4d0a732'; + + beforeEach(() => { + fetchMock.mockClear(); + fetchMock.mockResolvedValue(basicCaseSnake); + }); + + it('should be called with correct check url, method, signal', async () => { + await patchObservable( + { + observable: { + value: 'test value', + description: '', + }, + }, + mockCase.id, + observableId, + abortCtrl.signal + ); + + expect(fetchMock).toHaveBeenCalledWith( + `${CASES_INTERNAL_URL}/${mockCase.id}/observables/${observableId}`, + { + method: 'PATCH', + body: JSON.stringify({ + observable: { + value: 'test value', + description: '', + }, + }), + signal: abortCtrl.signal, + } + ); + }); + + it('should return correct response', async () => { + const resp = await patchObservable( + { + observable: { + value: 'test value', + description: '', + }, + }, + mockCase.id, + observableId, + abortCtrl.signal + ); + expect(resp).toEqual(basicCase); + }); + }); + + describe('deleteObservable', () => { + const observableId = 'afa44220-862c-4a21-b574-351ab4d0a732'; + + beforeEach(() => { + fetchMock.mockClear(); + fetchMock.mockResolvedValue(basicCaseSnake); + }); + + it('should be called with correct check url, method, signal', async () => { + await deleteObservable(mockCase.id, observableId, abortCtrl.signal); + + expect(fetchMock).toHaveBeenCalledWith( + `${CASES_INTERNAL_URL}/${mockCase.id}/observables/${observableId}`, + { + method: 'DELETE', + signal: abortCtrl.signal, + } + ); + }); + + it('should return correct response', async () => { + const resp = await deleteObservable(mockCase.id, observableId, abortCtrl.signal); + expect(resp).toEqual(undefined); + }); + }); }); diff --git a/x-pack/plugins/cases/public/containers/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/api.ts similarity index 88% rename from x-pack/plugins/cases/public/containers/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/api.ts index 020a4629552f4..4216421892b8c 100644 --- a/x-pack/plugins/cases/public/containers/api.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/api.ts @@ -22,6 +22,9 @@ import type { UserActionFindResponse, SingleCaseMetricsResponse, CustomFieldPutRequest, + CasesSimilarResponse, + AddObservableRequest, + UpdateObservableRequest, } from '../../common/types/api'; import type { CaseConnectors, @@ -36,6 +39,8 @@ import type { CasesUI, FilterOptions, CaseUICustomField, + SimilarCasesProps, + CasesSimilarResponseUI, } from '../../common/ui/types'; import { SortFieldCase } from '../../common/ui/types'; import { @@ -50,6 +55,10 @@ import { getCaseUsersUrl, getCaseUserActionStatsUrl, getCustomFieldReplaceUrl, + getCaseCreateObservableUrl, + getCaseUpdateObservableUrl, + getCaseDeleteObservableUrl, + getCaseSimilarCasesUrl, } from '../../common/api'; import { CASE_REPORTERS_URL, @@ -71,6 +80,7 @@ import { convertCaseToCamelCase, convertCasesToCamelCase, convertCaseResolveToCamelCase, + convertSimilarCasesToCamel, } from '../api/utils'; import type { @@ -93,7 +103,7 @@ import { decodeCaseUserActionStatsResponse, constructCustomFieldsFilter, } from './utils'; -import { decodeCasesFindResponse } from '../api/decoders'; +import { decodeCasesFindResponse, decodeCasesSimilarResponse } from '../api/decoders'; export const getCase = async ( caseId: string, @@ -608,3 +618,62 @@ export const getCaseUsers = async ({ signal, }); }; + +export const postObservable = async ( + request: AddObservableRequest, + caseId: string, + signal?: AbortSignal +): Promise => { + const response = await KibanaServices.get().http.fetch(getCaseCreateObservableUrl(caseId), { + method: 'POST', + body: JSON.stringify({ observable: request.observable }), + signal, + }); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const patchObservable = async ( + request: UpdateObservableRequest, + caseId: string, + observableId: string, + signal?: AbortSignal +): Promise => { + const response = await KibanaServices.get().http.fetch( + getCaseUpdateObservableUrl(caseId, observableId), + { + method: 'PATCH', + body: JSON.stringify({ observable: request.observable }), + signal, + } + ); + return convertCaseToCamelCase(decodeCaseResponse(response)); +}; + +export const deleteObservable = async ( + caseId: string, + observableId: string, + signal?: AbortSignal +): Promise => { + await KibanaServices.get().http.fetch(getCaseDeleteObservableUrl(caseId, observableId), { + method: 'DELETE', + signal, + }); +}; + +export const getSimilarCases = async ({ + caseId, + signal, + perPage, + page, +}: SimilarCasesProps): Promise => { + const response = await KibanaServices.get().http.fetch( + getCaseSimilarCasesUrl(caseId), + { + method: 'POST', + body: JSON.stringify({ page, perPage }), + signal, + } + ); + + return convertSimilarCasesToCamel(decodeCasesSimilarResponse(response)); +}; diff --git a/x-pack/plugins/cases/public/containers/configure/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/containers/configure/api.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/api.test.ts diff --git a/x-pack/plugins/cases/public/containers/configure/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/api.ts similarity index 92% rename from x-pack/plugins/cases/public/containers/configure/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/api.ts index b67e8f53f2268..4fb6149e3cb2b 100644 --- a/x-pack/plugins/cases/public/containers/configure/api.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/api.ts @@ -115,8 +115,27 @@ export const fetchActionTypes = async ({ signal }: ApiProps): Promise ): CasesConfigurationUI => { - const { id, version, mappings, customFields, templates, closureType, connector, owner } = - configuration; - - return { id, version, mappings, customFields, templates, closureType, connector, owner }; + const { + id, + version, + mappings, + customFields, + templates, + closureType, + connector, + owner, + observableTypes, + } = configuration; + + return { + id, + version, + mappings, + customFields, + templates, + closureType, + connector, + owner, + observableTypes, + }; }; diff --git a/x-pack/plugins/cases/public/containers/configure/mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/mock.ts similarity index 92% rename from x-pack/plugins/cases/public/containers/configure/mock.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/mock.ts index 1124283e5aa94..b699fe753656e 100644 --- a/x-pack/plugins/cases/public/containers/configure/mock.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/mock.ts @@ -11,7 +11,11 @@ import { ConnectorTypes } from '../../../common/types/domain'; import { SECURITY_SOLUTION_OWNER } from '../../../common/constants'; import type { CaseConnectorMapping } from './types'; import type { CasesConfigurationUI } from '../types'; -import { customFieldsConfigurationMock, templatesConfigurationMock } from '../mock'; +import { + customFieldsConfigurationMock, + observableTypesMock, + templatesConfigurationMock, +} from '../mock'; export const mappings: CaseConnectorMapping[] = [ { @@ -50,6 +54,7 @@ export const caseConfigurationResponseMock: Configuration = { version: 'WzHJ12', customFields: customFieldsConfigurationMock, templates: templatesConfigurationMock, + observableTypes: observableTypesMock, }; export const caseConfigurationRequest: ConfigurationRequest = { @@ -77,4 +82,5 @@ export const casesConfigurationsMock: CasesConfigurationUI = { customFields: customFieldsConfigurationMock, templates: templatesConfigurationMock, owner: 'securitySolution', + observableTypes: observableTypesMock, }; diff --git a/x-pack/plugins/cases/public/containers/configure/translations.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/translations.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/translations.ts diff --git a/x-pack/plugins/cases/public/containers/configure/types.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/types.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/types.ts diff --git a/x-pack/plugins/cases/public/containers/configure/use_action_types.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_action_types.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_action_types.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_action_types.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_action_types.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.test.ts similarity index 97% rename from x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.test.ts index 52d4df20e5401..395675d37cb87 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.test.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.test.ts @@ -46,6 +46,7 @@ describe('Use get all case configurations hook', () => { mappings: [], version: '', owner: '', + observableTypes: [], }, ]); @@ -77,6 +78,7 @@ describe('Use get all case configurations hook', () => { mappings: [], version: '', owner: '', + observableTypes: [], }, ]) ); diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_all_case_configurations.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_all_case_configurations.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configuration.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.test.ts diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_case_configurations_query.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_case_configurations_query.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_get_supported_action_connectors.tsx.test.tsx diff --git a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.test.tsx similarity index 83% rename from x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.test.tsx index 04b266478f667..a8929a32212f5 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.test.tsx +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.test.tsx @@ -14,7 +14,11 @@ import type { AppMockRenderer } from '../../common/mock'; import { createAppMockRenderer } from '../../common/mock'; import { ConnectorTypes } from '../../../common'; import { casesQueriesKeys } from '../constants'; -import { customFieldsConfigurationMock, templatesConfigurationMock } from '../mock'; +import { + customFieldsConfigurationMock, + observableTypesMock, + templatesConfigurationMock, +} from '../mock'; jest.mock('./api'); jest.mock('../../common/lib/kibana'); @@ -42,6 +46,7 @@ describe('usePersistConfiguration', () => { templates: [], version: '', id: '', + observableTypes: observableTypesMock, }; let appMockRender: AppMockRenderer; @@ -70,6 +75,7 @@ describe('usePersistConfiguration', () => { customFields: [], owner: 'securitySolution', templates: [], + observableTypes: observableTypesMock, }); }); @@ -95,6 +101,7 @@ describe('usePersistConfiguration', () => { customFields: [], templates: [], owner: 'securitySolution', + observableTypes: observableTypesMock, }); }); @@ -125,6 +132,7 @@ describe('usePersistConfiguration', () => { customFields: customFieldsConfigurationMock, templates: templatesConfigurationMock, owner: 'securitySolution', + observableTypes: observableTypesMock, }); }); }); @@ -148,6 +156,7 @@ describe('usePersistConfiguration', () => { customFields: [], templates: [], version: 'test-version', + observableTypes: observableTypesMock, }); }); @@ -171,6 +180,37 @@ describe('usePersistConfiguration', () => { result.current.mutate({ ...newRequest, id: 'test-id', version: 'test-version' }); }); + await waitFor(() => { + expect(spyPatch).toHaveBeenCalledWith('test-id', { + closure_type: 'close-by-user', + connector: { fields: null, id: 'none', name: 'none', type: '.none' }, + customFields: customFieldsConfigurationMock, + templates: templatesConfigurationMock, + version: 'test-version', + observableTypes: observableTypesMock, + }); + }); + }); + + it('calls patchCaseConfigure without observableTypes if it is not specified', async () => { + const spyPatch = jest.spyOn(api, 'patchCaseConfigure'); + + const { result } = renderHook(() => usePersistConfiguration(), { + wrapper: appMockRender.AppWrapper, + }); + + const { observableTypes, ...rest } = request; + + const newRequest = { + ...rest, + customFields: customFieldsConfigurationMock, + templates: templatesConfigurationMock, + }; + + act(() => { + result.current.mutate({ ...newRequest, id: 'test-id', version: 'test-version' }); + }); + await waitFor(() => { expect(spyPatch).toHaveBeenCalledWith('test-id', { closure_type: 'close-by-user', diff --git a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.tsx similarity index 91% rename from x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.tsx index dc9bed95d1df8..b2943c9f0b128 100644 --- a/x-pack/plugins/cases/public/containers/configure/use_persist_configuration.tsx +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/use_persist_configuration.tsx @@ -27,7 +27,15 @@ export const usePersistConfiguration = () => { const { showErrorToast, showSuccessToast } = useCasesToast(); return useMutation( - ({ id, version, closureType, customFields, templates, connector }: Request) => { + ({ + id, + version, + closureType, + customFields, + templates, + connector, + observableTypes, + }: Request) => { if (isEmpty(id) || isEmpty(version)) { return postCaseConfigure({ closure_type: closureType, @@ -35,6 +43,7 @@ export const usePersistConfiguration = () => { customFields: customFields ?? [], templates: templates ?? [], owner: owner[0], + observableTypes, }); } @@ -44,6 +53,7 @@ export const usePersistConfiguration = () => { connector, customFields: customFields ?? [], templates: templates ?? [], + observableTypes, }); }, { diff --git a/x-pack/plugins/cases/public/containers/configure/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/configure/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/utils.test.ts diff --git a/x-pack/plugins/cases/public/containers/configure/utils.ts b/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.ts similarity index 97% rename from x-pack/plugins/cases/public/containers/configure/utils.ts rename to x-pack/platform/plugins/shared/cases/public/containers/configure/utils.ts index e4416beb5ce57..91d06721f65af 100644 --- a/x-pack/plugins/cases/public/containers/configure/utils.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/configure/utils.ts @@ -21,6 +21,7 @@ export const initialConfiguration: CasesConfigurationUI = { version: '', id: '', owner: '', + observableTypes: [], }; export const getConfigurationByOwner = ({ diff --git a/x-pack/plugins/cases/public/containers/constants.ts b/x-pack/platform/plugins/shared/cases/public/containers/constants.ts similarity index 93% rename from x-pack/plugins/cases/public/containers/constants.ts rename to x-pack/platform/plugins/shared/cases/public/containers/constants.ts index 0f57a729bc58b..b89f261fdd46c 100644 --- a/x-pack/plugins/cases/public/containers/constants.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/constants.ts @@ -23,6 +23,8 @@ export const casesQueriesKeys = { casesMetrics: () => [...casesQueriesKeys.casesList(), 'metrics'] as const, casesStatuses: () => [...casesQueriesKeys.casesList(), 'statuses'] as const, cases: (params: unknown) => [...casesQueriesKeys.casesList(), 'all-cases', params] as const, + similarCases: (id: string, params: unknown) => + [...casesQueriesKeys.caseView(), id, 'similar', params] as const, caseView: () => [...casesQueriesKeys.all, 'case'] as const, case: (id: string) => [...casesQueriesKeys.caseView(), id] as const, caseFiles: (id: string, params: unknown) => @@ -64,6 +66,9 @@ export const casesMutationsKeys = { bulkCreateAttachments: ['bulk-create-attachments'] as const, persistCaseConfiguration: ['persist-case-configuration'] as const, replaceCustomField: ['replace-custom-field'] as const, + postObservable: ['post-observable'] as const, + patchObservable: ['patch-observable'] as const, + deleteObservable: ['delete-observable'] as const, }; const DEFAULT_SEARCH_FIELDS = ['title', 'description']; diff --git a/x-pack/plugins/cases/public/containers/mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/mock.ts similarity index 95% rename from x-pack/plugins/cases/public/containers/mock.ts rename to x-pack/platform/plugins/shared/cases/public/containers/mock.ts index 1ed160cf1847b..5253e425a2a88 100644 --- a/x-pack/plugins/cases/public/containers/mock.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/mock.ts @@ -16,6 +16,7 @@ import type { Cases, CaseConnector, Attachment, + ObservableType, } from '../../common/types/domain'; import { CaseSeverity, @@ -46,9 +47,11 @@ import type { CaseUICustomField, CasesConfigurationUICustomField, CasesConfigurationUITemplate, + CasesSimilarResponseUI, + ObservableUI, } from '../../common/ui/types'; import { CaseMetricsFeature } from '../../common/types/api'; -import { SECURITY_SOLUTION_OWNER } from '../../common/constants'; +import { OBSERVABLE_TYPE_IPV4, SECURITY_SOLUTION_OWNER } from '../../common/constants'; import type { SnakeToCamelCase } from '../../common/types'; import { covertToSnakeCase } from './utils'; import type { @@ -56,7 +59,11 @@ import type { AttachmentViewObject, PersistableStateAttachmentType, } from '../client/attachment_framework/types'; -import type { CasesFindResponse, UserActionWithResponse } from '../../common/types/api'; +import type { + CasesFindResponse, + CasesSimilarResponse, + UserActionWithResponse, +} from '../../common/types/api'; export { connectorsMock } from '../common/mock/connectors'; export const basicCaseId = 'basic-case-id'; @@ -248,6 +255,7 @@ export const basicCase: CaseUI = { assignees: [{ uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }], category: null, customFields: [], + observables: [], }; export const basicFileMock: FileJSON = { @@ -371,6 +379,7 @@ export const mockCase: CaseUI = { assignees: [], category: null, customFields: [], + observables: [], }; export const basicCasePost: CaseUI = { @@ -461,6 +470,16 @@ export const allCases: CasesFindResponseUI = { countClosedCases: 130, }; +export const similarCases: CasesSimilarResponseUI = { + cases: cases.map(({ comments, ...theCase }) => ({ + ...theCase, + similarities: { observables: [] }, + })), + page: 1, + perPage: 5, + total: 10, +}; + export const actionLicenses: ActionLicense[] = [ { id: '.servicenow', @@ -622,6 +641,13 @@ export const allCasesSnake: CasesFindResponse = { count_open_cases: 20, }; +export const similarCasesSnake: CasesSimilarResponse = { + cases: casesSnake.map(({ ...theCase }) => ({ ...theCase, similarities: { observables: [] } })), + page: 1, + per_page: 5, + total: 10, +}; + export const getUserAction = ( type: UserActionType, action: UserActionAction, @@ -743,7 +769,7 @@ export const getUserAction = ( type: UserActionTypes.assignees, payload: { assignees: [ - // These values map to uids in x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts + // These values map to uids in x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts { uid: 'u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0' }, { uid: 'u_A_tM4n0wPkdiQ9smmd8o0Hr_h61XQfu8aRPh9GMoRoc_0' }, ], @@ -1267,3 +1293,33 @@ export const templatesConfigurationMock: CasesConfigurationUITemplate[] = [ }, }, ]; + +export const observableTypesMock: ObservableType[] = [ + { + label: 'test_observable_type_1', + key: '26f3f226-6611-4371-9242-c959b37c7af6', + }, + { + label: 'test_observable_type_2', + key: '67ec9e77-f64c-47d9-900c-1142239e0d25', + }, +]; + +export const mockObservables: ObservableUI[] = [ + { + id: 'fa6dfb79-7fd5-44d0-a582-ca196e3a5e69', + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: null, + createdAt: '2024-12-11', + updatedAt: '2024-12-11', + }, + { + id: '096ca782-bd39-4dbf-8cf1-253d18277fdc', + value: '10.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + description: null, + createdAt: '2024-12-11', + updatedAt: '2024-12-11', + }, +]; diff --git a/x-pack/plugins/cases/public/containers/translations.ts b/x-pack/platform/plugins/shared/cases/public/containers/translations.ts similarity index 84% rename from x-pack/plugins/cases/public/containers/translations.ts rename to x-pack/platform/plugins/shared/cases/public/containers/translations.ts index 5e78e1a71e2b2..4c1e332f7b67a 100644 --- a/x-pack/plugins/cases/public/containers/translations.ts +++ b/x-pack/platform/plugins/shared/cases/public/containers/translations.ts @@ -68,3 +68,15 @@ export const CATEGORIES_ERROR_TITLE = i18n.translate( defaultMessage: 'Error fetching categories', } ); + +export const OBSERVABLE_CREATED = i18n.translate('xpack.cases.caseView.observables.created', { + defaultMessage: 'Observable created', +}); + +export const OBSERVABLE_REMOVED = i18n.translate('xpack.cases.caseView.observables.removed', { + defaultMessage: 'Observable removed', +}); + +export const OBSERVABLE_UPDATED = i18n.translate('xpack.cases.caseView.observables.updated', { + defaultMessage: 'Observable updated', +}); diff --git a/x-pack/plugins/cases/public/containers/types.ts b/x-pack/platform/plugins/shared/cases/public/containers/types.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/types.ts rename to x-pack/platform/plugins/shared/cases/public/containers/types.ts diff --git a/x-pack/plugins/cases/public/containers/use_bulk_update_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_bulk_update_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_bulk_update_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_bulk_update_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_bulk_update_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_create_attachments.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_create_attachments.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_create_attachments.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_create_attachments.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_create_attachments.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_cases.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_comment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_comment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_comment.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_file_attachment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_file_attachment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_delete_file_attachment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_delete_file_attachment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_delete_file_attachment.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.test.tsx new file mode 100644 index 0000000000000..adf0921820e72 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.test.tsx @@ -0,0 +1,67 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook, act } from '@testing-library/react-hooks'; +import { useDeleteObservable } from './use_delete_observables'; +import { deleteObservable } from './api'; +import { useCasesToast } from '../common/use_cases_toast'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; +import type { AppMockRenderer } from '../common/mock'; +import { createAppMockRenderer } from '../common/mock'; + +jest.mock('./api'); +jest.mock('../common/use_cases_toast'); +jest.mock('../components/case_view/use_on_refresh_case_view_page'); + +describe('useDeleteObservable', () => { + const caseId = 'test-case-id'; + const observableId = 'test-observable-id'; + const showErrorToast = jest.fn(); + const showSuccessToast = jest.fn(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + + let appMockRender: AppMockRenderer; + + beforeEach(() => { + appMockRender = createAppMockRenderer(); + jest.clearAllMocks(); + (useCasesToast as jest.Mock).mockReturnValue({ showErrorToast, showSuccessToast }); + }); + + it('should call deleteObservable and show success toast on success', async () => { + (deleteObservable as jest.Mock).mockResolvedValue({}); + + const { result, waitFor } = renderHook(() => useDeleteObservable(caseId, observableId), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(); + }); + + await waitFor(() => expect(deleteObservable).toHaveBeenCalledWith(caseId, observableId)); + expect(showSuccessToast).toHaveBeenCalledWith(expect.any(String)); + expect(refreshCaseViewPage).toHaveBeenCalled(); + }); + + it('should show error toast on failure', async () => { + const error = new Error('Failed to delete observable'); + (deleteObservable as jest.Mock).mockRejectedValue(error); + + const { result, waitFor } = renderHook(() => useDeleteObservable(caseId, observableId), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(); + }); + + await waitFor(() => + expect(showErrorToast).toHaveBeenCalledWith(error, { title: expect.any(String) }) + ); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.tsx new file mode 100644 index 0000000000000..76ce836094faa --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/use_delete_observables.tsx @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useMutation } from '@tanstack/react-query'; +import { deleteObservable } from './api'; +import * as i18n from './translations'; +import type { ServerError } from '../types'; +import { useCasesToast } from '../common/use_cases_toast'; +import { casesMutationsKeys } from './constants'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; + +export const useDeleteObservable = (caseId: string, observableId: string) => { + const { showErrorToast } = useCasesToast(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + const { showSuccessToast } = useCasesToast(); + + return useMutation( + () => { + return deleteObservable(caseId, observableId); + }, + { + mutationKey: casesMutationsKeys.deleteObservable, + onError: (error: ServerError) => { + showErrorToast(error, { title: i18n.ERROR_TITLE }); + }, + onSuccess: () => { + showSuccessToast(i18n.OBSERVABLE_REMOVED); + refreshCaseViewPage(); + }, + } + ); +}; + +export type UseDeleteObservables = ReturnType; diff --git a/x-pack/plugins/cases/public/containers/use_find_case_user_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_find_case_user_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_find_case_user_actions.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_find_case_user_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_find_case_user_actions.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_action_license.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_action_license.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_action_license.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_action_license.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_action_license.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_connectors.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_connectors.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_connectors.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_connectors.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_connectors.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_file_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_file_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_file_stats.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_file_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_file_stats.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_files.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_files.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_files.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_files.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_files.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_metrics.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_user_actions_stats.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_user_actions_stats.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_users.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_users.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_case_users.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_case_users.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_case_users.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases_metrics.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_cases_metrics.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_cases_metrics.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_categories.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_categories.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_categories.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_categories.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_categories.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_feature_ids.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_feature_ids.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_feature_ids.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_feature_ids.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_feature_ids.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.test.tsx new file mode 100644 index 0000000000000..25bcadec2e7af --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.test.tsx @@ -0,0 +1,72 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook } from '@testing-library/react-hooks'; +import * as api from './api'; +import type { AppMockRenderer } from '../common/mock'; +import { createAppMockRenderer } from '../common/mock'; +import { useToasts } from '../common/lib/kibana/hooks'; +import { useGetSimilarCases } from './use_get_similar_cases'; +import { mockCase } from './mock'; + +jest.mock('./api'); +jest.mock('../common/lib/kibana/hooks'); + +describe('useGetSimilarCases', () => { + const abortCtrl = new AbortController(); + const addSuccess = jest.fn(); + (useToasts as jest.Mock).mockReturnValue({ addSuccess, addError: jest.fn() }); + + let appMockRender: AppMockRenderer; + + beforeEach(() => { + jest.clearAllMocks(); + appMockRender = createAppMockRenderer(); + }); + + it('calls getSimilarCases with correct arguments', async () => { + const spyOnGetCases = jest.spyOn(api, 'getSimilarCases'); + const { waitFor } = renderHook( + () => useGetSimilarCases({ caseId: mockCase.id, perPage: 10, page: 0 }), + { + wrapper: appMockRender.AppWrapper, + } + ); + + await waitFor(() => { + expect(spyOnGetCases).toBeCalled(); + }); + + expect(spyOnGetCases).toBeCalledWith({ + caseId: mockCase.id, + signal: abortCtrl.signal, + page: 0, + perPage: 10, + }); + }); + + it('shows a toast error message when an error occurs in the response', async () => { + const spyOnGetCases = jest.spyOn(api, 'getSimilarCases'); + spyOnGetCases.mockImplementation(() => { + throw new Error('Something went wrong'); + }); + + const addError = jest.fn(); + (useToasts as jest.Mock).mockReturnValue({ addSuccess, addError }); + + const { waitFor } = renderHook( + () => useGetSimilarCases({ caseId: mockCase.id, perPage: 10, page: 0 }), + { + wrapper: appMockRender.AppWrapper, + } + ); + + await waitFor(() => { + expect(addError).toHaveBeenCalled(); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.tsx new file mode 100644 index 0000000000000..e5df1b6a6fac0 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/use_get_similar_cases.tsx @@ -0,0 +1,53 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { UseQueryResult } from '@tanstack/react-query'; +import { useQuery } from '@tanstack/react-query'; +import { casesQueriesKeys } from './constants'; +import type { CasesSimilarResponseUI } from './types'; +import { useToasts } from '../common/lib/kibana'; +import * as i18n from './translations'; +import { getSimilarCases } from './api'; +import type { ServerError } from '../types'; + +export const initialData: CasesSimilarResponseUI = { + cases: [], + page: 0, + perPage: 0, + total: 0, +}; + +export const useGetSimilarCases = (params: { + caseId: string; + perPage: number; + page: number; +}): UseQueryResult => { + const toasts = useToasts(); + + return useQuery( + casesQueriesKeys.similarCases(params.caseId, params), + ({ signal }) => { + return getSimilarCases({ + caseId: params.caseId, + perPage: params.perPage, + page: params.page, + signal, + }); + }, + { + keepPreviousData: true, + onError: (error: ServerError) => { + if (error.name !== 'AbortError') { + toasts.addError( + error.body && error.body.message ? new Error(error.body.message) : error, + { title: i18n.ERROR_TITLE } + ); + } + }, + } + ); +}; diff --git a/x-pack/plugins/cases/public/containers/use_get_tags.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_tags.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_get_tags.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_get_tags.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_get_tags.tsx diff --git a/x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_infinite_find_case_user_actions.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_infinite_find_case_user_actions.tsx diff --git a/x-pack/plugins/cases/public/containers/use_messages_storage.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_messages_storage.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_messages_storage.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_messages_storage.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_messages_storage.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.test.tsx new file mode 100644 index 0000000000000..98f1d50e77658 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.test.tsx @@ -0,0 +1,75 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook, act } from '@testing-library/react-hooks'; +import { usePatchObservable } from './use_patch_observables'; +import { patchObservable } from './api'; +import { useCasesToast } from '../common/use_cases_toast'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; +import * as i18n from './translations'; +import type { AppMockRenderer } from '../common/mock'; +import { createAppMockRenderer } from '../common/mock'; + +jest.mock('../common/use_cases_toast'); +jest.mock('../components/case_view/use_on_refresh_case_view_page'); + +jest.mock('./api'); +jest.mock('../common/lib/kibana'); + +describe('usePatchObservable', () => { + const caseId = 'test-case-id'; + const observableId = 'test-observable-id'; + const showErrorToast = jest.fn(); + const showSuccessToast = jest.fn(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + + const mockRequest = { observable: { value: 'value', typeKey: 'test', description: null } }; + + let appMockRender: AppMockRenderer; + + beforeEach(() => { + jest.clearAllMocks(); + (useCasesToast as jest.Mock).mockReturnValue({ showErrorToast, showSuccessToast }); + + appMockRender = createAppMockRenderer(); + }); + + it('should call patchObservable and show success toast on success', async () => { + (patchObservable as jest.Mock).mockResolvedValue({}); + + const { result, waitFor } = renderHook(() => usePatchObservable(caseId, observableId), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(mockRequest); + }); + + await waitFor(() => + expect(patchObservable).toHaveBeenCalledWith(mockRequest, caseId, observableId) + ); + expect(showSuccessToast).toHaveBeenCalledWith(i18n.OBSERVABLE_UPDATED); + expect(refreshCaseViewPage).toHaveBeenCalled(); + }); + + it('should show error toast on failure', async () => { + const error = new Error('Failed to patch observable'); + (patchObservable as jest.Mock).mockRejectedValue(error); + + const { result, waitFor } = renderHook(() => usePatchObservable(caseId, observableId), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(mockRequest); + }); + + await waitFor(() => + expect(showErrorToast).toHaveBeenCalledWith(error, { title: i18n.ERROR_TITLE }) + ); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.tsx new file mode 100644 index 0000000000000..772997435436a --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/use_patch_observables.tsx @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useMutation } from '@tanstack/react-query'; +import type { UpdateObservableRequest } from '../../common/types/api'; +import { patchObservable } from './api'; +import * as i18n from './translations'; +import type { ServerError } from '../types'; +import { useCasesToast } from '../common/use_cases_toast'; +import { casesMutationsKeys } from './constants'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; + +export const usePatchObservable = (caseId: string, observableId: string) => { + const { showErrorToast, showSuccessToast } = useCasesToast(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + + return useMutation( + (request: UpdateObservableRequest) => { + return patchObservable(request, caseId, observableId); + }, + { + mutationKey: casesMutationsKeys.patchObservable, + onError: (error: ServerError) => { + showErrorToast(error, { title: i18n.ERROR_TITLE }); + }, + onSuccess: () => { + showSuccessToast(i18n.OBSERVABLE_UPDATED); + refreshCaseViewPage(); + }, + } + ); +}; + +export type UsePatchObservables = ReturnType; diff --git a/x-pack/plugins/cases/public/containers/use_post_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_case.tsx diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.test.tsx new file mode 100644 index 0000000000000..177b18d6b36de --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.test.tsx @@ -0,0 +1,103 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { renderHook, act } from '@testing-library/react-hooks'; +import * as api from './api'; +import { useToasts } from '../common/lib/kibana'; +import type { AppMockRenderer } from '../common/mock'; +import { createAppMockRenderer } from '../common/mock'; +import { usePostObservable } from './use_post_observables'; +import { casesQueriesKeys } from './constants'; +import { mockCase } from './mock'; +import type { AddObservableRequest } from '../../common/types/api'; + +jest.mock('./api'); +jest.mock('../common/lib/kibana'); + +const observableMock: AddObservableRequest = { + observable: { + typeKey: '80a3cc9b-500a-45fa-909a-b4f78751726c', + value: 'test_value', + description: '', + }, +}; + +describe('usePostObservables', () => { + const addSuccess = jest.fn(); + const addError = jest.fn(); + + (useToasts as jest.Mock).mockReturnValue({ addSuccess, addError }); + + let appMockRender: AppMockRenderer; + + beforeEach(() => { + appMockRender = createAppMockRenderer(); + jest.clearAllMocks(); + }); + + it('calls the api when invoked with the correct parameters', async () => { + const spy = jest.spyOn(api, 'postObservable'); + const { waitForNextUpdate, result } = renderHook(() => usePostObservable(mockCase.id), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(observableMock); + }); + + await waitForNextUpdate(); + + expect(spy).toHaveBeenCalledWith({ observable: observableMock.observable }, mockCase.id); + }); + + it('invalidates the queries correctly', async () => { + const queryClientSpy = jest.spyOn(appMockRender.queryClient, 'invalidateQueries'); + const { waitForNextUpdate, result } = renderHook(() => usePostObservable(mockCase.id), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(observableMock); + }); + + await waitForNextUpdate(); + + expect(queryClientSpy).toHaveBeenCalledWith(casesQueriesKeys.caseView()); + }); + + it('does shows a success toaster', async () => { + const { waitForNextUpdate, result } = renderHook(() => usePostObservable(mockCase.id), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(observableMock); + }); + + await waitForNextUpdate(); + + expect(addSuccess).toHaveBeenCalled(); + }); + + it('shows a toast error when the api return an error', async () => { + jest + .spyOn(api, 'postObservable') + .mockRejectedValue(new Error('usePostObservables: Test error')); + + const { waitForNextUpdate, result } = renderHook(() => usePostObservable(mockCase.id), { + wrapper: appMockRender.AppWrapper, + }); + + act(() => { + result.current.mutate(observableMock); + }); + + await waitForNextUpdate(); + + expect(addError).toHaveBeenCalled(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.tsx new file mode 100644 index 0000000000000..401b0c0e33da4 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/public/containers/use_post_observables.tsx @@ -0,0 +1,38 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { useMutation } from '@tanstack/react-query'; +import type { AddObservableRequest } from '../../common/types/api'; +import { postObservable } from './api'; +import * as i18n from './translations'; +import type { ServerError } from '../types'; +import { useCasesToast } from '../common/use_cases_toast'; +import { casesMutationsKeys } from './constants'; +import { useRefreshCaseViewPage } from '../components/case_view/use_on_refresh_case_view_page'; + +export const usePostObservable = (caseId: string) => { + const { showErrorToast, showSuccessToast } = useCasesToast(); + const refreshCaseViewPage = useRefreshCaseViewPage(); + + return useMutation( + (request: AddObservableRequest) => { + return postObservable(request, caseId); + }, + { + mutationKey: casesMutationsKeys.postObservable, + onError: (error: ServerError) => { + showErrorToast(error, { title: i18n.ERROR_TITLE }); + }, + onSuccess: () => { + refreshCaseViewPage(); + showSuccessToast(i18n.OBSERVABLE_CREATED); + }, + } + ); +}; + +export type UsePostObservables = ReturnType; diff --git a/x-pack/plugins/cases/public/containers/use_post_push_to_service.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_push_to_service.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_post_push_to_service.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_post_push_to_service.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_post_push_to_service.tsx diff --git a/x-pack/plugins/cases/public/containers/use_replace_custom_field.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_replace_custom_field.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_replace_custom_field.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_replace_custom_field.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_replace_custom_field.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_case.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_case.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_case.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_case.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_case.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_case.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_case.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_case.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_comment.test.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.test.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_comment.test.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.test.tsx diff --git a/x-pack/plugins/cases/public/containers/use_update_comment.tsx b/x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.tsx similarity index 100% rename from x-pack/plugins/cases/public/containers/use_update_comment.tsx rename to x-pack/platform/plugins/shared/cases/public/containers/use_update_comment.tsx diff --git a/x-pack/plugins/cases/public/containers/user_profiles/__mocks__/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/__mocks__/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/__mocks__/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/__mocks__/api.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.mock.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.mock.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/api.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/api.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/api.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_assignees.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_assignees.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_assignees.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_assignees.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_assignees.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_bulk_get_user_profiles.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_get_current_user_profile.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_get_current_user_profile.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.test.ts diff --git a/x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.ts b/x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/user_profiles/use_suggest_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/public/containers/user_profiles/use_suggest_user_profiles.ts diff --git a/x-pack/plugins/cases/public/containers/utils.test.ts b/x-pack/platform/plugins/shared/cases/public/containers/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/utils.test.ts rename to x-pack/platform/plugins/shared/cases/public/containers/utils.test.ts diff --git a/x-pack/plugins/cases/public/containers/utils.ts b/x-pack/platform/plugins/shared/cases/public/containers/utils.ts similarity index 100% rename from x-pack/plugins/cases/public/containers/utils.ts rename to x-pack/platform/plugins/shared/cases/public/containers/utils.ts diff --git a/x-pack/plugins/cases/public/files/index.test.ts b/x-pack/platform/plugins/shared/cases/public/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/public/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/public/files/index.test.ts diff --git a/x-pack/plugins/cases/public/files/index.ts b/x-pack/platform/plugins/shared/cases/public/files/index.ts similarity index 100% rename from x-pack/plugins/cases/public/files/index.ts rename to x-pack/platform/plugins/shared/cases/public/files/index.ts diff --git a/x-pack/plugins/cases/public/files/translations.ts b/x-pack/platform/plugins/shared/cases/public/files/translations.ts similarity index 100% rename from x-pack/plugins/cases/public/files/translations.ts rename to x-pack/platform/plugins/shared/cases/public/files/translations.ts diff --git a/x-pack/plugins/cases/public/files/types.ts b/x-pack/platform/plugins/shared/cases/public/files/types.ts similarity index 100% rename from x-pack/plugins/cases/public/files/types.ts rename to x-pack/platform/plugins/shared/cases/public/files/types.ts diff --git a/x-pack/plugins/cases/public/index.tsx b/x-pack/platform/plugins/shared/cases/public/index.tsx similarity index 100% rename from x-pack/plugins/cases/public/index.tsx rename to x-pack/platform/plugins/shared/cases/public/index.tsx diff --git a/x-pack/plugins/cases/public/internal_attachments/index.ts b/x-pack/platform/plugins/shared/cases/public/internal_attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/public/internal_attachments/index.ts rename to x-pack/platform/plugins/shared/cases/public/internal_attachments/index.ts diff --git a/x-pack/plugins/cases/public/mocks.ts b/x-pack/platform/plugins/shared/cases/public/mocks.ts similarity index 100% rename from x-pack/plugins/cases/public/mocks.ts rename to x-pack/platform/plugins/shared/cases/public/mocks.ts diff --git a/x-pack/plugins/cases/public/mocks/mock_cases_context.tsx b/x-pack/platform/plugins/shared/cases/public/mocks/mock_cases_context.tsx similarity index 100% rename from x-pack/plugins/cases/public/mocks/mock_cases_context.tsx rename to x-pack/platform/plugins/shared/cases/public/mocks/mock_cases_context.tsx diff --git a/x-pack/plugins/cases/public/plugin.test.ts b/x-pack/platform/plugins/shared/cases/public/plugin.test.ts similarity index 100% rename from x-pack/plugins/cases/public/plugin.test.ts rename to x-pack/platform/plugins/shared/cases/public/plugin.test.ts diff --git a/x-pack/plugins/cases/public/plugin.ts b/x-pack/platform/plugins/shared/cases/public/plugin.ts similarity index 100% rename from x-pack/plugins/cases/public/plugin.ts rename to x-pack/platform/plugins/shared/cases/public/plugin.ts diff --git a/x-pack/plugins/cases/public/types.ts b/x-pack/platform/plugins/shared/cases/public/types.ts similarity index 100% rename from x-pack/plugins/cases/public/types.ts rename to x-pack/platform/plugins/shared/cases/public/types.ts diff --git a/x-pack/plugins/cases/public/utils/permissions.test.ts b/x-pack/platform/plugins/shared/cases/public/utils/permissions.test.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/permissions.test.ts rename to x-pack/platform/plugins/shared/cases/public/utils/permissions.test.ts diff --git a/x-pack/plugins/cases/public/utils/permissions.ts b/x-pack/platform/plugins/shared/cases/public/utils/permissions.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/permissions.ts rename to x-pack/platform/plugins/shared/cases/public/utils/permissions.ts diff --git a/x-pack/plugins/cases/public/utils/use_mount_appended.ts b/x-pack/platform/plugins/shared/cases/public/utils/use_mount_appended.ts similarity index 100% rename from x-pack/plugins/cases/public/utils/use_mount_appended.ts rename to x-pack/platform/plugins/shared/cases/public/utils/use_mount_appended.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/external_reference_registry.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/external_reference_registry.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/external_reference_registry.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/external_reference_registry.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/mocks.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/mocks.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.test.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.test.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.test.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.test.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/persistable_state_registry.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/persistable_state_registry.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/so_references.test.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/so_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.test.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/so_references.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/so_references.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/so_references.ts diff --git a/x-pack/plugins/cases/server/attachment_framework/types.ts b/x-pack/platform/plugins/shared/cases/server/attachment_framework/types.ts similarity index 100% rename from x-pack/plugins/cases/server/attachment_framework/types.ts rename to x-pack/platform/plugins/shared/cases/server/attachment_framework/types.ts diff --git a/x-pack/plugins/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/audit_logger.test.ts.snap diff --git a/x-pack/plugins/cases/server/authorization/__snapshots__/authorization.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/authorization.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/authorization/__snapshots__/authorization.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/authorization/__snapshots__/authorization.test.ts.snap diff --git a/x-pack/plugins/cases/server/authorization/audit_logger.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/audit_logger.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.test.ts diff --git a/x-pack/plugins/cases/server/authorization/audit_logger.ts b/x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/audit_logger.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/audit_logger.ts diff --git a/x-pack/plugins/cases/server/authorization/authorization.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/authorization.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/authorization.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/authorization.test.ts diff --git a/x-pack/plugins/cases/server/authorization/authorization.ts b/x-pack/platform/plugins/shared/cases/server/authorization/authorization.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/authorization.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/authorization.ts diff --git a/x-pack/plugins/cases/server/authorization/index.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/index.test.ts diff --git a/x-pack/plugins/cases/server/authorization/index.ts b/x-pack/platform/plugins/shared/cases/server/authorization/index.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/index.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/index.ts diff --git a/x-pack/plugins/cases/server/authorization/mock.ts b/x-pack/platform/plugins/shared/cases/server/authorization/mock.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/mock.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/mock.ts diff --git a/x-pack/plugins/cases/server/authorization/types.ts b/x-pack/platform/plugins/shared/cases/server/authorization/types.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/types.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/types.ts diff --git a/x-pack/plugins/cases/server/authorization/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/authorization/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/utils.test.ts diff --git a/x-pack/plugins/cases/server/authorization/utils.ts b/x-pack/platform/plugins/shared/cases/server/authorization/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/authorization/utils.ts rename to x-pack/platform/plugins/shared/cases/server/authorization/utils.ts diff --git a/x-pack/plugins/cases/server/client/alerts/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/get.test.ts diff --git a/x-pack/plugins/cases/server/client/alerts/get.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/get.ts diff --git a/x-pack/plugins/cases/server/client/alerts/types.ts b/x-pack/platform/plugins/shared/cases/server/client/alerts/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/alerts/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/alerts/types.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add_file.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add_file.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/add_file.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/add_file.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/add_file.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_create.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_create.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_create.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_delete.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_delete.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/bulk_get.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/bulk_get.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/bulk_get.ts diff --git a/x-pack/plugins/cases/server/client/attachments/client.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/client.ts diff --git a/x-pack/plugins/cases/server/client/attachments/delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/delete.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/delete.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/delete.ts diff --git a/x-pack/plugins/cases/server/client/attachments/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/get.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/get.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/get.ts diff --git a/x-pack/plugins/cases/server/client/attachments/types.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/types.ts diff --git a/x-pack/plugins/cases/server/client/attachments/update.test.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/update.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/update.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/update.test.ts diff --git a/x-pack/plugins/cases/server/client/attachments/update.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/update.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/update.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/update.ts diff --git a/x-pack/plugins/cases/server/client/attachments/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/attachments/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/attachments/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/attachments/validators.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.test.ts similarity index 99% rename from x-pack/plugins/cases/server/client/cases/bulk_create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.test.ts index c7f047aa6b385..ace3c39d31e0a 100644 --- a/x-pack/plugins/cases/server/client/cases/bulk_create.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.test.ts @@ -121,6 +121,7 @@ describe('bulkCreate', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -164,6 +165,7 @@ describe('bulkCreate', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -243,6 +245,7 @@ describe('bulkCreate', () => { "duration": null, "external_service": null, "id": "mock-saved-object-id", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -281,6 +284,7 @@ describe('bulkCreate', () => { "duration": null, "external_service": null, "id": "mock-saved-object-id", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, diff --git a/x-pack/plugins/cases/server/client/cases/bulk_create.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_create.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_create.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_get.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_get.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_get.ts diff --git a/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts similarity index 99% rename from x-pack/plugins/cases/server/client/cases/bulk_update.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts index 5cdd4c943b944..bfde249171009 100644 --- a/x-pack/plugins/cases/server/client/cases/bulk_update.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts @@ -794,6 +794,7 @@ describe('update', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -837,6 +838,7 @@ describe('update', () => { "duration": null, "external_service": null, "id": "mock-id-2", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, diff --git a/x-pack/plugins/cases/server/client/cases/bulk_update.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/bulk_update.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.ts diff --git a/x-pack/plugins/cases/server/client/cases/client.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/client.ts similarity index 78% rename from x-pack/plugins/cases/server/client/cases/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/client.ts index 68ee6f003f8b2..c615cb4ac6508 100644 --- a/x-pack/plugins/cases/server/client/cases/client.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/client.ts @@ -20,6 +20,10 @@ import type { BulkCreateCasesRequest, BulkCreateCasesResponse, CasesSearchRequest, + SimilarCasesSearchRequest, + CasesSimilarResponse, + AddObservableRequest, + UpdateObservableRequest, } from '../../../common/types/api'; import type { CasesClient } from '../client'; import type { CasesClientInternal } from '../client_internal'; @@ -36,6 +40,8 @@ import { bulkUpdate } from './bulk_update'; import { bulkCreate } from './bulk_create'; import type { ReplaceCustomFieldArgs } from './replace_custom_field'; import { replaceCustomField } from './replace_custom_field'; +import { similar } from './similar'; +import { addObservable, deleteObservable, updateObservable } from './observables'; /** * API for interacting with the cases entities. @@ -102,6 +108,26 @@ export interface CasesSubClient { * Replace custom field with specific customFieldId and CaseId */ replaceCustomField(params: ReplaceCustomFieldArgs): Promise; + /** + * Returns cases that are similar to given case (by observables) + */ + similar(caseId: string, params: SimilarCasesSearchRequest): Promise; + /** + * Adds observable to the case + */ + addObservable(caseId: string, params: AddObservableRequest): Promise; + /** + * Updates observable + */ + updateObservable( + caseId: string, + observableId: string, + params: UpdateObservableRequest + ): Promise; + /** + * Removes observable + */ + deleteObservable(caseId: string, observableId: string): Promise; } /** @@ -130,6 +156,14 @@ export const createCasesSubClient = ( getCasesByAlertID: (params: CasesByAlertIDParams) => getCasesByAlertID(params, clientArgs), replaceCustomField: (params: ReplaceCustomFieldArgs) => replaceCustomField(params, clientArgs, casesClient), + similar: (caseId: string, params: SimilarCasesSearchRequest) => + similar(caseId, params, clientArgs, casesClient), + addObservable: (caseId: string, params: AddObservableRequest) => + addObservable(caseId, params, clientArgs, casesClient), + updateObservable: (caseId: string, observableId: string, params: UpdateObservableRequest) => + updateObservable(caseId, observableId, params, clientArgs, casesClient), + deleteObservable: (caseId: string, observableId: string) => + deleteObservable(caseId, observableId, clientArgs, casesClient), }; return Object.freeze(casesSubClient); diff --git a/x-pack/plugins/cases/server/client/cases/create.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/create.test.ts similarity index 99% rename from x-pack/plugins/cases/server/client/cases/create.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/create.test.ts index 8b24c79c530b0..5a3eb7bd4f54f 100644 --- a/x-pack/plugins/cases/server/client/cases/create.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/create.test.ts @@ -197,6 +197,7 @@ describe('create', () => { status: CaseStatuses.open, category: null, customFields: [], + observables: [], }, id: expect.any(String), refresh: false, @@ -274,6 +275,7 @@ describe('create', () => { status: CaseStatuses.open, category: null, customFields: [], + observables: [], }, id: expect.any(String), refresh: false, @@ -353,6 +355,7 @@ describe('create', () => { status: CaseStatuses.open, category: null, customFields: [], + observables: [], }, id: expect.any(String), refresh: false, @@ -419,6 +422,7 @@ describe('create', () => { duration: null, status: CaseStatuses.open, customFields: [], + observables: [], }, id: expect.any(String), refresh: false, @@ -498,6 +502,7 @@ describe('create', () => { duration: null, status: CaseStatuses.open, customFields: theCustomFields, + observables: [], }, id: expect.any(String), refresh: false, @@ -526,6 +531,7 @@ describe('create', () => { { key: 'first_key', type: 'text', value: 'default value' }, { key: 'second_key', type: 'toggle', value: null }, ], + observables: [], }, id: expect.any(String), refresh: false, diff --git a/x-pack/plugins/cases/server/client/cases/create.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/create.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/create.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/create.ts diff --git a/x-pack/plugins/cases/server/client/cases/delete.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/delete.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/delete.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/delete.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/delete.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/delete.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/delete.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/delete.ts diff --git a/x-pack/plugins/cases/server/client/cases/get.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/get.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/get.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/get.ts diff --git a/x-pack/plugins/cases/server/client/cases/mock.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/mock.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/mock.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/mock.ts diff --git a/x-pack/platform/plugins/shared/cases/server/client/cases/observables.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/observables.test.ts new file mode 100644 index 0000000000000..1d211615cab7a --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/observables.test.ts @@ -0,0 +1,228 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { addObservable, deleteObservable, updateObservable } from './observables'; +import Boom from '@hapi/boom'; +import { LICENSING_CASE_OBSERVABLES_FEATURE } from '../../common/constants'; +import { createCasesClientMock, createCasesClientMockArgs } from '../mocks'; +import { mockCases } from '../../mocks'; +import { OBSERVABLE_TYPE_IPV4 } from '../../../common/constants'; + +const caseSO = mockCases[0]; + +const mockCasesClient = createCasesClientMock(); +const mockClientArgs = createCasesClientMockArgs(); + +const mockLicensingService = mockClientArgs.services.licensingService; +const mockCaseService = mockClientArgs.services.caseService; + +const mockObservable = { + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + id: '5c431380-c6ef-459f-b0fe-1699e978517b', + description: null, + createdAt: '2024-12-05', + updatedAt: '2024-12-05', +}; +const caseSOWithObservables = { + ...caseSO, + attributes: { + ...caseSO.attributes, + observables: [mockObservable], + }, +}; +describe('addObservable', () => { + beforeEach(() => { + mockCaseService.patchCase.mockResolvedValue(caseSO); + mockCaseService.getCase.mockResolvedValue(caseSO); + jest.clearAllMocks(); + }); + + it('should add an observable successfully', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + const result = await addObservable( + 'case-id', + { observable: { typeKey: OBSERVABLE_TYPE_IPV4.key, value: '127.0.0.1', description: '' } }, + mockClientArgs, + mockCasesClient + ); + + expect(mockLicensingService.notifyUsage).toHaveBeenCalledWith( + LICENSING_CASE_OBSERVABLES_FEATURE + ); + expect(result).toBeDefined(); + }); + + it('should throw an error if license is not platinum', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(false); + + await expect( + addObservable( + 'case-id', + { observable: { typeKey: OBSERVABLE_TYPE_IPV4.key, value: '127.0.0.1', description: '' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.forbidden( + 'In order to assign observables to cases, you must be subscribed to an Elastic Platinum license' + ) + ); + }); + + it('should throw an error if observable type is invalid', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + + await expect( + addObservable( + 'case-id', + { observable: { typeKey: 'invalid type', value: '127.0.0.1', description: '' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.badRequest( + 'Failed to add observable: Error: Invalid observable type, key does not exist: invalid type' + ) + ); + }); + + it('should throw an error if duplicate observable is posted', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + + mockCaseService.getCase.mockResolvedValue(caseSOWithObservables); + + await expect( + addObservable( + 'case-id', + { observable: { typeKey: OBSERVABLE_TYPE_IPV4.key, value: '127.0.0.1', description: '' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.badRequest('Failed to add observable: Error: Invalid duplicated observables in request.') + ); + }); + + it('should handle errors and throw boom', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + mockCaseService.getCase.mockRejectedValue(new Error('Case not found')); + + await expect( + addObservable( + 'case-id', + { observable: { typeKey: 'typeKey', value: 'test', description: '' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow(); + }); +}); + +describe('updateObservable', () => { + beforeEach(() => { + mockCaseService.patchCase.mockResolvedValue(caseSOWithObservables); + mockCaseService.getCase.mockResolvedValue(caseSOWithObservables); + jest.clearAllMocks(); + }); + + it('should update an observable successfully', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + const result = await updateObservable( + 'case-id', + mockObservable.id, + { + observable: { + value: '192.168.0.1', + description: 'Updated description', + }, + }, + mockClientArgs, + mockCasesClient + ); + + expect(mockLicensingService.notifyUsage).toHaveBeenCalledWith( + LICENSING_CASE_OBSERVABLES_FEATURE + ); + expect(result).toBeDefined(); + }); + + it('should throw an error if license is not platinum', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(false); + + await expect( + updateObservable( + 'case-id', + 'observable-id', + { + observable: { + value: '192.168.0.1', + description: 'Updated description', + }, + }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.forbidden( + 'In order to update observables in cases, you must be subscribed to an Elastic Platinum license' + ) + ); + }); + + it('should handle errors and throw boom', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + mockCaseService.getCase.mockRejectedValue(new Error('Case not found')); + + await expect( + updateObservable( + 'case-id', + 'observable-id', + { observable: { value: 'test', description: 'Updated description' } }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow(); + }); +}); + +describe('deleteObservable', () => { + beforeEach(() => { + mockCaseService.patchCase.mockResolvedValue(caseSOWithObservables); + mockCaseService.getCase.mockResolvedValue(caseSOWithObservables); + jest.clearAllMocks(); + }); + + it('should delete an observable successfully', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + await deleteObservable('case-id', mockObservable.id, mockClientArgs, mockCasesClient); + + expect(mockLicensingService.notifyUsage).toHaveBeenCalledWith( + LICENSING_CASE_OBSERVABLES_FEATURE + ); + }); + + it('should throw an error if license is not platinum', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(false); + + await expect( + deleteObservable('case-id', 'observable-id', mockClientArgs, mockCasesClient) + ).rejects.toThrow( + Boom.forbidden( + 'In order to delete observables from cases, you must be subscribed to an Elastic Platinum license' + ) + ); + }); + + it('should handle errors and throw boom', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + mockCaseService.getCase.mockRejectedValue(new Error('Case not found')); + + await expect( + deleteObservable('case-id', 'observable-id', mockClientArgs, mockCasesClient) + ).rejects.toThrow(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/server/client/cases/observables.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/observables.ts new file mode 100644 index 0000000000000..732dbd73e4a39 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/observables.ts @@ -0,0 +1,235 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { PublicMethodsOf } from '@kbn/utility-types'; +import { v4 } from 'uuid'; +import Boom from '@hapi/boom'; + +import { MAX_OBSERVABLES_PER_CASE } from '../../../common/constants'; +import { CaseRt } from '../../../common/types/domain'; +import { + AddObservableRequestRt, + type AddObservableRequest, + type UpdateObservableRequest, + UpdateObservableRequestRt, +} from '../../../common/types/api'; +import type { CasesClient } from '../client'; +import type { CasesClientArgs } from '../types'; +import { decodeOrThrow, decodeWithExcessOrThrow } from '../../common/runtime_types'; +import type { Authorization } from '../../authorization'; +import { Operations } from '../../authorization'; +import type { CaseSavedObjectTransformed } from '../../common/types/case'; +import { flattenCaseSavedObject } from '../../common/utils'; +import { LICENSING_CASE_OBSERVABLES_FEATURE } from '../../common/constants'; +import { + validateDuplicatedObservablesInRequest, + validateObservableTypeKeyExists, +} from '../validators'; + +const ensureUpdateAuthorized = async ( + authorization: PublicMethodsOf, + theCase: CaseSavedObjectTransformed +) => { + return authorization.ensureAuthorized({ + operation: Operations.updateCase, + entities: [ + { + id: theCase.id, + owner: theCase.attributes.owner, + }, + ], + }); +}; + +export const addObservable = async ( + caseId: string, + params: AddObservableRequest, + clientArgs: CasesClientArgs, + casesClient: CasesClient +) => { + const { + services: { caseService, licensingService }, + authorization, + } = clientArgs; + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (!hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to assign observables to cases, you must be subscribed to an Elastic Platinum license' + ); + } + + licensingService.notifyUsage(LICENSING_CASE_OBSERVABLES_FEATURE); + + try { + const paramArgs = decodeWithExcessOrThrow(AddObservableRequestRt)(params); + const retrievedCase = await caseService.getCase({ id: caseId }); + await ensureUpdateAuthorized(authorization, retrievedCase); + + await validateObservableTypeKeyExists(casesClient, { + caseOwner: retrievedCase.attributes.owner, + observableTypeKey: params.observable.typeKey, + }); + + const currentObservables = retrievedCase.attributes.observables ?? []; + + if (currentObservables.length === MAX_OBSERVABLES_PER_CASE) { + throw Boom.forbidden(`Max ${MAX_OBSERVABLES_PER_CASE} observables per case is allowed.`); + } + + const updatedObservables = [ + ...currentObservables, + { + ...paramArgs.observable, + id: v4(), + createdAt: new Date().toISOString(), + updatedAt: new Date().toISOString(), + }, + ]; + + validateDuplicatedObservablesInRequest({ + requestFields: updatedObservables, + }); + + const updatedCase = await caseService.patchCase({ + caseId: retrievedCase.id, + originalCase: retrievedCase, + updatedAttributes: { + observables: updatedObservables, + }, + }); + + const res = flattenCaseSavedObject({ + savedObject: { + ...retrievedCase, + ...updatedCase, + attributes: { ...retrievedCase.attributes, ...updatedCase?.attributes }, + references: retrievedCase.references, + }, + }); + + return decodeOrThrow(CaseRt)(res); + } catch (error) { + throw Boom.badRequest(`Failed to add observable: ${error}`); + } +}; + +export const updateObservable = async ( + caseId: string, + observableId: string, + params: UpdateObservableRequest, + clientArgs: CasesClientArgs, + casesClient: CasesClient +) => { + const { + services: { caseService, licensingService }, + authorization, + } = clientArgs; + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (!hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to update observables in cases, you must be subscribed to an Elastic Platinum license' + ); + } + + licensingService.notifyUsage(LICENSING_CASE_OBSERVABLES_FEATURE); + + try { + const paramArgs = decodeWithExcessOrThrow(UpdateObservableRequestRt)(params); + const retrievedCase = await caseService.getCase({ id: caseId }); + await ensureUpdateAuthorized(authorization, retrievedCase); + + const currentObservables = retrievedCase.attributes.observables ?? []; + + const observableIndex = currentObservables.findIndex( + (observable) => observable.id === observableId + ); + + if (observableIndex === -1) { + throw Boom.notFound(`Failed to update observable: observable id ${observableId} not found`); + } + + const updatedObservables = [...currentObservables]; + updatedObservables[observableIndex] = { + ...updatedObservables[observableIndex], + ...paramArgs.observable, + updatedAt: new Date().toISOString(), + }; + + validateDuplicatedObservablesInRequest({ + requestFields: updatedObservables, + }); + + const updatedCase = await caseService.patchCase({ + caseId: retrievedCase.id, + originalCase: retrievedCase, + updatedAttributes: { + observables: updatedObservables, + }, + }); + + const res = flattenCaseSavedObject({ + savedObject: { + ...retrievedCase, + ...updatedCase, + attributes: { ...retrievedCase.attributes, ...updatedCase?.attributes }, + references: retrievedCase.references, + }, + }); + + return decodeOrThrow(CaseRt)(res); + } catch (error) { + throw Boom.badRequest(`Failed to update observable: ${error}`); + } +}; + +export const deleteObservable = async ( + caseId: string, + observableId: string, + clientArgs: CasesClientArgs, + casesClient: CasesClient +) => { + const { + services: { caseService, licensingService }, + authorization, + } = clientArgs; + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (!hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to delete observables from cases, you must be subscribed to an Elastic Platinum license' + ); + } + + licensingService.notifyUsage(LICENSING_CASE_OBSERVABLES_FEATURE); + + try { + const retrievedCase = await caseService.getCase({ id: caseId }); + await ensureUpdateAuthorized(authorization, retrievedCase); + + const updatedObservables = retrievedCase.attributes.observables.filter( + (observable) => observable.id !== observableId + ); + + // NOTE: same length of observables pre and post filter means that the observable id has not been found + if (updatedObservables.length === retrievedCase.attributes.observables.length) { + throw Boom.notFound(`Failed to delete observable: observable id ${observableId} not found`); + } + + await caseService.patchCase({ + caseId: retrievedCase.id, + originalCase: retrievedCase, + updatedAttributes: { observables: updatedObservables }, + }); + } catch (error) { + throw Boom.badRequest(`Failed to delete observable id: ${observableId}: ${error}`); + } +}; diff --git a/x-pack/plugins/cases/server/client/cases/push.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/push.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/push.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/push.ts diff --git a/x-pack/plugins/cases/server/client/cases/replace_custom_field.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/replace_custom_field.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/replace_custom_field.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/replace_custom_field.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/replace_custom_field.ts diff --git a/x-pack/plugins/cases/server/client/cases/search.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/search.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/search.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/search.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/search.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/search.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/search.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/search.ts diff --git a/x-pack/platform/plugins/shared/cases/server/client/cases/similar.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/similar.test.ts new file mode 100644 index 0000000000000..9ded5b9c4f987 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/similar.test.ts @@ -0,0 +1,236 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { mockCases } from '../../mocks'; +import { createCasesClientMock, createCasesClientMockArgs } from '../mocks'; +import { similar } from './similar'; +import { mockCase } from '../../../public/containers/mock'; +import { OBSERVABLE_TYPE_IPV4 } from '../../../common/constants'; +import Boom from '@hapi/boom'; + +const mockClientArgs = createCasesClientMockArgs(); +const mockCasesClient = createCasesClientMock(); + +const mockLicensingService = mockClientArgs.services.licensingService; + +describe('similar', () => { + beforeEach(() => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(true); + + jest.mocked(mockClientArgs.services.caseService.getCase).mockResolvedValue({ + ...mockCases[0], + attributes: { + ...mockCases[0].attributes, + observables: [ + { + id: 'ddfb207d-4b46-4545-bae8-5193c1551e50', + value: '127.0.0.1', + typeKey: OBSERVABLE_TYPE_IPV4.key, + createdAt: '2024-11-07', + updatedAt: '2024-11-07', + description: '', + }, + ], + }, + }); + + mockClientArgs.services.caseService.findCases.mockResolvedValue({ + page: 1, + per_page: 10, + total: mockCases.length, + saved_objects: [], + }); + + mockClientArgs.services.caseConfigureService.find.mockResolvedValue({ + saved_objects: [], + page: 1, + per_page: 10, + total: 0, + }); + }); + + afterEach(() => { + jest.clearAllMocks(); + }); + + it('should execute query with observable type key and value and proper filters', async () => { + await similar( + mockCase.id, + { + page: 1, + perPage: 10, + }, + mockClientArgs, + mockCasesClient + ); + expect(mockClientArgs.services.caseService.findCases).toHaveBeenCalled(); + + const call = mockClientArgs.services.caseService.findCases.mock.calls[0][0]; + + expect(call).toMatchInlineSnapshot(` + Object { + "filter": Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.observables", + }, + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "value", + }, + Object { + "isQuoted": true, + "type": "literal", + "value": "127.0.0.1", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "typeKey", + }, + Object { + "isQuoted": true, + "type": "literal", + "value": "observable-type-ipv4", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "and", + "type": "function", + }, + ], + "function": "nested", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.owner", + }, + Object { + "isQuoted": false, + "type": "literal", + "value": "securitySolution", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "and", + "type": "function", + }, + "page": 1, + "perPage": 10, + "rootSearchFields": Array [ + "_id", + ], + "search": "-\\"cases:mock-id\\"", + "sortField": "created_at", + } + `); + }); + + it('should throw an error if license is not platinum', async () => { + mockLicensingService.isAtLeastPlatinum.mockResolvedValue(false); + + await expect( + similar( + mockCase.id, + { + page: 1, + perPage: 10, + }, + mockClientArgs, + mockCasesClient + ) + ).rejects.toThrow( + Boom.forbidden( + 'In order to use the similar cases feature, you must be subscribed to an Elastic Platinum license' + ) + ); + }); + + it('should not call findCases when the case has no observables', async () => { + jest.mocked(mockClientArgs.services.caseService.getCase).mockResolvedValue({ + ...mockCases[0], + attributes: { + ...mockCases[0].attributes, + observables: [], + }, + }); + + await similar( + mockCase.id, + { + page: 1, + perPage: 10, + }, + mockClientArgs, + mockCasesClient + ); + expect(mockClientArgs.services.caseService.findCases).not.toHaveBeenCalled(); + }); + + it('should not call findCases when unknown typeKey is specified for an observable', async () => { + jest.mocked(mockClientArgs.services.caseService.getCase).mockResolvedValue({ + ...mockCases[0], + attributes: { + ...mockCases[0].attributes, + observables: [ + { + id: '4491eedc-2336-41e3-bf98-29147c133b95', + typeKey: 'unknown', + value: 'some value', + createdAt: '2024-12-16', + updatedAt: '2024-12-16', + description: null, + }, + { + id: 'e7d3f99d-c8be-41df-ada0-640021571bd4', + typeKey: 'unknown', + value: 'some value', + createdAt: '2024-12-16', + updatedAt: '2024-12-16', + description: null, + }, + ], + }, + }); + + await similar( + mockCase.id, + { + page: 1, + perPage: 10, + }, + mockClientArgs, + mockCasesClient + ); + expect(mockClientArgs.services.caseService.findCases).not.toHaveBeenCalled(); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/server/client/cases/similar.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/similar.ts new file mode 100644 index 0000000000000..daca8d1e6b573 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/cases/similar.ts @@ -0,0 +1,163 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { intersection } from 'lodash'; +import Boom from '@hapi/boom'; +import { OWNER_FIELD } from '../../../common/constants'; +import type { CasesSimilarResponse, SimilarCasesSearchRequest } from '../../../common/types/api'; +import { SimilarCasesSearchRequestRt, CasesSimilarResponseRt } from '../../../common/types/api'; +import { decodeWithExcessOrThrow, decodeOrThrow } from '../../common/runtime_types'; + +import { createCaseError } from '../../common/error'; +import type { CasesClient, CasesClientArgs } from '..'; +import { defaultSortField, flattenCaseSavedObject } from '../../common/utils'; +import { Operations } from '../../authorization'; +import { buildFilter, buildObservablesFieldsFilter, combineFilters } from '../utils'; +import { combineFilterWithAuthorizationFilter } from '../../authorization/utils'; +import type { CaseSavedObjectTransformed } from '../../common/types/case'; +import { getAvailableObservableTypesSet } from '../observable_types'; + +interface Similarity { + typeKey: string; + value: string; +} + +const getSimilarities = ( + a: CaseSavedObjectTransformed, + b: CaseSavedObjectTransformed, + availableObservableTypes: Set +): Similarity[] => { + const stringify = (observable: { typeKey: string; value: string }) => + [observable.typeKey, observable.value].join(','); + + const setA = new Set(a.attributes.observables.map(stringify)); + const setB = new Set(b.attributes.observables.map(stringify)); + + const intersectingObservables: string[] = intersection([...setA], [...setB]); + + return intersectingObservables + .map((item) => { + const [typeKey, value] = item.split(','); + + return { + typeKey, + value, + }; + }) + .filter((observable) => availableObservableTypes.has(observable.typeKey)); +}; + +/** + * Retrieves cases similar to a given Case + */ +export const similar = async ( + caseId: string, + params: SimilarCasesSearchRequest, + clientArgs: CasesClientArgs, + casesClient: CasesClient +): Promise => { + const { + services: { caseService, licensingService }, + logger, + authorization, + } = clientArgs; + + const hasPlatinumLicenseOrGreater = await licensingService.isAtLeastPlatinum(); + + if (!hasPlatinumLicenseOrGreater) { + throw Boom.forbidden( + 'In order to use the similar cases feature, you must be subscribed to an Elastic Platinum license' + ); + } + + try { + const paramArgs = decodeWithExcessOrThrow(SimilarCasesSearchRequestRt)(params); + const retrievedCase = await caseService.getCase({ id: caseId }); + + const availableObservableTypesSet = await getAvailableObservableTypesSet( + casesClient, + retrievedCase.attributes.owner + ); + + const ownerFilter = buildFilter({ + filters: retrievedCase.attributes.owner, + field: OWNER_FIELD, + operator: 'or', + }); + + const { filter: authorizationFilter, ensureSavedObjectsAreAuthorized } = + await authorization.getAuthorizationFilter(Operations.findCases); + + const similarCasesFilter = buildObservablesFieldsFilter( + retrievedCase.attributes.observables.reduce((observableMap, observable) => { + // NOTE: skip non-existent observable types + if (!availableObservableTypesSet.has(observable.typeKey)) { + return observableMap; + } + + if (!observableMap[observable.typeKey]) { + observableMap[observable.typeKey] = []; + } + + observableMap[observable.typeKey].push(observable.value); + + return observableMap; + }, {} as Record) + ); + + // NOTE: empty similar cases filter means that we are unable to show similar cases + // and should not combine it with general filters below. + if (!similarCasesFilter) { + return { + cases: [], + page: 1, + per_page: paramArgs.perPage ?? 0, + total: 0, + }; + } + + const filters = combineFilters([similarCasesFilter, ownerFilter]); + + const finalCasesFilter = combineFilterWithAuthorizationFilter(filters, authorizationFilter); + + const cases = await caseService.findCases({ + filter: finalCasesFilter, + sortField: defaultSortField, + search: `-"cases:${caseId}"`, + rootSearchFields: ['_id'], + page: paramArgs.page, + perPage: paramArgs.perPage, + }); + + ensureSavedObjectsAreAuthorized( + cases.saved_objects.map((caseSavedObject) => ({ + id: caseSavedObject.id, + owner: caseSavedObject.attributes.owner, + })) + ); + + const res = { + cases: cases.saved_objects.map((so) => ({ + ...flattenCaseSavedObject({ savedObject: so }), + similarities: { + observables: getSimilarities(retrievedCase, so, availableObservableTypesSet), + }, + })), + page: cases.page, + per_page: cases.per_page, + total: cases.total, + }; + + return decodeOrThrow(CasesSimilarResponseRt)(res); + } catch (error) { + throw createCaseError({ + message: `Failed to find cases: ${JSON.stringify(params)}: ${error}`, + error, + logger, + }); + } +}; diff --git a/x-pack/plugins/cases/server/client/cases/translations.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/translations.ts diff --git a/x-pack/plugins/cases/server/client/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/types.ts diff --git a/x-pack/plugins/cases/server/client/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/utils.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/utils.ts diff --git a/x-pack/plugins/cases/server/client/cases/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/validators.test.ts diff --git a/x-pack/plugins/cases/server/client/cases/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/cases/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/cases/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/cases/validators.ts diff --git a/x-pack/plugins/cases/server/client/client.ts b/x-pack/platform/plugins/shared/cases/server/client/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/client.ts diff --git a/x-pack/plugins/cases/server/client/client_internal.ts b/x-pack/platform/plugins/shared/cases/server/client/client_internal.ts similarity index 100% rename from x-pack/plugins/cases/server/client/client_internal.ts rename to x-pack/platform/plugins/shared/cases/server/client/client_internal.ts diff --git a/x-pack/plugins/cases/server/client/configure/client.test.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/client.test.ts similarity index 96% rename from x-pack/plugins/cases/server/client/configure/client.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/client.test.ts index aab8937591f9e..323d872d4b10e 100644 --- a/x-pack/plugins/cases/server/client/configure/client.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/configure/client.test.ts @@ -16,6 +16,7 @@ import { MAX_CUSTOM_FIELDS_PER_CASE, MAX_SUPPORTED_CONNECTORS_RETURNED, MAX_TEMPLATES_LENGTH, + OBSERVABLE_TYPE_IPV4, } from '../../../common/constants'; import { ConnectorTypes } from '../../../common'; import type { TemplatesConfiguration } from '../../../common/types/domain'; @@ -403,6 +404,7 @@ describe('client', () => { email: 'testemail@elastic.co', username: 'elastic', }, + observableTypes: [], }, }); @@ -463,6 +465,7 @@ describe('client', () => { }, }, ], + observableTypes: [], }, version: 'test-version', }); @@ -474,6 +477,7 @@ describe('client', () => { namespaces: ['default'], references: [], attributes: { + observableTypes: [], templates: [], created_at: '2019-11-25T21:54:48.952Z', created_by: { @@ -1063,6 +1067,7 @@ describe('client', () => { ], closure_type: 'close-by-user', owner: 'cases', + observableTypes: [], }, id: 'test-id', version: 'test-version', @@ -1130,6 +1135,7 @@ describe('client', () => { name: 'template 1', }, ], + observableTypes: [], }, id: 'test-id', version: 'test-version', @@ -1197,6 +1203,31 @@ describe('client', () => { ); }); }); + + describe('observableTypes', () => { + it('throws when trying to set duplicate observableTypes', async () => { + clientArgs.services.licensingService.isAtLeastPlatinum.mockResolvedValue(true); + + await expect( + update( + 'test-id', + { + version: 'test-version', + observableTypes: [ + { + key: 'e638af17-ebb6-4678-a937-b734bffee36a', + label: OBSERVABLE_TYPE_IPV4.label, + }, + ], + }, + clientArgs, + casesClientInternal + ) + ).rejects.toThrow( + 'Failed to get patch configure in route: Error: Invalid duplicated observable types in request: ipv4' + ); + }); + }); }); }); @@ -1363,6 +1394,7 @@ describe('client', () => { }, updated_at: null, updated_by: null, + observableTypes: [], }, score: 0, }, @@ -1388,6 +1420,7 @@ describe('client', () => { }, updated_at: null, updated_by: null, + observableTypes: [], }, }); @@ -1576,6 +1609,30 @@ describe('client', () => { ); }); }); + + describe('observableTypes', () => { + it('throws when trying to set duplicate observableTypes', async () => { + clientArgs.services.licensingService.isAtLeastPlatinum.mockResolvedValue(true); + + await expect( + create( + { + ...baseRequest, + observableTypes: [ + { + key: 'e638af17-ebb6-4678-a937-b734bffee36a', + label: OBSERVABLE_TYPE_IPV4.label, + }, + ], + }, + clientArgs, + casesClientInternal + ) + ).rejects.toThrow( + 'Failed to create case configuration: Error: Invalid duplicated observable types in request: ipv4' + ); + }); + }); }); }); }); diff --git a/x-pack/plugins/cases/server/client/configure/client.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/client.ts similarity index 97% rename from x-pack/plugins/cases/server/client/configure/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/client.ts index 00810cb742323..4b4800f3c8657 100644 --- a/x-pack/plugins/cases/server/client/configure/client.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/configure/client.ts @@ -49,7 +49,10 @@ import type { MappingsArgs, CreateMappingsArgs, UpdateMappingsArgs } from './typ import { createMappings } from './create_mappings'; import { updateMappings } from './update_mappings'; import { ConfigurationRt, ConfigurationsRt } from '../../../common/types/domain'; -import { validateDuplicatedKeysInRequest } from '../validators'; +import { + validateDuplicatedKeysInRequest, + validateDuplicatedObservableTypesInRequest, +} from '../validators'; import { validateCustomFieldTypesInRequest, validateTemplatesCustomFieldsInRequest, @@ -308,6 +311,10 @@ export async function update( fieldName: 'customFields', }); + validateDuplicatedObservableTypesInRequest({ + requestFields: request.observableTypes, + }); + const { version, templates, ...queryWithoutVersion } = request; const configuration = await caseConfigureService.get({ @@ -442,6 +449,10 @@ export async function create( customFields: validatedConfigurationRequest.customFields, }); + validateDuplicatedObservableTypesInRequest({ + requestFields: validatedConfigurationRequest.observableTypes, + }); + let error = null; const { filter: authorizationFilter, ensureSavedObjectsAreAuthorized } = @@ -521,6 +532,7 @@ export async function create( created_by: user, updated_at: null, updated_by: null, + observableTypes: validatedConfigurationRequest.observableTypes ?? [], }, id: savedObjectID, }); diff --git a/x-pack/plugins/cases/server/client/configure/create_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/create_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/create_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/create_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/get_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/get_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/get_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/get_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/types.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/types.ts diff --git a/x-pack/plugins/cases/server/client/configure/update_mappings.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/update_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/update_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/update_mappings.ts diff --git a/x-pack/plugins/cases/server/client/configure/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/validators.test.ts diff --git a/x-pack/plugins/cases/server/client/configure/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/configure/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/client/configure/validators.ts rename to x-pack/platform/plugins/shared/cases/server/client/configure/validators.ts diff --git a/x-pack/plugins/cases/server/client/factory.test.ts b/x-pack/platform/plugins/shared/cases/server/client/factory.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/factory.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/factory.test.ts diff --git a/x-pack/plugins/cases/server/client/factory.ts b/x-pack/platform/plugins/shared/cases/server/client/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/client/factory.ts rename to x-pack/platform/plugins/shared/cases/server/client/factory.ts diff --git a/x-pack/plugins/cases/server/client/files/index.test.ts b/x-pack/platform/plugins/shared/cases/server/client/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/files/index.test.ts diff --git a/x-pack/plugins/cases/server/client/files/index.ts b/x-pack/platform/plugins/shared/cases/server/client/files/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/files/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/files/index.ts diff --git a/x-pack/plugins/cases/server/client/index.ts b/x-pack/platform/plugins/shared/cases/server/client/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/actions.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/actions.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/actions.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/aggregations/isolate_host.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/aggregations/isolate_host.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/aggregations/isolate_host.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/aggregations/isolate_host.ts diff --git a/x-pack/plugins/cases/server/client/metrics/actions/index.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/actions/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/hosts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/hosts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/hosts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/hosts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/index.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/index.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/index.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/index.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/aggregations/users.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/users.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/aggregations/users.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/aggregations/users.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/count.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/count.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/count.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/count.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/count.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/details.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/alerts/details.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/alerts/details.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/alerts/details.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/avg_duration.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/aggregations/status_counts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/aggregations/status_counts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/mttr.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/mttr.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/mttr.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/mttr.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/status.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/status.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases/status.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases/status.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases/status.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases_aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases_aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/all_cases_base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/all_cases_base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/client.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/client.ts diff --git a/x-pack/plugins/cases/server/client/metrics/connectors.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/connectors.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/connectors.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/connectors.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_case_metrics.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_case_metrics.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_case_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_case_metrics.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_cases_metrics.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_cases_metrics.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_cases_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_cases_metrics.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_status_totals.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_status_totals.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/get_status_totals.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/get_status_totals.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/get_status_totals.ts diff --git a/x-pack/plugins/cases/server/client/metrics/lifespan.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/lifespan.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/lifespan.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/lifespan.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/lifespan.ts diff --git a/x-pack/plugins/cases/server/client/metrics/single_case_aggregation_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_aggregation_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/single_case_aggregation_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_aggregation_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_base_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/single_case_base_handler.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/single_case_base_handler.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/alerts.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/alerts.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/client.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/client.ts diff --git a/x-pack/plugins/cases/server/client/metrics/test_utils/lifespan.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/lifespan.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/test_utils/lifespan.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/test_utils/lifespan.ts diff --git a/x-pack/plugins/cases/server/client/metrics/types.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/types.ts diff --git a/x-pack/plugins/cases/server/client/metrics/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/utils.test.ts diff --git a/x-pack/plugins/cases/server/client/metrics/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/metrics/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/metrics/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/metrics/utils.ts diff --git a/x-pack/plugins/cases/server/client/mocks.ts b/x-pack/platform/plugins/shared/cases/server/client/mocks.ts similarity index 98% rename from x-pack/plugins/cases/server/client/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/client/mocks.ts index 50dca1920b625..f305fbec6d536 100644 --- a/x-pack/plugins/cases/server/client/mocks.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/mocks.ts @@ -72,6 +72,10 @@ const createCasesSubClientMock = (): CasesSubClientMock => { getCasesByAlertID: jest.fn(), getCategories: jest.fn(), replaceCustomField: jest.fn(), + similar: jest.fn(), + addObservable: jest.fn(), + updateObservable: jest.fn(), + deleteObservable: jest.fn(), }; }; diff --git a/x-pack/platform/plugins/shared/cases/server/client/observable_types.test.ts b/x-pack/platform/plugins/shared/cases/server/client/observable_types.test.ts new file mode 100644 index 0000000000000..d5ba5d21cbe29 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/observable_types.test.ts @@ -0,0 +1,58 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Configurations } from '../../common/types/domain/configure/v1'; +import { OBSERVABLE_TYPES_BUILTIN_KEYS } from '../../common/constants'; +import { createCasesClientMock } from './mocks'; +import { getAvailableObservableTypesSet } from './observable_types'; + +const mockCasesClient = createCasesClientMock(); + +describe('getAvailableObservableTypesSet', () => { + beforeEach(() => { + jest.clearAllMocks(); + }); + + it('should return a set of available observable types', async () => { + const mockObservableTypes = [ + { key: 'type1', label: 'test 1' }, + { key: 'type2', label: 'test 2' }, + ]; + + jest.mocked(mockCasesClient.configure.get).mockResolvedValue([ + { + observableTypes: mockObservableTypes, + }, + ] as unknown as Configurations); + + const result = await getAvailableObservableTypesSet(mockCasesClient, 'mock-owner'); + + expect(result).toEqual(new Set(['type1', 'type2', ...OBSERVABLE_TYPES_BUILTIN_KEYS])); + }); + + it('should return only built-in observable types if no types are configured', async () => { + jest.mocked(mockCasesClient.configure.get).mockResolvedValue([ + { + observableTypes: [], + }, + ] as unknown as Configurations); + + const result = await getAvailableObservableTypesSet(mockCasesClient, 'mock-owner'); + + expect(result).toEqual(new Set(OBSERVABLE_TYPES_BUILTIN_KEYS)); + }); + + it('should handle errors and return an empty set', async () => { + jest + .mocked(mockCasesClient.configure.get) + .mockRejectedValue(new Error('Failed to fetch configuration')); + + const result = await getAvailableObservableTypesSet(mockCasesClient, 'mock-owner'); + + expect(result).toEqual(new Set()); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/server/client/observable_types.ts b/x-pack/platform/plugins/shared/cases/server/client/observable_types.ts new file mode 100644 index 0000000000000..a6183fc6833b5 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/observable_types.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { OBSERVABLE_TYPES_BUILTIN } from '../../common/constants'; +import type { CasesClient } from './client'; + +export const getAvailableObservableTypesSet = async (casesClient: CasesClient, owner: string) => { + try { + const configurations = await casesClient.configure.get({ + owner, + }); + const observableTypes = configurations?.[0]?.observableTypes ?? []; + + const availableObservableTypesSet = new Set( + [...observableTypes, ...OBSERVABLE_TYPES_BUILTIN].map(({ key }) => key) + ); + + return availableObservableTypesSet; + } catch (error) { + return new Set(); + } +}; diff --git a/x-pack/plugins/cases/server/client/types.ts b/x-pack/platform/plugins/shared/cases/server/client/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/types.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/client.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/client.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/client.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/client.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/connectors.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/connectors.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/find.test.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/find.test.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/find.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/find.test.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/find.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/find.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/find.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/find.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/get.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/get.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/get.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/get.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/stats.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/stats.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/stats.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/stats.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/users.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/users.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/users.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/users.ts diff --git a/x-pack/plugins/cases/server/client/user_actions/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/user_actions/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_actions/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_actions/utils.ts diff --git a/x-pack/plugins/cases/server/client/user_profiles.mock.ts b/x-pack/platform/plugins/shared/cases/server/client/user_profiles.mock.ts similarity index 100% rename from x-pack/plugins/cases/server/client/user_profiles.mock.ts rename to x-pack/platform/plugins/shared/cases/server/client/user_profiles.mock.ts diff --git a/x-pack/plugins/cases/server/client/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/client/utils.test.ts similarity index 95% rename from x-pack/plugins/cases/server/client/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/client/utils.test.ts index 7b5d692f6aa79..fbb269e20db70 100644 --- a/x-pack/plugins/cases/server/client/utils.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/utils.test.ts @@ -5,8 +5,6 @@ * 2.0. */ -import { v1 as uuidv1 } from 'uuid'; - import { DEFAULT_NAMESPACE_STRING } from '@kbn/core-saved-objects-utils-server'; import type { KueryNode } from '@kbn/es-query'; import { toElasticsearchQuery, toKqlExpression } from '@kbn/es-query'; @@ -16,6 +14,7 @@ import { arraysDifference, buildAttachmentRequestFromFileJSON, buildFilter, + buildObservablesFieldsFilter, buildRangeFilter, constructQueryOptions, constructSearch, @@ -497,24 +496,14 @@ describe('utils', () => { [CaseStatuses['in-progress'], CasePersistedStatus.IN_PROGRESS], [CaseStatuses.closed, CasePersistedStatus.CLOSED], ])('creates a filter for status "%s"', (status, expectedStatus) => { - expect(constructQueryOptions({ status }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.status", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "${expectedStatus}", - }, - ], - "function": "is", - "type": "function", - } - `); + expect(constructQueryOptions({ status }).filter).toMatchObject({ + arguments: [ + { isQuoted: false, type: 'literal', value: 'cases.attributes.status' }, + { isQuoted: false, type: 'literal', value: `${expectedStatus}` }, + ], + function: 'is', + type: 'function', + }); }); it('should create a filter for multiple status values', () => { @@ -567,24 +556,14 @@ describe('utils', () => { [CaseSeverity.HIGH, CasePersistedSeverity.HIGH], [CaseSeverity.CRITICAL, CasePersistedSeverity.CRITICAL], ])('creates a filter for severity "%s"', (severity, expectedSeverity) => { - expect(constructQueryOptions({ severity }).filter).toMatchInlineSnapshot(` - Object { - "arguments": Array [ - Object { - "isQuoted": false, - "type": "literal", - "value": "cases.attributes.severity", - }, - Object { - "isQuoted": false, - "type": "literal", - "value": "${expectedSeverity}", - }, - ], - "function": "is", - "type": "function", - } - `); + expect(constructQueryOptions({ severity }).filter).toMatchObject({ + arguments: [ + { isQuoted: false, type: 'literal', value: 'cases.attributes.severity' }, + { isQuoted: false, type: 'literal', value: `${expectedSeverity}` }, + ], + function: 'is', + type: 'function', + }); }); it('should create a filter for multiple severity values', () => { @@ -1106,7 +1085,7 @@ describe('utils', () => { const savedObjectsSerializer = createSavedObjectsSerializerMock(); it('returns the rootSearchFields and search with correct values when given a uuid', () => { - const uuid = uuidv1(); // the specific version is irrelevant + const uuid = 'b52e293e-4a37-4e67-9aa6-716bb6e69b42'; // the specific version is irrelevant expect(constructSearch(uuid, DEFAULT_NAMESPACE_STRING, savedObjectsSerializer)) .toMatchInlineSnapshot(` @@ -1114,7 +1093,7 @@ describe('utils', () => { "rootSearchFields": Array [ "_id", ], - "search": "\\"${uuid}\\" \\"cases:${uuid}\\"", + "search": "\\"b52e293e-4a37-4e67-9aa6-716bb6e69b42\\" \\"cases:b52e293e-4a37-4e67-9aa6-716bb6e69b42\\"", } `); }); @@ -1579,6 +1558,62 @@ describe('utils', () => { }); }); + describe('buildObservablesFieldsFilter', () => { + it('builds the filter escaping quotes in the value', () => { + expect(buildObservablesFieldsFilter({ type: ['{"json":"value"}'] })).toMatchInlineSnapshot(` + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "cases.attributes.observables", + }, + Object { + "arguments": Array [ + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "value", + }, + Object { + "isQuoted": true, + "type": "literal", + "value": "{\\"json\\":\\"value\\"}", + }, + ], + "function": "is", + "type": "function", + }, + Object { + "arguments": Array [ + Object { + "isQuoted": false, + "type": "literal", + "value": "typeKey", + }, + Object { + "isQuoted": true, + "type": "literal", + "value": "type", + }, + ], + "function": "is", + "type": "function", + }, + ], + "function": "and", + "type": "function", + }, + ], + "function": "nested", + "type": "function", + } + `); + }); + }); + describe('buildAttachmentRequestFromFileJSON', () => { it('builds attachment request correctly', () => { expect( diff --git a/x-pack/plugins/cases/server/client/utils.ts b/x-pack/platform/plugins/shared/cases/server/client/utils.ts similarity index 95% rename from x-pack/plugins/cases/server/client/utils.ts rename to x-pack/platform/plugins/shared/cases/server/client/utils.ts index 6447b53abd00a..fb4e4d469ad42 100644 --- a/x-pack/plugins/cases/server/client/utils.ts +++ b/x-pack/platform/plugins/shared/cases/server/client/utils.ts @@ -16,8 +16,10 @@ import type { KueryNode } from '@kbn/es-query'; import { nodeBuilder, fromKueryExpression, escapeKuery } from '@kbn/es-query'; import { spaceIdToNamespace } from '@kbn/spaces-plugin/server/lib/utils/namespace'; +import { escapeQuotes } from '@kbn/es-query/src/kuery/utils/escape_kuery'; import type { FileJSON } from '@kbn/shared-ux-file-types'; import { FILE_SO_TYPE } from '@kbn/files-plugin/common/constants'; + import type { CaseCustomField, CaseSeverity, @@ -547,10 +549,10 @@ export const getCaseToUpdate = ( /** * TODO: Backend is not connected with the - * frontend in x-pack/plugins/cases/common/ui/types.ts. + * frontend in x-pack/platform/plugins/shared/cases/common/ui/types.ts. * It is easy to forget to update a sort field. * We should fix it and make it common. - * Also the sortField in x-pack/plugins/cases/common/api/cases/case.ts + * Also the sortField in x-pack/platform/plugins/shared/cases/common/api/cases/case.ts * is set to string. We should narrow it to the * acceptable values */ @@ -665,6 +667,26 @@ export const transformTemplateCustomFields = ({ }); }; +export const buildObservablesFieldsFilter = (observables: Record) => { + // NOTE: empty observables mean that we should not construct the filter and it should lead + // to early return in the calling context (it is required). + if (!Object.keys(observables).length) { + return; + } + + const filterExpressions = Object.keys(observables).flatMap((typeKey) => { + return Object.values(observables[typeKey]).map((observableValue) => { + return fromKueryExpression( + `cases.attributes.observables:{value: "${escapeQuotes( + observableValue + )}" AND typeKey: "${typeKey}"}` + ); + }); + }); + + return nodeBuilder.or(filterExpressions); +}; + export const buildAttachmentRequestFromFileJSON = ({ owner, fileMetadata, diff --git a/x-pack/platform/plugins/shared/cases/server/client/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/client/validators.test.ts new file mode 100644 index 0000000000000..869c32cae06e8 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/validators.test.ts @@ -0,0 +1,223 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { OBSERVABLE_TYPE_IPV4 } from '../../common/constants'; +import { createCasesClientMock } from './mocks'; +import { + validateDuplicatedKeysInRequest, + validateDuplicatedObservableTypesInRequest, + validateDuplicatedObservablesInRequest, + validateObservableTypeKeyExists, +} from './validators'; + +describe('validators', () => { + describe('validateDuplicatedKeysInRequest', () => { + it('returns fields in request that have duplicated keys', () => { + expect(() => + validateDuplicatedKeysInRequest({ + requestFields: [ + { + key: 'triplicated_key', + }, + { + key: 'triplicated_key', + }, + { + key: 'triplicated_key', + }, + { + key: 'duplicated_key', + }, + { + key: 'duplicated_key', + }, + ], + + fieldName: 'foobar', + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Invalid duplicated foobar keys in request: triplicated_key,duplicated_key"` + ); + }); + + it('does not throw if no fields in request have duplicated keys', () => { + expect(() => + validateDuplicatedKeysInRequest({ + requestFields: [ + { + key: '1', + }, + { + key: '2', + }, + ], + fieldName: 'foobar', + }) + ).not.toThrow(); + }); + }); + + describe('validateDuplicatedObservableTypesInRequest', () => { + it('returns fields in request that have duplicated observable types (by labels)', () => { + expect(() => + validateDuplicatedObservableTypesInRequest({ + requestFields: [ + { + label: 'triplicated_label', + key: '3aa53239-a608-4ccd-a69f-cb7d08d0b5cb', + }, + { + label: 'triplicated_label', + key: 'a71629ae-05eb-48d5-a669-bb9f3eec81b6', + }, + { + label: 'triplicated_label', + key: 'd5ff16a2-ead3-4f1d-b888-39376bfad8f2', + }, + { + label: 'duplicated_label', + key: '9774be21-abc7-4aa4-9443-86636fea40bc', + }, + { + label: 'duplicated_label', + key: 'fb638551-3b76-4bd9-8b45-7a86ddcb3b80', + }, + ], + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Invalid duplicated observable types in request: triplicated_label,duplicated_label"` + ); + }); + + it('returns fields in request that have duplicated observable types (by keys)', () => { + expect(() => + validateDuplicatedObservableTypesInRequest({ + requestFields: [ + { + label: 'a', + key: 'triplicated_key', + }, + { + label: 'b', + key: 'triplicated_key', + }, + { + label: 'c', + key: 'triplicated_key', + }, + { + label: 'd', + key: 'duplicated_key', + }, + { + label: 'e', + key: 'duplicated_key', + }, + ], + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Invalid duplicated observable types in request: b,c,e"` + ); + }); + + it('does not throw if no fields in request have duplicated observable types', () => { + expect(() => + validateDuplicatedObservableTypesInRequest({ + requestFields: [ + { + label: '1', + key: '1', + }, + { + label: '2', + key: '2', + }, + ], + }) + ).not.toThrow(); + }); + + it('does throw if the provided label duplicates builtin type', () => { + expect(() => + validateDuplicatedObservableTypesInRequest({ + requestFields: [ + { + label: 'email', + key: 'email', + }, + ], + }) + ).toThrowErrorMatchingInlineSnapshot( + `"Invalid duplicated observable types in request: email"` + ); + }); + }); + + describe('validateDuplicatedObservablesInRequest', () => { + it('returns observables in request that have duplicated labels', () => { + expect(() => + validateDuplicatedObservablesInRequest({ + requestFields: [ + { + value: 'value', + typeKey: 'typeKey', + }, + { + value: 'value', + typeKey: 'typeKey', + }, + ], + }) + ).toThrowErrorMatchingInlineSnapshot(`"Invalid duplicated observables in request."`); + }); + + it('does not throw if no fields in request have duplicated observables', () => { + expect(() => + validateDuplicatedObservablesInRequest({ + requestFields: [ + { + value: 'value', + typeKey: 'typeKey', + }, + { + value: 'value 1', + typeKey: 'typeKey', + }, + { + value: 'value', + typeKey: 'typeKey 2', + }, + ], + }) + ).not.toThrow(); + }); + }); + + describe('validateObservableTypeKeyExists', () => { + const mockCasesClient = createCasesClientMock(); + + it('does not throw if all observable type keys exist', async () => { + await expect( + validateObservableTypeKeyExists(mockCasesClient, { + caseOwner: 'securityFixture', + observableTypeKey: OBSERVABLE_TYPE_IPV4.key, + }) + ).resolves.not.toThrow(); + }); + + it('throws an error if any observable type key does not exist', async () => { + await expect(() => + validateObservableTypeKeyExists(mockCasesClient, { + caseOwner: 'securityFixture', + observableTypeKey: 'random key', + }) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"Invalid observable type, key does not exist: random key"` + ); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/cases/server/client/validators.ts b/x-pack/platform/plugins/shared/cases/server/client/validators.ts new file mode 100644 index 0000000000000..23f26d2321e78 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/client/validators.ts @@ -0,0 +1,129 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import Boom from '@hapi/boom'; +import { OBSERVABLE_TYPES_BUILTIN } from '../../common/constants'; +import { type CasesClient } from './client'; +import { getAvailableObservableTypesSet } from './observable_types'; + +/** + * Throws an error if the request has custom fields with duplicated keys. + */ +export const validateDuplicatedKeysInRequest = ({ + requestFields = [], + fieldName, +}: { + requestFields?: Array<{ key: string }>; + fieldName: string; +}) => { + const uniqueKeys = new Set(); + const duplicatedKeys = new Set(); + + requestFields.forEach((item) => { + if (uniqueKeys.has(item.key)) { + duplicatedKeys.add(item.key); + } else { + uniqueKeys.add(item.key); + } + }); + + if (duplicatedKeys.size > 0) { + throw Boom.badRequest( + `Invalid duplicated ${fieldName} keys in request: ${Array.from(duplicatedKeys.values())}` + ); + } +}; + +/** + * Throws an error if the request has observable types with duplicated labels. + */ +export const validateDuplicatedObservableTypesInRequest = ({ + requestFields = [], +}: { + requestFields?: Array<{ label: string; key: string }>; +}) => { + const extractLabelFromItem = (item: { label: string }) => item.label.toLowerCase(); + const extractKeyFromItem = (item: { key: string }) => item.key.toLowerCase(); + + // NOTE: this prevents adding duplicates for the builtin types + const builtinLabels = OBSERVABLE_TYPES_BUILTIN.map(extractLabelFromItem); + const builtinKeys = OBSERVABLE_TYPES_BUILTIN.map(extractKeyFromItem); + + const uniqueLabels = new Set(builtinLabels); + const uniqueKeys = new Set(builtinKeys); + + const duplicatedLabels = new Set(); + + requestFields.forEach((item) => { + const observableTypeLabel = extractLabelFromItem(item); + const observableTypeKey = extractKeyFromItem(item); + + if (uniqueKeys.has(observableTypeKey)) { + duplicatedLabels.add(observableTypeLabel); + } else { + uniqueKeys.add(observableTypeKey); + } + + if (uniqueLabels.has(observableTypeLabel)) { + duplicatedLabels.add(observableTypeLabel); + } else { + uniqueLabels.add(observableTypeLabel); + } + }); + + if (duplicatedLabels.size > 0) { + throw Boom.badRequest( + `Invalid duplicated observable types in request: ${Array.from(duplicatedLabels.values())}` + ); + } +}; + +/** + * Throws an error if the request has observable types with duplicated labels. + */ +export const validateDuplicatedObservablesInRequest = ({ + requestFields = [], +}: { + requestFields?: Array<{ typeKey: string; value: string }>; +}) => { + const stringifyItem = (item: { value: string; typeKey: string }) => + [item.typeKey, item.value].join(); + + const uniqueObservables = new Set(); + const duplicatedObservables = new Set(); + + requestFields.forEach((item) => { + if (uniqueObservables.has(stringifyItem(item))) { + duplicatedObservables.add(stringifyItem(item)); + } else { + uniqueObservables.add(stringifyItem(item)); + } + }); + + if (duplicatedObservables.size > 0) { + throw Boom.badRequest(`Invalid duplicated observables in request.`); + } +}; + +/** + * Throws an error if observable type key is not valid + */ +export const validateObservableTypeKeyExists = async ( + casesClient: CasesClient, + { + caseOwner, + observableTypeKey, + }: { + caseOwner: string; + observableTypeKey: string; + } +) => { + const observableTypesSet = await getAvailableObservableTypesSet(casesClient, caseOwner); + if (!observableTypesSet.has(observableTypeKey)) { + throw Boom.badRequest(`Invalid observable type, key does not exist: ${observableTypeKey}`); + } +}; diff --git a/x-pack/plugins/cases/server/common/constants.ts b/x-pack/platform/plugins/shared/cases/server/common/constants.ts similarity index 91% rename from x-pack/plugins/cases/server/common/constants.ts rename to x-pack/platform/plugins/shared/cases/server/common/constants.ts index e7f2ba1e3ff5b..a57f15e346a78 100644 --- a/x-pack/plugins/cases/server/common/constants.ts +++ b/x-pack/platform/plugins/shared/cases/server/common/constants.ts @@ -38,7 +38,12 @@ export const EXTERNAL_REFERENCE_REF_NAME = 'externalReferenceId'; /** * The name of the licensing feature to notify for feature usage with the licensing plugin */ -export const LICENSING_CASE_ASSIGNMENT_FEATURE = 'Cases user assignment'; +export const LICENSING_CASE_ASSIGNMENT_FEATURE = 'Cases user usage'; + +/** + * The name of the licensing feature to notify for cases feature usage with the licensing plugin + */ +export const LICENSING_CASE_OBSERVABLES_FEATURE = 'Cases observable assignment'; export const SEVERITY_EXTERNAL_TO_ESMODEL: Record = { [CaseSeverity.LOW]: CasePersistedSeverity.LOW, diff --git a/x-pack/plugins/cases/server/common/error.test.ts b/x-pack/platform/plugins/shared/cases/server/common/error.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/error.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/error.test.ts diff --git a/x-pack/plugins/cases/server/common/error.ts b/x-pack/platform/plugins/shared/cases/server/common/error.ts similarity index 100% rename from x-pack/plugins/cases/server/common/error.ts rename to x-pack/platform/plugins/shared/cases/server/common/error.ts diff --git a/x-pack/plugins/cases/server/common/index.ts b/x-pack/platform/plugins/shared/cases/server/common/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/index.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/base_limiter.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/base_limiter.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/base_limiter.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/base_limiter.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/index.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/index.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/index.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/alerts.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/files.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/files.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/files.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/files.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/files.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.test.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/limiters/persistable_state_and_external_references.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/test_utils.ts diff --git a/x-pack/plugins/cases/server/common/limiter_checker/types.ts b/x-pack/platform/plugins/shared/cases/server/common/limiter_checker/types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/limiter_checker/types.ts rename to x-pack/platform/plugins/shared/cases/server/common/limiter_checker/types.ts diff --git a/x-pack/plugins/cases/server/common/models/case_with_comments.test.ts b/x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/case_with_comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.test.ts diff --git a/x-pack/plugins/cases/server/common/models/case_with_comments.ts b/x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/case_with_comments.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/case_with_comments.ts diff --git a/x-pack/plugins/cases/server/common/models/index.ts b/x-pack/platform/plugins/shared/cases/server/common/models/index.ts similarity index 100% rename from x-pack/plugins/cases/server/common/models/index.ts rename to x-pack/platform/plugins/shared/cases/server/common/models/index.ts diff --git a/x-pack/plugins/cases/server/common/partitioning.test.ts b/x-pack/platform/plugins/shared/cases/server/common/partitioning.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/partitioning.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/partitioning.test.ts diff --git a/x-pack/plugins/cases/server/common/partitioning.ts b/x-pack/platform/plugins/shared/cases/server/common/partitioning.ts similarity index 100% rename from x-pack/plugins/cases/server/common/partitioning.ts rename to x-pack/platform/plugins/shared/cases/server/common/partitioning.ts diff --git a/x-pack/plugins/cases/server/common/references.test.ts b/x-pack/platform/plugins/shared/cases/server/common/references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/references.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/references.test.ts diff --git a/x-pack/plugins/cases/server/common/references.ts b/x-pack/platform/plugins/shared/cases/server/common/references.ts similarity index 100% rename from x-pack/plugins/cases/server/common/references.ts rename to x-pack/platform/plugins/shared/cases/server/common/references.ts diff --git a/x-pack/plugins/cases/server/common/runtime_types.test.ts b/x-pack/platform/plugins/shared/cases/server/common/runtime_types.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/runtime_types.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/runtime_types.test.ts diff --git a/x-pack/plugins/cases/server/common/runtime_types.ts b/x-pack/platform/plugins/shared/cases/server/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/runtime_types.ts rename to x-pack/platform/plugins/shared/cases/server/common/runtime_types.ts diff --git a/x-pack/plugins/cases/server/common/types.ts b/x-pack/platform/plugins/shared/cases/server/common/types.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types.ts rename to x-pack/platform/plugins/shared/cases/server/common/types.ts diff --git a/x-pack/plugins/cases/server/common/types/attachments.ts b/x-pack/platform/plugins/shared/cases/server/common/types/attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/attachments.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/attachments.ts diff --git a/x-pack/plugins/cases/server/common/types/case.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/case.test.ts similarity index 99% rename from x-pack/plugins/cases/server/common/types/case.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/case.test.ts index ed7356546e56d..cec16b9293be7 100644 --- a/x-pack/plugins/cases/server/common/types/case.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/common/types/case.test.ts @@ -50,6 +50,7 @@ describe('case types', () => { }, owner: SECURITY_SOLUTION_OWNER, assignees: [], + observables: [], }; const caseTransformedAttributesProps = CaseTransformedAttributesRt.types.reduce( (acc, type) => ({ ...acc, ...type.type.props }), diff --git a/x-pack/plugins/cases/server/common/types/case.ts b/x-pack/platform/plugins/shared/cases/server/common/types/case.ts similarity index 95% rename from x-pack/plugins/cases/server/common/types/case.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/case.ts index 9a9a0e79104e7..b0d82af762438 100644 --- a/x-pack/plugins/cases/server/common/types/case.ts +++ b/x-pack/platform/plugins/shared/cases/server/common/types/case.ts @@ -8,7 +8,7 @@ import type { SavedObject } from '@kbn/core-saved-objects-server'; import type { Type } from 'io-ts'; import { exact, partial, strict, string } from 'io-ts'; -import type { CaseAttributes } from '../../../common/types/domain'; +import type { CaseAttributes, Observable } from '../../../common/types/domain'; import { CaseAttributesRt } from '../../../common/types/domain'; import type { ConnectorPersisted } from './connectors'; import type { ExternalServicePersisted } from './external_service'; @@ -49,6 +49,7 @@ export interface CasePersistedAttributes { updated_by: User | null; category?: string | null; customFields?: CasePersistedCustomFields; + observables?: Observable[]; } type CasePersistedCustomFields = Array<{ diff --git a/x-pack/plugins/cases/server/common/types/configure.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/configure.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/configure.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/configure.test.ts diff --git a/x-pack/plugins/cases/server/common/types/configure.ts b/x-pack/platform/plugins/shared/cases/server/common/types/configure.ts similarity index 93% rename from x-pack/plugins/cases/server/common/types/configure.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/configure.ts index 27e66ba76eb02..630b4020634f5 100644 --- a/x-pack/plugins/cases/server/common/types/configure.ts +++ b/x-pack/platform/plugins/shared/cases/server/common/types/configure.ts @@ -32,8 +32,14 @@ export interface ConfigurationPersistedAttributes { updated_by: User | null; customFields?: PersistedCustomFieldsConfiguration; templates?: PersistedTemplatesConfiguration; + observableTypes?: PersistedObservableTypesConfiguration; } +type PersistedObservableTypesConfiguration = Array<{ + key: string; + label: string; +}>; + type PersistedCustomFieldsConfiguration = Array<{ key: string; type: string; diff --git a/x-pack/plugins/cases/server/common/types/connector_mappings.test.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connector_mappings.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.test.ts diff --git a/x-pack/plugins/cases/server/common/types/connector_mappings.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connector_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connector_mappings.ts diff --git a/x-pack/plugins/cases/server/common/types/connectors.ts b/x-pack/platform/plugins/shared/cases/server/common/types/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/connectors.ts diff --git a/x-pack/plugins/cases/server/common/types/external_service.ts b/x-pack/platform/plugins/shared/cases/server/common/types/external_service.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/external_service.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/external_service.ts diff --git a/x-pack/plugins/cases/server/common/types/user.ts b/x-pack/platform/plugins/shared/cases/server/common/types/user.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/user.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/user.ts diff --git a/x-pack/plugins/cases/server/common/types/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/common/types/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/common/types/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/common/types/user_actions.ts diff --git a/x-pack/plugins/cases/server/common/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/common/utils.test.ts similarity index 99% rename from x-pack/plugins/cases/server/common/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/utils.test.ts index a12146b30b193..15bcceafc256e 100644 --- a/x-pack/plugins/cases/server/common/utils.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/common/utils.test.ts @@ -150,6 +150,7 @@ describe('common utils', () => { "description": "A description", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -205,6 +206,7 @@ describe('common utils', () => { "description": "A description", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -264,6 +266,7 @@ describe('common utils', () => { "description": "A description", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -329,6 +332,7 @@ describe('common utils', () => { "description": "A description", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -389,6 +393,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -432,6 +437,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-2", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -479,6 +485,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-3", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -530,6 +537,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-4", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -610,6 +618,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -678,6 +687,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-3", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -737,6 +747,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-3", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -819,6 +830,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-3", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -876,6 +888,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -938,6 +951,7 @@ describe('common utils', () => { "duration": null, "external_service": null, "id": "mock-id-1", + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, diff --git a/x-pack/plugins/cases/server/common/utils.ts b/x-pack/platform/plugins/shared/cases/server/common/utils.ts similarity index 99% rename from x-pack/plugins/cases/server/common/utils.ts rename to x-pack/platform/plugins/shared/cases/server/common/utils.ts index aad86d988705d..0b9852e61cad1 100644 --- a/x-pack/plugins/cases/server/common/utils.ts +++ b/x-pack/platform/plugins/shared/cases/server/common/utils.ts @@ -88,6 +88,7 @@ export const transformNewCase = ({ assignees: dedupAssignees(newCase.assignees) ?? [], category: newCase.category ?? null, customFields: newCase.customFields ?? [], + observables: [], }); export const transformCases = ({ diff --git a/x-pack/plugins/cases/server/common/validators.test.ts b/x-pack/platform/plugins/shared/cases/server/common/validators.test.ts similarity index 100% rename from x-pack/plugins/cases/server/common/validators.test.ts rename to x-pack/platform/plugins/shared/cases/server/common/validators.test.ts diff --git a/x-pack/plugins/cases/server/common/validators.ts b/x-pack/platform/plugins/shared/cases/server/common/validators.ts similarity index 100% rename from x-pack/plugins/cases/server/common/validators.ts rename to x-pack/platform/plugins/shared/cases/server/common/validators.ts diff --git a/x-pack/plugins/cases/server/config.test.ts b/x-pack/platform/plugins/shared/cases/server/config.test.ts similarity index 100% rename from x-pack/plugins/cases/server/config.test.ts rename to x-pack/platform/plugins/shared/cases/server/config.test.ts diff --git a/x-pack/plugins/cases/server/config.ts b/x-pack/platform/plugins/shared/cases/server/config.ts similarity index 100% rename from x-pack/plugins/cases/server/config.ts rename to x-pack/platform/plugins/shared/cases/server/config.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/README.md b/x-pack/platform/plugins/shared/cases/server/connectors/cases/README.md similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/README.md rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/README.md diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_error.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_error.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_error.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_error.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_connector_executor.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_connector_executor.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_oracle_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_oracle_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/cases_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/cases_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/cases_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/constants.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/constants.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/constants.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/crypto_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/crypto_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/crypto_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/crypto_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/crypto_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/full_jitter_backoff.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/full_jitter_backoff.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.mock.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.mock.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.mock.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.mock.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/retry_service.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/retry_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/retry_service.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/retry_service.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/retry_service.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/schema.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/schema.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/schema.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/schema.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/schema.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/test_helpers.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/test_helpers.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/test_helpers.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/test_helpers.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/translations.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/translations.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/translations.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/translations.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/types.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.test.ts diff --git a/x-pack/plugins/cases/server/connectors/cases/utils.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases/utils.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases/utils.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/format.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/index.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/cases_webook/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/cases_webook/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/cases_webook/types.ts diff --git a/x-pack/plugins/cases/server/connectors/factory.ts b/x-pack/platform/plugins/shared/cases/server/connectors/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/factory.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/factory.ts diff --git a/x-pack/plugins/cases/server/connectors/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/index.ts similarity index 96% rename from x-pack/plugins/cases/server/connectors/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/index.ts index 56dcddfbee76a..ee19b73c910bd 100644 --- a/x-pack/plugins/cases/server/connectors/index.ts +++ b/x-pack/platform/plugins/shared/cases/server/connectors/index.ts @@ -41,7 +41,7 @@ export function registerConnectorTypes({ * The actions framework ensures that the user executing the case action * will have permissions to use cases for the corresponding owner and space. * The required Kibana privileges needed to execute the case action are defined - * in x-pack/plugins/cases/server/connectors/cases/index.ts. + * in x-pack/platform/plugins/shared/cases/server/connectors/cases/index.ts. * * We can safely disable security checks performed by the saved object client * as we implement our custom authorization. diff --git a/x-pack/plugins/cases/server/connectors/jira/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/format.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/index.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/jira/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/jira/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/jira/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/jira/types.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/format.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/index.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/resilient/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/resilient/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/resilient/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/resilient/types.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/index.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_format.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/itsm_mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/itsm_mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/itsm_mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_format.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/sir_mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/sir_mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/sir_mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/servicenow/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/servicenow/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/servicenow/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/servicenow/types.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/format.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/index.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/swimlane/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/swimlane/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/swimlane/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/swimlane/types.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/format.test.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.test.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/format.test.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.test.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/format.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/format.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/format.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/index.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/index.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/index.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/index.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/mapping.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/mapping.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/mapping.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/mapping.ts diff --git a/x-pack/plugins/cases/server/connectors/thehive/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/thehive/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/thehive/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/thehive/types.ts diff --git a/x-pack/plugins/cases/server/connectors/types.ts b/x-pack/platform/plugins/shared/cases/server/connectors/types.ts similarity index 100% rename from x-pack/plugins/cases/server/connectors/types.ts rename to x-pack/platform/plugins/shared/cases/server/connectors/types.ts diff --git a/x-pack/plugins/cases/server/custom_fields/factory.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/factory.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/factory.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/factory.ts diff --git a/x-pack/plugins/cases/server/custom_fields/index.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/index.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/index.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/index.ts diff --git a/x-pack/plugins/cases/server/custom_fields/number.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/number.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/number.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/number.ts diff --git a/x-pack/plugins/cases/server/custom_fields/text.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/text.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/text.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/text.ts diff --git a/x-pack/plugins/cases/server/custom_fields/toggle.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/toggle.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/toggle.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/toggle.ts diff --git a/x-pack/plugins/cases/server/custom_fields/types.ts b/x-pack/platform/plugins/shared/cases/server/custom_fields/types.ts similarity index 100% rename from x-pack/plugins/cases/server/custom_fields/types.ts rename to x-pack/platform/plugins/shared/cases/server/custom_fields/types.ts diff --git a/x-pack/plugins/cases/server/features/constants.ts b/x-pack/platform/plugins/shared/cases/server/features/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/features/constants.ts rename to x-pack/platform/plugins/shared/cases/server/features/constants.ts diff --git a/x-pack/plugins/cases/server/features/index.ts b/x-pack/platform/plugins/shared/cases/server/features/index.ts similarity index 100% rename from x-pack/plugins/cases/server/features/index.ts rename to x-pack/platform/plugins/shared/cases/server/features/index.ts diff --git a/x-pack/plugins/cases/server/features/v1.ts b/x-pack/platform/plugins/shared/cases/server/features/v1.ts similarity index 100% rename from x-pack/plugins/cases/server/features/v1.ts rename to x-pack/platform/plugins/shared/cases/server/features/v1.ts diff --git a/x-pack/plugins/cases/server/features/v2.ts b/x-pack/platform/plugins/shared/cases/server/features/v2.ts similarity index 100% rename from x-pack/plugins/cases/server/features/v2.ts rename to x-pack/platform/plugins/shared/cases/server/features/v2.ts diff --git a/x-pack/plugins/cases/server/files/index.test.ts b/x-pack/platform/plugins/shared/cases/server/files/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/files/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/files/index.test.ts diff --git a/x-pack/plugins/cases/server/files/index.ts b/x-pack/platform/plugins/shared/cases/server/files/index.ts similarity index 100% rename from x-pack/plugins/cases/server/files/index.ts rename to x-pack/platform/plugins/shared/cases/server/files/index.ts diff --git a/x-pack/plugins/cases/server/files/types.ts b/x-pack/platform/plugins/shared/cases/server/files/types.ts similarity index 100% rename from x-pack/plugins/cases/server/files/types.ts rename to x-pack/platform/plugins/shared/cases/server/files/types.ts diff --git a/x-pack/plugins/cases/server/index.ts b/x-pack/platform/plugins/shared/cases/server/index.ts similarity index 100% rename from x-pack/plugins/cases/server/index.ts rename to x-pack/platform/plugins/shared/cases/server/index.ts diff --git a/x-pack/plugins/cases/server/internal_attachments/index.ts b/x-pack/platform/plugins/shared/cases/server/internal_attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/server/internal_attachments/index.ts rename to x-pack/platform/plugins/shared/cases/server/internal_attachments/index.ts diff --git a/x-pack/plugins/cases/server/mocks.ts b/x-pack/platform/plugins/shared/cases/server/mocks.ts similarity index 99% rename from x-pack/plugins/cases/server/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/mocks.ts index 637cee85ed84b..d05d949142e6a 100644 --- a/x-pack/plugins/cases/server/mocks.ts +++ b/x-pack/platform/plugins/shared/cases/server/mocks.ts @@ -150,6 +150,7 @@ export const mockCases: CaseSavedObjectTransformed[] = [ title: 'Super Bad Security Issue', status: CaseStatuses.open, tags: ['defacement'], + observables: [], updated_at: '2019-11-25T21:54:48.952Z', updated_by: { full_name: 'elastic', @@ -202,6 +203,7 @@ export const mockCases: CaseSavedObjectTransformed[] = [ settings: { syncAlerts: true, }, + observables: [], owner: SECURITY_SOLUTION_OWNER, assignees: [], category: null, @@ -245,6 +247,7 @@ export const mockCases: CaseSavedObjectTransformed[] = [ settings: { syncAlerts: true, }, + observables: [], owner: SECURITY_SOLUTION_OWNER, assignees: [], category: null, @@ -292,6 +295,7 @@ export const mockCases: CaseSavedObjectTransformed[] = [ settings: { syncAlerts: true, }, + observables: [], owner: SECURITY_SOLUTION_OWNER, assignees: [], category: null, diff --git a/x-pack/plugins/cases/server/plugin.test.ts b/x-pack/platform/plugins/shared/cases/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/cases/server/plugin.test.ts rename to x-pack/platform/plugins/shared/cases/server/plugin.test.ts diff --git a/x-pack/plugins/cases/server/plugin.ts b/x-pack/platform/plugins/shared/cases/server/plugin.ts similarity index 97% rename from x-pack/plugins/cases/server/plugin.ts rename to x-pack/platform/plugins/shared/cases/server/plugin.ts index 5a4bd7b20b9db..d62aa5582ec32 100644 --- a/x-pack/plugins/cases/server/plugin.ts +++ b/x-pack/platform/plugins/shared/cases/server/plugin.ts @@ -38,7 +38,10 @@ import { getInternalRoutes } from './routes/api/get_internal_routes'; import { PersistableStateAttachmentTypeRegistry } from './attachment_framework/persistable_state_registry'; import { ExternalReferenceAttachmentTypeRegistry } from './attachment_framework/external_reference_registry'; import { UserProfileService } from './services'; -import { LICENSING_CASE_ASSIGNMENT_FEATURE } from './common/constants'; +import { + LICENSING_CASE_ASSIGNMENT_FEATURE, + LICENSING_CASE_OBSERVABLES_FEATURE, +} from './common/constants'; import { registerInternalAttachments } from './internal_attachments'; import { registerCaseFileKinds } from './files'; import type { ConfigType } from './config'; @@ -140,6 +143,7 @@ export class CasePlugin }); plugins.licensing.featureUsage.register(LICENSING_CASE_ASSIGNMENT_FEATURE, 'platinum'); + plugins.licensing.featureUsage.register(LICENSING_CASE_OBSERVABLES_FEATURE, 'platinum'); const getCasesClient = async (request: KibanaRequest): Promise => { const [coreStart] = await core.getStartServices(); diff --git a/x-pack/plugins/cases/server/routes/api/__mocks__/request_responses.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/__mocks__/request_responses.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/__mocks__/request_responses.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/__mocks__/request_responses.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/alerts/get_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/alerts/get_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/alerts/get_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/alerts/get_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/categories/get_categories.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/categories/get_categories.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/categories/get_categories.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/categories/get_categories.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/delete_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/delete_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/delete_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/delete_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/find_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/find_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/find_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/find_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/get_case.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/get_case.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/get_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/get_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/get_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/patch_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/patch_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/patch_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/patch_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/post_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/post_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/post_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/post_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/push_case.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/push_case.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/push_case.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/push_case.ts diff --git a/x-pack/plugins/cases/server/routes/api/cases/reporters/get_reporters.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/reporters/get_reporters.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/reporters/get_reporters.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/reporters/get_reporters.ts diff --git a/x-pack/platform/plugins/shared/cases/server/routes/api/cases/similar.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/similar.ts new file mode 100644 index 0000000000000..c1516d7648082 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/similar.ts @@ -0,0 +1,48 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { INTERNAL_CASE_SIMILAR_CASES_URL } from '../../../../common/constants'; +import { createCaseError } from '../../../common/error'; +import { createCasesRoute } from '../create_cases_route'; +import type { caseApiV1 } from '../../../../common/types/api'; + +export const similarCaseRoute = createCasesRoute({ + method: 'post', + path: INTERNAL_CASE_SIMILAR_CASES_URL, + params: { + params: schema.object({ + case_id: schema.string(), + }), + }, + routerOptions: { + access: 'internal', + summary: `Similar cases`, + }, + handler: async ({ context, request, response }) => { + const options = request.body as caseApiV1.SimilarCasesSearchRequest; + const caseId = request.params.case_id; + + try { + const caseContext = await context.cases; + const casesClient = await caseContext.getCasesClient(); + + const res: caseApiV1.CasesSimilarResponse = await casesClient.cases.similar(caseId, { + ...options, + }); + + return response.ok({ + body: res, + }); + } catch (error) { + throw createCaseError({ + message: `Failed to find similar cases in route for case with ID ${caseId}: ${error}`, + error, + }); + } + }, +}); diff --git a/x-pack/plugins/cases/server/routes/api/cases/tags/get_tags.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/cases/tags/get_tags.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/cases/tags/get_tags.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/cases/tags/get_tags.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/delete_all_comments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_all_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/delete_all_comments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_all_comments.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/delete_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/delete_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/delete_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/find_comments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/find_comments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/find_comments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/find_comments.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_alerts.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_alerts.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_alerts.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_all_comment.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_all_comment.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_all_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_all_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_all_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/get_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/get_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/get_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/patch_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/patch_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/patch_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/patch_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/comments/post_comment.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/comments/post_comment.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/comments/post_comment.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/comments/post_comment.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/get_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/get_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/get_connectors.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/get_connectors.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/get_connectors.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/patch_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/patch_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/patch_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/patch_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/configure/post_configure.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/configure/post_configure.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/configure/post_configure.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/configure/post_configure.ts diff --git a/x-pack/plugins/cases/server/routes/api/constants.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/constants.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/constants.ts diff --git a/x-pack/plugins/cases/server/routes/api/create_cases_route.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/create_cases_route.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/create_cases_route.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/create_cases_route.ts diff --git a/x-pack/plugins/cases/server/routes/api/files/post_file.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/files/post_file.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/files/post_file.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/files/post_file.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/files/post_file.ts diff --git a/x-pack/plugins/cases/server/routes/api/get_external_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/get_external_routes.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/get_external_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/get_external_routes.ts diff --git a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/get_internal_routes.ts similarity index 82% rename from x-pack/plugins/cases/server/routes/api/get_internal_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/get_internal_routes.ts index 79e5189c02f57..63c5953b3ea32 100644 --- a/x-pack/plugins/cases/server/routes/api/get_internal_routes.ts +++ b/x-pack/platform/plugins/shared/cases/server/routes/api/get_internal_routes.ts @@ -20,6 +20,10 @@ import { getCaseMetricRoute } from './internal/get_case_metrics'; import { getCasesMetricRoute } from './internal/get_cases_metrics'; import { searchCasesRoute } from './internal/search_cases'; import { replaceCustomFieldRoute } from './internal/replace_custom_field'; +import { postObservableRoute } from './observables/post_observable'; +import { similarCaseRoute } from './cases/similar'; +import { patchObservableRoute } from './observables/patch_observable'; +import { deleteObservableRoute } from './observables/delete_observable'; export const getInternalRoutes = (userProfileService: UserProfileService) => [ @@ -36,4 +40,8 @@ export const getInternalRoutes = (userProfileService: UserProfileService) => getCasesMetricRoute, searchCasesRoute, replaceCustomFieldRoute, + postObservableRoute, + patchObservableRoute, + deleteObservableRoute, + similarCaseRoute, ] as CaseRoute[]; diff --git a/x-pack/plugins/cases/server/routes/api/index.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/index.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/index.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/index.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_create_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_create_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_create_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_create_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_delete_file_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_delete_file_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_delete_file_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_delete_file_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_get_attachments.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_attachments.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_get_attachments.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_attachments.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/bulk_get_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/bulk_get_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/bulk_get_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_metrics.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_user_actions_stats.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_user_actions_stats.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_user_actions_stats.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_user_actions_stats.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_case_users.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_users.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_case_users.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_case_users.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_cases_metrics.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_cases_metrics.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_cases_metrics.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/get_connectors.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/get_connectors.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/get_connectors.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/replace_custom_field.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/replace_custom_field.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/replace_custom_field.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/replace_custom_field.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/search_cases.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/search_cases.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/search_cases.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/search_cases.ts diff --git a/x-pack/plugins/cases/server/routes/api/internal/suggest_user_profiles.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/internal/suggest_user_profiles.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/internal/suggest_user_profiles.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/internal/suggest_user_profiles.ts diff --git a/x-pack/platform/plugins/shared/cases/server/routes/api/observables/delete_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/delete_observable.ts new file mode 100644 index 0000000000000..49f2b27fc0064 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/delete_observable.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { INTERNAL_CASE_OBSERVABLES_DELETE_URL } from '../../../../common/constants'; +import { createCaseError } from '../../../common/error'; +import { createCasesRoute } from '../create_cases_route'; + +export const deleteObservableRoute = createCasesRoute({ + method: 'delete', + path: INTERNAL_CASE_OBSERVABLES_DELETE_URL, + params: { + params: schema.object({ + case_id: schema.string(), + observable_id: schema.string(), + }), + }, + routerOptions: { + access: 'internal', + summary: `Delete a case observable`, + }, + handler: async ({ context, request, response }) => { + try { + const caseContext = await context.cases; + const casesClient = await caseContext.getCasesClient(); + const caseId = request.params.case_id; + const observableId = request.params.observable_id; + + await casesClient.cases.deleteObservable(caseId, observableId); + + return response.noContent(); + } catch (error) { + throw createCaseError({ + message: `Failed to delete observable in route case id: ${request.params.case_id}, observable id: ${request.params.observable_id}: ${error}`, + error, + }); + } + }, +}); diff --git a/x-pack/platform/plugins/shared/cases/server/routes/api/observables/patch_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/patch_observable.ts new file mode 100644 index 0000000000000..49630bb12ded6 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/patch_observable.ts @@ -0,0 +1,50 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { INTERNAL_CASE_OBSERVABLES_PATCH_URL } from '../../../../common/constants'; +import { createCaseError } from '../../../common/error'; +import { createCasesRoute } from '../create_cases_route'; +import type { observableApiV1 } from '../../../../common/types/api'; + +export const patchObservableRoute = createCasesRoute({ + method: 'patch', + path: INTERNAL_CASE_OBSERVABLES_PATCH_URL, + params: { + params: schema.object({ + case_id: schema.string(), + observable_id: schema.string(), + }), + }, + routerOptions: { + access: 'internal', + summary: `Update a case observable`, + }, + handler: async ({ context, request, response }) => { + try { + const caseContext = await context.cases; + const casesClient = await caseContext.getCasesClient(); + const caseId = request.params.case_id; + const observableId = request.params.observable_id; + + const { observable } = request.body as observableApiV1.UpdateObservableRequest; + + const theCase = await casesClient.cases.updateObservable(caseId, observableId, { + observable, + }); + + return response.ok({ + body: theCase, + }); + } catch (error) { + throw createCaseError({ + message: `Failed to patch observable in route case id: ${request.params.case_id}, observable id: ${request.params.observable_id}: ${error}`, + error, + }); + } + }, +}); diff --git a/x-pack/platform/plugins/shared/cases/server/routes/api/observables/post_observable.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/post_observable.ts new file mode 100644 index 0000000000000..6cffa0861bab4 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/routes/api/observables/post_observable.ts @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; +import { INTERNAL_CASE_OBSERVABLES_URL } from '../../../../common/constants'; +import { createCaseError } from '../../../common/error'; +import { createCasesRoute } from '../create_cases_route'; +import type { observableApiV1 } from '../../../../common/types/api'; + +export const postObservableRoute = createCasesRoute({ + method: 'post', + path: INTERNAL_CASE_OBSERVABLES_URL, + params: { + params: schema.object({ + case_id: schema.string(), + }), + }, + routerOptions: { + access: 'internal', + summary: `Add a case observable`, + description: 'Each case can have a maximum of 10 observables.', + // You must have `all` privileges for the **Cases** feature in the **Management**, **Observability**, or **Security** section of the Kibana feature privileges, depending on the owner of the case you're creating. + }, + handler: async ({ context, request, response }) => { + try { + const caseContext = await context.cases; + const casesClient = await caseContext.getCasesClient(); + const caseId = request.params.case_id; + const { observable } = request.body as observableApiV1.AddObservableRequest; + const theCase = await casesClient.cases.addObservable(caseId, { observable }); + + return response.ok({ + body: theCase, + }); + } catch (error) { + throw createCaseError({ + message: `Failed to post observable in route case id: ${request.params.case_id}: ${error}`, + error, + }); + } + }, +}); diff --git a/x-pack/plugins/cases/server/routes/api/register_routes.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/register_routes.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/register_routes.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/register_routes.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/register_routes.ts diff --git a/x-pack/plugins/cases/server/routes/api/stats/get_status.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/stats/get_status.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/stats/get_status.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/stats/get_status.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/stats/get_status.ts diff --git a/x-pack/plugins/cases/server/routes/api/types.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/types.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/types.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/types.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/find_user_actions.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/find_user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/find_user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/find_user_actions.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/user_actions/get_all_user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/user_actions/get_all_user_actions.ts diff --git a/x-pack/plugins/cases/server/routes/api/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/utils.test.ts diff --git a/x-pack/plugins/cases/server/routes/api/utils.ts b/x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/routes/api/utils.ts rename to x-pack/platform/plugins/shared/cases/server/routes/api/utils.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts similarity index 94% rename from x-pack/plugins/cases/server/saved_object_types/cases/cases.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts index 8e9160604a69d..0cf1905ca0cf4 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/cases.ts +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/cases.ts @@ -17,7 +17,7 @@ import { CASE_SAVED_OBJECT } from '../../../common/constants'; import type { CasePersistedAttributes } from '../../common/types/case'; import { handleExport } from '../import_export/export'; import { caseMigrations } from '../migrations'; -import { modelVersion1 } from './model_versions'; +import { modelVersion1, modelVersion2 } from './model_versions'; export const createCaseSavedObjectType = ( coreSetup: CoreSetup, @@ -229,11 +229,23 @@ export const createCaseSavedObjectType = ( }, }, }, + observables: { + type: 'nested', + properties: { + typeKey: { + type: 'keyword', + }, + value: { + type: 'keyword', + }, + }, + }, }, }, migrations: caseMigrations, modelVersions: { 1: modelVersion1, + 2: modelVersion2, }, management: { importableAndExportable: true, diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.test.ts similarity index 74% rename from x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.test.ts index 2c301709ca5c9..67e89cd9b18b6 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { modelVersion1 } from './model_versions'; +import { modelVersion1, modelVersion2 } from './model_versions'; describe('Model versions', () => { describe('1', () => { @@ -56,4 +56,27 @@ describe('Model versions', () => { `); }); }); + + describe('2', () => { + expect(modelVersion2.changes).toMatchInlineSnapshot(` + Array [ + Object { + "addedMappings": Object { + "observables": Object { + "properties": Object { + "typeKey": Object { + "type": "keyword", + }, + "value": Object { + "type": "keyword", + }, + }, + "type": "nested", + }, + }, + "type": "mappings_addition", + }, + ] + `); + }); }); diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.ts similarity index 73% rename from x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.ts index 7d46789a3b79f..522c51eb8e30f 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/model_versions.ts +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/model_versions.ts @@ -6,7 +6,7 @@ */ import type { SavedObjectsModelVersion } from '@kbn/core-saved-objects-server'; -import { casesSchemaV1 } from './schemas'; +import { casesSchemaV1, casesSchemaV2 } from './schemas'; /** * Adds custom fields to the cases SO. @@ -59,3 +59,30 @@ export const modelVersion1: SavedObjectsModelVersion = { forwardCompatibility: casesSchemaV1.extends({}, { unknowns: 'ignore' }), }, }; + +/** + * Adds case observables to the cases SO. + */ +export const modelVersion2: SavedObjectsModelVersion = { + changes: [ + { + type: 'mappings_addition', + addedMappings: { + observables: { + type: 'nested', + properties: { + typeKey: { + type: 'keyword', + }, + value: { + type: 'keyword', + }, + }, + }, + }, + }, + ], + schemas: { + forwardCompatibility: casesSchemaV2.extends({}, { unknowns: 'ignore' }), + }, +}; diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/index.ts similarity index 86% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/index.ts index 85d9239f72dba..a38b3a1134911 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/index.ts +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/index.ts @@ -8,3 +8,4 @@ export * from './latest'; export { casesSchema as casesSchemaV1 } from './v1'; +export { casesSchema as casesSchemaV2 } from './v2'; diff --git a/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/latest.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/latest.ts new file mode 100644 index 0000000000000..a0841d392cbc1 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/latest.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export * from './v2'; diff --git a/x-pack/plugins/cases/server/saved_object_types/cases/schemas/v1.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v1.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases/schemas/v1.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v1.ts diff --git a/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v2.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v2.ts new file mode 100644 index 0000000000000..6368e08a621a7 --- /dev/null +++ b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases/schemas/v2.ts @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { schema } from '@kbn/config-schema'; + +import { casesSchema as casesSchemaV1 } from './v1'; + +export const casesSchema = casesSchemaV1.extends({ + observables: schema.maybe( + schema.nullable( + schema.arrayOf( + schema.object({ + id: schema.string(), + createdAt: schema.string(), + updatedAt: schema.nullable(schema.string()), + description: schema.nullable(schema.string()), + typeKey: schema.string(), + value: schema.any(), + }) + ) + ) + ), +}); diff --git a/x-pack/plugins/cases/server/saved_object_types/cases_rules.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/cases_rules.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/cases_rules.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/cases_rules.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/comments.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/comments.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/comments.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/configure.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/configure.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/configure.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/connector_mappings.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/import_export/export.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/import_export/export.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/import_export/export.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/import_export/export.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/cases.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/cases.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/cases.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/cases.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/cases.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/comments.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/comments.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/comments.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/comments.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/configuration.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/configuration.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/configuration.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/configuration.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/configuration.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/constants.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/constants.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/constants.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/alerts.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/assignees.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/assignees.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/connector_id.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/connector_id.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/constants.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/constants.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/constants.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/constants.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/index.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/index.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/payload.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/payload.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/severity.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/severity.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.test.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/migrations/utils.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/migrations/utils.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/migrations/utils.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/telemetry.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/telemetry.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/telemetry.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/telemetry.ts diff --git a/x-pack/plugins/cases/server/saved_object_types/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/saved_object_types/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/saved_object_types/user_actions.ts diff --git a/x-pack/plugins/cases/server/services/alerts/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/alerts/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/alerts/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/alerts/index.test.ts diff --git a/x-pack/plugins/cases/server/services/alerts/index.ts b/x-pack/platform/plugins/shared/cases/server/services/alerts/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/alerts/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/alerts/index.ts diff --git a/x-pack/plugins/cases/server/services/attachments/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/index.test.ts diff --git a/x-pack/plugins/cases/server/services/attachments/index.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/index.ts diff --git a/x-pack/plugins/cases/server/services/attachments/operations/get.test.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/operations/get.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.test.ts diff --git a/x-pack/plugins/cases/server/services/attachments/operations/get.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/operations/get.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/operations/get.ts diff --git a/x-pack/plugins/cases/server/services/attachments/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/test_utils.ts diff --git a/x-pack/plugins/cases/server/services/attachments/types.ts b/x-pack/platform/plugins/shared/cases/server/services/attachments/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/attachments/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/attachments/types.ts diff --git a/x-pack/plugins/cases/server/services/cases/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/index.test.ts similarity index 99% rename from x-pack/plugins/cases/server/services/cases/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/index.test.ts index 045701ce77aad..7fea2c6b27548 100644 --- a/x-pack/plugins/cases/server/services/cases/index.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/services/cases/index.test.ts @@ -238,6 +238,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -314,6 +315,7 @@ describe('CasesService', () => { "customFields": Array [], "description": "This is a brand new case of a bad meanie defacing data", "duration": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -838,6 +840,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -1058,6 +1061,7 @@ describe('CasesService', () => { "description": "This is a brand new case of a bad meanie defacing data", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -1690,6 +1694,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2202,7 +2207,8 @@ describe('CasesService', () => { 'connector', 'external_service', 'category', - 'customFields' + 'customFields', + 'observables' ); describe('getCaseIdsByAlertId', () => { @@ -2302,6 +2308,7 @@ describe('CasesService', () => { "description": "This is a brand new case of a bad meanie defacing data", "duration": null, "external_service": null, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2404,6 +2411,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2497,6 +2505,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2590,6 +2599,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2696,6 +2706,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2752,6 +2763,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2854,6 +2866,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, @@ -2972,6 +2985,7 @@ describe('CasesService', () => { "username": "elastic", }, }, + "observables": Array [], "owner": "securitySolution", "settings": Object { "syncAlerts": true, diff --git a/x-pack/plugins/cases/server/services/cases/index.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/cases/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/index.ts diff --git a/x-pack/plugins/cases/server/services/cases/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/transform.test.ts similarity index 93% rename from x-pack/plugins/cases/server/services/cases/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/transform.test.ts index e6dc9dfb48768..e267263ccb880 100644 --- a/x-pack/plugins/cases/server/services/cases/transform.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/services/cases/transform.test.ts @@ -582,5 +582,49 @@ describe('case transforms', () => { transformSavedObjectToExternalModel(CaseSOResponseWithoutCategory).attributes.category ).toBe('foobar'); }); + + it('returns observables array when it is defined', () => { + const CaseSOResponseWithObservables = createCaseSavedObjectResponse({ + overrides: { + observables: [ + { + id: '27318f00-334b-44b1-b29c-0cfaefbeeb8a', + value: 'test', + typeKey: 'c661b01e-24f5-44aa-a172-d5d219cd1bd4', + createdAt: '2024-11-07', + updatedAt: '2024-11-07', + description: '', + }, + ], + }, + }); + + expect( + transformSavedObjectToExternalModel(CaseSOResponseWithObservables).attributes.observables + ).toMatchInlineSnapshot(` + Array [ + Object { + "createdAt": "2024-11-07", + "description": "", + "id": "27318f00-334b-44b1-b29c-0cfaefbeeb8a", + "typeKey": "c661b01e-24f5-44aa-a172-d5d219cd1bd4", + "updatedAt": "2024-11-07", + "value": "test", + }, + ] + `); + }); + + it('returns observables array when it is not defined', () => { + const CaseSOResponseWithObservables = createCaseSavedObjectResponse({ + overrides: { + observables: undefined, + }, + }); + + expect( + transformSavedObjectToExternalModel(CaseSOResponseWithObservables).attributes.observables + ).toMatchInlineSnapshot(`Array []`); + }); }); }); diff --git a/x-pack/plugins/cases/server/services/cases/transform.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/transform.ts similarity index 97% rename from x-pack/plugins/cases/server/services/cases/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/transform.ts index 10eb6fc292323..9c95c1cab9e6d 100644 --- a/x-pack/plugins/cases/server/services/cases/transform.ts +++ b/x-pack/platform/plugins/shared/cases/server/services/cases/transform.ts @@ -181,6 +181,7 @@ export function transformSavedObjectToExternalModel( const customFields = !caseSavedObjectAttributes.customFields ? [] : (caseSavedObjectAttributes.customFields as CaseCustomFields); + const observables = caseSavedObjectAttributes.observables ?? []; return { ...caseSavedObject, @@ -192,12 +193,13 @@ export function transformSavedObjectToExternalModel( external_service: externalService, category, customFields, + observables, }, }; } function transformESExternalService( - // this type needs to match that of CaseFullExternalService except that it does not include the connector_id, see: x-pack/plugins/cases/common/api/cases/case.ts + // this type needs to match that of CaseFullExternalService except that it does not include the connector_id, see: x-pack/platform/plugins/shared/cases/common/api/cases/case.ts // that's why it can be null here externalService: ExternalServicePersisted | null | undefined, references: SavedObjectReference[] | undefined diff --git a/x-pack/plugins/cases/server/services/cases/types.ts b/x-pack/platform/plugins/shared/cases/server/services/cases/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/cases/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/cases/types.ts diff --git a/x-pack/plugins/cases/server/services/configure/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/index.test.ts similarity index 98% rename from x-pack/plugins/cases/server/services/configure/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/configure/index.test.ts index 627263de50849..751a6f4c9a25b 100644 --- a/x-pack/plugins/cases/server/services/configure/index.test.ts +++ b/x-pack/platform/plugins/shared/cases/server/services/configure/index.test.ts @@ -97,6 +97,12 @@ const basicConfigFields = { }, }, ], + observableTypes: [ + { + key: '011c2c4e-794f-4837-8d94-22b07722ab14', + label: 'test observable type', + }, + ], }; const createConfigUpdateParams = (connector?: CaseConnector): Partial => ({ @@ -241,6 +247,12 @@ describe('CaseConfigureService', () => { "type": "text", }, ], + "observableTypes": Array [ + Object { + "key": "011c2c4e-794f-4837-8d94-22b07722ab14", + "label": "test observable type", + }, + ], "owner": "securitySolution", "templates": Array [ Object { @@ -567,6 +579,12 @@ describe('CaseConfigureService', () => { "type": "text", }, ], + "observableTypes": Array [ + Object { + "key": "011c2c4e-794f-4837-8d94-22b07722ab14", + "label": "test observable type", + }, + ], "owner": "securitySolution", "templates": Array [ Object { diff --git a/x-pack/plugins/cases/server/services/configure/index.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/index.ts similarity index 97% rename from x-pack/plugins/cases/server/services/configure/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/configure/index.ts index f50ac271bc4ff..1eadc2a258d28 100644 --- a/x-pack/plugins/cases/server/services/configure/index.ts +++ b/x-pack/platform/plugins/shared/cases/server/services/configure/index.ts @@ -232,6 +232,11 @@ function transformToExternalModel( ? [] : (configuration.attributes.templates as ConfigurationTransformedAttributes['templates']); + const observableTypes = !configuration.attributes.observableTypes + ? [] + : (configuration.attributes + .observableTypes as ConfigurationTransformedAttributes['observableTypes']); + return { ...configuration, attributes: { @@ -239,6 +244,7 @@ function transformToExternalModel( connector, customFields, templates, + observableTypes, }, }; } diff --git a/x-pack/plugins/cases/server/services/configure/types.ts b/x-pack/platform/plugins/shared/cases/server/services/configure/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/configure/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/configure/types.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.test.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/index.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/index.ts diff --git a/x-pack/plugins/cases/server/services/connector_mappings/types.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_mappings/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_mappings/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_mappings/types.ts diff --git a/x-pack/plugins/cases/server/services/connector_reference_handler.test.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_reference_handler.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.test.ts diff --git a/x-pack/plugins/cases/server/services/connector_reference_handler.ts b/x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.ts similarity index 100% rename from x-pack/plugins/cases/server/services/connector_reference_handler.ts rename to x-pack/platform/plugins/shared/cases/server/services/connector_reference_handler.ts diff --git a/x-pack/plugins/cases/server/services/index.ts b/x-pack/platform/plugins/shared/cases/server/services/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/index.ts diff --git a/x-pack/plugins/cases/server/services/licensing.ts b/x-pack/platform/plugins/shared/cases/server/services/licensing.ts similarity index 100% rename from x-pack/plugins/cases/server/services/licensing.ts rename to x-pack/platform/plugins/shared/cases/server/services/licensing.ts diff --git a/x-pack/plugins/cases/server/services/mocks.ts b/x-pack/platform/plugins/shared/cases/server/services/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/services/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/services/mocks.ts diff --git a/x-pack/plugins/cases/server/services/notifications/email_notification_service.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/email_notification_service.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/email_notification_service.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/email_notification_service.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/email_notification_service.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/renderer.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/renderer.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/template.html b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.html similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/template.html rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.html diff --git a/x-pack/plugins/cases/server/services/notifications/templates/assignees/template.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/assignees/template.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/assignees/template.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.test.ts diff --git a/x-pack/plugins/cases/server/services/notifications/templates/utils.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/templates/utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/templates/utils.ts diff --git a/x-pack/plugins/cases/server/services/notifications/types.ts b/x-pack/platform/plugins/shared/cases/server/services/notifications/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/notifications/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/notifications/types.ts diff --git a/x-pack/plugins/cases/server/services/so_reference_extractor.test.ts b/x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_reference_extractor.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.test.ts diff --git a/x-pack/plugins/cases/server/services/so_reference_extractor.ts b/x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_reference_extractor.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_reference_extractor.ts diff --git a/x-pack/plugins/cases/server/services/so_references.test.ts b/x-pack/platform/plugins/shared/cases/server/services/so_references.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_references.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_references.test.ts diff --git a/x-pack/plugins/cases/server/services/so_references.ts b/x-pack/platform/plugins/shared/cases/server/services/so_references.ts similarity index 100% rename from x-pack/plugins/cases/server/services/so_references.ts rename to x-pack/platform/plugins/shared/cases/server/services/so_references.ts diff --git a/x-pack/plugins/cases/server/services/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/test_utils.ts similarity index 99% rename from x-pack/plugins/cases/server/services/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/test_utils.ts index cd0f16d66e4cb..c37fe87ee7088 100644 --- a/x-pack/plugins/cases/server/services/test_utils.ts +++ b/x-pack/platform/plugins/shared/cases/server/services/test_utils.ts @@ -165,6 +165,7 @@ export const basicCaseFields: CaseAttributes = { assignees: [], category: null, customFields: [], + observables: [], }; export const createCaseSavedObjectResponse = ({ diff --git a/x-pack/plugins/cases/server/services/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/transform.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/transform.test.ts diff --git a/x-pack/plugins/cases/server/services/transform.ts b/x-pack/platform/plugins/shared/cases/server/services/transform.ts similarity index 100% rename from x-pack/plugins/cases/server/services/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/transform.ts diff --git a/x-pack/plugins/cases/server/services/type_guards.ts b/x-pack/platform/plugins/shared/cases/server/services/type_guards.ts similarity index 100% rename from x-pack/plugins/cases/server/services/type_guards.ts rename to x-pack/platform/plugins/shared/cases/server/services/type_guards.ts diff --git a/x-pack/plugins/cases/server/services/types.ts b/x-pack/platform/plugins/shared/cases/server/services/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/types.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/audit_logger.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/index.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/index.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/index.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/index.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/__snapshots__/transform.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/abstract_builder.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/abstract_builder.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/abstract_builder.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/abstract_builder.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/audit_logger.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/audit_logger.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/audit_logger.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/audit_logger.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/audit_logger.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builder_factory.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builder_factory.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builder_factory.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builder_factory.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builder_factory.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/assignees.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/assignees.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/assignees.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/assignees.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/audit_logger_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/audit_logger_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/audit_logger_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/audit_logger_utils.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/category.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/category.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/category.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/category.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/comment.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/comment.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/comment.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/comment.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/connector.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/connector.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/connector.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/connector.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/create_case.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/create_case.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/create_case.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/create_case.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/custom_fields.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/custom_fields.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/description.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/description.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/description.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/description.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/noop.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/noop.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/noop.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/noop.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/pushed.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/pushed.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/pushed.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/pushed.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/settings.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/settings.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/settings.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/settings.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/severity.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/severity.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/severity.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/severity.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/status.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/status.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/status.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/status.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/tags.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/tags.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/tags.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/tags.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/builders/title.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/title.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/builders/title.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/builders/title.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/index.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/index.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/index.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/mocks.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/mocks.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/mocks.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/mocks.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/__snapshots__/find.test.ts.snap diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/create.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/create.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/create.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/create.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/create.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/find.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/find.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/operations/find.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/operations/find.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/operations/find.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/test_utils.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/test_utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/test_utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/test_utils.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/transform.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/transform.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/transform.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/transform.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/transform.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/type_guards.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.test.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/type_guards.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/type_guards.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/type_guards.ts diff --git a/x-pack/plugins/cases/server/services/user_actions/types.ts b/x-pack/platform/plugins/shared/cases/server/services/user_actions/types.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_actions/types.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_actions/types.ts diff --git a/x-pack/plugins/cases/server/services/user_profiles/index.test.ts b/x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_profiles/index.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.test.ts diff --git a/x-pack/plugins/cases/server/services/user_profiles/index.ts b/x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts similarity index 100% rename from x-pack/plugins/cases/server/services/user_profiles/index.ts rename to x-pack/platform/plugins/shared/cases/server/services/user_profiles/index.ts diff --git a/x-pack/plugins/cases/server/services/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/services/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/services/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/services/utils.test.ts diff --git a/x-pack/plugins/cases/server/services/utils.ts b/x-pack/platform/plugins/shared/cases/server/services/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/services/utils.ts rename to x-pack/platform/plugins/shared/cases/server/services/utils.ts diff --git a/x-pack/plugins/cases/server/telemetry/collect_telemetry_data.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/collect_telemetry_data.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/collect_telemetry_data.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/collect_telemetry_data.ts diff --git a/x-pack/plugins/cases/server/telemetry/index.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/index.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/index.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/index.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/alerts.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/alerts.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/alerts.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/alerts.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/alerts.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/case_system_action.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/case_system_action.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/case_system_action.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/case_system_action.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/case_system_action.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/cases.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/cases.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/cases.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/cases.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/cases.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/comments.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/comments.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/comments.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/comments.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/comments.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/configuration.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/configuration.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/configuration.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/configuration.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/configuration.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/connectors.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/connectors.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/connectors.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/connectors.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/connectors.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/push.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/push.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/push.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/push.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/push.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/user_actions.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/user_actions.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/user_actions.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/user_actions.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/user_actions.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/utils.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/utils.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/queries/utils.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/queries/utils.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/queries/utils.ts diff --git a/x-pack/plugins/cases/server/telemetry/schedule_telemetry_task.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/schedule_telemetry_task.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/schedule_telemetry_task.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/schedule_telemetry_task.ts diff --git a/x-pack/plugins/cases/server/telemetry/schema.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/schema.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/schema.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/schema.ts diff --git a/x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.test.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.test.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.test.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.test.ts diff --git a/x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/telemetry_saved_objects_client.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/telemetry_saved_objects_client.ts diff --git a/x-pack/plugins/cases/server/telemetry/types.ts b/x-pack/platform/plugins/shared/cases/server/telemetry/types.ts similarity index 100% rename from x-pack/plugins/cases/server/telemetry/types.ts rename to x-pack/platform/plugins/shared/cases/server/telemetry/types.ts diff --git a/x-pack/plugins/cases/server/types.ts b/x-pack/platform/plugins/shared/cases/server/types.ts similarity index 100% rename from x-pack/plugins/cases/server/types.ts rename to x-pack/platform/plugins/shared/cases/server/types.ts diff --git a/x-pack/plugins/cases/tsconfig.json b/x-pack/platform/plugins/shared/cases/tsconfig.json similarity index 96% rename from x-pack/plugins/cases/tsconfig.json rename to x-pack/platform/plugins/shared/cases/tsconfig.json index 2a77cb0e7b5a1..9a334a1df1828 100644 --- a/x-pack/plugins/cases/tsconfig.json +++ b/x-pack/platform/plugins/shared/cases/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -7,7 +7,7 @@ "common/**/*", "public/**/*", "server/**/*", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/plugins/dashboard_enhanced/.storybook/main.js b/x-pack/platform/plugins/shared/dashboard_enhanced/.storybook/main.js similarity index 100% rename from x-pack/plugins/dashboard_enhanced/.storybook/main.js rename to x-pack/platform/plugins/shared/dashboard_enhanced/.storybook/main.js diff --git a/x-pack/plugins/dashboard_enhanced/README.asciidoc b/x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc similarity index 100% rename from x-pack/plugins/dashboard_enhanced/README.asciidoc rename to x-pack/platform/plugins/shared/dashboard_enhanced/README.asciidoc diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts similarity index 84% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts index e763d34bc3cb5..68f80f364a744 100644 --- a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/constants.ts @@ -10,6 +10,6 @@ * STORED IN SAVED OBJECTS. * * Also temporary dashboard drilldown migration code inside embeddable plugin relies on it - * x-pack/plugins/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts + * x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts */ export const EMBEDDABLE_TO_DASHBOARD_DRILLDOWN = 'DASHBOARD_TO_DASHBOARD_DRILLDOWN'; diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.test.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/dashboard_drilldown_persistable_state.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/dashboard_drilldown/types.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/drilldowns/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/common/drilldowns/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/drilldowns/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/common/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts similarity index 87% rename from x-pack/plugins/dashboard_enhanced/common/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts index 0033253d720a7..35d241f19a443 100644 --- a/x-pack/plugins/dashboard_enhanced/common/index.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/common/index.ts @@ -6,6 +6,5 @@ */ // TODO: https://github.com/elastic/kibana/issues/110897 -/* eslint-disable @kbn/eslint/no_export_all */ export * from './drilldowns'; diff --git a/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js new file mode 100644 index 0000000000000..00627bd90221e --- /dev/null +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/dashboard_enhanced'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/dashboard_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/dashboard_enhanced/kibana.jsonc b/x-pack/platform/plugins/shared/dashboard_enhanced/kibana.jsonc similarity index 100% rename from x-pack/plugins/dashboard_enhanced/kibana.jsonc rename to x-pack/platform/plugins/shared/dashboard_enhanced/kibana.jsonc diff --git a/x-pack/plugins/dashboard_enhanced/public/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/mocks.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/mocks.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/mocks.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/plugin.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/plugin.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/plugin.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/abstract_dashboard_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/collect_config_container.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/dashboard_drilldown_config.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/dashboard_drilldown_config/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/types.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/drilldown_shared.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/flyout_edit_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/i18n.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/index.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/flyout_edit_drilldown/menu_item.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/actions/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/dashboard_drilldowns_services.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts similarity index 84% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts index e763d34bc3cb5..68f80f364a744 100644 --- a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/constants.ts @@ -10,6 +10,6 @@ * STORED IN SAVED OBJECTS. * * Also temporary dashboard drilldown migration code inside embeddable plugin relies on it - * x-pack/plugins/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts + * x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/embeddable_action_storage.ts */ export const EMBEDDABLE_TO_DASHBOARD_DRILLDOWN = 'DASHBOARD_TO_DASHBOARD_DRILLDOWN'; diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/drilldowns/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/drilldowns/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/public/services/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/public/services/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/public/services/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/server/index.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/server/index.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/server/index.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/server/index.ts diff --git a/x-pack/plugins/dashboard_enhanced/server/plugin.ts b/x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts similarity index 100% rename from x-pack/plugins/dashboard_enhanced/server/plugin.ts rename to x-pack/platform/plugins/shared/dashboard_enhanced/server/plugin.ts diff --git a/x-pack/plugins/dashboard_enhanced/tsconfig.json b/x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json similarity index 93% rename from x-pack/plugins/dashboard_enhanced/tsconfig.json rename to x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json index 6663b6096e27c..b8026be8652b2 100644 --- a/x-pack/plugins/dashboard_enhanced/tsconfig.json +++ b/x-pack/platform/plugins/shared/dashboard_enhanced/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, diff --git a/x-pack/plugins/embeddable_enhanced/README.asciidoc b/x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc similarity index 100% rename from x-pack/plugins/embeddable_enhanced/README.asciidoc rename to x-pack/platform/plugins/shared/embeddable_enhanced/README.asciidoc diff --git a/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js b/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js new file mode 100644 index 0000000000000..b36f4f6f57ccd --- /dev/null +++ b/x-pack/platform/plugins/shared/embeddable_enhanced/jest.config.js @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/embeddable_enhanced'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/embeddable_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/embeddable_enhanced/public/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/embeddable_enhanced/kibana.jsonc b/x-pack/platform/plugins/shared/embeddable_enhanced/kibana.jsonc similarity index 100% rename from x-pack/plugins/embeddable_enhanced/kibana.jsonc rename to x-pack/platform/plugins/shared/embeddable_enhanced/kibana.jsonc diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.test.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/dynamic_action_storage.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/index.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/index.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/index.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/index.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/embeddables/interfaces/has_dynamic_actions.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.test.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.test.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.test.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.test.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/get_dynamic_actions_state.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/get_dynamic_actions_state.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/index.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/index.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/index.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/index.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/mocks.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/mocks.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/mocks.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/mocks.ts diff --git a/x-pack/plugins/embeddable_enhanced/public/plugin.ts b/x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts similarity index 100% rename from x-pack/plugins/embeddable_enhanced/public/plugin.ts rename to x-pack/platform/plugins/shared/embeddable_enhanced/public/plugin.ts diff --git a/x-pack/plugins/embeddable_enhanced/tsconfig.json b/x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json similarity index 87% rename from x-pack/plugins/embeddable_enhanced/tsconfig.json rename to x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json index a065672b9162a..686878ff9b6fd 100644 --- a/x-pack/plugins/embeddable_enhanced/tsconfig.json +++ b/x-pack/platform/plugins/shared/embeddable_enhanced/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/event_log/README.md b/x-pack/platform/plugins/shared/event_log/README.md similarity index 98% rename from x-pack/plugins/event_log/README.md rename to x-pack/platform/plugins/shared/event_log/README.md index ae2117fcd8ad4..7d192517db65d 100644 --- a/x-pack/plugins/event_log/README.md +++ b/x-pack/platform/plugins/shared/event_log/README.md @@ -216,7 +216,7 @@ connector. ## Event Log index - associated resources The index template and ILM policy are defined in the file -[`x-pack/plugins/event_log/server/es/documents.ts`](server/es/documents.ts). +[`x-pack/platform/plugins/shared/event_log/server/es/documents.ts`](server/es/documents.ts). See [ILM rollover action docs][] for more information on the `is_write_index` and `index.lifecycle.*` properties. @@ -305,7 +305,7 @@ See `QueryEventsBySavedObjectResult` in the Plugin Client APIs below. ## Plugin Client APIs for querying All APIs available for querying the event log are described in -[`x-pack/plugins/event_log/server/types.ts`](server/types.ts), via the +[`x-pack/platform/plugins/shared/event_log/server/types.ts`](server/types.ts), via the `IEventLogClient` interface, which is obtained at plugin start. ## Generating Events @@ -327,7 +327,7 @@ service API provided in the `setup` stage: ```typescript ... -import { IEventLogger, IEventLogService } from '../../event_log/server'; +import { IEventLogger, IEventLogService } from '../../../../event_log/server'; interface PluginSetupDependencies { eventLog: IEventLogService; } @@ -436,7 +436,7 @@ These plugins must call `getClient(request)` to get the event log client. Documentation: https://www.elastic.co/guide/en/kibana/current/development-tests.html#_unit_testing ``` -yarn test:jest x-pack/plugins/event_log --watch +yarn test:jest x-pack/platform/plugins/shared/event_log --watch ``` ### API Integration tests diff --git a/x-pack/plugins/event_log/common/index.ts b/x-pack/platform/plugins/shared/event_log/common/index.ts similarity index 100% rename from x-pack/plugins/event_log/common/index.ts rename to x-pack/platform/plugins/shared/event_log/common/index.ts diff --git a/x-pack/plugins/event_log/common/lib/index.ts b/x-pack/platform/plugins/shared/event_log/common/lib/index.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/index.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/index.ts diff --git a/x-pack/plugins/event_log/common/lib/millis_to_nanos.test.ts b/x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.test.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/millis_to_nanos.test.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.test.ts diff --git a/x-pack/plugins/event_log/common/lib/millis_to_nanos.ts b/x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/millis_to_nanos.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/millis_to_nanos.ts diff --git a/x-pack/plugins/event_log/common/lib/nanos_to_millis.test.ts b/x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.test.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/nanos_to_millis.test.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.test.ts diff --git a/x-pack/plugins/event_log/common/lib/nanos_to_millis.ts b/x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts similarity index 100% rename from x-pack/plugins/event_log/common/lib/nanos_to_millis.ts rename to x-pack/platform/plugins/shared/event_log/common/lib/nanos_to_millis.ts diff --git a/x-pack/plugins/event_log/generated/README.md b/x-pack/platform/plugins/shared/event_log/generated/README.md similarity index 83% rename from x-pack/plugins/event_log/generated/README.md rename to x-pack/platform/plugins/shared/event_log/generated/README.md index befec1e98d193..a836ac208ecc6 100644 --- a/x-pack/plugins/event_log/generated/README.md +++ b/x-pack/platform/plugins/shared/event_log/generated/README.md @@ -11,7 +11,7 @@ Please follow the following steps: resides along side your kibana repo, and checkout the ECS version you wish to support (for example, the `1.8` branch, for version 1.8). -2. In the `x-pack/plugins/event_log/scripts/mappings.js` file you'll want to +2. In the `x-pack/platform/plugins/shared/event_log/scripts/mappings.js` file you'll want to make the following changes: - Update `EcsCustomPropertyMappings` to include the mapping of the custom fields you wish to add. @@ -22,5 +22,5 @@ Please follow the following steps: 3. Cd to the `kibana` root folder and run: ```sh - node ./x-pack/plugins/event_log/scripts/create_schemas.js + node ./x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js ``` diff --git a/x-pack/plugins/event_log/generated/mappings.json b/x-pack/platform/plugins/shared/event_log/generated/mappings.json similarity index 100% rename from x-pack/plugins/event_log/generated/mappings.json rename to x-pack/platform/plugins/shared/event_log/generated/mappings.json diff --git a/x-pack/plugins/event_log/generated/schemas.ts b/x-pack/platform/plugins/shared/event_log/generated/schemas.ts similarity index 100% rename from x-pack/plugins/event_log/generated/schemas.ts rename to x-pack/platform/plugins/shared/event_log/generated/schemas.ts diff --git a/x-pack/plugins/dashboard_enhanced/jest.config.js b/x-pack/platform/plugins/shared/event_log/jest.config.js similarity index 59% rename from x-pack/plugins/dashboard_enhanced/jest.config.js rename to x-pack/platform/plugins/shared/event_log/jest.config.js index 86ae949431e69..adfe08749ce77 100644 --- a/x-pack/plugins/dashboard_enhanced/jest.config.js +++ b/x-pack/platform/plugins/shared/event_log/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/dashboard_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/dashboard_enhanced', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/event_log'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/event_log', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/platform/plugins/shared/event_log/{common,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/platform/plugins/shared/event_log/jest.integration.config.js b/x-pack/platform/plugins/shared/event_log/jest.integration.config.js new file mode 100644 index 0000000000000..57df89997d912 --- /dev/null +++ b/x-pack/platform/plugins/shared/event_log/jest.integration.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test/jest_integration', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/event_log'], +}; diff --git a/x-pack/plugins/event_log/kibana.jsonc b/x-pack/platform/plugins/shared/event_log/kibana.jsonc similarity index 100% rename from x-pack/plugins/event_log/kibana.jsonc rename to x-pack/platform/plugins/shared/event_log/kibana.jsonc diff --git a/x-pack/plugins/event_log/scripts/create_schemas.js b/x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js similarity index 99% rename from x-pack/plugins/event_log/scripts/create_schemas.js rename to x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js index 6ba8df5e0d46d..7e4dded27f1aa 100755 --- a/x-pack/plugins/event_log/scripts/create_schemas.js +++ b/x-pack/platform/plugins/shared/event_log/scripts/create_schemas.js @@ -254,7 +254,7 @@ function getEcsVersion(ecsDir) { } function getEcsDir() { - const ecsDir = path.resolve(path.join(__dirname, '../../../../../ecs')); + const ecsDir = path.resolve(path.join(__dirname, '../../../../../../../ecs')); let stats; let error; diff --git a/x-pack/plugins/event_log/scripts/lib/line_writer.js b/x-pack/platform/plugins/shared/event_log/scripts/lib/line_writer.js similarity index 100% rename from x-pack/plugins/event_log/scripts/lib/line_writer.js rename to x-pack/platform/plugins/shared/event_log/scripts/lib/line_writer.js diff --git a/x-pack/plugins/event_log/scripts/mappings.js b/x-pack/platform/plugins/shared/event_log/scripts/mappings.js similarity index 100% rename from x-pack/plugins/event_log/scripts/mappings.js rename to x-pack/platform/plugins/shared/event_log/scripts/mappings.js diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.mock.ts diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts similarity index 99% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts index 4e8e43352f454..1d8105d2be49b 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.test.ts @@ -626,7 +626,7 @@ describe('createDataStream', () => { test(`shouldn't throw when an error of type resource_already_exists_exception is thrown`, async () => { // ElasticsearchError can be a bit random in shape, we need an any here - // eslint-disable-next-line @typescript-eslint/no-explicit-any + const err = new Error('Already exists') as any; err.body = { error: { diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts similarity index 99% rename from x-pack/plugins/event_log/server/es/cluster_client_adapter.ts rename to x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts index 7076336c0c760..1eb0f482e1d0b 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/cluster_client_adapter.ts @@ -93,7 +93,6 @@ type GetQueryBodyWithAuthFilterOpts = }) | AggregateEventsWithAuthFilter; -// eslint-disable-next-line @typescript-eslint/no-explicit-any type AliasAny = any; const LEGACY_ID_CUTOFF_VERSION = '8.0.0'; diff --git a/x-pack/plugins/event_log/server/es/context.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/context.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.mock.ts diff --git a/x-pack/plugins/event_log/server/es/context.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.test.ts similarity index 98% rename from x-pack/plugins/event_log/server/es/context.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.test.ts index 19789e0e8dc3c..4523a992df5be 100644 --- a/x-pack/plugins/event_log/server/es/context.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/context.test.ts @@ -11,7 +11,7 @@ import { elasticsearchServiceMock, loggingSystemMock } from '@kbn/core/server/mo import { createReadySignal } from '../lib/ready_signal'; import { GetDataStreamsResponse } from './cluster_client_adapter.test'; -jest.mock('../../../../package.json', () => ({ version: '1.2.3' })); +jest.mock('../../../../../../package.json', () => ({ version: '1.2.3' })); jest.mock('./init'); jest.mock('../lib/ready_signal', () => { const createReadySignalActual = jest.requireActual('../lib/ready_signal'); diff --git a/x-pack/plugins/event_log/server/es/context.ts b/x-pack/platform/plugins/shared/event_log/server/es/context.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/context.ts rename to x-pack/platform/plugins/shared/event_log/server/es/context.ts diff --git a/x-pack/plugins/event_log/server/es/documents.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/documents.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/documents.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/documents.test.ts diff --git a/x-pack/plugins/event_log/server/es/documents.ts b/x-pack/platform/plugins/shared/event_log/server/es/documents.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/documents.ts rename to x-pack/platform/plugins/shared/event_log/server/es/documents.ts diff --git a/x-pack/plugins/event_log/server/es/index.ts b/x-pack/platform/plugins/shared/event_log/server/es/index.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/index.ts rename to x-pack/platform/plugins/shared/event_log/server/es/index.ts diff --git a/x-pack/plugins/event_log/server/es/init.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/init.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/init.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/init.test.ts diff --git a/x-pack/plugins/event_log/server/es/init.ts b/x-pack/platform/plugins/shared/event_log/server/es/init.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/init.ts rename to x-pack/platform/plugins/shared/event_log/server/es/init.ts diff --git a/x-pack/plugins/event_log/server/es/names.mock.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/names.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.mock.ts diff --git a/x-pack/plugins/event_log/server/es/names.test.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.test.ts similarity index 92% rename from x-pack/plugins/event_log/server/es/names.test.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.test.ts index a01fa5961e5ce..5bd389469ed8d 100644 --- a/x-pack/plugins/event_log/server/es/names.test.ts +++ b/x-pack/platform/plugins/shared/event_log/server/es/names.test.ts @@ -7,7 +7,7 @@ import { getEsNames } from './names'; -jest.mock('../../../../package.json', () => ({ +jest.mock('../../../../../../package.json', () => ({ version: '1.2.3', })); diff --git a/x-pack/plugins/event_log/server/es/names.ts b/x-pack/platform/plugins/shared/event_log/server/es/names.ts similarity index 100% rename from x-pack/plugins/event_log/server/es/names.ts rename to x-pack/platform/plugins/shared/event_log/server/es/names.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_client.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_client.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_client.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_client.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_service.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_service.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_service.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_service.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.mock.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.test.ts diff --git a/x-pack/plugins/event_log/server/event_log_start_service.ts b/x-pack/platform/plugins/shared/event_log/server/event_log_start_service.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_log_start_service.ts rename to x-pack/platform/plugins/shared/event_log/server/event_log_start_service.ts diff --git a/x-pack/plugins/event_log/server/event_logger.mock.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.mock.ts diff --git a/x-pack/plugins/event_log/server/event_logger.test.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.test.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.test.ts diff --git a/x-pack/plugins/event_log/server/event_logger.ts b/x-pack/platform/plugins/shared/event_log/server/event_logger.ts similarity index 100% rename from x-pack/plugins/event_log/server/event_logger.ts rename to x-pack/platform/plugins/shared/event_log/server/event_logger.ts diff --git a/x-pack/plugins/event_log/server/index.ts b/x-pack/platform/plugins/shared/event_log/server/index.ts similarity index 100% rename from x-pack/plugins/event_log/server/index.ts rename to x-pack/platform/plugins/shared/event_log/server/index.ts diff --git a/x-pack/plugins/event_log/server/integration_tests/event_log_update_mappings.test.ts b/x-pack/platform/plugins/shared/event_log/server/integration_tests/event_log_update_mappings.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/integration_tests/event_log_update_mappings.test.ts rename to x-pack/platform/plugins/shared/event_log/server/integration_tests/event_log_update_mappings.test.ts diff --git a/x-pack/plugins/event_log/server/integration_tests/lib/setup_test_servers.ts b/x-pack/platform/plugins/shared/event_log/server/integration_tests/lib/setup_test_servers.ts similarity index 100% rename from x-pack/plugins/event_log/server/integration_tests/lib/setup_test_servers.ts rename to x-pack/platform/plugins/shared/event_log/server/integration_tests/lib/setup_test_servers.ts diff --git a/x-pack/plugins/event_log/server/lib/delay.test.ts b/x-pack/platform/plugins/shared/event_log/server/lib/delay.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/delay.test.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/delay.test.ts diff --git a/x-pack/plugins/event_log/server/lib/delay.ts b/x-pack/platform/plugins/shared/event_log/server/lib/delay.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/delay.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/delay.ts diff --git a/x-pack/plugins/event_log/server/lib/ready_signal.test.ts b/x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/ready_signal.test.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.test.ts diff --git a/x-pack/plugins/event_log/server/lib/ready_signal.ts b/x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.ts similarity index 100% rename from x-pack/plugins/event_log/server/lib/ready_signal.ts rename to x-pack/platform/plugins/shared/event_log/server/lib/ready_signal.ts diff --git a/x-pack/plugins/event_log/server/mocks.ts b/x-pack/platform/plugins/shared/event_log/server/mocks.ts similarity index 100% rename from x-pack/plugins/event_log/server/mocks.ts rename to x-pack/platform/plugins/shared/event_log/server/mocks.ts diff --git a/x-pack/plugins/event_log/server/plugin.test.ts b/x-pack/platform/plugins/shared/event_log/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/plugin.test.ts rename to x-pack/platform/plugins/shared/event_log/server/plugin.test.ts diff --git a/x-pack/plugins/event_log/server/plugin.ts b/x-pack/platform/plugins/shared/event_log/server/plugin.ts similarity index 100% rename from x-pack/plugins/event_log/server/plugin.ts rename to x-pack/platform/plugins/shared/event_log/server/plugin.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.mock.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.mock.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.mock.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.mock.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.test.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.test.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.test.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.test.ts diff --git a/x-pack/plugins/event_log/server/saved_object_provider_registry.ts b/x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.ts similarity index 100% rename from x-pack/plugins/event_log/server/saved_object_provider_registry.ts rename to x-pack/platform/plugins/shared/event_log/server/saved_object_provider_registry.ts diff --git a/x-pack/plugins/event_log/server/types.ts b/x-pack/platform/plugins/shared/event_log/server/types.ts similarity index 100% rename from x-pack/plugins/event_log/server/types.ts rename to x-pack/platform/plugins/shared/event_log/server/types.ts diff --git a/x-pack/plugins/event_log/tsconfig.json b/x-pack/platform/plugins/shared/event_log/tsconfig.json similarity index 92% rename from x-pack/plugins/event_log/tsconfig.json rename to x-pack/platform/plugins/shared/event_log/tsconfig.json index 65ccb4cf3b11c..fdc743f8f5631 100644 --- a/x-pack/plugins/event_log/tsconfig.json +++ b/x-pack/platform/plugins/shared/event_log/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/fleet/.gitignore b/x-pack/platform/plugins/shared/fleet/.gitignore similarity index 100% rename from x-pack/plugins/fleet/.gitignore rename to x-pack/platform/plugins/shared/fleet/.gitignore diff --git a/x-pack/plugins/fleet/.storybook/context/application.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/application.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/application.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/application.ts diff --git a/x-pack/plugins/fleet/.storybook/context/chrome.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/chrome.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/chrome.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/chrome.ts diff --git a/x-pack/plugins/fleet/.storybook/context/cloud.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/cloud.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/cloud.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/cloud.ts diff --git a/x-pack/plugins/fleet/.storybook/context/custom_branding.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/custom_branding.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/custom_branding.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/custom_branding.ts diff --git a/x-pack/plugins/fleet/.storybook/context/doc_links.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/doc_links.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/doc_links.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/doc_links.ts diff --git a/x-pack/plugins/fleet/.storybook/context/execution_context.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/execution_context.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/execution_context.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/execution_context.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/categories.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/categories.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/categories.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/categories.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/integration.nginx.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/integration.nginx.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/integration.nginx.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/integration.nginx.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/integration.okta.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/integration.okta.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/integration.okta.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/integration.okta.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/packages.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/packages.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/packages.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/packages.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/readme.nginx.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/readme.nginx.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/readme.nginx.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/readme.nginx.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/readme.okta.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/readme.okta.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/readme.okta.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/readme.okta.ts diff --git a/x-pack/plugins/fleet/.storybook/context/fixtures/replacement_integrations.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/replacement_integrations.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/fixtures/replacement_integrations.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/fixtures/replacement_integrations.ts diff --git a/x-pack/plugins/fleet/.storybook/context/http.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/http.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/http.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/http.ts diff --git a/x-pack/plugins/fleet/.storybook/context/index.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/context/index.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/index.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/context/index.tsx diff --git a/x-pack/plugins/fleet/.storybook/context/notifications.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/notifications.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/notifications.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/notifications.ts diff --git a/x-pack/plugins/fleet/.storybook/context/share.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/share.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/share.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/share.ts diff --git a/x-pack/plugins/fleet/.storybook/context/stubs.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/context/stubs.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/stubs.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/context/stubs.tsx diff --git a/x-pack/plugins/fleet/.storybook/context/ui_settings.ts b/x-pack/platform/plugins/shared/fleet/.storybook/context/ui_settings.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/context/ui_settings.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/context/ui_settings.ts diff --git a/x-pack/plugins/fleet/.storybook/decorator.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/decorator.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/decorator.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/decorator.tsx diff --git a/x-pack/plugins/fleet/.storybook/main.ts b/x-pack/platform/plugins/shared/fleet/.storybook/main.ts similarity index 100% rename from x-pack/plugins/fleet/.storybook/main.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/main.ts diff --git a/x-pack/plugins/fleet/.storybook/manager.ts b/x-pack/platform/plugins/shared/fleet/.storybook/manager.ts similarity index 94% rename from x-pack/plugins/fleet/.storybook/manager.ts rename to x-pack/platform/plugins/shared/fleet/.storybook/manager.ts index 193364f06a62e..7e77a6dd29e2d 100644 --- a/x-pack/plugins/fleet/.storybook/manager.ts +++ b/x-pack/platform/plugins/shared/fleet/.storybook/manager.ts @@ -13,7 +13,7 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'Kibana Fleet Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet', + brandUrl: 'https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet', }), showPanel: true.valueOf, selectedPanel: PANEL_ID, diff --git a/x-pack/plugins/fleet/.storybook/preview.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/preview.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/preview.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/preview.tsx diff --git a/x-pack/plugins/fleet/.storybook/smoke.test.tsx b/x-pack/platform/plugins/shared/fleet/.storybook/smoke.test.tsx similarity index 100% rename from x-pack/plugins/fleet/.storybook/smoke.test.tsx rename to x-pack/platform/plugins/shared/fleet/.storybook/smoke.test.tsx diff --git a/x-pack/plugins/fleet/CHANGELOG.md b/x-pack/platform/plugins/shared/fleet/CHANGELOG.md similarity index 100% rename from x-pack/plugins/fleet/CHANGELOG.md rename to x-pack/platform/plugins/shared/fleet/CHANGELOG.md diff --git a/x-pack/plugins/fleet/README.md b/x-pack/platform/plugins/shared/fleet/README.md similarity index 94% rename from x-pack/plugins/fleet/README.md rename to x-pack/platform/plugins/shared/fleet/README.md index d033e857b5ebd..f20d22625e776 100644 --- a/x-pack/plugins/fleet/README.md +++ b/x-pack/platform/plugins/shared/fleet/README.md @@ -8,7 +8,7 @@ Official documentation: https://www.elastic.co/guide/en/fleet/current/index.html The Fleet plugin is enabled by default. The Fleet API and UI can be disabled by setting the `xpack.fleet.agents.enabled` Kibana setting to `false`. -Available Fleet settings are listed in the [official documentation](https://www.elastic.co/guide/en/kibana/current/fleet-settings-kb.html). For an exhaustive list including internal settings, refer to the [FleetConfigType](https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/common/types/index.ts) type definition. +Available Fleet settings are listed in the [official documentation](https://www.elastic.co/guide/en/kibana/current/fleet-settings-kb.html). For an exhaustive list including internal settings, refer to the [FleetConfigType](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/common/types/index.ts) type definition. This plugin follows the `common`, `server`, `public` structure described in the [Kibana Developer Guide](https://docs.elastic.dev/kibana-dev-docs/key-concepts/platform-intro). Refer to [The anatomy of a plugin](https://docs.elastic.dev/kibana-dev-docs/key-concepts/anatomy-of-a-plugin) in the guide for further details. @@ -130,13 +130,13 @@ Note: if you need to do simultaneous Kibana and Fleet Server development, refer Kibana primarily uses Jest for unit testing. Each plugin or package defines a `jest.config.js` that extends a preset provided by the `@kbn/test` package. Unless you intend to run all unit tests within the project, you should provide the Jest configuration for Fleet. The following command runs all Fleet unit tests: ```sh -yarn jest --config x-pack/plugins/fleet/jest.config.js +yarn jest --config x-pack/platform/plugins/shared/fleet/jest.config.js ``` You can also run a specific test by passing the filepath as an argument, e.g.: ```sh -yarn jest --config x-pack/plugins/fleet/jest.config.js x-pack/plugins/fleet/common/services/validate_package_policy.test.ts +yarn jest --config x-pack/platform/plugins/shared/fleet/jest.config.js x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts ``` #### API integration tests (stateful) @@ -213,13 +213,13 @@ Note: Docker needs to be running to run these tests. Run the tests from the Kibana root folder with: ```sh -node scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/ +node scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/ ``` Running the tests with [Node Inspector](https://nodejs.org/en/learn/getting-started/debugging) allows inspecting Elasticsearch indices. To do this, add a `debugger;` statement in the test (cf. [Jest documentation](https://jestjs.io/docs/troubleshooting)) and run `node` with `--inspect` or `--inspect-brk`: ```sh -node --inspect scripts/jest_integration.js x-pack/plugins/fleet/server/integration_tests/ +node --inspect scripts/jest_integration.js x-pack/platform/plugins/shared/fleet/server/integration_tests/ ``` ### Storybook @@ -250,7 +250,7 @@ The projects below are dependent on Fleet, most using Fleet API as well. In case Fleet supports shipping integrations as `.zip` archives with Kibana's source code through a concept referred to as _bundled packages_. This allows integrations like APM, which is enabled by default in Cloud, to reliably provide upgrade paths without internet access, and generally improves stability around Fleet's installation/setup processes for several common integrations. -The set of bundled packages included with Kibana is dictated by a top-level `fleet_packages.json` file in the Kibana repo. This file includes a list of packages with a pinned version that Kibana will consider bundled. When the Kibana distributable is built, a [build task](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/bundle_fleet_packages.ts) will resolve these packages from the Elastic Package Registry, download the appropriate version as a `.zip` archive, and place it in a directory configurable by a `xpack.fleet.bundledPackageLocation` value in `kibana.yml`. By default, these archives are stored in `x-pack/plugins/fleet/.target/bundled_packages/`. In CI/CD, we [override](https://github.com/elastic/kibana/blob/main/x-pack/test/fleet_api_integration/config.ts#L20) this default with `/tmp/fleet_bundled_packages`. +The set of bundled packages included with Kibana is dictated by a top-level `fleet_packages.json` file in the Kibana repo. This file includes a list of packages with a pinned version that Kibana will consider bundled. When the Kibana distributable is built, a [build task](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/bundle_fleet_packages.ts) will resolve these packages from the Elastic Package Registry, download the appropriate version as a `.zip` archive, and place it in a directory configurable by a `xpack.fleet.bundledPackageLocation` value in `kibana.yml`. By default, these archives are stored in `x-pack/platform/plugins/shared/fleet/.target/bundled_packages/`. In CI/CD, we [override](https://github.com/elastic/kibana/blob/main/x-pack/test/fleet_api_integration/config.ts#L20) this default with `/tmp/fleet_bundled_packages`. Until further automation is added, this `fleet_packages.json` file should be updated as part of the release process to ensure the latest compatible version of each bundled package is included with that Kibana version. **This must be done before the final BC for a release is built.** Tracking issues should be opened and tracked by the Fleet UI team. See https://github.com/elastic/kibana/issues/129309 as an example. @@ -258,7 +258,7 @@ Tracking issues should be opened and tracked by the Fleet UI team. See https://g As part of the bundled package update process, we'll likely also need to update the pinned Docker image that runs in Kibana's test environment. We configure this pinned registry image in - `x-pack/test/fleet_api_integration/config.ts` -- `x-pack/plugins/fleet/server/integration_tests/helpers/docker_registry_helper.ts` +- `x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/docker_registry_helper.ts` - `x-pack/test/functional/config.base.js` To update this registry image, pull the digest SHA from the package storage Jenkins pipeline at https://beats-ci.elastic.co/blue/organizations/jenkins/Ingest-manager%2Fpackage-storage/activity and update the files above. The digest value should appear in the "publish Docker image" step as part of the `docker push` command in the logs. diff --git a/x-pack/plugins/fleet/common/authz.test.ts b/x-pack/platform/plugins/shared/fleet/common/authz.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/authz.test.ts rename to x-pack/platform/plugins/shared/fleet/common/authz.test.ts diff --git a/x-pack/plugins/fleet/common/authz.ts b/x-pack/platform/plugins/shared/fleet/common/authz.ts similarity index 100% rename from x-pack/plugins/fleet/common/authz.ts rename to x-pack/platform/plugins/shared/fleet/common/authz.ts diff --git a/x-pack/plugins/fleet/common/constants/agent.ts b/x-pack/platform/plugins/shared/fleet/common/constants/agent.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/agent.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/agent.ts diff --git a/x-pack/plugins/fleet/common/constants/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/agent_policy.ts diff --git a/x-pack/plugins/fleet/common/constants/agentless.ts b/x-pack/platform/plugins/shared/fleet/common/constants/agentless.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/agentless.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/agentless.ts diff --git a/x-pack/plugins/fleet/common/constants/authz.ts b/x-pack/platform/plugins/shared/fleet/common/constants/authz.ts similarity index 97% rename from x-pack/plugins/fleet/common/constants/authz.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/authz.ts index 1c9ab5a402789..4cbc52cabf683 100644 --- a/x-pack/plugins/fleet/common/constants/authz.ts +++ b/x-pack/platform/plugins/shared/fleet/common/constants/authz.ts @@ -21,7 +21,7 @@ export interface PrivilegeMapObject { * defines endpoint package privileges * the key is the name of the packagePrivilege (ie. 'readSecuritySolution') * the value object is for mapping kibana privileges and capabilities - * see x-pack/plugins/fleet/server/services/security/security.ts for example of how object values are used + * see x-pack/platform/plugins/shared/fleet/server/services/security/security.ts for example of how object values are used */ export const ENDPOINT_PRIVILEGES: Record = deepFreeze({ readSecuritySolution: { diff --git a/x-pack/plugins/fleet/common/constants/download_source.ts b/x-pack/platform/plugins/shared/fleet/common/constants/download_source.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/download_source.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/download_source.ts diff --git a/x-pack/plugins/fleet/common/constants/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/constants/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/common/constants/epm.ts b/x-pack/platform/plugins/shared/fleet/common/constants/epm.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/epm.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/epm.ts diff --git a/x-pack/plugins/fleet/common/constants/file_storage.ts b/x-pack/platform/plugins/shared/fleet/common/constants/file_storage.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/file_storage.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/file_storage.ts diff --git a/x-pack/plugins/fleet/common/constants/fleet_server_policy_config.ts b/x-pack/platform/plugins/shared/fleet/common/constants/fleet_server_policy_config.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/fleet_server_policy_config.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/fleet_server_policy_config.ts diff --git a/x-pack/plugins/fleet/common/constants/index.ts b/x-pack/platform/plugins/shared/fleet/common/constants/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/index.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/index.ts diff --git a/x-pack/plugins/fleet/common/constants/locators.ts b/x-pack/platform/plugins/shared/fleet/common/constants/locators.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/locators.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/locators.ts diff --git a/x-pack/plugins/fleet/common/constants/mappings.ts b/x-pack/platform/plugins/shared/fleet/common/constants/mappings.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/mappings.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/mappings.ts diff --git a/x-pack/plugins/fleet/common/constants/message_signing_keys.ts b/x-pack/platform/plugins/shared/fleet/common/constants/message_signing_keys.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/message_signing_keys.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/message_signing_keys.ts diff --git a/x-pack/plugins/fleet/common/constants/output.ts b/x-pack/platform/plugins/shared/fleet/common/constants/output.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/output.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/output.ts diff --git a/x-pack/plugins/fleet/common/constants/package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/constants/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/package_policy.ts diff --git a/x-pack/plugins/fleet/common/constants/plugin.ts b/x-pack/platform/plugins/shared/fleet/common/constants/plugin.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/plugin.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/plugin.ts diff --git a/x-pack/plugins/fleet/common/constants/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/common/constants/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/preconfiguration.ts diff --git a/x-pack/plugins/fleet/common/constants/routes.ts b/x-pack/platform/plugins/shared/fleet/common/constants/routes.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/routes.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/routes.ts diff --git a/x-pack/plugins/fleet/common/constants/saved_objects.ts b/x-pack/platform/plugins/shared/fleet/common/constants/saved_objects.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/saved_objects.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/saved_objects.ts diff --git a/x-pack/plugins/fleet/common/constants/secrets.ts b/x-pack/platform/plugins/shared/fleet/common/constants/secrets.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/secrets.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/secrets.ts diff --git a/x-pack/plugins/fleet/common/constants/settings.ts b/x-pack/platform/plugins/shared/fleet/common/constants/settings.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/settings.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/settings.ts diff --git a/x-pack/plugins/fleet/common/constants/space_awareness.ts b/x-pack/platform/plugins/shared/fleet/common/constants/space_awareness.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/space_awareness.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/space_awareness.ts diff --git a/x-pack/plugins/fleet/common/constants/uninstall_token.ts b/x-pack/platform/plugins/shared/fleet/common/constants/uninstall_token.ts similarity index 100% rename from x-pack/plugins/fleet/common/constants/uninstall_token.ts rename to x-pack/platform/plugins/shared/fleet/common/constants/uninstall_token.ts diff --git a/x-pack/plugins/fleet/common/errors.ts b/x-pack/platform/plugins/shared/fleet/common/errors.ts similarity index 100% rename from x-pack/plugins/fleet/common/errors.ts rename to x-pack/platform/plugins/shared/fleet/common/errors.ts diff --git a/x-pack/plugins/fleet/common/experimental_features.ts b/x-pack/platform/plugins/shared/fleet/common/experimental_features.ts similarity index 100% rename from x-pack/plugins/fleet/common/experimental_features.ts rename to x-pack/platform/plugins/shared/fleet/common/experimental_features.ts diff --git a/x-pack/plugins/fleet/common/http_authorization_header.ts b/x-pack/platform/plugins/shared/fleet/common/http_authorization_header.ts similarity index 100% rename from x-pack/plugins/fleet/common/http_authorization_header.ts rename to x-pack/platform/plugins/shared/fleet/common/http_authorization_header.ts diff --git a/x-pack/plugins/fleet/common/index.ts b/x-pack/platform/plugins/shared/fleet/common/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/index.ts rename to x-pack/platform/plugins/shared/fleet/common/index.ts diff --git a/x-pack/plugins/fleet/common/mocks.ts b/x-pack/platform/plugins/shared/fleet/common/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/common/mocks.ts rename to x-pack/platform/plugins/shared/fleet/common/mocks.ts diff --git a/x-pack/plugins/fleet/common/openapi/README.md b/x-pack/platform/plugins/shared/fleet/common/openapi/README.md similarity index 90% rename from x-pack/plugins/fleet/common/openapi/README.md rename to x-pack/platform/plugins/shared/fleet/common/openapi/README.md index 92977d6602761..c3d02d42c77fc 100644 --- a/x-pack/plugins/fleet/common/openapi/README.md +++ b/x-pack/platform/plugins/shared/fleet/common/openapi/README.md @@ -3,7 +3,7 @@ There is a new way to generate openapi docs from the route definition in code. When adding a new route/modifying request/response parameters, make sure to add/update schema definitions when registering the route. -[Example](https://github.com/elastic/kibana/blob/5ea1ab0b8a21764aa54a5ef9650a0d8046f3f0a8/x-pack/plugins/fleet/server/routes/agent/index.ts#L96-L123) +[Example](https://github.com/elastic/kibana/blob/5ea1ab0b8a21764aa54a5ef9650a0d8046f3f0a8/x-pack/platform/plugins/shared/fleet/server/routes/agent/index.ts#L96-L123) Read more: https://docs.elastic.dev/kibana-dev-docs/genereating-oas-for-http-apis diff --git a/x-pack/plugins/fleet/common/services/__snapshots__/package_to_package_policy.test.ts.snap b/x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/package_to_package_policy.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/common/services/__snapshots__/package_to_package_policy.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/package_to_package_policy.test.ts.snap diff --git a/x-pack/plugins/fleet/common/services/__snapshots__/simplified_package_policy_helper.test.ts.snap b/x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/simplified_package_policy_helper.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/common/services/__snapshots__/simplified_package_policy_helper.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/simplified_package_policy_helper.test.ts.snap diff --git a/x-pack/plugins/fleet/common/services/__snapshots__/validate_package_policy.test.ts.snap b/x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/validate_package_policy.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/common/services/__snapshots__/validate_package_policy.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/common/services/__snapshots__/validate_package_policy.test.ts.snap diff --git a/x-pack/plugins/fleet/common/services/agent_cm_to_yaml.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_cm_to_yaml.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_cm_to_yaml.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_cm_to_yaml.ts diff --git a/x-pack/plugins/fleet/common/services/agent_policies_helper.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_policies_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_policies_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_policies_helper.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_policies_helpers.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_policies_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_policies_helpers.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_policies_helpers.ts diff --git a/x-pack/plugins/fleet/common/services/agent_policy_config.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_policy_config.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_policy_config.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_policy_config.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_policy_config.ts diff --git a/x-pack/plugins/fleet/common/services/agent_status.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_status.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_status.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_status.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_status.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_status.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_status.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_status.ts diff --git a/x-pack/plugins/fleet/common/services/agent_statuses_to_summary.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_statuses_to_summary.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_statuses_to_summary.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_statuses_to_summary.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_statuses_to_summary.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_statuses_to_summary.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_statuses_to_summary.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_statuses_to_summary.ts diff --git a/x-pack/plugins/fleet/common/services/agent_utils.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_utils.test.ts diff --git a/x-pack/plugins/fleet/common/services/agent_utils.ts b/x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agent_utils.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agent_utils.ts diff --git a/x-pack/plugins/fleet/common/services/agentless_policy_helper.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/agentless_policy_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agentless_policy_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agentless_policy_helper.test.ts diff --git a/x-pack/plugins/fleet/common/services/agentless_policy_helper.ts b/x-pack/platform/plugins/shared/fleet/common/services/agentless_policy_helper.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/agentless_policy_helper.ts rename to x-pack/platform/plugins/shared/fleet/common/services/agentless_policy_helper.ts diff --git a/x-pack/plugins/fleet/common/services/check_fleet_server_versions.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/check_fleet_server_versions.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/check_fleet_server_versions.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/check_fleet_server_versions.test.ts diff --git a/x-pack/plugins/fleet/common/services/check_fleet_server_versions.ts b/x-pack/platform/plugins/shared/fleet/common/services/check_fleet_server_versions.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/check_fleet_server_versions.ts rename to x-pack/platform/plugins/shared/fleet/common/services/check_fleet_server_versions.ts diff --git a/x-pack/plugins/fleet/common/services/datastream_es_name.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/datastream_es_name.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/datastream_es_name.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/datastream_es_name.test.ts diff --git a/x-pack/plugins/fleet/common/services/datastream_es_name.ts b/x-pack/platform/plugins/shared/fleet/common/services/datastream_es_name.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/datastream_es_name.ts rename to x-pack/platform/plugins/shared/fleet/common/services/datastream_es_name.ts diff --git a/x-pack/plugins/fleet/common/services/file_storage.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/file_storage.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/file_storage.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/file_storage.test.ts diff --git a/x-pack/plugins/fleet/common/services/file_storage.ts b/x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/file_storage.ts rename to x-pack/platform/plugins/shared/fleet/common/services/file_storage.ts diff --git a/x-pack/plugins/fleet/common/services/fixtures/aws_package.ts b/x-pack/platform/plugins/shared/fleet/common/services/fixtures/aws_package.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/fixtures/aws_package.ts rename to x-pack/platform/plugins/shared/fleet/common/services/fixtures/aws_package.ts diff --git a/x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/full_agent_policy_to_yaml.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/full_agent_policy_to_yaml.test.ts diff --git a/x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.ts b/x-pack/platform/plugins/shared/fleet/common/services/full_agent_policy_to_yaml.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.ts rename to x-pack/platform/plugins/shared/fleet/common/services/full_agent_policy_to_yaml.ts diff --git a/x-pack/plugins/fleet/common/services/generate_new_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/generate_new_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/generate_new_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/generate_new_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/common/services/generate_new_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/common/services/generate_new_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/generate_new_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/services/generate_new_agent_policy.ts diff --git a/x-pack/plugins/fleet/common/services/get_min_max_version.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/get_min_max_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/get_min_max_version.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/get_min_max_version.test.ts diff --git a/x-pack/plugins/fleet/common/services/get_min_max_version.ts b/x-pack/platform/plugins/shared/fleet/common/services/get_min_max_version.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/get_min_max_version.ts rename to x-pack/platform/plugins/shared/fleet/common/services/get_min_max_version.ts diff --git a/x-pack/plugins/fleet/common/services/hosts_utils.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/hosts_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/hosts_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/hosts_utils.test.ts diff --git a/x-pack/plugins/fleet/common/services/hosts_utils.ts b/x-pack/platform/plugins/shared/fleet/common/services/hosts_utils.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/hosts_utils.ts rename to x-pack/platform/plugins/shared/fleet/common/services/hosts_utils.ts diff --git a/x-pack/plugins/fleet/common/services/index.ts b/x-pack/platform/plugins/shared/fleet/common/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/index.ts rename to x-pack/platform/plugins/shared/fleet/common/services/index.ts diff --git a/x-pack/plugins/fleet/common/services/is_agent_request_diagnostics_supported.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_agent_request_diagnostics_supported.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_agent_request_diagnostics_supported.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_agent_request_diagnostics_supported.test.ts diff --git a/x-pack/plugins/fleet/common/services/is_agent_request_diagnostics_supported.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_agent_request_diagnostics_supported.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_agent_request_diagnostics_supported.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_agent_request_diagnostics_supported.ts diff --git a/x-pack/plugins/fleet/common/services/is_agent_upgradeable.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_agent_upgradeable.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_agent_upgradeable.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_agent_upgradeable.test.ts diff --git a/x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_agent_upgradeable.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_agent_upgradeable.ts diff --git a/x-pack/plugins/fleet/common/services/is_diff_path_protocol.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_diff_path_protocol.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_diff_path_protocol.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_diff_path_protocol.test.ts diff --git a/x-pack/plugins/fleet/common/services/is_diff_path_protocol.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_diff_path_protocol.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_diff_path_protocol.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_diff_path_protocol.ts diff --git a/x-pack/plugins/fleet/common/services/is_valid_namespace.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_valid_namespace.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.test.ts diff --git a/x-pack/plugins/fleet/common/services/is_valid_namespace.ts b/x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/is_valid_namespace.ts rename to x-pack/platform/plugins/shared/fleet/common/services/is_valid_namespace.ts diff --git a/x-pack/plugins/fleet/common/services/license.ts b/x-pack/platform/plugins/shared/fleet/common/services/license.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/license.ts rename to x-pack/platform/plugins/shared/fleet/common/services/license.ts diff --git a/x-pack/plugins/fleet/common/services/limited_package.ts b/x-pack/platform/plugins/shared/fleet/common/services/limited_package.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/limited_package.ts rename to x-pack/platform/plugins/shared/fleet/common/services/limited_package.ts diff --git a/x-pack/plugins/fleet/common/services/max_package_name.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/max_package_name.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/max_package_name.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/max_package_name.test.ts diff --git a/x-pack/plugins/fleet/common/services/max_package_name.ts b/x-pack/platform/plugins/shared/fleet/common/services/max_package_name.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/max_package_name.ts rename to x-pack/platform/plugins/shared/fleet/common/services/max_package_name.ts diff --git a/x-pack/plugins/fleet/common/services/output_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/output_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/output_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/output_helpers.test.ts diff --git a/x-pack/plugins/fleet/common/services/output_helpers.ts b/x-pack/platform/plugins/shared/fleet/common/services/output_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/output_helpers.ts rename to x-pack/platform/plugins/shared/fleet/common/services/output_helpers.ts diff --git a/x-pack/plugins/fleet/common/services/package_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_helpers.test.ts diff --git a/x-pack/plugins/fleet/common/services/package_helpers.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_helpers.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_helpers.ts diff --git a/x-pack/plugins/fleet/common/services/package_prerelease.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_prerelease.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_prerelease.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_prerelease.test.ts diff --git a/x-pack/plugins/fleet/common/services/package_prerelease.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_prerelease.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_prerelease.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_prerelease.ts diff --git a/x-pack/plugins/fleet/common/services/package_to_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_to_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_to_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_to_package_policy.test.ts diff --git a/x-pack/plugins/fleet/common/services/package_to_package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/services/package_to_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/package_to_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/services/package_to_package_policy.ts diff --git a/x-pack/plugins/fleet/common/services/packages_with_integrations.ts b/x-pack/platform/plugins/shared/fleet/common/services/packages_with_integrations.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/packages_with_integrations.ts rename to x-pack/platform/plugins/shared/fleet/common/services/packages_with_integrations.ts diff --git a/x-pack/plugins/fleet/common/services/policy_template.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/policy_template.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/policy_template.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/policy_template.test.ts diff --git a/x-pack/plugins/fleet/common/services/policy_template.ts b/x-pack/platform/plugins/shared/fleet/common/services/policy_template.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/policy_template.ts rename to x-pack/platform/plugins/shared/fleet/common/services/policy_template.ts diff --git a/x-pack/plugins/fleet/common/services/route.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/route.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/route.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/route.test.ts diff --git a/x-pack/plugins/fleet/common/services/routes.ts b/x-pack/platform/plugins/shared/fleet/common/services/routes.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/routes.ts rename to x-pack/platform/plugins/shared/fleet/common/services/routes.ts diff --git a/x-pack/plugins/fleet/common/services/simplified_package_policy_helper.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/simplified_package_policy_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/simplified_package_policy_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/simplified_package_policy_helper.test.ts diff --git a/x-pack/plugins/fleet/common/services/simplified_package_policy_helper.ts b/x-pack/platform/plugins/shared/fleet/common/services/simplified_package_policy_helper.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/simplified_package_policy_helper.ts rename to x-pack/platform/plugins/shared/fleet/common/services/simplified_package_policy_helper.ts diff --git a/x-pack/plugins/fleet/common/services/split_pkg_key.ts b/x-pack/platform/plugins/shared/fleet/common/services/split_pkg_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/split_pkg_key.ts rename to x-pack/platform/plugins/shared/fleet/common/services/split_pkg_key.ts diff --git a/x-pack/plugins/fleet/common/services/validate_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/validate_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.test.ts diff --git a/x-pack/plugins/fleet/common/services/validate_package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/services/validate_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/services/validate_package_policy.ts diff --git a/x-pack/plugins/fleet/common/settings/agent_policy_settings.tsx b/x-pack/platform/plugins/shared/fleet/common/settings/agent_policy_settings.tsx similarity index 100% rename from x-pack/plugins/fleet/common/settings/agent_policy_settings.tsx rename to x-pack/platform/plugins/shared/fleet/common/settings/agent_policy_settings.tsx diff --git a/x-pack/plugins/fleet/common/settings/index.ts b/x-pack/platform/plugins/shared/fleet/common/settings/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/settings/index.ts rename to x-pack/platform/plugins/shared/fleet/common/settings/index.ts diff --git a/x-pack/plugins/fleet/common/settings/types.ts b/x-pack/platform/plugins/shared/fleet/common/settings/types.ts similarity index 100% rename from x-pack/plugins/fleet/common/settings/types.ts rename to x-pack/platform/plugins/shared/fleet/common/settings/types.ts diff --git a/x-pack/plugins/fleet/common/types/index.ts b/x-pack/platform/plugins/shared/fleet/common/types/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/index.ts rename to x-pack/platform/plugins/shared/fleet/common/types/index.ts diff --git a/x-pack/plugins/fleet/common/types/models/agent.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/agent.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/agent.ts diff --git a/x-pack/plugins/fleet/common/types/models/agent_cm.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/agent_cm.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/agent_cm.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/agent_cm.ts diff --git a/x-pack/plugins/fleet/common/types/models/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts similarity index 98% rename from x-pack/plugins/fleet/common/types/models/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts index b3b5611116837..27406b406d38b 100644 --- a/x-pack/plugins/fleet/common/types/models/agent_policy.ts +++ b/x-pack/platform/plugins/shared/fleet/common/types/models/agent_policy.ts @@ -16,7 +16,7 @@ import type { Output } from './output'; export type AgentPolicyStatus = typeof agentPolicyStatuses; // adding a property here? If it should be cloned when duplicating a policy, add it to `agentPolicyService.copy` -// x-pack/plugins/fleet/server/services/agent_policy.ts#L571 +// x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts#L571 export interface NewAgentPolicy { id?: string; name: string; diff --git a/x-pack/plugins/fleet/common/types/models/data_stream.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/data_stream.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/data_stream.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/data_stream.ts diff --git a/x-pack/plugins/fleet/common/types/models/download_sources.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/download_sources.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/download_sources.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/download_sources.ts diff --git a/x-pack/plugins/fleet/common/types/models/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/common/types/models/epm.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/epm.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/epm.ts diff --git a/x-pack/plugins/fleet/common/types/models/fleet_proxy.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/fleet_proxy.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/fleet_proxy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/fleet_proxy.ts diff --git a/x-pack/plugins/fleet/common/types/models/fleet_server_policy_config.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/fleet_server_policy_config.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/fleet_server_policy_config.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/fleet_server_policy_config.ts diff --git a/x-pack/plugins/fleet/common/types/models/fleet_setup_lock.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/fleet_setup_lock.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/fleet_setup_lock.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/fleet_setup_lock.ts diff --git a/x-pack/plugins/fleet/common/types/models/index.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/index.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/index.ts diff --git a/x-pack/plugins/fleet/common/types/models/output.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/output.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/output.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/output.ts diff --git a/x-pack/plugins/fleet/common/types/models/package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/package_policy.ts diff --git a/x-pack/plugins/fleet/common/types/models/package_spec.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/package_spec.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/package_spec.ts diff --git a/x-pack/plugins/fleet/common/types/models/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/preconfiguration.ts diff --git a/x-pack/plugins/fleet/common/types/models/secret.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/secret.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/secret.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/secret.ts diff --git a/x-pack/plugins/fleet/common/types/models/settings.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/settings.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/settings.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/settings.ts diff --git a/x-pack/plugins/fleet/common/types/models/setup_technology.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/setup_technology.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/setup_technology.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/setup_technology.ts diff --git a/x-pack/plugins/fleet/common/types/models/transform_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/transform_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/transform_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/transform_api_key.ts diff --git a/x-pack/plugins/fleet/common/types/models/uninstall_token.ts b/x-pack/platform/plugins/shared/fleet/common/types/models/uninstall_token.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/models/uninstall_token.ts rename to x-pack/platform/plugins/shared/fleet/common/types/models/uninstall_token.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/agent.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/agent.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/agent_policy.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/app.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/app.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/app.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/common.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/common.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/common.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/data_stream.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/data_stream.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/data_stream.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/data_stream.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/download_sources.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/download_sources.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/download_sources.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/download_sources.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/epm.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/epm.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/epm.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/error.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/error.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/error.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/fleet_server_hosts.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_server_hosts.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/fleet_server_hosts.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_server_hosts.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/fleet_setup.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/fleet_setup.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/health_check.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/health_check.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/health_check.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/health_check.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/index.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/index.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/index.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/index.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/output.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/output.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/output.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/output.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/package_policy.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/settings.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/settings.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/settings.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/settings.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/standalone_agent_api_key.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/standalone_agent_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/standalone_agent_api_key.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/standalone_agent_api_key.ts diff --git a/x-pack/plugins/fleet/common/types/rest_spec/uninstall_token.ts b/x-pack/platform/plugins/shared/fleet/common/types/rest_spec/uninstall_token.ts similarity index 100% rename from x-pack/plugins/fleet/common/types/rest_spec/uninstall_token.ts rename to x-pack/platform/plugins/shared/fleet/common/types/rest_spec/uninstall_token.ts diff --git a/x-pack/plugins/fleet/cypress.config.space_awareness.ts b/x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts similarity index 89% rename from x-pack/plugins/fleet/cypress.config.space_awareness.ts rename to x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts index 6efda828e6fbc..236f17c3b5cc7 100644 --- a/x-pack/plugins/fleet/cypress.config.space_awareness.ts +++ b/x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.ts @@ -23,10 +23,10 @@ export default defineCypressConfig({ grepFilterSpecs: false, }, - screenshotsFolder: '../../../target/kibana-fleet/cypress/screenshots', + screenshotsFolder: '../../../../../target/kibana-fleet/cypress/screenshots', trashAssetsBeforeRuns: false, video: false, - videosFolder: '../../../target/kibana-fleet/cypress/videos', + videosFolder: '../../../../../target/kibana-fleet/cypress/videos', viewportHeight: 900, viewportWidth: 1440, screenshotOnRunFailure: true, diff --git a/x-pack/plugins/fleet/cypress.config.ts b/x-pack/platform/plugins/shared/fleet/cypress.config.ts similarity index 89% rename from x-pack/plugins/fleet/cypress.config.ts rename to x-pack/platform/plugins/shared/fleet/cypress.config.ts index 2082142e23d7f..328fdcc66d274 100644 --- a/x-pack/plugins/fleet/cypress.config.ts +++ b/x-pack/platform/plugins/shared/fleet/cypress.config.ts @@ -22,10 +22,10 @@ export default defineCypressConfig({ grepFilterSpecs: false, }, - screenshotsFolder: '../../../target/kibana-fleet/cypress/screenshots', + screenshotsFolder: '../../../../../target/kibana-fleet/cypress/screenshots', trashAssetsBeforeRuns: false, video: false, - videosFolder: '../../../target/kibana-fleet/cypress/videos', + videosFolder: '../../../../../target/kibana-fleet/cypress/videos', viewportHeight: 900, viewportWidth: 1440, screenshotOnRunFailure: true, diff --git a/x-pack/plugins/fleet/cypress/README.md b/x-pack/platform/plugins/shared/fleet/cypress/README.md similarity index 90% rename from x-pack/plugins/fleet/cypress/README.md rename to x-pack/platform/plugins/shared/fleet/cypress/README.md index 8300ec26ede37..aced5dc6a1b9a 100644 --- a/x-pack/plugins/fleet/cypress/README.md +++ b/x-pack/platform/plugins/shared/fleet/cypress/README.md @@ -51,7 +51,7 @@ yarn kbn bootstrap node scripts/build_kibana_platform_plugins # launch the cypress test runner -cd x-pack/plugins/fleet +cd x-pack/platform/plugins/shared/fleet yarn cypress:run ``` @@ -67,7 +67,7 @@ yarn kbn bootstrap node scripts/build_kibana_platform_plugins # launch the cypress test runner -cd x-pack/plugins/fleet +cd x-pack/platform/plugins/shared/fleet yarn cypress:open ``` @@ -116,16 +116,16 @@ We use es_archiver to manage the data that our Cypress tests need. 1. Set up a clean instance of kibana and elasticsearch (if this is not possible, try to clean/minimize the data that you are going to archive). 2. With the kibana and elasticsearch instance up and running, create the data that you need for your test. -3. When you are sure that you have all the data you need run the following command from: `x-pack/plugins/fleet` +3. When you are sure that you have all the data you need run the following command from: `x-pack/platform/plugins/shared/fleet` ```sh -node ../../../scripts/es_archiver save --dir ../../test/fleet_cypress/es_archives --config ../../../test/functional/config.base.js --es-url http://:@: +node ../../../../../scripts/es_archiver save --dir ../../test/fleet_cypress/es_archives --config ../../../test/functional/config.base.js --es-url http://:@: ``` Example: ```sh -node ../../../scripts/es_archiver save custom_rules ".kibana",".siem-signal*" --dir ../../test/fleet_cypress/es_archives --config ../../../test/functional/config.base.js --es-url http://elastic:changeme@localhost:9220 +node ../../../../../scripts/es_archiver save custom_rules ".kibana",".siem-signal*" --dir ../../test/fleet_cypress/es_archives --config ../../../test/functional/config.base.js --es-url http://elastic:changeme@localhost:9220 ``` Note that the command will create the folder if it does not exist. diff --git a/x-pack/plugins/fleet/cypress/e2e/a11y/home_page.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/a11y/home_page.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/a11y/home_page.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/a11y/home_page.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/agent_binary_download_source.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/agent_binary_download_source.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/agent_binary_download_source.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/agent_binary_download_source.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/agent_policy.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/agent_policy.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/agent_policy.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/agent_policy.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/agents/agent_list.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/agents/agent_list.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/agents/agent_list.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/agents/agent_list.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/agents/agentless.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/agents/agentless.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/agents/agentless.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/agents/agentless.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/assets_integration_with_ml_and_transforms.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/assets_integration_with_ml_and_transforms.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/assets_integration_with_ml_and_transforms.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/assets_integration_with_ml_and_transforms.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/enrollment_token.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/enrollment_token.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/enrollment_token.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/enrollment_token.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/fleet_agent_flyout.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_agent_flyout.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/fleet_agent_flyout.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_agent_flyout.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/fleet_settings.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_settings.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/fleet_settings.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_settings.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/fleet_settings_outputs.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_settings_outputs.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/fleet_settings_outputs.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_settings_outputs.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/fleet_startup.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_startup.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/fleet_startup.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/fleet_startup.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/install_assets.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/install_assets.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/install_assets.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/install_assets.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/integrations_automatic_import.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_automatic_import.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/integrations_automatic_import.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_automatic_import.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/integrations_mock.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_mock.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/integrations_mock.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_mock.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/integrations_real.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_real.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/integrations_real.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/integrations_real.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/package_policy.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/package_policy.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/package_policy.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/package_policy.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/package_policy_pipelines_and_mappings_real.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/package_policy_pipelines_and_mappings_real.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/package_policy_pipelines_and_mappings_real.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/package_policy_pipelines_and_mappings_real.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privilages_fleet_agents_read_integrations_none.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privilages_fleet_agents_read_integrations_none.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privilages_fleet_agents_read_integrations_none.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privilages_fleet_agents_read_integrations_none.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_editor_role.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_editor_role.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_editor_role.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_editor_role.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_fleet_all_integrations_none.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_all_integrations_none.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_fleet_all_integrations_none.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_all_integrations_none.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_fleet_all_integrations_read.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_all_integrations_read.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_fleet_all_integrations_read.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_all_integrations_read.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_fleet_none_integrations_all.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_none_integrations_all.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_fleet_none_integrations_all.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_fleet_none_integrations_all.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_integrations_automatic_import.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_integrations_automatic_import.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_integrations_automatic_import.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_integrations_automatic_import.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_integrations_automatic_import_license.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_integrations_automatic_import_license.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_integrations_automatic_import_license.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_integrations_automatic_import_license.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/privileges_viewer_role.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_viewer_role.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/privileges_viewer_role.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/privileges_viewer_role.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/space_awareness/policies.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/space_awareness/policies.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/space_awareness/policies.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/space_awareness/policies.cy.ts diff --git a/x-pack/plugins/fleet/cypress/e2e/uninstall_token.cy.ts b/x-pack/platform/plugins/shared/fleet/cypress/e2e/uninstall_token.cy.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/e2e/uninstall_token.cy.ts rename to x-pack/platform/plugins/shared/fleet/cypress/e2e/uninstall_token.cy.ts diff --git a/x-pack/plugins/fleet/cypress/fixtures/example.json b/x-pack/platform/plugins/shared/fleet/cypress/fixtures/example.json similarity index 100% rename from x-pack/plugins/fleet/cypress/fixtures/example.json rename to x-pack/platform/plugins/shared/fleet/cypress/fixtures/example.json diff --git a/x-pack/plugins/fleet/cypress/fixtures/teleport.ndjson b/x-pack/platform/plugins/shared/fleet/cypress/fixtures/teleport.ndjson similarity index 100% rename from x-pack/plugins/fleet/cypress/fixtures/teleport.ndjson rename to x-pack/platform/plugins/shared/fleet/cypress/fixtures/teleport.ndjson diff --git a/x-pack/plugins/fleet/cypress/packages/input_package-1.0.0.zip b/x-pack/platform/plugins/shared/fleet/cypress/packages/input_package-1.0.0.zip similarity index 100% rename from x-pack/plugins/fleet/cypress/packages/input_package-1.0.0.zip rename to x-pack/platform/plugins/shared/fleet/cypress/packages/input_package-1.0.0.zip diff --git a/x-pack/plugins/fleet/cypress/packages/logs_int_no_dataset-1.0.0.zip b/x-pack/platform/plugins/shared/fleet/cypress/packages/logs_int_no_dataset-1.0.0.zip similarity index 100% rename from x-pack/plugins/fleet/cypress/packages/logs_int_no_dataset-1.0.0.zip rename to x-pack/platform/plugins/shared/fleet/cypress/packages/logs_int_no_dataset-1.0.0.zip diff --git a/x-pack/plugins/fleet/cypress/packages/logs_integration-1.0.0.zip b/x-pack/platform/plugins/shared/fleet/cypress/packages/logs_integration-1.0.0.zip similarity index 100% rename from x-pack/plugins/fleet/cypress/packages/logs_integration-1.0.0.zip rename to x-pack/platform/plugins/shared/fleet/cypress/packages/logs_integration-1.0.0.zip diff --git a/x-pack/plugins/fleet/cypress/plugins/index.ts b/x-pack/platform/plugins/shared/fleet/cypress/plugins/index.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/plugins/index.ts rename to x-pack/platform/plugins/shared/fleet/cypress/plugins/index.ts diff --git a/x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json b/x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json new file mode 100644 index 0000000000000..b6f55d0ecfe95 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/cypress/reporter_config.json @@ -0,0 +1,10 @@ +{ + "reporterEnabled": "mochawesome, mocha-junit-reporter", + "reporterOptions": { + "html": false, + "json": true, + "mochaFile": "../../../../../target/kibana-fleet/cypress/results/TEST-fleet-cypress-[hash].xml", + "overwrite": false, + "reportDir": "../../../../../target/kibana-fleet/cypress/results" + } +} diff --git a/x-pack/plugins/fleet/cypress/screens/fleet.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/fleet.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/fleet.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/fleet.ts diff --git a/x-pack/plugins/fleet/cypress/screens/fleet_outputs.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/fleet_outputs.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/fleet_outputs.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/fleet_outputs.ts diff --git a/x-pack/plugins/fleet/cypress/screens/integrations.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/integrations.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/integrations.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/integrations.ts diff --git a/x-pack/plugins/fleet/cypress/screens/integrations_automatic_import.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/integrations_automatic_import.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/integrations_automatic_import.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/integrations_automatic_import.ts diff --git a/x-pack/plugins/fleet/cypress/screens/navigation.ts b/x-pack/platform/plugins/shared/fleet/cypress/screens/navigation.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/screens/navigation.ts rename to x-pack/platform/plugins/shared/fleet/cypress/screens/navigation.ts diff --git a/x-pack/plugins/fleet/cypress/support/commands.ts b/x-pack/platform/plugins/shared/fleet/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/support/commands.ts rename to x-pack/platform/plugins/shared/fleet/cypress/support/commands.ts diff --git a/x-pack/plugins/fleet/cypress/support/e2e.ts b/x-pack/platform/plugins/shared/fleet/cypress/support/e2e.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/support/e2e.ts rename to x-pack/platform/plugins/shared/fleet/cypress/support/e2e.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/agents.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/agents.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/agents.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/agents.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/api_calls/connectors.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/api_calls/connectors.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/api_calls/connectors.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/api_calls/connectors.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/api_calls/graph_results.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/api_calls/graph_results.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/api_calls/graph_results.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/api_calls/graph_results.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/cleanup.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/cleanup.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/cleanup.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/cleanup.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/common.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/common.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/common.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/common.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/fleet.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/fleet.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/fleet.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/fleet.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/fleet_server.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/fleet_server.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/fleet_server.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/fleet_server.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/integrations.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/integrations.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/integrations.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/integrations.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/login.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts similarity index 99% rename from x-pack/plugins/fleet/cypress/tasks/login.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts index 0a1b20b186764..67234ca20df55 100644 --- a/x-pack/plugins/fleet/cypress/tasks/login.ts +++ b/x-pack/platform/plugins/shared/fleet/cypress/tasks/login.ts @@ -18,7 +18,7 @@ import { request } from './common'; * Credentials in the `kibana.dev.yml` config file will be used to authenticate * with Kibana when credentials are not provided via environment variables */ -const KIBANA_DEV_YML_PATH = '../../../config/kibana.dev.yml'; +const KIBANA_DEV_YML_PATH = '../../../../../config/kibana.dev.yml'; /** * The configuration path in `kibana.dev.yml` to the username to be used when diff --git a/x-pack/plugins/fleet/cypress/tasks/navigation.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/navigation.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/navigation.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/navigation.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/privileges.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/privileges.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/privileges.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/privileges.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/spaces.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/spaces.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/spaces.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/spaces.ts diff --git a/x-pack/plugins/fleet/cypress/tasks/ui_settings.ts b/x-pack/platform/plugins/shared/fleet/cypress/tasks/ui_settings.ts similarity index 100% rename from x-pack/plugins/fleet/cypress/tasks/ui_settings.ts rename to x-pack/platform/plugins/shared/fleet/cypress/tasks/ui_settings.ts diff --git a/x-pack/plugins/fleet/cypress/tsconfig.json b/x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json similarity index 89% rename from x-pack/plugins/fleet/cypress/tsconfig.json rename to x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json index 5427996c27f17..bfacb16c3ce63 100644 --- a/x-pack/plugins/fleet/cypress/tsconfig.json +++ b/x-pack/platform/plugins/shared/fleet/cypress/tsconfig.json @@ -1,10 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "include": [ "**/*", "../cypress.config.ts", "../cypress.config.space_awareness.ts", - "../../../../typings/**/*" + "../../../../../../typings/**/*" ], "exclude": [ "target/**/*" diff --git a/x-pack/plugins/fleet/dev_docs/api_integration_tests.md b/x-pack/platform/plugins/shared/fleet/dev_docs/api_integration_tests.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/api_integration_tests.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/api_integration_tests.md diff --git a/x-pack/plugins/fleet/dev_docs/api_keys.md b/x-pack/platform/plugins/shared/fleet/dev_docs/api_keys.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/api_keys.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/api_keys.md diff --git a/x-pack/plugins/fleet/dev_docs/apm_tracing.md b/x-pack/platform/plugins/shared/fleet/dev_docs/apm_tracing.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/apm_tracing.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/apm_tracing.md diff --git a/x-pack/plugins/fleet/dev_docs/data_model.md b/x-pack/platform/plugins/shared/fleet/dev_docs/data_model.md similarity index 94% rename from x-pack/plugins/fleet/dev_docs/data_model.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/data_model.md index 44183cb597ae2..6f4477da61f19 100644 --- a/x-pack/plugins/fleet/dev_docs/data_model.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/data_model.md @@ -17,7 +17,7 @@ registry on Kibana nightly snapshot builds, and the 'prod' registry for release can be configured by setting the `xpack.fleet.registryUrl` in the `kibana.yml` file. The code that integrates with this registry API is contained in the -[`x-pack/plugins/fleet/server/services/epm/registry`](../server/services/epm/registry) directory. +[`x-pack/platform/plugins/shared/fleet/server/services/epm/registry`](../server/services/epm/registry) directory. ## `.fleet-*` Indices @@ -37,7 +37,7 @@ Each document in this index tracks an individual Elastic Agent's enrollment in t assigned to, its check in status, which packages are currently installed, and other metadata about the Agent. All of the code that interacts with this index is currently located in -[`x-pack/plugins/fleet/server/services/agents/crud.ts`](../server/services/agents/crud.ts) and the schema of these +[`x-pack/platform/plugins/shared/fleet/server/services/agents/crud.ts`](../server/services/agents/crud.ts) and the schema of these documents is maintained by the `FleetServerAgent` TypeScript interface. - Cleanup model: N/A @@ -65,12 +65,12 @@ The total schema for actions is represented by the `FleetServerAgentAction` type ### `.fleet-enrollment-api-keys` - Cleanup model: Deleteable via Fleet UI/API, deleted when an agent policy is deleted -- [Source](https://github.com/elastic/kibana/blob/7a35748cb43f2c73623ffda6fa02b91c3cb4c689/x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.ts#L102) +- [Source](https://github.com/elastic/kibana/blob/7a35748cb43f2c73623ffda6fa02b91c3cb4c689/x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.ts#L102) ### `.fleet-policies` - Cleanup model: Deleted when a corresponding agent policy is deleted in the Fleet UI or API -- [Source](https://github.com/elastic/kibana/blob/976b1b2331371f4a1325f6947d38d1f4de7a7254/x-pack/plugins/fleet/server/services/agent_policy.ts#L699-L701) +- [Source](https://github.com/elastic/kibana/blob/976b1b2331371f4a1325f6947d38d1f4de7a7254/x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts#L699-L701) ### `.fleet-policies-leader` diff --git a/x-pack/plugins/fleet/dev_docs/data_streams.md b/x-pack/platform/plugins/shared/fleet/dev_docs/data_streams.md similarity index 92% rename from x-pack/plugins/fleet/dev_docs/data_streams.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/data_streams.md index 82899c6b6fe32..e0fd14984fe6b 100644 --- a/x-pack/plugins/fleet/dev_docs/data_streams.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/data_streams.md @@ -41,7 +41,7 @@ example: ## Making Changes to Template Structure -When making changes to the template structure (e.g [#124013](https://github.com/elastic/kibana/pull/124013)), this will need to be applied to all installed packages on upgrade to retain consistency. On startup we have [a check](https://github.com/elastic/kibana/blob/a52ba7cefe1a04ef6eafa32d5e410a3a901169b2/x-pack/plugins/fleet/server/services/setup.ts#L151) to see if any of the global assets have changed. If they have changed then we attempt to reinstall every package. This will in most cases cause a rollover of all datastreams so shouldn't be treated lightly. +When making changes to the template structure (e.g [#124013](https://github.com/elastic/kibana/pull/124013)), this will need to be applied to all installed packages on upgrade to retain consistency. On startup we have [a check](https://github.com/elastic/kibana/blob/a52ba7cefe1a04ef6eafa32d5e410a3a901169b2/x-pack/platform/plugins/shared/fleet/server/services/setup.ts#L151) to see if any of the global assets have changed. If they have changed then we attempt to reinstall every package. This will in most cases cause a rollover of all datastreams so shouldn't be treated lightly. ## Pre 8.2 Template Structure diff --git a/x-pack/plugins/fleet/dev_docs/definitions.md b/x-pack/platform/plugins/shared/fleet/dev_docs/definitions.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/definitions.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/definitions.md diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/README.md b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/README.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/README.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/README.md diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.excalidraw b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.excalidraw similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.excalidraw rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.excalidraw diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.png b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/architecture_overview/architecture_overview.png diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.excalidraw b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.excalidraw similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.excalidraw rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.excalidraw diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.png b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/policy_lifecycle/policy_lifecycle.png diff --git a/x-pack/plugins/fleet/dev_docs/diagrams/secrets/secret_storage_architecture.png b/x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/secrets/secret_storage_architecture.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/diagrams/secrets/secret_storage_architecture.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/diagrams/secrets/secret_storage_architecture.png diff --git a/x-pack/plugins/fleet/dev_docs/epm.md b/x-pack/platform/plugins/shared/fleet/dev_docs/epm.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/epm.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/epm.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_agent_communication.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_agent_communication.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/fleet_agent_communication.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_agent_communication.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_agents_interactions_detailed.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_agents_interactions_detailed.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/fleet_agents_interactions_detailed.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_agents_interactions_detailed.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_debugger.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_debugger.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/fleet_debugger.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_debugger.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_router.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_router.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/fleet_router.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_router.md diff --git a/x-pack/plugins/fleet/dev_docs/fleet_ui_extensions.md b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_ui_extensions.md similarity index 93% rename from x-pack/plugins/fleet/dev_docs/fleet_ui_extensions.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/fleet_ui_extensions.md index d361a425450d6..c63a12f04b9ea 100644 --- a/x-pack/plugins/fleet/dev_docs/fleet_ui_extensions.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/fleet_ui_extensions.md @@ -63,7 +63,7 @@ export class Plugin { > The code above lives in `x-pack/solutions/security/plugins/security_solution/public/plugin.tsx` -For a list of supported Fleet UI extensions, see the `UIExtensionPoint` and associated Union types defined here: `x-pack/plugins/fleet/public/types/ui_extensions.ts`. +For a list of supported Fleet UI extensions, see the `UIExtensionPoint` and associated Union types defined here: `x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts`. @@ -100,4 +100,4 @@ const LinkToAgentEnroll = () => { } ``` -For a list of supported Fleet pages, see the type `AnyIntraAppRouteState` and its associated Union types in `x-pack/plugins/fleet/public/types/intra_app_route_state.ts` +For a list of supported Fleet pages, see the type `AnyIntraAppRouteState` and its associated Union types in `x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts` diff --git a/x-pack/plugins/fleet/dev_docs/indexing_strategy.md b/x-pack/platform/plugins/shared/fleet/dev_docs/indexing_strategy.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/indexing_strategy.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/indexing_strategy.md diff --git a/x-pack/plugins/fleet/dev_docs/input_packages.md b/x-pack/platform/plugins/shared/fleet/dev_docs/input_packages.md similarity index 96% rename from x-pack/plugins/fleet/dev_docs/input_packages.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/input_packages.md index 3242cffe8db55..9f0f7a977ed48 100644 --- a/x-pack/plugins/fleet/dev_docs/input_packages.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/input_packages.md @@ -16,7 +16,7 @@ An example of an input package is the `logs` package. Currently, the dataset is the only way that a user can customize an input only integration, the user can specify a new or existing dataset and the data will be sent there. -To allow this customization, kibana only creates the index and component templates at package policy creation time (as opposed to at package install time as with integration packages). Related code [here](https://github.com/hop-dev/kibana/blob/08d44fe52b3900c80242d2446feef7b7a7f9e2af/x-pack/plugins/fleet/server/services/epm/packages/_install_package.ts#L219) +To allow this customization, kibana only creates the index and component templates at package policy creation time (as opposed to at package install time as with integration packages). Related code [here](https://github.com/hop-dev/kibana/blob/08d44fe52b3900c80242d2446feef7b7a7f9e2af/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/_install_package.ts#L219) The index templates etc are only created if the user selected to send to a datastream which doesn't currently exist. diff --git a/x-pack/plugins/fleet/dev_docs/integrations_overview.md b/x-pack/platform/plugins/shared/fleet/dev_docs/integrations_overview.md similarity index 98% rename from x-pack/plugins/fleet/dev_docs/integrations_overview.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/integrations_overview.md index 19d0564cf6f2a..8d90617ddc844 100644 --- a/x-pack/plugins/fleet/dev_docs/integrations_overview.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/integrations_overview.md @@ -115,7 +115,7 @@ stack component. These assets are usually YML or JSON files that Fleet passes of These files represent two ingest pipelines that ship with the Nginx integration to provide out-of-the-box mappings, field processing, etc for Nginx data. -For more information on data streams, see Fleet's dev docs [here](https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/dev_docs/data_streams.md). +For more information on data streams, see Fleet's dev docs [here](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/dev_docs/data_streams.md). ### `agent/stream` directory diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/agentless.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/agentless.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/agentless.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/agentless.md diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md similarity index 98% rename from x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md index da0ebf8bd2eca..3a343c99c9711 100644 --- a/x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_and_fleet_server.md @@ -243,7 +243,7 @@ xpack.fleet.agentPolicies: frozen: true ``` -Some packages are bundled with kibana e.g. apm, elastic_agent (see [bundled packages doc](https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/README.md#bundled-packages)). To use the latest versions, download the latest kibana distributable from [here](https://artifacts-api.elastic.co/v1/versions/latest), extract, and set the `bundledPackageLocation` in kibana config. +Some packages are bundled with kibana e.g. apm, elastic_agent (see [bundled packages doc](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/README.md#bundled-packages)). To use the latest versions, download the latest kibana distributable from [here](https://artifacts-api.elastic.co/v1/versions/latest), extract, and set the `bundledPackageLocation` in kibana config. Alternatively, turn on beta integrations on the UI, to use the newest prerelease versions from the registry. diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_in_serverless.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_in_serverless.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/developing_kibana_in_serverless.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/developing_kibana_in_serverless.md diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/enrolling_agents.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/enrolling_agents.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/enrolling_agents.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/enrolling_agents.md diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/run_dockerized_elastic_agent.sh b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/run_dockerized_elastic_agent.sh similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/run_dockerized_elastic_agent.sh rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/run_dockerized_elastic_agent.sh diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md similarity index 95% rename from x-pack/plugins/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md index 3750250cf8c03..89760bbbd8aab 100644 --- a/x-pack/plugins/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/sample_kibana_dev_yml.md @@ -29,8 +29,8 @@ logging: # =================== Fleet Settings =================== # Official Fleet settings documentation: https://www.elastic.co/guide/en/kibana/current/fleet-settings-kb.html -# FleetConfigType definition: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/common/types/index.ts -# PluginConfigDescriptor definition: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/config.ts +# FleetConfigType definition: https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/common/types/index.ts +# PluginConfigDescriptor definition: https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/server/config.ts # xpack.fleet.registryUrl: https://localhost:8080 diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_add_agent_1.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_add_agent_1.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_add_agent_1.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_add_agent_1.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_add_agent_2.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_add_agent_2.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_add_agent_2.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_add_agent_2.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_fleet_server.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_fleet_server.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_fleet_server.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_fleet_server.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_fleet_settings.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_fleet_settings.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/docker_fleet_settings.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/docker_fleet_settings.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/no_fleet_server.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/no_fleet_server.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/no_fleet_server.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/no_fleet_server.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_add_agent_1.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_add_agent_1.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_add_agent_1.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_add_agent_1.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_add_agent_2.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_add_agent_2.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_add_agent_2.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_add_agent_2.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_1.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_1.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_1.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_1.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_2.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_2.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_2.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_2.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_3.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_3.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_3.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_server_3.png diff --git a/x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_settings.png b/x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_settings.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/local_setup/screenshots/vm_fleet_settings.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/local_setup/screenshots/vm_fleet_settings.png diff --git a/x-pack/plugins/fleet/dev_docs/react_query.md b/x-pack/platform/plugins/shared/fleet/dev_docs/react_query.md similarity index 96% rename from x-pack/plugins/fleet/dev_docs/react_query.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/react_query.md index 1ae8fbadcf448..3984559e31216 100644 --- a/x-pack/plugins/fleet/dev_docs/react_query.md +++ b/x-pack/platform/plugins/shared/fleet/dev_docs/react_query.md @@ -11,7 +11,7 @@ This document seeks to outline the Fleet + Integrations apps' usage of [`@tansta ## How Fleet/Integrations uses custom data fetching hooks -Historically, Fleet/Integrations have used homegrown data fetching hooks in a common folder at [`public/hooks/use_request`](https://github.com/elastic/kibana/tree/main/x-pack/plugins/fleet/public/hooks/use_request). Each `.ts` file in this directory contains one or more data fetching hooks related to a particular resource or concept. For example, here's what some data fetching hooks for `packages` and `categories` might look like: +Historically, Fleet/Integrations have used homegrown data fetching hooks in a common folder at [`public/hooks/use_request`](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/shared/fleet/public/hooks/use_request). Each `.ts` file in this directory contains one or more data fetching hooks related to a particular resource or concept. For example, here's what some data fetching hooks for `packages` and `categories` might look like: ```ts // use_request/epm.ts diff --git a/x-pack/plugins/fleet/dev_docs/schema/agent_checkin.mml b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_checkin.mml similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/agent_checkin.mml rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_checkin.mml diff --git a/x-pack/plugins/fleet/dev_docs/schema/agent_checkin.png b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_checkin.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/agent_checkin.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_checkin.png diff --git a/x-pack/plugins/fleet/dev_docs/schema/agent_enroll.mml b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_enroll.mml similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/agent_enroll.mml rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_enroll.mml diff --git a/x-pack/plugins/fleet/dev_docs/schema/agent_enroll.png b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_enroll.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/agent_enroll.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/agent_enroll.png diff --git a/x-pack/plugins/fleet/dev_docs/schema/saved_objects.mml b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/saved_objects.mml similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/saved_objects.mml rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/saved_objects.mml diff --git a/x-pack/plugins/fleet/dev_docs/schema/saved_objects.png b/x-pack/platform/plugins/shared/fleet/dev_docs/schema/saved_objects.png similarity index 100% rename from x-pack/plugins/fleet/dev_docs/schema/saved_objects.png rename to x-pack/platform/plugins/shared/fleet/dev_docs/schema/saved_objects.png diff --git a/x-pack/plugins/fleet/dev_docs/secrets.md b/x-pack/platform/plugins/shared/fleet/dev_docs/secrets.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/secrets.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/secrets.md diff --git a/x-pack/plugins/fleet/dev_docs/space_awareness.md b/x-pack/platform/plugins/shared/fleet/dev_docs/space_awareness.md similarity index 100% rename from x-pack/plugins/fleet/dev_docs/space_awareness.md rename to x-pack/platform/plugins/shared/fleet/dev_docs/space_awareness.md diff --git a/x-pack/plugins/fleet/jest.config.js b/x-pack/platform/plugins/shared/fleet/jest.config.js similarity index 66% rename from x-pack/plugins/fleet/jest.config.js rename to x-pack/platform/plugins/shared/fleet/jest.config.js index 0841e48e59468..dbdcca9bb0570 100644 --- a/x-pack/plugins/fleet/jest.config.js +++ b/x-pack/platform/plugins/shared/fleet/jest.config.js @@ -7,12 +7,14 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/fleet'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/fleet'], transform: { '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', }, - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/fleet', + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/fleet', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/fleet/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/fleet/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/event_log/jest.integration.config.js b/x-pack/platform/plugins/shared/fleet/jest.integration.config.js similarity index 77% rename from x-pack/plugins/event_log/jest.integration.config.js rename to x-pack/platform/plugins/shared/fleet/jest.integration.config.js index c05b67e314755..f313ecd7ac499 100644 --- a/x-pack/plugins/event_log/jest.integration.config.js +++ b/x-pack/platform/plugins/shared/fleet/jest.integration.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test/jest_integration', - rootDir: '../../..', - roots: ['/x-pack/plugins/event_log'], + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/fleet'], }; diff --git a/x-pack/plugins/fleet/kibana.jsonc b/x-pack/platform/plugins/shared/fleet/kibana.jsonc similarity index 100% rename from x-pack/plugins/fleet/kibana.jsonc rename to x-pack/platform/plugins/shared/fleet/kibana.jsonc diff --git a/x-pack/platform/plugins/shared/fleet/package.json b/x-pack/platform/plugins/shared/fleet/package.json new file mode 100644 index 0000000000000..fb9e7bfdf3653 --- /dev/null +++ b/x-pack/platform/plugins/shared/fleet/package.json @@ -0,0 +1,21 @@ +{ + "author": "Elastic", + "name": "@kbn/fleet-plugin", + "version": "1.0.0", + "private": true, + "license": "Elastic License 2.0", + "scripts": { + "cypress_space_awareness": "NODE_OPTIONS=--openssl-legacy-provider node ../../../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../platform/plugins/shared/fleet/cypress.config.space_awareness.ts --ftr-config-file ../../../../../x-pack/test/fleet_cypress/cli_config.space_awareness", + "cypress_space_awareness:open": "yarn cypress_space_awareness open", + "cypress_space_awareness:run": "yarn cypress_space_awareness run", + "cypress_space_awareness:run:reporter": "yarn cypress_space_awareness run --reporter ../../../../../node_modules/cypress-multi-reporters --reporter-options configFile=cypress/reporter_config.json", + "cypress": "NODE_OPTIONS=--openssl-legacy-provider node ../../../../solutions/security/plugins/security_solution/scripts/start_cypress_parallel --config-file ../../platform/plugins/shared/fleet/cypress.config.ts --ftr-config-file ../../../../../x-pack/test/fleet_cypress/cli_config", + "cypress:open": "yarn cypress open", + "cypress:run": "yarn cypress run", + "cypress:run:reporter": "yarn cypress run --reporter ../../../../../node_modules/cypress-multi-reporters --reporter-options configFile=cypress/reporter_config.json", + "junit:merge": "../../../../../node_modules/.bin/mochawesome-merge ../../../../../target/kibana-fleet/cypress/results/mochawesome*.json > ../../../../../target/kibana-fleet/cypress/results/output.json && ../../../../../node_modules/.bin/marge ../../../../../target/kibana-fleet/cypress/results/output.json --reportDir ../../../../../target/kibana-fleet/cypress/results && mkdir -p ../../../../../target/junit && cp ../../../../../target/kibana-fleet/cypress/results/*.xml ../../../../../target/junit/", + "openapi:build": "npx @redocly/openapi-cli bundle --ext yaml --output ./common/openapi/bundled.yaml ./common/openapi/entrypoint.yaml && npx @redocly/openapi-cli bundle --ext json --output ./common/openapi/bundled.json ./common/openapi/entrypoint.yaml", + "openapi:lint": "npx @redocly/cli lint ./common/openapi/bundled.yaml", + "openapi:speccy": "npx speccy lint ./common/openapi/bundled.yaml" + } +} \ No newline at end of file diff --git a/x-pack/plugins/fleet/public/applications/fleet/app.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/app.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/app.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/app.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/app.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/app.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/app.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/app.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/advanced_tab.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/advanced_tab.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/advanced_tab.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/advanced_tab.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_hosts_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_hosts_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_hosts_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_hosts_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/flyout.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/flyout.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/flyout.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/flyout.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_advanced_form.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_advanced_form.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_advanced_form.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_advanced_form.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_fleet_server_host.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_fleet_server_host.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_fleet_server_host.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_fleet_server_host.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_latest_fleet_servers.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_latest_fleet_servers.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_latest_fleet_servers.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_latest_fleet_servers.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_quick_start_form.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_quick_start_form.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_quick_start_form.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_quick_start_form.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_select_fleet_server_policy.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_wait_for_fleet_server.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_wait_for_fleet_server.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_wait_for_fleet_server.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/hooks/use_wait_for_fleet_server.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/instructions.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/instructions.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/instructions.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/instructions.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/quick_start_tab.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/quick_start_tab.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/quick_start_tab.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/quick_start_tab.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/add_fleet_server_host.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/add_fleet_server_host.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/add_fleet_server_host.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/add_fleet_server_host.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/confirm_fleet_server_connection.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/confirm_fleet_server_connection.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/confirm_fleet_server_connection.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/confirm_fleet_server_connection.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/create_service_token.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/create_service_token.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/create_service_token.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/create_service_token.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/get_started.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/get_started.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/get_started.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/get_started.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/select_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/select_agent_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/select_agent_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/select_agent_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/fleet_server_instructions/utils/install_command_utils.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/form_settings/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/form_settings/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/form_settings/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/form_settings/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/form_settings/settings_field_group.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/settings_field_group.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/form_settings/settings_field_group.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/settings_field_group.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/form_settings/settings_field_wrapper.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/settings_field_wrapper.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/form_settings/settings_field_wrapper.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/form_settings/settings_field_wrapper.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/generate_service_token.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/generate_service_token.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/generate_service_token.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/generate_service_token.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/search_bar.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/search_bar.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/search_bar.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/search_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/components/search_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/constants/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/constants/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/constants/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/constants/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_apm_service_href.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_apm_service_href.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_apm_service_href.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_apm_service_href.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_apm_service_href.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_apm_service_href.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_apm_service_href.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_apm_service_href.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_check_permissions.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_check_permissions.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_check_permissions.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_check_permissions.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_service_token.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_service_token.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/hooks/use_service_token.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/hooks/use_service_token.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/default/default.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/default.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/default/default.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/default.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/default/default_page_title.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/default_page_title.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/default/default_page_title.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/default_page_title.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/default/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/default/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/default/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/error.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/error.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/error.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/error.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/layouts/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/layouts/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/layouts/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/actions_menu.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/advanced_monitoring.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/advanced_monitoring.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/advanced_monitoring.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/advanced_monitoring.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/global_data_tags_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/custom_fields/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/space_selector.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_copy_provider.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_copy_provider.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_copy_provider.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_copy_provider.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_create_inline.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_delete_provider.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_delete_provider.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_delete_provider.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_delete_provider.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_general_fields.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_general_fields.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_general_fields.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_general_fields.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_integration.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_integration.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_integration.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_integration.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_system_monitoring_field.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_system_monitoring_field.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_system_monitoring_field.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_system_monitoring_field.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_validation.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/confirm_deploy_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_mappings.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/datastream_pipelines.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/integration_breadcrumb.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/integration_breadcrumb.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/integration_breadcrumb.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/integration_breadcrumb.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_multi_select.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_multi_select.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_multi_select.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_multi_select.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_options.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_options.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_options.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/agent_policy_options.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_component.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/multi_text_input.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_config.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_panel.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_stream.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/package_policy_input_var_field.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/sort_datastreams.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/use_policies.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/use_policies.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/use_policies.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/use_policies.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_configure_package.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_define_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_agent_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/step_select_hosts.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/navigation.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/navigation.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/navigation.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/hooks/navigation.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/add_first_integration_splash.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/add_first_integration_splash.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/add_first_integration_splash.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/add_first_integration_splash.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/bottom_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_timeout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_timeout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_timeout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_timeout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_with_preview.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_with_preview.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_with_preview.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirm_incoming_data_with_preview.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/confirming_incoming_data_standalone.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/horizontal_page_steps.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/horizontal_page_steps.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/horizontal_page_steps.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/horizontal_page_steps.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/multi_page_steps_layout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/multi_page_steps_layout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/multi_page_steps_layout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/multi_page_steps_layout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/add_integration.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/add_integration.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/add_integration.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/add_integration.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/confirm_data.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/confirm_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/confirm_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/confirm_data.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_managed.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_managed.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_managed.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_managed.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_standalone.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_standalone.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_standalone.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/install_agent_standalone.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/types.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/types.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/page_steps/install_agent/types.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/standalone_mode_warning_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/standalone_mode_warning_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/standalone_mode_warning_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/components/standalone_mode_warning_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/send_generate_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/send_generate_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/send_generate_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/send_generate_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_agent_policy_or_default.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/hooks/use_get_logs_discover_link.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/types.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/types.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/multi_page_layout/types.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/has_invalid_but_required_var.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/is_advanced_var.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/services/prepare_input_pkg_policy_dataset.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_azure_arm_template_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_azure_arm_template_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_azure_arm_template_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_azure_arm_template_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_cloud_formation_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_cloud_formation_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_cloud_formation_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_cloud_formation_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_google_cloud_shell_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_google_cloud_shell_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_google_cloud_shell_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/cloud_security_posture/post_install_google_cloud_shell_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/layout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/layout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/layout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/layout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/post_install_add_agent_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/post_install_add_agent_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/post_install_add_agent_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/post_install_add_agent_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/setup_technology_selector.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/setup_technology_selector.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/setup_technology_selector.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/components/setup_technology_selector.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/devtools_request.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/devtools_request.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/devtools_request.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/devtools_request.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/setup_technology.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/root_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/root_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/root_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/root_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/types.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/types.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/types.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/append_on_save_query_params.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/utils/package_has_at_least_one_secret.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/left_content.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/header/right_content.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/no_package_policies.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/no_package_policies.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/no_package_policies.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/no_package_policies.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/settings/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/use_agent_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/use_agent_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/use_agent_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/hooks/use_agent_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/step_edit_hosts.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_history_block.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy_steps.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy_steps.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy_steps.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/hooks/use_package_policy_steps.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/fix_apm_duration_vars.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/get_new_secrets.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/has_upgrade_available.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/has_upgrade_available.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/has_upgrade_available.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/has_upgrade_available.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/services/devtools_request.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/services/devtools_request.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/services/devtools_request.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/services/devtools_request.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/services/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/services/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/services/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/services/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/upgrade_package_policy_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/upgrade_package_policy_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/upgrade_package_policy_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/upgrade_package_policy_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/action_menu.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/action_menu.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/action_menu.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/action_menu.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/actions_menu.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/actions_menu.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/actions_menu.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/actions_menu.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_dashboard_link.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_input_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_input_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_input_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_input_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integration_inputs.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integrations.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integrations.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integrations.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_integrations.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_overview.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_overview.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_overview.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/agent_details_overview.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_status_utils.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_type_utils.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_type_utils.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_type_utils.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details/input_type_utils.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_details_json_flyout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/agent_logs.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/build_query.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/constants.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/constants.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/constants.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/constants.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_dataset.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_log_level.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_log_level.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_log_level.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/filter_log_level.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/select_log_level.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/select_log_level.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/select_log_level.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/select_log_level.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/view_logs_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/view_logs_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/view_logs_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/view_logs_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/use_agent.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/use_agent.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/use_agent.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/hooks/use_agent.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_badge.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_badge.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_badge.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_badge.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_item.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_item.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_item.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_item.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/activity_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/agent_activity_helper.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/flyout_body.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/flyout_body.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/flyout_body.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/flyout_body.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/go_to_date.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/go_to_date.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/go_to_date.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/go_to_date.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/helpers.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/helpers.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/helpers.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/helpers.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/upgrade_in_progress_activity_item.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/upgrade_in_progress_activity_item.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/upgrade_in_progress_activity_item.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/upgrade_in_progress_activity_item.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/view_agents_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/view_agents_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/view_agents_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_activity_flyout/view_agents_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_export_csv_tour.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_export_csv_tour.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_export_csv_tour.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_export_csv_tour.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_policy_outputs_summary.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_soft_limit_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_soft_limit_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_soft_limit_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_soft_limit_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_status_filter.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_upgrade_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agents_selection_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/bulk_actions.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/dashboards_buttons.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/dashboards_buttons.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/dashboards_buttons.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/dashboards_buttons.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/empty_prompt.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/empty_prompt.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/empty_prompt.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/agent_policy_filter.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/agent_policy_filter.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/agent_policy_filter.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/agent_policy_filter.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/filter_bar/tags_filter.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/search_and_filter_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_badges.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_badges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_badges.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_badges.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/status_bar.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_header.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_header.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_header.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/table_row_actions.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tag_options.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/tags_add_remove.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/types.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/types.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/types.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/types.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/components/view_errors.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/export_csv.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_action_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_agent_soft_limit.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_fetch_agents_data.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_last_seen_inactive_agents_count.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_last_seen_inactive_agents_count.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_last_seen_inactive_agents_count.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_last_seen_inactive_agents_count.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_missing_encryption_key_callout.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_missing_encryption_key_callout.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_missing_encryption_key_callout.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_missing_encryption_key_callout.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/hooks/use_update_tags.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_common_tags.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/get_kuery.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/sanitize_tag.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/truncate_tag.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/truncate_tag.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/truncate_tag.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_list_page/utils/truncate_tag.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/enrollment_recommendation.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/enrollment_recommendation.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/enrollment_recommendation.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/enrollment_recommendation.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/fleet_server_requirement_page.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/fleet_server_requirement_page.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/fleet_server_requirement_page.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/fleet_server_requirement_page.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_requirements_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/columns.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_export_csv_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_health.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_health.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_policy_created_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_policy_created_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_policy_created_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_policy_created_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_reassign_policy_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_reassign_policy_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_reassign_policy_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_reassign_policy_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_request_diagnostics_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_unenroll_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_unenroll_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_unenroll_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_unenroll_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/constants.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/agent_upgrade_modal/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_cloud_unhealthy_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_cloud_unhealthy_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_cloud_unhealthy_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_cloud_unhealthy_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_encryption_key_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_encryption_key_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_encryption_key_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_encryption_key_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_es_privileges.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_es_privileges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_es_privileges.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_es_privileges.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_kbn_privileges.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_kbn_privileges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_kbn_privileges.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_missing_kbn_privileges.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_required_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_required_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_required_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_required_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_unhealthy_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_unhealthy_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_unhealthy_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/fleet_server_on_prem_unhealthy_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/fleet_server_callouts/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/loading.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/loading.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/loading.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/loading.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/metric_non_available.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/metric_non_available.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/metric_non_available.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/metric_non_available.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/tags.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/tags.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/tags.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/tags.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/tags.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/tags.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/tags.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/components/tags.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/components/confirm_delete_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/components/confirm_delete_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/components/confirm_delete_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/components/confirm_delete_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/enrollment_token_list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/error_pages/components/no_data_layout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/error_pages/components/no_data_layout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/error_pages/components/no_data_layout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/error_pages/components/no_data_layout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/error_pages/no_access.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/error_pages/no_access.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/error_pages/no_access.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/error_pages/no_access.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/hooks/use_fleet_server_unhealthy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_metrics.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_metrics.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_metrics.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_metrics.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_metrics.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_metrics.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_metrics.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_metrics.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/dashboard_helper.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/dashboard_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/dashboard_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/dashboard_helper.test.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/dashboard_helpers.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/dashboard_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/dashboard_helpers.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/services/dashboard_helpers.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/translations.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/translations.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/translations.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/uninstall_token_list_page/translations.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/components/data_stream_row_actions.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/list_page/components/data_stream_row_actions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/components/data_stream_row_actions.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/list_page/components/data_stream_row_actions.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/agent_policy_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/agent_policy_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/agent_policy_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/agent_policy_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/code_block.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/code_block.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/code_block.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/code_block.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/fleet_index_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/fleet_index_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/fleet_index_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/fleet_index_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/health_check_panel.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/health_check_panel.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/health_check_panel.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/health_check_panel.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/integration_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/orphaned_integration_policy_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/orphaned_integration_policy_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/orphaned_integration_policy_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/orphaned_integration_policy_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/preconfiguration_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/preconfiguration_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/preconfiguration_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/preconfiguration_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/saved_object_debugger.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/saved_object_debugger.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/saved_object_debugger.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/saved_object_debugger.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/saved_object_names_combo.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/saved_object_names_combo.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/components/saved_object_names_combo.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/components/saved_object_names_combo.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/debug/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/debug/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/debug/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/confirm_update.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/confirm_update.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/confirm_update.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/confirm_update.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/services/get_count.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_delete_download_source.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_delete_download_source.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_delete_download_source.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_delete_download_source.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_flyout/use_download_source_flyout_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_table/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_table/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/download_source_table/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/download_source_table/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_fleet_proxy_flyout/use_fleet_proxy_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/advanced_options_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/advanced_options_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/advanced_options_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/advanced_options_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/confirm_update.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/encryption_key_required_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/encryption_key_required_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/encryption_key_required_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/encryption_key_required_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_elasticsearch.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_elasticsearch.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_elasticsearch.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_elasticsearch.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_authentication.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_broker.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_broker.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_broker.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_broker.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_compression.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_compression.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_compression.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_compression.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_headers.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_headers.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_headers.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_headers.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_partitioning.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_kafka_topics.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_logstash.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_logstash.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_logstash.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_logstash.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_remote_es.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_remote_es.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_remote_es.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_remote_es.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_secret_form_row.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_form_validators.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/output_health.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/use_output_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/edit_output_flyout/yaml_code_editor_with_placeholder.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/proxy_warning.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/proxy_warning.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/proxy_warning.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_proxies_table/proxy_warning.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_flyout/use_fleet_server_host_form.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_table/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_table/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_table/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/fleet_server_hosts_table/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/form/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/form/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/form/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/form/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/helpers.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/hooks.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/logstash_instructions/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/multi_row_input/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/badges.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/outputs_table/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/advanced_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/advanced_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/advanced_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/advanced_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/agent_binary_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/agent_binary_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/agent_binary_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/agent_binary_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_proxies_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_proxies_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_proxies_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_proxies_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_server_hosts_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_server_hosts_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_server_hosts_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/fleet_server_hosts_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/output_section.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/output_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/components/settings_page/output_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/components/settings_page/output_section.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_confirm_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_fleet_server_host.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_fleet_server_host.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_fleet_server_host.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_fleet_server_host.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_output.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_output.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_output.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_output.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_proxy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_proxy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/hooks/use_delete_proxy.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/hooks/use_delete_proxy.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/settings/services/agent_and_policies_count.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/services/agent_and_policies_count.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/sections/settings/services/agent_and_policies_count.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/settings/services/agent_and_policies_count.tsx diff --git a/x-pack/plugins/fleet/public/applications/fleet/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/services/index.ts diff --git a/x-pack/plugins/fleet/public/applications/fleet/types/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/types/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/fleet/types/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/fleet/types/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/app.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/app.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/app.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/app.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/confirm_open_unverified_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/confirm_open_unverified_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/confirm_open_unverified_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/confirm_open_unverified_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/deployment_details.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/deployment_details.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/header/deployment_details.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/deployment_details.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/header.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/header/header.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/header.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/header_portal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/header/header_portal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/header_portal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/header/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/header/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/header/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/components/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/constants.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/constants.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/constants.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/constants.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_agent_policy_context.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_agent_policy_context.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_agent_policy_context.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_agent_policy_context.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_breadcrumbs.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_confirm_force_install.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_confirm_open_unverified.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_integrations_state.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_integrations_state.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_integrations_state.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_integrations_state.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_links.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_links.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_links.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_links.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_local_search.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_local_search.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_local_search.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_local_search.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.test.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_merge_epr_with_replacements.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_package_install.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_package_install.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_package_install.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_package_install.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_package_install.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/hooks/use_read_only_context.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_read_only_context.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/hooks/use_read_only_context.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/hooks/use_read_only_context.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/layouts/default.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/layouts/default.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/layouts/default.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/layouts/default.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/layouts/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/layouts/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/layouts/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/layouts/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/icons.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/icons.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/icons.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/icons.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/installation_status.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/installation_status.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/installation_status.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/installation_status.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/installation_status.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/installation_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/installation_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/installation_status.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/integration_preference.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/integration_preference.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_card.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/controls.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/controls.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/controls.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/controls.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/grid.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/missing_integrations.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/missing_integrations.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/missing_integrations.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/missing_integrations.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/search_box.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/search_box.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid/search_box.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/package_list_grid/search_box.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/requirements.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/requirements.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/requirements.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/requirements.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/requirements.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/requirements.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/requirements.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/requirements.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/side_bar_column.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/side_bar_column.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/side_bar_column.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/side_bar_column.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.test.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/utils/promote_featured_integrations.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/version.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/version.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/version.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/components/version.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/constants.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/constants.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/constants.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/constants.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/create/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_accordion.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_accordion.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_accordion.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_accordion.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_warning.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_warning.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_warning.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_assets_warning.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_transforms_accordion.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_transforms_accordion.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_transforms_accordion.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/deferred_transforms_accordion.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/install_kibana_assets_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/install_kibana_assets_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/install_kibana_assets_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/assets/install_kibana_assets_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/add_integration_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/add_integration_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/add_integration_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/add_integration_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/back_link.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/bidirectional_integrations_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/cloud_posture_third_party_support_callout.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/icon_panel.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/icon_panel.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/icon_panel.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/icon_panel.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/integration_agent_policy_count.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/integration_agent_policy_count.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/integration_agent_policy_count.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/integration_agent_policy_count.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/configs/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom/custom.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom/custom.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom/custom.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom/custom.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom_languages_overview.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom_languages_overview.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/custom_languages_overview.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/custom_languages_overview.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/detail.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/detail.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/detail.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/detail.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/documentation/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/documentation/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/documentation/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/documentation/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/use_is_first_time_agent_user.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/use_is_first_time_agent_user.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/use_is_first_time_agent_user.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/hooks/use_is_first_time_agent_user.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.scss b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.scss similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.scss rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.scss diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/license_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/license_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/license_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/license_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/notice_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/notice_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/notice_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/notice_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/readme.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/requirements.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/requirements.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/requirements.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/requirements.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/screenshots.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/screenshots.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/screenshots.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/overview/screenshots.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agent_based_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/agentless_table.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/components/package_policy_agents_cell.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/persona.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/persona.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/persona.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/persona.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/use_package_policies_with_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/use_package_policies_with_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/use_package_policies_with_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/policies/use_package_policies_with_agent_policy.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/changelog_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/changelog_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/changelog_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/changelog_modal.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_install.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_install.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_install.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_install.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_uninstall.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_uninstall.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_uninstall.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/confirm_package_uninstall.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/install_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/install_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/install_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/install_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/reinstall_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/reinstall_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/reinstall_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/reinstall_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/uninstall_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/uninstall_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/uninstall_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/uninstall_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/settings/update_button.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.test.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/changelog_utils.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.test.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.test.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.test.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/get_install_route_options.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/detail/utils/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/available_packages.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.test.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.test.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/card_utils.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/category_facets.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/home.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/home.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/home.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/home.stories.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_available_packages.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_build_integrations_url.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_build_integrations_url.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_build_integrations_url.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/hooks/use_build_integrations_url.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/installed_packages.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/installed_packages.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/installed_packages.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/installed_packages.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/util.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/util.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/util.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/home/util.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/policy/index.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/policy/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/policy/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/epm/screens/policy/index.tsx diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/sections/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/sections/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/services/index.ts diff --git a/x-pack/plugins/fleet/public/applications/integrations/types/index.ts b/x-pack/platform/plugins/shared/fleet/public/applications/integrations/types/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/applications/integrations/types/index.ts rename to x-pack/platform/plugins/shared/fleet/public/applications/integrations/types/index.ts diff --git a/x-pack/plugins/fleet/public/assets/1_install_agent.svg b/x-pack/platform/plugins/shared/fleet/public/assets/1_install_agent.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/1_install_agent.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/1_install_agent.svg diff --git a/x-pack/plugins/fleet/public/assets/2_add_integration.svg b/x-pack/platform/plugins/shared/fleet/public/assets/2_add_integration.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/2_add_integration.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/2_add_integration.svg diff --git a/x-pack/plugins/fleet/public/assets/3_confirm_data.svg b/x-pack/platform/plugins/shared/fleet/public/assets/3_confirm_data.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/3_confirm_data.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/3_confirm_data.svg diff --git a/x-pack/plugins/fleet/public/assets/announcement.jpg b/x-pack/platform/plugins/shared/fleet/public/assets/announcement.jpg similarity index 100% rename from x-pack/plugins/fleet/public/assets/announcement.jpg rename to x-pack/platform/plugins/shared/fleet/public/assets/announcement.jpg diff --git a/x-pack/plugins/fleet/public/assets/arrow_right_curve_over.svg b/x-pack/platform/plugins/shared/fleet/public/assets/arrow_right_curve_over.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/arrow_right_curve_over.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/arrow_right_curve_over.svg diff --git a/x-pack/plugins/fleet/public/assets/arrow_right_curve_under.svg b/x-pack/platform/plugins/shared/fleet/public/assets/arrow_right_curve_under.svg similarity index 100% rename from x-pack/plugins/fleet/public/assets/arrow_right_curve_under.svg rename to x-pack/platform/plugins/shared/fleet/public/assets/arrow_right_curve_under.svg diff --git a/x-pack/plugins/fleet/public/components/add_agent_help_popover.tsx b/x-pack/platform/plugins/shared/fleet/public/components/add_agent_help_popover.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/add_agent_help_popover.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/add_agent_help_popover.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/advanced_agent_authentication_settings.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/advanced_agent_authentication_settings.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/advanced_agent_authentication_settings.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/advanced_agent_authentication_settings.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.mocks.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.mocks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.mocks.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.mocks.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_enrollment_flyout.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_select_create.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_select_create.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_select_create.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_select_create.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/agent_policy_selection.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/confirm_agent_enrollment.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/confirm_agent_enrollment.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/confirm_agent_enrollment.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/confirm_agent_enrollment.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/confirm_incoming_data.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/confirm_incoming_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/confirm_incoming_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/confirm_incoming_data.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/default_missing_requirements.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/default_missing_requirements.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/default_missing_requirements.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/default_missing_requirements.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/hooks.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/hooks.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/hooks.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/installation_message.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/installation_message.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/installation_message.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/installation_message.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/kubernetes_instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_confirmation_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_confirmation_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_confirmation_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_confirmation_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_key_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_key_selection_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_key_selection_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_enrollment_key_selection_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_policy_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_policy_selection_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/agent_policy_selection_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/agent_policy_selection_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/compute_steps.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/compute_steps.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/compute_steps.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/compute_steps.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/configure_standalone_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/configure_standalone_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/configure_standalone_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/configure_standalone_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/incoming_data_confirmation_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/incoming_data_confirmation_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/incoming_data_confirmation_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/incoming_data_confirmation_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/index.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/install_managed_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/install_managed_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/install_managed_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/install_managed_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/install_standalone_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/install_standalone_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/install_standalone_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/install_standalone_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/installation_mode_selection_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/run_k8s_apply_command_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/run_k8s_apply_command_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/steps/run_k8s_apply_command_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/steps/run_k8s_apply_command_step.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/types.ts b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/types.ts rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/types.ts diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/use_get_agent_incoming_data.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/use_get_agent_incoming_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_enrollment_flyout/use_get_agent_incoming_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_enrollment_flyout/use_get_agent_incoming_data.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_policy_package_badge.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_policy_package_badge.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_policy_package_badge.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_policy_package_badge.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_policy_package_badges.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_policy_package_badges.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_policy_package_badges.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_policy_package_badges.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_policy_summary_line.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_policy_summary_line.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_policy_summary_line.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_policy_summary_line.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agent_policy_summary_line.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agent_policy_summary_line.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agent_policy_summary_line.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agent_policy_summary_line.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/index.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/index.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/index.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/index.test.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/next_steps.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/next_steps.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/next_steps.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/next_steps.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/step_confirm_data.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/step_confirm_data.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/step_confirm_data.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/step_confirm_data.tsx diff --git a/x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/step_confirm_enrollment.tsx b/x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/step_confirm_enrollment.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/agentless_enrollment_flyout/step_confirm_enrollment.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/agentless_enrollment_flyout/step_confirm_enrollment.tsx diff --git a/x-pack/plugins/fleet/public/components/api_key_field.tsx b/x-pack/platform/plugins/shared/fleet/public/components/api_key_field.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/api_key_field.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/api_key_field.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/azure_arm_template_guide.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/azure_arm_template_guide.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/azure_arm_template_guide.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/azure_arm_template_guide.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/azure_arm_template_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/azure_arm_template_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/azure_arm_template_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/azure_arm_template_instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/cloud_formation_guide.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/cloud_formation_guide.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/cloud_formation_guide.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/cloud_formation_guide.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/cloud_formation_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/cloud_formation_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/cloud_formation_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/cloud_formation_instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/google_cloud_shell_guide.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/google_cloud_shell_guide.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/google_cloud_shell_guide.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/google_cloud_shell_guide.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/google_cloud_shell_instructions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/google_cloud_shell_instructions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/google_cloud_shell_instructions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/google_cloud_shell_instructions.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_azure_arm_template_url.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_azure_arm_template_url.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_azure_arm_template_url.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_azure_arm_template_url.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_formation_url.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_formation_url.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_formation_url.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_formation_url.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_shell_url.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_shell_url.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_shell_url.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/hooks/use_create_cloud_shell_url.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/index.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/install_azure_arm_template_managed_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_azure_arm_template_managed_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/install_azure_arm_template_managed_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_azure_arm_template_managed_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/install_cloud_formation_managed_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_cloud_formation_managed_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/install_cloud_formation_managed_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_cloud_formation_managed_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/install_google_cloud_shell_managed_agent_step.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_google_cloud_shell_managed_agent_step.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/install_google_cloud_shell_managed_agent_step.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/install_google_cloud_shell_managed_agent_step.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_azure_arm_props_from_package_policy.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_azure_arm_props_from_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_azure_arm_props_from_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_azure_arm_props_from_package_policy.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_formation_props_from_package_policy.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_agent_policy.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_cloud_shell_url_from_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_agent_policy.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_gcp_integration_details_from_package_policy.tsx diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_agent_policy.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.test.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.test.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.test.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/get_template_url_from_package_info.ts diff --git a/x-pack/plugins/fleet/public/components/cloud_security_posture/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/cloud_security_posture/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/cloud_security_posture/services/index.ts diff --git a/x-pack/plugins/fleet/public/components/confirm_force_install_modal.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/components/confirm_force_install_modal.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/confirm_force_install_modal.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/confirm_force_install_modal.stories.tsx diff --git a/x-pack/plugins/fleet/public/components/confirm_force_install_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/components/confirm_force_install_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/confirm_force_install_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/confirm_force_install_modal.tsx diff --git a/x-pack/plugins/fleet/public/components/context_menu_actions.tsx b/x-pack/platform/plugins/shared/fleet/public/components/context_menu_actions.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/context_menu_actions.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/context_menu_actions.tsx diff --git a/x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx b/x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/custom_assets_accordion.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/custom_assets_accordion.tsx diff --git a/x-pack/plugins/fleet/public/components/danger_eui_context_menu_item.tsx b/x-pack/platform/plugins/shared/fleet/public/components/danger_eui_context_menu_item.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/danger_eui_context_menu_item.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/danger_eui_context_menu_item.tsx diff --git a/x-pack/plugins/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/devtools_request_flyout/devtools_request_flyout.tsx diff --git a/x-pack/plugins/fleet/public/components/devtools_request_flyout/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/devtools_request_flyout/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/devtools_request_flyout/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/devtools_request_flyout/index.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/index.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/install_section.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/install_section.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/install_section.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/install_section.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/manual/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/manual/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/manual/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/manual/index.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/root_privileges_callout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/root_privileges_callout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/root_privileges_callout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/root_privileges_callout.test.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/root_privileges_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/root_privileges_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/root_privileges_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/root_privileges_callout.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/standalone/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/standalone/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/standalone/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/standalone/index.tsx diff --git a/x-pack/plugins/fleet/public/components/enrollment_instructions/unprivileged_info.tsx b/x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/unprivileged_info.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/enrollment_instructions/unprivileged_info.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/enrollment_instructions/unprivileged_info.tsx diff --git a/x-pack/plugins/fleet/public/components/error.tsx b/x-pack/platform/plugins/shared/fleet/public/components/error.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/error.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/error.tsx diff --git a/x-pack/plugins/fleet/public/components/eui_button_with_tooltip.tsx b/x-pack/platform/plugins/shared/fleet/public/components/eui_button_with_tooltip.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/eui_button_with_tooltip.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/eui_button_with_tooltip.tsx diff --git a/x-pack/plugins/fleet/public/components/extension_wrapper.tsx b/x-pack/platform/plugins/shared/fleet/public/components/extension_wrapper.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/extension_wrapper.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/extension_wrapper.tsx diff --git a/x-pack/plugins/fleet/public/components/fleet_setup_loading.tsx b/x-pack/platform/plugins/shared/fleet/public/components/fleet_setup_loading.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/fleet_setup_loading.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/fleet_setup_loading.tsx diff --git a/x-pack/plugins/fleet/public/components/header.tsx b/x-pack/platform/plugins/shared/fleet/public/components/header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/header.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/header.tsx diff --git a/x-pack/plugins/fleet/public/components/home_integration/index.tsx b/x-pack/platform/plugins/shared/fleet/public/components/home_integration/index.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/home_integration/index.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/home_integration/index.tsx diff --git a/x-pack/plugins/fleet/public/components/home_integration/tutorial_directory_header_link.tsx b/x-pack/platform/plugins/shared/fleet/public/components/home_integration/tutorial_directory_header_link.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/home_integration/tutorial_directory_header_link.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/home_integration/tutorial_directory_header_link.tsx diff --git a/x-pack/plugins/fleet/public/components/home_integration/tutorial_module_notice.tsx b/x-pack/platform/plugins/shared/fleet/public/components/home_integration/tutorial_module_notice.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/home_integration/tutorial_module_notice.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/home_integration/tutorial_module_notice.tsx diff --git a/x-pack/plugins/fleet/public/components/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/index.ts diff --git a/x-pack/plugins/fleet/public/components/linked_agent_count.tsx b/x-pack/platform/plugins/shared/fleet/public/components/linked_agent_count.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/linked_agent_count.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/linked_agent_count.tsx diff --git a/x-pack/plugins/fleet/public/components/loading.tsx b/x-pack/platform/plugins/shared/fleet/public/components/loading.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/loading.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/loading.tsx diff --git a/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/manage_agent_policies_modal.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/manage_agent_policies_modal.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/manage_agent_policies_modal.test.tsx diff --git a/x-pack/plugins/fleet/public/components/manage_agent_policies_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/components/manage_agent_policies_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/manage_agent_policies_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/manage_agent_policies_modal.tsx diff --git a/x-pack/plugins/fleet/public/components/missing_privileges_tooltip.tsx b/x-pack/platform/plugins/shared/fleet/public/components/missing_privileges_tooltip.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/missing_privileges_tooltip.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/missing_privileges_tooltip.tsx diff --git a/x-pack/plugins/fleet/public/components/multiple_agent_policy_summary_line.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/multiple_agent_policy_summary_line.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/multiple_agent_policy_summary_line.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/multiple_agent_policy_summary_line.test.tsx diff --git a/x-pack/plugins/fleet/public/components/multiple_agent_policy_summary_line.tsx b/x-pack/platform/plugins/shared/fleet/public/components/multiple_agent_policy_summary_line.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/multiple_agent_policy_summary_line.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/multiple_agent_policy_summary_line.tsx diff --git a/x-pack/plugins/fleet/public/components/new_enrollment_key_modal.tsx b/x-pack/platform/plugins/shared/fleet/public/components/new_enrollment_key_modal.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/new_enrollment_key_modal.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/new_enrollment_key_modal.tsx diff --git a/x-pack/plugins/fleet/public/components/package_icon.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_icon.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_icon.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_icon.tsx diff --git a/x-pack/plugins/fleet/public/components/package_policy_actions_menu.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_policy_actions_menu.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_policy_actions_menu.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_policy_actions_menu.test.tsx diff --git a/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_policy_actions_menu.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_policy_actions_menu.tsx diff --git a/x-pack/plugins/fleet/public/components/package_policy_delete_provider.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_policy_delete_provider.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_policy_delete_provider.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_policy_delete_provider.test.tsx diff --git a/x-pack/plugins/fleet/public/components/package_policy_delete_provider.tsx b/x-pack/platform/plugins/shared/fleet/public/components/package_policy_delete_provider.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/package_policy_delete_provider.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/package_policy_delete_provider.tsx diff --git a/x-pack/plugins/fleet/public/components/platform_selector.tsx b/x-pack/platform/plugins/shared/fleet/public/components/platform_selector.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/platform_selector.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/platform_selector.tsx diff --git a/x-pack/plugins/fleet/public/components/release_badge.tsx b/x-pack/platform/plugins/shared/fleet/public/components/release_badge.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/release_badge.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/release_badge.tsx diff --git a/x-pack/plugins/fleet/public/components/transform_install_as_current_user_callout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/transform_install_as_current_user_callout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/transform_install_as_current_user_callout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/transform_install_as_current_user_callout.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/empty_policy_name_hint.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/empty_policy_name_hint.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/empty_policy_name_hint.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/empty_policy_name_hint.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/index.ts b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/index.ts rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/index.ts diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/types.ts b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/types.ts rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/types.ts diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.stories.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.stories.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.stories.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.stories.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.test.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.test.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_command_flyout.tsx diff --git a/x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_commands_per_platform.tsx b/x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_commands_per_platform.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/uninstall_command_flyout/uninstall_commands_per_platform.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/uninstall_command_flyout/uninstall_commands_per_platform.tsx diff --git a/x-pack/plugins/fleet/public/components/with_guided_onboarding_tour.tsx b/x-pack/platform/plugins/shared/fleet/public/components/with_guided_onboarding_tour.tsx similarity index 100% rename from x-pack/plugins/fleet/public/components/with_guided_onboarding_tour.tsx rename to x-pack/platform/plugins/shared/fleet/public/components/with_guided_onboarding_tour.tsx diff --git a/x-pack/plugins/fleet/public/constants/index.ts b/x-pack/platform/plugins/shared/fleet/public/constants/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/constants/index.ts rename to x-pack/platform/plugins/shared/fleet/public/constants/index.ts diff --git a/x-pack/plugins/fleet/public/constants/page_paths.ts b/x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts similarity index 100% rename from x-pack/plugins/fleet/public/constants/page_paths.ts rename to x-pack/platform/plugins/shared/fleet/public/constants/page_paths.ts diff --git a/x-pack/plugins/fleet/public/custom_logs_assets_extension.tsx b/x-pack/platform/plugins/shared/fleet/public/custom_logs_assets_extension.tsx similarity index 100% rename from x-pack/plugins/fleet/public/custom_logs_assets_extension.tsx rename to x-pack/platform/plugins/shared/fleet/public/custom_logs_assets_extension.tsx diff --git a/x-pack/plugins/fleet/public/deep_links.ts b/x-pack/platform/plugins/shared/fleet/public/deep_links.ts similarity index 100% rename from x-pack/plugins/fleet/public/deep_links.ts rename to x-pack/platform/plugins/shared/fleet/public/deep_links.ts diff --git a/x-pack/plugins/fleet/public/hooks/index.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/index.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/index.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_enrollment_flyout.data.test.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_enrollment_flyout.data.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_enrollment_flyout.data.test.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_enrollment_flyout.data.test.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_enrollment_flyout_data.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_enrollment_flyout_data.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_enrollment_flyout_data.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_enrollment_flyout_data.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_policy_refresh.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_policy_refresh.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_policy_refresh.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_policy_refresh.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_version.test.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_version.test.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_version.test.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_agent_version.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_version.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_agent_version.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_agent_version.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_authz.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_authz.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_authz.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_authz.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_config.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_config.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_config.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_config.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_core.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_core.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_core.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_core.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_debounce.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_debounce.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_debounce.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_debounce.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_dismissable_tour.test.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_dismissable_tour.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_dismissable_tour.test.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_dismissable_tour.test.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_dismissable_tour.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_dismissable_tour.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_dismissable_tour.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_dismissable_tour.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_agents.test.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_agents.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_agents.test.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_agents.test.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_agents.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_agents.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_agents.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_agents.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_hosts_for_policy.test.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_hosts_for_policy.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_hosts_for_policy.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_hosts_for_policy.test.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_hosts_for_policy.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_hosts_for_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_hosts_for_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_hosts_for_policy.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_server_standalone.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_standalone.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_server_standalone.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_server_standalone.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_fleet_status.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_status.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_fleet_status.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_fleet_status.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_flyout_context.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_flyout_context.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_flyout_context.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_flyout_context.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_input.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_input.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_input.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_input.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_intra_app_state.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_intra_app_state.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_intra_app_state.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_intra_app_state.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_is_guided_onboarding_active.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_is_guided_onboarding_active.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_is_guided_onboarding_active.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_is_guided_onboarding_active.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_is_package_policy_upgradable.test.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_is_package_policy_upgradable.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_is_package_policy_upgradable.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_is_package_policy_upgradable.test.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_is_package_policy_upgradable.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_is_package_policy_upgradable.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_is_package_policy_upgradable.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_is_package_policy_upgradable.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_kibana_link.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_kibana_link.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_kibana_link.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_kibana_link.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_kibana_version.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_kibana_version.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_kibana_version.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_kibana_version.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_license.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_license.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_license.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_license.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_link.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_link.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_link.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_link.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_locator.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_locator.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_locator.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_locator.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_multiple_agent_policies.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_multiple_agent_policies.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_multiple_agent_policies.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_multiple_agent_policies.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_package_icon_type.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_package_icon_type.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_package_icon_type.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_package_icon_type.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_pagination.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_pagination.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_pagination.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_pagination.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_platform.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_platform.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_platform.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_platform.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_request/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/agent_policy.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/agents.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/agents.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/agents.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/agents.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/app.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/app.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/app.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/app.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/data_stream.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/data_stream.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/data_stream.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/data_stream.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/download_source.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/download_source.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/download_source.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/download_source.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/enrollment_api_keys.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/enrollment_api_keys.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/enrollment_api_keys.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/enrollment_api_keys.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/epm.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/epm.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/epm.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/epm.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/fleet_server_hosts.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/fleet_server_hosts.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/fleet_server_hosts.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/fleet_server_hosts.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/health_check.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/health_check.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/health_check.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/health_check.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/index.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/index.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/index.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/index_management.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/index_management.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/index_management.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/index_management.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/k8s.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/k8s.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/k8s.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/k8s.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/outputs.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/outputs.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/outputs.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/outputs.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/package_policy.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/package_policy.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/settings.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/settings.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/settings.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/settings.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/setup.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/setup.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/setup.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/setup.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/spaces.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/spaces.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/spaces.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/spaces.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/standalone_agent_api_key.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/standalone_agent_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/standalone_agent_api_key.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/standalone_agent_api_key.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/uninstall_tokens.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/uninstall_tokens.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/uninstall_tokens.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/uninstall_tokens.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_request/use_request.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_request/use_request.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_request/use_request.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_request/use_request.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_sorting.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_sorting.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_sorting.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_sorting.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_space_settings_context.test.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_space_settings_context.test.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_space_settings_context.test.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_space_settings_context.test.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_space_settings_context.tsx b/x-pack/platform/plugins/shared/fleet/public/hooks/use_space_settings_context.tsx similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_space_settings_context.tsx rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_space_settings_context.tsx diff --git a/x-pack/plugins/fleet/public/hooks/use_ui_extension.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_ui_extension.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_ui_extension.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_ui_extension.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_url_pagination.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_url_pagination.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_url_pagination.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_url_pagination.ts diff --git a/x-pack/plugins/fleet/public/hooks/use_url_params.ts b/x-pack/platform/plugins/shared/fleet/public/hooks/use_url_params.ts similarity index 100% rename from x-pack/plugins/fleet/public/hooks/use_url_params.ts rename to x-pack/platform/plugins/shared/fleet/public/hooks/use_url_params.ts diff --git a/x-pack/plugins/fleet/public/index.ts b/x-pack/platform/plugins/shared/fleet/public/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/index.ts rename to x-pack/platform/plugins/shared/fleet/public/index.ts diff --git a/x-pack/plugins/fleet/public/layouts/index.ts b/x-pack/platform/plugins/shared/fleet/public/layouts/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/layouts/index.ts rename to x-pack/platform/plugins/shared/fleet/public/layouts/index.ts diff --git a/x-pack/plugins/fleet/public/layouts/with_header.tsx b/x-pack/platform/plugins/shared/fleet/public/layouts/with_header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/layouts/with_header.tsx rename to x-pack/platform/plugins/shared/fleet/public/layouts/with_header.tsx diff --git a/x-pack/plugins/fleet/public/layouts/without_header.tsx b/x-pack/platform/plugins/shared/fleet/public/layouts/without_header.tsx similarity index 100% rename from x-pack/plugins/fleet/public/layouts/without_header.tsx rename to x-pack/platform/plugins/shared/fleet/public/layouts/without_header.tsx diff --git a/x-pack/plugins/fleet/public/lazy_custom_logs_assets_extension.tsx b/x-pack/platform/plugins/shared/fleet/public/lazy_custom_logs_assets_extension.tsx similarity index 100% rename from x-pack/plugins/fleet/public/lazy_custom_logs_assets_extension.tsx rename to x-pack/platform/plugins/shared/fleet/public/lazy_custom_logs_assets_extension.tsx diff --git a/x-pack/plugins/fleet/public/mock/create_test_renderer.tsx b/x-pack/platform/plugins/shared/fleet/public/mock/create_test_renderer.tsx similarity index 100% rename from x-pack/plugins/fleet/public/mock/create_test_renderer.tsx rename to x-pack/platform/plugins/shared/fleet/public/mock/create_test_renderer.tsx diff --git a/x-pack/plugins/fleet/public/mock/fleet_start_services.tsx b/x-pack/platform/plugins/shared/fleet/public/mock/fleet_start_services.tsx similarity index 100% rename from x-pack/plugins/fleet/public/mock/fleet_start_services.tsx rename to x-pack/platform/plugins/shared/fleet/public/mock/fleet_start_services.tsx diff --git a/x-pack/plugins/fleet/public/mock/index.ts b/x-pack/platform/plugins/shared/fleet/public/mock/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/index.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/index.ts diff --git a/x-pack/plugins/fleet/public/mock/plugin_configuration.ts b/x-pack/platform/plugins/shared/fleet/public/mock/plugin_configuration.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/plugin_configuration.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/plugin_configuration.ts diff --git a/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts b/x-pack/platform/plugins/shared/fleet/public/mock/plugin_dependencies.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/plugin_dependencies.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/plugin_dependencies.ts diff --git a/x-pack/plugins/fleet/public/mock/plugin_interfaces.ts b/x-pack/platform/plugins/shared/fleet/public/mock/plugin_interfaces.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/plugin_interfaces.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/plugin_interfaces.ts diff --git a/x-pack/plugins/fleet/public/mock/types.ts b/x-pack/platform/plugins/shared/fleet/public/mock/types.ts similarity index 100% rename from x-pack/plugins/fleet/public/mock/types.ts rename to x-pack/platform/plugins/shared/fleet/public/mock/types.ts diff --git a/x-pack/plugins/fleet/public/mocks.ts b/x-pack/platform/plugins/shared/fleet/public/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/public/mocks.ts rename to x-pack/platform/plugins/shared/fleet/public/mocks.ts diff --git a/x-pack/plugins/fleet/public/plugin.ts b/x-pack/platform/plugins/shared/fleet/public/plugin.ts similarity index 100% rename from x-pack/plugins/fleet/public/plugin.ts rename to x-pack/platform/plugins/shared/fleet/public/plugin.ts diff --git a/x-pack/plugins/fleet/public/search_provider.test.ts b/x-pack/platform/plugins/shared/fleet/public/search_provider.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/search_provider.test.ts rename to x-pack/platform/plugins/shared/fleet/public/search_provider.test.ts diff --git a/x-pack/plugins/fleet/public/search_provider.ts b/x-pack/platform/plugins/shared/fleet/public/search_provider.ts similarity index 100% rename from x-pack/plugins/fleet/public/search_provider.ts rename to x-pack/platform/plugins/shared/fleet/public/search_provider.ts diff --git a/x-pack/plugins/fleet/public/services/custom_integrations.ts b/x-pack/platform/plugins/shared/fleet/public/services/custom_integrations.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/custom_integrations.ts rename to x-pack/platform/plugins/shared/fleet/public/services/custom_integrations.ts diff --git a/x-pack/plugins/fleet/public/services/experimental_features.ts b/x-pack/platform/plugins/shared/fleet/public/services/experimental_features.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/experimental_features.ts rename to x-pack/platform/plugins/shared/fleet/public/services/experimental_features.ts diff --git a/x-pack/plugins/fleet/public/services/has_deferred_installations.test.ts b/x-pack/platform/plugins/shared/fleet/public/services/has_deferred_installations.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/has_deferred_installations.test.ts rename to x-pack/platform/plugins/shared/fleet/public/services/has_deferred_installations.test.ts diff --git a/x-pack/plugins/fleet/public/services/has_deferred_installations.ts b/x-pack/platform/plugins/shared/fleet/public/services/has_deferred_installations.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/has_deferred_installations.ts rename to x-pack/platform/plugins/shared/fleet/public/services/has_deferred_installations.ts diff --git a/x-pack/plugins/fleet/public/services/icons.ts b/x-pack/platform/plugins/shared/fleet/public/services/icons.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/icons.ts rename to x-pack/platform/plugins/shared/fleet/public/services/icons.ts diff --git a/x-pack/plugins/fleet/public/services/increment_policy_name.test.ts b/x-pack/platform/plugins/shared/fleet/public/services/increment_policy_name.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/increment_policy_name.test.ts rename to x-pack/platform/plugins/shared/fleet/public/services/increment_policy_name.test.ts diff --git a/x-pack/plugins/fleet/public/services/increment_policy_name.ts b/x-pack/platform/plugins/shared/fleet/public/services/increment_policy_name.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/increment_policy_name.ts rename to x-pack/platform/plugins/shared/fleet/public/services/increment_policy_name.ts diff --git a/x-pack/plugins/fleet/public/services/index.ts b/x-pack/platform/plugins/shared/fleet/public/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/index.ts rename to x-pack/platform/plugins/shared/fleet/public/services/index.ts diff --git a/x-pack/plugins/fleet/public/services/is_package_updatable.ts b/x-pack/platform/plugins/shared/fleet/public/services/is_package_updatable.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/is_package_updatable.ts rename to x-pack/platform/plugins/shared/fleet/public/services/is_package_updatable.ts diff --git a/x-pack/plugins/fleet/public/services/package_verification.test.ts b/x-pack/platform/plugins/shared/fleet/public/services/package_verification.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/package_verification.test.ts rename to x-pack/platform/plugins/shared/fleet/public/services/package_verification.test.ts diff --git a/x-pack/plugins/fleet/public/services/package_verification.ts b/x-pack/platform/plugins/shared/fleet/public/services/package_verification.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/package_verification.ts rename to x-pack/platform/plugins/shared/fleet/public/services/package_verification.ts diff --git a/x-pack/plugins/fleet/public/services/pkg_key_from_package_info.ts b/x-pack/platform/plugins/shared/fleet/public/services/pkg_key_from_package_info.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/pkg_key_from_package_info.ts rename to x-pack/platform/plugins/shared/fleet/public/services/pkg_key_from_package_info.ts diff --git a/x-pack/plugins/fleet/public/services/ui_extensions.test.ts b/x-pack/platform/plugins/shared/fleet/public/services/ui_extensions.test.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/ui_extensions.test.ts rename to x-pack/platform/plugins/shared/fleet/public/services/ui_extensions.test.ts diff --git a/x-pack/plugins/fleet/public/services/ui_extensions.ts b/x-pack/platform/plugins/shared/fleet/public/services/ui_extensions.ts similarity index 100% rename from x-pack/plugins/fleet/public/services/ui_extensions.ts rename to x-pack/platform/plugins/shared/fleet/public/services/ui_extensions.ts diff --git a/x-pack/plugins/fleet/public/types/in_memory_package_policy.ts b/x-pack/platform/plugins/shared/fleet/public/types/in_memory_package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/public/types/in_memory_package_policy.ts rename to x-pack/platform/plugins/shared/fleet/public/types/in_memory_package_policy.ts diff --git a/x-pack/plugins/fleet/public/types/index.ts b/x-pack/platform/plugins/shared/fleet/public/types/index.ts similarity index 100% rename from x-pack/plugins/fleet/public/types/index.ts rename to x-pack/platform/plugins/shared/fleet/public/types/index.ts diff --git a/x-pack/plugins/fleet/public/types/intra_app_route_state.ts b/x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts similarity index 100% rename from x-pack/plugins/fleet/public/types/intra_app_route_state.ts rename to x-pack/platform/plugins/shared/fleet/public/types/intra_app_route_state.ts diff --git a/x-pack/plugins/fleet/public/types/ui_extensions.ts b/x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts similarity index 100% rename from x-pack/plugins/fleet/public/types/ui_extensions.ts rename to x-pack/platform/plugins/shared/fleet/public/types/ui_extensions.ts diff --git a/x-pack/plugins/fleet/scripts/create_agent_policies/create_agent_policies.ts b/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/create_agent_policies.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/create_agent_policies/create_agent_policies.ts rename to x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/create_agent_policies.ts diff --git a/x-pack/plugins/fleet/scripts/create_agent_policies/fixtures.ts b/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/fixtures.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/create_agent_policies/fixtures.ts rename to x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/fixtures.ts diff --git a/x-pack/plugins/fleet/scripts/create_agent_policies/index.js b/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js similarity index 79% rename from x-pack/plugins/fleet/scripts/create_agent_policies/index.js rename to x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js index a61ed0e7e54d4..ea4670c46fe3d 100644 --- a/x-pack/plugins/fleet/scripts/create_agent_policies/index.js +++ b/x-pack/platform/plugins/shared/fleet/scripts/create_agent_policies/index.js @@ -5,13 +5,13 @@ * 2.0. */ -require('../../../../../src/setup_node_env'); +require('../../../../../../../src/setup_node_env'); require('./create_agent_policies').run(); /* Usage: -cd x-pack/plugins/fleet +cd x-pack/platform/plugins/shared/fleet node scripts/create_agent_policies/index.js */ diff --git a/x-pack/plugins/fleet/scripts/create_agents/create_agents.ts b/x-pack/platform/plugins/shared/fleet/scripts/create_agents/create_agents.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/create_agents/create_agents.ts rename to x-pack/platform/plugins/shared/fleet/scripts/create_agents/create_agents.ts diff --git a/x-pack/plugins/fleet/scripts/create_agents/index.js b/x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js similarity index 78% rename from x-pack/plugins/fleet/scripts/create_agents/index.js rename to x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js index 62614b67ea69b..7970b26088c4b 100644 --- a/x-pack/plugins/fleet/scripts/create_agents/index.js +++ b/x-pack/platform/plugins/shared/fleet/scripts/create_agents/index.js @@ -5,13 +5,13 @@ * 2.0. */ -require('../../../../../src/setup_node_env'); +require('../../../../../../../src/setup_node_env'); require('./create_agents').run(); /* Usage: -cd x-pack/plugins/fleet +cd x-pack/platform/plugins/shared/fleet node scripts/create_agents/index.js */ diff --git a/x-pack/plugins/fleet/scripts/get_all_packages/get_all_packages.ts b/x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/get_all_packages.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/get_all_packages/get_all_packages.ts rename to x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/get_all_packages.ts diff --git a/x-pack/plugins/fleet/scripts/get_all_packages/index.js b/x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js similarity index 84% rename from x-pack/plugins/fleet/scripts/get_all_packages/index.js rename to x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js index 447b09c6b1b3f..3ebec2543bff5 100644 --- a/x-pack/plugins/fleet/scripts/get_all_packages/index.js +++ b/x-pack/platform/plugins/shared/fleet/scripts/get_all_packages/index.js @@ -5,5 +5,5 @@ * 2.0. */ -require('../../../../../src/setup_node_env'); +require('../../../../../../../src/setup_node_env'); require('./get_all_packages').run(); diff --git a/x-pack/plugins/fleet/scripts/install_all_packages/index.js b/x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js similarity index 85% rename from x-pack/plugins/fleet/scripts/install_all_packages/index.js rename to x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js index aa620c4ea6a04..70cba67b9e40d 100644 --- a/x-pack/plugins/fleet/scripts/install_all_packages/index.js +++ b/x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/index.js @@ -5,5 +5,5 @@ * 2.0. */ -require('../../../../../src/setup_node_env'); +require('../../../../../../../src/setup_node_env'); require('./install_all_packages').run(); diff --git a/x-pack/plugins/fleet/scripts/install_all_packages/install_all_packages.ts b/x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/install_all_packages.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/install_all_packages/install_all_packages.ts rename to x-pack/platform/plugins/shared/fleet/scripts/install_all_packages/install_all_packages.ts diff --git a/x-pack/plugins/fleet/scripts/verify_test_packages/index.js b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js similarity index 85% rename from x-pack/plugins/fleet/scripts/verify_test_packages/index.js rename to x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js index 2c3f64739962b..b344a7bd8dd13 100644 --- a/x-pack/plugins/fleet/scripts/verify_test_packages/index.js +++ b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/index.js @@ -5,5 +5,5 @@ * 2.0. */ -require('../../../../../src/setup_node_env'); +require('../../../../../../../src/setup_node_env'); require('./verify_test_packages').run(); diff --git a/x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.test.ts b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.test.ts diff --git a/x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.ts b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts similarity index 92% rename from x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.ts rename to x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts index ff7347e599ee6..33ac12a6cade3 100644 --- a/x-pack/plugins/fleet/scripts/verify_test_packages/verify_test_packages.ts +++ b/x-pack/platform/plugins/shared/fleet/scripts/verify_test_packages/verify_test_packages.ts @@ -22,9 +22,9 @@ import { const readFileAsync = promisify(readFile); const TEST_PACKAGE_DIRECTORIES = [ - '../../../../test/fleet_api_integration/apis/fixtures/bundled_packages', - '../../../../test/fleet_api_integration/apis/fixtures/test_packages', - '../../../../test/fleet_api_integration/apis/fixtures/package_verification/packages', + '../../../../../../test/fleet_api_integration/apis/fixtures/bundled_packages', + '../../../../../../test/fleet_api_integration/apis/fixtures/test_packages', + '../../../../../../test/fleet_api_integration/apis/fixtures/package_verification/packages', ]; const getAllPathsFromDir = (dir: string): string[] => diff --git a/x-pack/plugins/fleet/server/collectors/agent_collectors.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_collectors.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_collectors.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_collectors.ts diff --git a/x-pack/plugins/fleet/server/collectors/agent_logs_panics.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_panics.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_logs_panics.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_panics.ts diff --git a/x-pack/plugins/fleet/server/collectors/agent_logs_top_errors.test.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_top_errors.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_logs_top_errors.test.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_top_errors.test.ts diff --git a/x-pack/plugins/fleet/server/collectors/agent_logs_top_errors.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_top_errors.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_logs_top_errors.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_logs_top_errors.ts diff --git a/x-pack/plugins/fleet/server/collectors/agent_policies.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agent_policies.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agent_policies.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agent_policies.ts diff --git a/x-pack/plugins/fleet/server/collectors/agents_per_output.test.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agents_per_output.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agents_per_output.test.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agents_per_output.test.ts diff --git a/x-pack/plugins/fleet/server/collectors/agents_per_output.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/agents_per_output.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/agents_per_output.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/agents_per_output.ts diff --git a/x-pack/plugins/fleet/server/collectors/config_collectors.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/config_collectors.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/config_collectors.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/config_collectors.ts diff --git a/x-pack/plugins/fleet/server/collectors/fleet_server_collector.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/fleet_server_collector.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/fleet_server_collector.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/fleet_server_collector.ts diff --git a/x-pack/plugins/fleet/server/collectors/get_all_fleet_server_agents.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/get_all_fleet_server_agents.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/get_all_fleet_server_agents.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/get_all_fleet_server_agents.ts diff --git a/x-pack/plugins/fleet/server/collectors/helpers.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/helpers.ts diff --git a/x-pack/plugins/fleet/server/collectors/integrations_collector.test.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/integrations_collector.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/integrations_collector.test.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/integrations_collector.test.ts diff --git a/x-pack/plugins/fleet/server/collectors/integrations_collector.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/integrations_collector.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/integrations_collector.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/integrations_collector.ts diff --git a/x-pack/plugins/fleet/server/collectors/package_collectors.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/package_collectors.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/package_collectors.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/package_collectors.ts diff --git a/x-pack/plugins/fleet/server/collectors/register.ts b/x-pack/platform/plugins/shared/fleet/server/collectors/register.ts similarity index 100% rename from x-pack/plugins/fleet/server/collectors/register.ts rename to x-pack/platform/plugins/shared/fleet/server/collectors/register.ts diff --git a/x-pack/plugins/fleet/server/config.test.ts b/x-pack/platform/plugins/shared/fleet/server/config.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/config.test.ts rename to x-pack/platform/plugins/shared/fleet/server/config.test.ts diff --git a/x-pack/plugins/fleet/server/config.ts b/x-pack/platform/plugins/shared/fleet/server/config.ts similarity index 100% rename from x-pack/plugins/fleet/server/config.ts rename to x-pack/platform/plugins/shared/fleet/server/config.ts diff --git a/x-pack/plugins/fleet/server/constants/fleet_es_assets.ts b/x-pack/platform/plugins/shared/fleet/server/constants/fleet_es_assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/constants/fleet_es_assets.ts rename to x-pack/platform/plugins/shared/fleet/server/constants/fleet_es_assets.ts diff --git a/x-pack/plugins/fleet/server/constants/index.ts b/x-pack/platform/plugins/shared/fleet/server/constants/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/constants/index.ts rename to x-pack/platform/plugins/shared/fleet/server/constants/index.ts diff --git a/x-pack/plugins/fleet/server/constants/max_concurrency_constants.ts b/x-pack/platform/plugins/shared/fleet/server/constants/max_concurrency_constants.ts similarity index 100% rename from x-pack/plugins/fleet/server/constants/max_concurrency_constants.ts rename to x-pack/platform/plugins/shared/fleet/server/constants/max_concurrency_constants.ts diff --git a/x-pack/plugins/fleet/server/errors/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/errors/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/errors/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/errors/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/errors/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/errors/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/errors/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/errors/handlers.ts diff --git a/x-pack/plugins/fleet/server/errors/index.ts b/x-pack/platform/plugins/shared/fleet/server/errors/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/errors/index.ts rename to x-pack/platform/plugins/shared/fleet/server/errors/index.ts diff --git a/x-pack/plugins/fleet/server/errors/utils.ts b/x-pack/platform/plugins/shared/fleet/server/errors/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/errors/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/errors/utils.ts diff --git a/x-pack/plugins/fleet/server/index.ts b/x-pack/platform/plugins/shared/fleet/server/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/index.ts rename to x-pack/platform/plugins/shared/fleet/server/index.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/cloud_preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/cloud_preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/enable_space_awareness.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/enable_space_awareness.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/enable_space_awareness.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/enable_space_awareness.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/es.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/es.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/es.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/es.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_apm.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_apm.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_apm.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_apm.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_policy_id.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_policy_id.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_policy_id.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/cloud_kibana_config_without_policy_id.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fixtures/index.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fixtures/index.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fixtures/index.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fleet_setup.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_setup.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/fleet_usage_telemetry.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_usage_telemetry.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/fleet_usage_telemetry.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/fleet_usage_telemetry.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/ha_setup.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/ha_setup.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/ha_setup.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/ha_setup.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/helpers/docker_registry_helper.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/docker_registry_helper.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/helpers/docker_registry_helper.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/docker_registry_helper.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/helpers/index.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/helpers/index.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/index.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/output_preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/output_preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/output_preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/output_preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/reset_preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/reset_preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/reset_preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/reset_preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/upgrade_agent_policy_schema_version.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/upgrade_agent_policy_schema_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/upgrade_agent_policy_schema_version.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/upgrade_agent_policy_schema_version.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/upgrade_package_install_version.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/upgrade_package_install_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/upgrade_package_install_version.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/upgrade_package_install_version.test.ts diff --git a/x-pack/plugins/fleet/server/integration_tests/validate_bundled_packages.test.ts b/x-pack/platform/plugins/shared/fleet/server/integration_tests/validate_bundled_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/integration_tests/validate_bundled_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/server/integration_tests/validate_bundled_packages.test.ts diff --git a/x-pack/plugins/fleet/server/mocks/index.ts b/x-pack/platform/plugins/shared/fleet/server/mocks/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/mocks/index.ts rename to x-pack/platform/plugins/shared/fleet/server/mocks/index.ts diff --git a/x-pack/plugins/fleet/server/mocks/package_policy.mocks.ts b/x-pack/platform/plugins/shared/fleet/server/mocks/package_policy.mocks.ts similarity index 100% rename from x-pack/plugins/fleet/server/mocks/package_policy.mocks.ts rename to x-pack/platform/plugins/shared/fleet/server/mocks/package_policy.mocks.ts diff --git a/x-pack/plugins/fleet/server/plugin.ts b/x-pack/platform/plugins/shared/fleet/server/plugin.ts similarity index 100% rename from x-pack/plugins/fleet/server/plugin.ts rename to x-pack/platform/plugins/shared/fleet/server/plugin.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/actions_handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/actions_handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/actions_handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/actions_handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/actions_handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/actions_handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/actions_handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/actions_handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/index.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/request_diagnostics_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/request_diagnostics_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/request_diagnostics_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/request_diagnostics_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/request_diagnostics_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/request_diagnostics_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/request_diagnostics_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/request_diagnostics_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/source_uri_utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/source_uri_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/source_uri_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/source_uri_utils.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/source_uri_utils.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/source_uri_utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/source_uri_utils.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/source_uri_utils.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/unenroll_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/unenroll_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/unenroll_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/unenroll_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/upgrade_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/upgrade_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/upgrade_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/upgrade_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent/upgrade_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent/upgrade_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent/upgrade_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent/upgrade_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/agent_policy/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent_policy/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/agent_policy/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent_policy/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/agent_policy/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/agent_policy/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/agent_policy/index.ts diff --git a/x-pack/plugins/fleet/server/routes/app/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/app/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/app/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/app/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/app/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/app/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/app/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/app/index.ts diff --git a/x-pack/plugins/fleet/server/routes/data_streams/get_data_streams_query_metadata.ts b/x-pack/platform/plugins/shared/fleet/server/routes/data_streams/get_data_streams_query_metadata.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/data_streams/get_data_streams_query_metadata.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/data_streams/get_data_streams_query_metadata.ts diff --git a/x-pack/plugins/fleet/server/routes/data_streams/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/data_streams/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/data_streams/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/data_streams/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/data_streams/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/data_streams/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/data_streams/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/data_streams/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/data_streams/index.ts diff --git a/x-pack/plugins/fleet/server/routes/debug/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/debug/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/debug/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/debug/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/debug/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/debug/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/debug/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/debug/index.ts diff --git a/x-pack/plugins/fleet/server/routes/download_source/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/download_source/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/download_source/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/download_source/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/download_source/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/download_source/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/download_source/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/download_source/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/download_source/index.ts diff --git a/x-pack/plugins/fleet/server/routes/enrollment_api_key/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/enrollment_api_key/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/enrollment_api_key/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/enrollment_api_key/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/enrollment_api_key/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/enrollment_api_key/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/enrollment_api_key/index.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/file_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/file_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/file_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/file_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/file_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/file_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/file_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/file_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/index.ts diff --git a/x-pack/plugins/fleet/server/routes/epm/kibana_assets_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/epm/kibana_assets_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/epm/kibana_assets_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/epm/kibana_assets_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_proxies/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_proxies/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_proxies/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_proxies/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_proxies/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_proxies/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_proxies/index.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_server_hosts/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_server_hosts/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/fleet_server_hosts/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/fleet_server_hosts/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/fleet_server_hosts/index.ts diff --git a/x-pack/plugins/fleet/server/routes/health_check/handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/health_check/handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/health_check/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/health_check/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/health_check/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/health_check/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/health_check/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/health_check/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/health_check/index.ts diff --git a/x-pack/plugins/fleet/server/routes/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/index.ts diff --git a/x-pack/plugins/fleet/server/routes/message_signing_service/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/message_signing_service/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/message_signing_service/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/message_signing_service/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/message_signing_service/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/message_signing_service/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/message_signing_service/index.ts diff --git a/x-pack/plugins/fleet/server/routes/output/handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/output/handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/output/handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/output/handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/output/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/output/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/output/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/output/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/output/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/output/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/output/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/output/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/output/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/output/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/output/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/output/index.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/index.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/utils/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/utils/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/utils/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/utils/index.test.ts diff --git a/x-pack/plugins/fleet/server/routes/package_policy/utils/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/package_policy/utils/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/package_policy/utils/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/package_policy/utils/index.ts diff --git a/x-pack/plugins/fleet/server/routes/preconfiguration/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/preconfiguration/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/preconfiguration/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/preconfiguration/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/preconfiguration/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/preconfiguration/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/preconfiguration/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/preconfiguration/index.ts diff --git a/x-pack/plugins/fleet/server/routes/schema/errors.ts b/x-pack/platform/plugins/shared/fleet/server/routes/schema/errors.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/schema/errors.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/schema/errors.ts diff --git a/x-pack/plugins/fleet/server/routes/schema/utils.ts b/x-pack/platform/plugins/shared/fleet/server/routes/schema/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/schema/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/schema/utils.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/enrollment_settings_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/enrollment_settings_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/enrollment_settings_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/enrollment_settings_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/enrollment_settings_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/enrollment_settings_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/enrollment_settings_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/enrollment_settings_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/index.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/settings_handler.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/settings_handler.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.test.ts diff --git a/x-pack/plugins/fleet/server/routes/settings/settings_handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/settings/settings_handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/settings/settings_handler.ts diff --git a/x-pack/plugins/fleet/server/routes/setup/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/setup/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/setup/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/setup/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/setup/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/setup/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/setup/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/setup/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/setup/index.ts diff --git a/x-pack/plugins/fleet/server/routes/standalone_agent_api_key/handler.ts b/x-pack/platform/plugins/shared/fleet/server/routes/standalone_agent_api_key/handler.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/standalone_agent_api_key/handler.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/standalone_agent_api_key/handler.ts diff --git a/x-pack/plugins/fleet/server/routes/standalone_agent_api_key/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/standalone_agent_api_key/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/standalone_agent_api_key/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/standalone_agent_api_key/index.ts diff --git a/x-pack/plugins/fleet/server/routes/uninstall_token/handlers.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/handlers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/uninstall_token/handlers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/handlers.test.ts diff --git a/x-pack/plugins/fleet/server/routes/uninstall_token/handlers.ts b/x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/handlers.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/uninstall_token/handlers.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/handlers.ts diff --git a/x-pack/plugins/fleet/server/routes/uninstall_token/index.ts b/x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/uninstall_token/index.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/uninstall_token/index.ts diff --git a/x-pack/plugins/fleet/server/routes/utils/filter_utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/utils/filter_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils.test.ts diff --git a/x-pack/plugins/fleet/server/routes/utils/filter_utils.ts b/x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/utils/filter_utils.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils.ts diff --git a/x-pack/plugins/fleet/server/routes/utils/filter_utils_real_queries.test.ts b/x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils_real_queries.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/routes/utils/filter_utils_real_queries.test.ts rename to x-pack/platform/plugins/shared/fleet/server/routes/utils/filter_utils_real_queries.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/bump_agent_policies.md b/x-pack/platform/plugins/shared/fleet/server/saved_objects/bump_agent_policies.md similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/bump_agent_policies.md rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/bump_agent_policies.md diff --git a/x-pack/plugins/fleet/server/saved_objects/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/index.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/cloud_security_posture/to_v8_11_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_11_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_12_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_13_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_14_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_15_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v7_16_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_10_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_11_0_2.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_14_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_2_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_3_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_4_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_5_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_6_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_7_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/security_solution/to_v8_8_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/fixtures/8.7.0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/fixtures/8.7.0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/fixtures/8.7.0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/fixtures/8.7.0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_10_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_12_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/synthetics/to_v8_8_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_10_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_10_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_10_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_10_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_11_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_12_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_12_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_12_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_12_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_13_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_13_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_13_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_13_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_14_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_14_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_14_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_14_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_15_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_15_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_15_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_15_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_16_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_16_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_16_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v7_16_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_0_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_0_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_0_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_0_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_10_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_10_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_10_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_10_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_10_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_10_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_10_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_10_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_15_0.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_15_0.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_15_0.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_15_0.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_15_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_15_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_15_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_15_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_2_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_2_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_2_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_2_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_3_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_3_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_3_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_3_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_4_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_4_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_4_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_4_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_5_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_5_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_5_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_5_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_6_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_6_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_6_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_6_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_8_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_8_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_8_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_8_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_9_0.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_9_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/migrations/to_v8_9_0.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/migrations/to_v8_9_0.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/agent_policy_v4.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/agent_policy_v4.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/agent_policy_v4.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/agent_policy_v4.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/agent_policy_v4.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/agent_policy_v4.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/agent_policy_v4.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/agent_policy_v4.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/outputs.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/outputs.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/outputs.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/outputs.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/index.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/index.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/index.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v10_on_write_scan_fix.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.test.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.test.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.test.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/security_solution/v13_advanced_package_policy_fields.ts diff --git a/x-pack/plugins/fleet/server/saved_objects/model_versions/settings_v1.ts b/x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/settings_v1.ts similarity index 100% rename from x-pack/plugins/fleet/server/saved_objects/model_versions/settings_v1.ts rename to x-pack/platform/plugins/shared/fleet/server/saved_objects/model_versions/settings_v1.ts diff --git a/x-pack/plugins/fleet/server/services/actions/actions.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/actions.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/actions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/actions.ts diff --git a/x-pack/plugins/fleet/server/services/actions/client.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/client.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/client.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/client.test.ts diff --git a/x-pack/plugins/fleet/server/services/actions/client.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/client.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/client.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/client.ts diff --git a/x-pack/plugins/fleet/server/services/actions/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/index.ts diff --git a/x-pack/plugins/fleet/server/services/actions/mocks.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/mocks.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/mocks.ts diff --git a/x-pack/plugins/fleet/server/services/actions/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/types.ts diff --git a/x-pack/plugins/fleet/server/services/actions/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/actions/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/actions/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/actions/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/actions/utils.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/__snapshots__/full_agent_policy.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/agent_policies/__snapshots__/monitoring_permissions.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/__snapshots__/monitoring_permissions.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/__snapshots__/monitoring_permissions.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/__snapshots__/monitoring_permissions.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/agent_policies/agent_policies_to_agent_ids.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policies_to_agent_ids.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/agent_policies_to_agent_ids.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policies_to_agent_ids.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/agent_policies_to_agent_ids.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policies_to_agent_ids.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/agent_policies_to_agent_ids.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policies_to_agent_ids.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/agent_policy_agent_count.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policy_agent_count.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/agent_policy_agent_count.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policy_agent_count.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/agent_policy_agent_count.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policy_agent_count.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/agent_policy_agent_count.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/agent_policy_agent_count.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/bump_agent_policies_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/bump_agent_policies_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/bump_agent_policies_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/bump_agent_policies_task.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/bump_agent_policies_task.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/bump_agent_policies_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/bump_agent_policies_task.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/bump_agent_policies_task.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/deploy_agent_policies_task.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/deploy_agent_policies_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/deploy_agent_policies_task.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/deploy_agent_policies_task.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/full_agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/full_agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/full_agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/full_agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/full_agent_policy.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/index.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/monitoring_permissions.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/monitoring_permissions.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/monitoring_permissions.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/monitoring_permissions.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/monitoring_permissions.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/monitoring_permissions.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/monitoring_permissions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/monitoring_permissions.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/output_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/output_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/output_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/output_helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/outputs_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/outputs_helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/outputs_helpers.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_inputs.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_inputs.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_inputs.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_inputs.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_inputs.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_inputs.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_inputs.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_inputs.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_permissions.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_permissions.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/package_policies_to_agent_permissions.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/related_saved_objects.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/related_saved_objects.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/related_saved_objects.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/related_saved_objects.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policies/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policies/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policies/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policies/utils.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_create.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_create.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_create.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_create.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_create.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_create.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_create.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_create.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_update.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_update.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_update.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_update.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_watch.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.test.ts diff --git a/x-pack/plugins/fleet/server/services/agent_policy_watch.ts b/x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agent_policy_watch.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agent_policy_watch.ts diff --git a/x-pack/plugins/fleet/server/services/agents/__snapshots__/uploads.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/agents/__snapshots__/uploads.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/__snapshots__/uploads.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/agents/__snapshots__/uploads.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/agents/action.mock.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action.mock.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/action.mock.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/action.mock.ts diff --git a/x-pack/plugins/fleet/server/services/agents/action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/action_status.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action_status.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/action_status.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/action_status.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/action_status.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action_status.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/action_status.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/action_status.ts diff --git a/x-pack/plugins/fleet/server/services/agents/actions.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/actions.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/actions.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/actions.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/actions.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/actions.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/actions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/actions.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agent_metrics.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agent_metrics.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agent_metrics.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agent_metrics.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agent_service.mock.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.mock.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agent_service.mock.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.mock.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agent_service.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agent_service.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agent_service.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agent_service.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agent_service.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agentless_agent.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agentless_agent.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agentless_agent.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agentless_agent.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/agentless_agent.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/agentless_agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/agentless_agent.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/agentless_agent.ts diff --git a/x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/build_status_runtime_field.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/build_status_runtime_field.ts diff --git a/x-pack/plugins/fleet/server/services/agents/bulk_action_types.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/bulk_action_types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/bulk_action_types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/bulk_action_types.ts diff --git a/x-pack/plugins/fleet/server/services/agents/bulk_actions_resolver.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/bulk_actions_resolver.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/bulk_actions_resolver.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/bulk_actions_resolver.ts diff --git a/x-pack/plugins/fleet/server/services/agents/crud.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/crud.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/crud.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/crud.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/crud.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/crud.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/crud.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/crud.ts diff --git a/x-pack/plugins/fleet/server/services/agents/filter_hosted_agents.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/filter_hosted_agents.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/filter_hosted_agents.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/filter_hosted_agents.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/filter_hosted_agents.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/filter_hosted_agents.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/filter_hosted_agents.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/filter_hosted_agents.ts diff --git a/x-pack/plugins/fleet/server/services/agents/helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/helpers.ts diff --git a/x-pack/plugins/fleet/server/services/agents/hosted_agent.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/hosted_agent.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/hosted_agent.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/hosted_agent.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/hosted_agent.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/hosted_agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/hosted_agent.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/hosted_agent.ts diff --git a/x-pack/plugins/fleet/server/services/agents/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/index.ts diff --git a/x-pack/plugins/fleet/server/services/agents/reassign.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/reassign.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/reassign.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/reassign.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/reassign.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/reassign.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/reassign.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/reassign.ts diff --git a/x-pack/plugins/fleet/server/services/agents/reassign_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/reassign_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/reassign_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/reassign_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/request_diagnostics.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/request_diagnostics.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/request_diagnostics.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics.ts diff --git a/x-pack/plugins/fleet/server/services/agents/request_diagnostics_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/request_diagnostics_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/request_diagnostics_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/retry_helper.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/retry_helper.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/retry_helper.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/retry_helper.ts diff --git a/x-pack/plugins/fleet/server/services/agents/status.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/status.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/status.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/status.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/status.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/status.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/status.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/status.ts diff --git a/x-pack/plugins/fleet/server/services/agents/unenroll.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/unenroll.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/unenroll.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/unenroll.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll.ts diff --git a/x-pack/plugins/fleet/server/services/agents/unenroll_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/unenroll_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/unenroll_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/update.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/update.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/update.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/update.ts diff --git a/x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/update_agent_tags.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/update_agent_tags.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/update_agent_tags.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags.ts diff --git a/x-pack/plugins/fleet/server/services/agents/update_agent_tags_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/update_agent_tags_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/update_agent_tags_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/upgrade.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/upgrade.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/upgrade.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/upgrade.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade.ts diff --git a/x-pack/plugins/fleet/server/services/agents/upgrade_action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade_action_runner.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/upgrade_action_runner.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/upgrade_action_runner.ts diff --git a/x-pack/plugins/fleet/server/services/agents/uploads.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/uploads.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/uploads.test_fixtures.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.test_fixtures.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/uploads.test_fixtures.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.test_fixtures.ts diff --git a/x-pack/plugins/fleet/server/services/agents/uploads.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/uploads.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/uploads.ts diff --git a/x-pack/plugins/fleet/server/services/agents/versions.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/versions.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/agents/versions.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/versions.test.ts diff --git a/x-pack/plugins/fleet/server/services/agents/versions.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/versions.ts similarity index 98% rename from x-pack/plugins/fleet/server/services/agents/versions.ts rename to x-pack/platform/plugins/shared/fleet/server/services/agents/versions.ts index fb42c3af2a50d..7cdfb9c1a5543 100644 --- a/x-pack/plugins/fleet/server/services/agents/versions.ts +++ b/x-pack/platform/plugins/shared/fleet/server/services/agents/versions.ts @@ -24,7 +24,8 @@ import { differsOnlyInPatch } from '../../../common/services'; import { appContextService } from '..'; const MINIMUM_SUPPORTED_VERSION = '7.17.0'; -const AGENT_VERSION_BUILD_FILE = 'x-pack/plugins/fleet/target/agent_versions_list.json'; +const AGENT_VERSION_BUILD_FILE = + 'x-pack/platform/plugins/shared/fleet/target/agent_versions_list.json'; // Endpoint maintained by the web-team and hosted on the elastic website const PRODUCT_VERSIONS_URL = 'https://www.elastic.co/api/product_versions'; diff --git a/x-pack/plugins/fleet/server/services/api_keys/create_standalone_agent_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/create_standalone_agent_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/create_standalone_agent_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/create_standalone_agent_api_key.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.test.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/index.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/logstash_api_keys.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/logstash_api_keys.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/logstash_api_keys.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/logstash_api_keys.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/security.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/security.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/security.ts diff --git a/x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts b/x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/api_keys/transform_api_keys.ts rename to x-pack/platform/plugins/shared/fleet/server/services/api_keys/transform_api_keys.ts diff --git a/x-pack/plugins/fleet/server/services/app_context.ts b/x-pack/platform/plugins/shared/fleet/server/services/app_context.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/app_context.ts rename to x-pack/platform/plugins/shared/fleet/server/services/app_context.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/artifacts.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/artifacts.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/artifacts.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/artifacts.test.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/artifacts.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/artifacts.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/artifacts.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/artifacts.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/client.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/client.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/client.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/client.test.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/client.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/client.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/client.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/client.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/constants.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/constants.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/constants.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/constants.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/index.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/mappings.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/mappings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/mappings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/mappings.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/mocks.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/mocks.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/mocks.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/types.ts diff --git a/x-pack/plugins/fleet/server/services/artifacts/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/artifacts/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/artifacts/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/artifacts/utils.ts diff --git a/x-pack/plugins/fleet/server/services/audit_logging.ts b/x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/audit_logging.ts rename to x-pack/platform/plugins/shared/fleet/server/services/audit_logging.ts diff --git a/x-pack/plugins/fleet/server/services/backfill_agentless.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/backfill_agentless.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/backfill_agentless.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/backfill_agentless.test.ts diff --git a/x-pack/plugins/fleet/server/services/backfill_agentless.ts b/x-pack/platform/plugins/shared/fleet/server/services/backfill_agentless.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/backfill_agentless.ts rename to x-pack/platform/plugins/shared/fleet/server/services/backfill_agentless.ts diff --git a/x-pack/plugins/fleet/server/services/check_allowed_packages.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/check_allowed_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/check_allowed_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/check_allowed_packages.test.ts diff --git a/x-pack/plugins/fleet/server/services/check_allowed_packages.ts b/x-pack/platform/plugins/shared/fleet/server/services/check_allowed_packages.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/check_allowed_packages.ts rename to x-pack/platform/plugins/shared/fleet/server/services/check_allowed_packages.ts diff --git a/x-pack/plugins/fleet/server/services/config.ts b/x-pack/platform/plugins/shared/fleet/server/services/config.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/config.ts rename to x-pack/platform/plugins/shared/fleet/server/services/config.ts diff --git a/x-pack/plugins/fleet/server/services/data_streams.ts b/x-pack/platform/plugins/shared/fleet/server/services/data_streams.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/data_streams.ts rename to x-pack/platform/plugins/shared/fleet/server/services/data_streams.ts diff --git a/x-pack/plugins/fleet/server/services/debug/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/debug/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/debug/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/debug/index.ts diff --git a/x-pack/plugins/fleet/server/services/download_source.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/download_source.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/download_source.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/download_source.test.ts diff --git a/x-pack/plugins/fleet/server/services/download_source.ts b/x-pack/platform/plugins/shared/fleet/server/services/download_source.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/download_source.ts rename to x-pack/platform/plugins/shared/fleet/server/services/download_source.ts diff --git a/x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts b/x-pack/platform/plugins/shared/fleet/server/services/elastic_agent_manifest.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/elastic_agent_manifest.ts rename to x-pack/platform/plugins/shared/fleet/server/services/elastic_agent_manifest.ts diff --git a/x-pack/plugins/fleet/server/services/epm/agent/agent.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/agent/agent.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/agent/agent.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/agent/agent.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/agent/agent.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/agent/agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/agent/agent.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/agent/agent.ts diff --git a/x-pack/plugins/fleet/server/services/epm/airgapped.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/airgapped.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/airgapped.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/airgapped.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/archive_iterator.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/archive_iterator.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/archive_iterator.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/archive_iterator.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/cache.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/cache.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/cache.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/cache.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/extract.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/extract.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/extract.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/extract.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/parse.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/parse.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/parse.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/parse.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/parse.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/parse.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/parse.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/parse.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/storage.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/storage.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/storage.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/storage.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/archive/storage.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/archive/storage.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/archive/storage.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/archive/storage.ts diff --git a/x-pack/plugins/fleet/server/services/epm/data_streams/get.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/get.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/data_streams/get.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/get.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/data_streams/get.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/get.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/data_streams/get.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/get.ts diff --git a/x-pack/plugins/fleet/server/services/epm/data_streams/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/data_streams/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/data_streams/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/datastream_ilm/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/datastream_ilm/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/datastream_ilm/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/datastream_ilm/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/datastream_ilm/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/datastream_ilm/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/datastream_ilm/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/datastream_ilm/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ilm/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ilm/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ilm/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ilm/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/index/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/index/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/index/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/index/update_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/index/update_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/index/update_settings.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/helpers.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipeline_template.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipeline_template.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipeline_template.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipeline_template.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/no_replacement.yml diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_beats.yml diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_input_standard.yml diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.json diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/tests/ingest_pipelines/real_output.yml diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ingest_pipeline/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ingest_pipeline/types.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/meta.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/meta.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/meta.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/meta.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/meta.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/meta.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/meta.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/meta.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/ml_model/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/ml_model/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/retry.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/retry.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/retry.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/retry.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/retry.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/retry.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/retry.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/retry.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/default_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/default_settings.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/mappings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/mappings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/mappings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/mappings.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/mappings.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/mappings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/mappings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/mappings.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/remove_legacy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/remove_legacy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/remove_legacy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/remove_legacy.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/remove_legacy.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/remove_legacy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/remove_legacy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/remove_legacy.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/template.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/template.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/template.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/template.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/template/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/template/utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/common.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/common.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/common.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/common.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/legacy_transforms.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/legacy_transforms.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/legacy_transforms.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/legacy_transforms.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/mappings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/mappings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/mappings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/mappings.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/mappings.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/mappings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/mappings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/mappings.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/reauthorize.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/remove.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/remove.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform_utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transform_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transform_utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform_utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transform_utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transform_utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transform_utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transforms.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transforms.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/elasticsearch/transform/transforms.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/elasticsearch/transform/transforms.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/fields/__snapshots__/field.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/__snapshots__/field.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/__snapshots__/field.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/__snapshots__/field.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/epm/fields/field.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/field.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/field.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/field.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/fields/field.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/field.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/field.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/field.ts diff --git a/x-pack/plugins/fleet/server/services/epm/fields/tests/base.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/base.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/tests/base.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/base.yml diff --git a/x-pack/plugins/fleet/server/services/epm/fields/tests/cockroachdb_dynamic_templates.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/cockroachdb_dynamic_templates.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/tests/cockroachdb_dynamic_templates.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/cockroachdb_dynamic_templates.yml diff --git a/x-pack/plugins/fleet/server/services/epm/fields/tests/coredns.logs.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/coredns.logs.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/tests/coredns.logs.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/coredns.logs.yml diff --git a/x-pack/plugins/fleet/server/services/epm/fields/tests/system.yml b/x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/system.yml similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/fields/tests/system.yml rename to x-pack/platform/plugins/shared/fleet/server/services/epm/fields/tests/system.yml diff --git a/x-pack/plugins/fleet/server/services/epm/filtered_packages.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/filtered_packages.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/filtered_packages.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/filtered_packages.ts diff --git a/x-pack/plugins/fleet/server/services/epm/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/install_with_streaming.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install_with_streaming.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/install_with_streaming.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/install_with_streaming.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/saved_object.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/saved_object.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/saved_object.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/saved_object.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/saved_objects.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/saved_objects.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/saved_objects.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/saved_objects.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/tag_assets.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/tag_assets.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/tag_assets.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/tag_assets.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/assets/tag_assets.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/tag_assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/assets/tag_assets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/assets/tag_assets.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/index_pattern/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/index_pattern/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/index_pattern/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/kibana/index_pattern/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/kibana/index_pattern/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/package_service.mock.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.mock.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/package_service.mock.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.mock.ts diff --git a/x-pack/plugins/fleet/server/services/epm/package_service.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/package_service.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/package_service.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/package_service.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/package_service.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/docker_2_11_0.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/docker_2_11_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/docker_2_11_0.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/docker_2_11_0.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/logs_2_3_0.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/logs_2_3_0.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/logs_2_3_0.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/logs_2_3_0.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_package_info.json b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_package_info.json similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_package_info.json rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_package_info.json diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_streams_template.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_streams_template.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_streams_template.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__fixtures__/redis_1_18_0_streams_template.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/__snapshots__/get_templates_inputs.test.ts.snap b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__snapshots__/get_templates_inputs.test.ts.snap similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/__snapshots__/get_templates_inputs.test.ts.snap rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/__snapshots__/get_templates_inputs.test.ts.snap diff --git a/x-pack/plugins/fleet/server/services/epm/packages/assets.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/assets.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/assets.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/assets.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/assets.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/assets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/assets.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bulk_install_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bulk_install_packages.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bulk_install_packages.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/bulk_install_packages.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bulk_install_packages.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bundled_packages.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bundled_packages.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/bundled_packages.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bundled_packages.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/bundled_packages.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bundled_packages.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/bundled_packages.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/bundled_packages.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/cache.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cache.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/cache.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cache.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/cache.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cache.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/cache.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cache.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/cleanup.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cleanup.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/cleanup.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cleanup.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/cleanup.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cleanup.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/cleanup.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/cleanup.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/ingest_pipeline.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/ingest_pipeline.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/ingest_pipeline.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/ingest_pipeline.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/manifest.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/manifest.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/manifest.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/manifest.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/dataset/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/dataset/utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/generate.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/generate.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/generate.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/generate.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/manifest.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/manifest.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/assets/manifest.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/assets/manifest.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/constants.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/constants.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/constants.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/constants.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_dataset_name_format.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_dataset_name_format.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_dataset_name_format.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_dataset_name_format.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/custom_integrations/validation/check_naming_collision.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/es_assets_reference.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/es_assets_reference.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/es_assets_reference.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/es_assets_reference.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_bulk_assets.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_bulk_assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_bulk_assets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_bulk_assets.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_install_type.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_install_type.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_install_type.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_install_type.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_prerelease_setting.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_prerelease_setting.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_prerelease_setting.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_prerelease_setting.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_template_inputs.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_template_inputs.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_template_inputs.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_template_inputs.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_templates_inputs.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_templates_inputs.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/get_templates_inputs.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/get_templates_inputs.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_errors_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_errors_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_errors_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_errors_helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_errors_helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_errors_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_errors_helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_errors_helpers.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_index_template_pipeline.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_index_template_pipeline.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_index_template_pipeline.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_index_template_pipeline.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/state_machine.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/state_machine.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/state_machine.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/state_machine.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/state_machine.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/state_machine.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/state_machine.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/state_machine.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_create_restart_installation.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_delete_previous_pipelines.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_ilm_policies.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_index_template_pipelines.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_kibana_assets.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_mlmodel.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_install_transforms.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_remove_legacy_templates.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_resolve_kibana_promise.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_resolve_kibana_promise.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_resolve_kibana_promise.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_resolve_kibana_promise.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_archive_entries.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_save_system_object.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/step_update_current_write_indices.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/install_state_machine/steps/update_latest_executed_state.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/package_verification.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/package_verification.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/package_verification.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/package_verification.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/package_verification.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/package_verification.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/package_verification.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/package_verification.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/reinstall.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/reinstall.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/reinstall.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/reinstall.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/reinstall.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/reinstall.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/reinstall.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/reinstall.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/remove.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/remove.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/remove.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/remove.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/remove.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/remove.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/remove.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/remove.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/update.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/update.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/update.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/update.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/update.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/update.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/update.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/update.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/packages/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/packages/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/packages/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/packages/utils.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/index.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/proxy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/proxy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/proxy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/proxy.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/proxy.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/proxy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/proxy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/proxy.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/registry_url.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/registry_url.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/requests.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/requests.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/requests.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/requests.test.ts diff --git a/x-pack/plugins/fleet/server/services/epm/registry/requests.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/registry/requests.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/registry/requests.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/registry/requests.ts diff --git a/x-pack/plugins/fleet/server/services/epm/streams.ts b/x-pack/platform/plugins/shared/fleet/server/services/epm/streams.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/epm/streams.ts rename to x-pack/platform/plugins/shared/fleet/server/services/epm/streams.ts diff --git a/x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts b/x-pack/platform/plugins/shared/fleet/server/services/experimental_datastream_features_helper.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/experimental_datastream_features_helper.ts rename to x-pack/platform/plugins/shared/fleet/server/services/experimental_datastream_features_helper.ts diff --git a/x-pack/plugins/fleet/server/services/files/client_from_host.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/client_from_host.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/client_from_host.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/client_from_host.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/client_from_host.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/client_from_host.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/client_from_host.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/client_from_host.ts diff --git a/x-pack/plugins/fleet/server/services/files/client_to_host.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/client_to_host.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/client_to_host.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/client_to_host.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/client_to_host.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/client_to_host.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/client_to_host.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/client_to_host.ts diff --git a/x-pack/plugins/fleet/server/services/files/get_files_client_factory.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/get_files_client_factory.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/get_files_client_factory.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/get_files_client_factory.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/get_files_client_factory.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/get_files_client_factory.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/get_files_client_factory.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/get_files_client_factory.ts diff --git a/x-pack/plugins/fleet/server/services/files/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/index.ts diff --git a/x-pack/plugins/fleet/server/services/files/mocks.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/mocks.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/mocks.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/mocks.ts diff --git a/x-pack/plugins/fleet/server/services/files/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/types.ts diff --git a/x-pack/plugins/fleet/server/services/files/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/files/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/files/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/files/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/files/utils.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_proxies.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_proxies.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_proxies.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_proxies.test.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_server/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_server/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_server/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_server/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_server/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_server/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_server/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_server/index.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_server_host.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_server_host.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_server_host.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_server_host.test.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_server_host.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_server_host.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_server_host.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_server_host.ts diff --git a/x-pack/plugins/fleet/server/services/fleet_usage_logger.ts b/x-pack/platform/plugins/shared/fleet/server/services/fleet_usage_logger.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/fleet_usage_logger.ts rename to x-pack/platform/plugins/shared/fleet/server/services/fleet_usage_logger.ts diff --git a/x-pack/plugins/fleet/server/services/form_settings/form_settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/form_settings/form_settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/form_settings/form_settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/form_settings/form_settings.test.ts diff --git a/x-pack/plugins/fleet/server/services/form_settings/form_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/form_settings/form_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/form_settings/form_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/form_settings/form_settings.ts diff --git a/x-pack/plugins/fleet/server/services/form_settings/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/form_settings/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/form_settings/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/form_settings/index.ts diff --git a/x-pack/plugins/fleet/server/services/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/index.ts diff --git a/x-pack/plugins/fleet/server/services/license.ts b/x-pack/platform/plugins/shared/fleet/server/services/license.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/license.ts rename to x-pack/platform/plugins/shared/fleet/server/services/license.ts diff --git a/x-pack/plugins/fleet/server/services/metrics/fetch_agent_metrics.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/metrics/fetch_agent_metrics.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/metrics/fetch_agent_metrics.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/metrics/fetch_agent_metrics.test.ts diff --git a/x-pack/plugins/fleet/server/services/metrics/fetch_agent_metrics.ts b/x-pack/platform/plugins/shared/fleet/server/services/metrics/fetch_agent_metrics.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/metrics/fetch_agent_metrics.ts rename to x-pack/platform/plugins/shared/fleet/server/services/metrics/fetch_agent_metrics.ts diff --git a/x-pack/plugins/fleet/server/services/metrics/fleet_metrics_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/metrics/fleet_metrics_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/metrics/fleet_metrics_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/metrics/fleet_metrics_task.test.ts diff --git a/x-pack/plugins/fleet/server/services/metrics/fleet_metrics_task.ts b/x-pack/platform/plugins/shared/fleet/server/services/metrics/fleet_metrics_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/metrics/fleet_metrics_task.ts rename to x-pack/platform/plugins/shared/fleet/server/services/metrics/fleet_metrics_task.ts diff --git a/x-pack/plugins/fleet/server/services/output.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/output.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output.test.ts diff --git a/x-pack/plugins/fleet/server/services/output.ts b/x-pack/platform/plugins/shared/fleet/server/services/output.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output.ts diff --git a/x-pack/plugins/fleet/server/services/output_client.mock.ts b/x-pack/platform/plugins/shared/fleet/server/services/output_client.mock.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output_client.mock.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output_client.mock.ts diff --git a/x-pack/plugins/fleet/server/services/output_client.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/output_client.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output_client.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output_client.test.ts diff --git a/x-pack/plugins/fleet/server/services/output_client.ts b/x-pack/platform/plugins/shared/fleet/server/services/output_client.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/output_client.ts rename to x-pack/platform/plugins/shared/fleet/server/services/output_client.ts diff --git a/x-pack/plugins/fleet/server/services/outputs/so_helpers.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/outputs/so_helpers.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/outputs/so_helpers.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/outputs/so_helpers.test.ts diff --git a/x-pack/plugins/fleet/server/services/outputs/so_helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/outputs/so_helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/outputs/so_helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/outputs/so_helpers.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/experimental_datastream_features.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/experimental_datastream_features.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/experimental_datastream_features.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/experimental_datastream_features.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/experimental_datastream_features.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/experimental_datastream_features.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/experimental_datastream_features.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/experimental_datastream_features.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/fixtures/package_info/nginx_1.5.0.json b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/fixtures/package_info/nginx_1.5.0.json similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/fixtures/package_info/nginx_1.5.0.json rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/fixtures/package_info/nginx_1.5.0.json diff --git a/x-pack/plugins/fleet/server/services/package_policies/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/index.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/package_policy_name_helper.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/package_policy_name_helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/package_policy_name_helper.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/package_policy_name_helper.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/package_policy_name_helper.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/package_policy_name_helper.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/package_policy_name_helper.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/package_policy_name_helper.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/populate_package_policy_assigned_agent_count.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/populate_package_policy_assigned_agent_count.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/populate_package_policy_assigned_agent_count.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/populate_package_policy_assigned_agent_count.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/populate_package_policy_assigned_agents_count.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/populate_package_policy_assigned_agents_count.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/populate_package_policy_assigned_agents_count.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/populate_package_policy_assigned_agents_count.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policies/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policies/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policies/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policies/utils.ts diff --git a/x-pack/plugins/fleet/server/services/package_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policy.test.ts diff --git a/x-pack/plugins/fleet/server/services/package_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts diff --git a/x-pack/plugins/fleet/server/services/package_policy_service.ts b/x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/package_policy_service.ts rename to x-pack/platform/plugins/shared/fleet/server/services/package_policy_service.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/delete_unenrolled_agent_setting.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_server_host.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_server_host.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_server_host.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/fleet_server_host.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/fleet_server_host.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/outputs.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/outputs.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/outputs.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/outputs.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/outputs.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/outputs.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/outputs.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/outputs.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/reset_agent_policies.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/reset_agent_policies.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/reset_agent_policies.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/reset_agent_policies.test.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/reset_agent_policies.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/reset_agent_policies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/reset_agent_policies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/reset_agent_policies.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/space_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/space_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/space_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/space_settings.ts diff --git a/x-pack/plugins/fleet/server/services/preconfiguration/utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/preconfiguration/utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/preconfiguration/utils.ts diff --git a/x-pack/plugins/fleet/server/services/register_fields_metadata_extractors.ts b/x-pack/platform/plugins/shared/fleet/server/services/register_fields_metadata_extractors.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/register_fields_metadata_extractors.ts rename to x-pack/platform/plugins/shared/fleet/server/services/register_fields_metadata_extractors.ts diff --git a/x-pack/plugins/fleet/server/services/request_store.ts b/x-pack/platform/plugins/shared/fleet/server/services/request_store.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/request_store.ts rename to x-pack/platform/plugins/shared/fleet/server/services/request_store.ts diff --git a/x-pack/plugins/fleet/server/services/saved_object.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/saved_object.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/saved_object.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/saved_object.test.ts diff --git a/x-pack/plugins/fleet/server/services/saved_object.ts b/x-pack/platform/plugins/shared/fleet/server/services/saved_object.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/saved_object.ts rename to x-pack/platform/plugins/shared/fleet/server/services/saved_object.ts diff --git a/x-pack/plugins/fleet/server/services/secrets.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/secrets.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/secrets.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/secrets.test.ts diff --git a/x-pack/plugins/fleet/server/services/secrets.ts b/x-pack/platform/plugins/shared/fleet/server/services/secrets.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/secrets.ts rename to x-pack/platform/plugins/shared/fleet/server/services/secrets.ts diff --git a/x-pack/plugins/fleet/server/services/security/fleet_router.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/fleet_router.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.test.ts diff --git a/x-pack/plugins/fleet/server/services/security/fleet_router.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/fleet_router.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/fleet_router.ts diff --git a/x-pack/plugins/fleet/server/services/security/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/index.ts diff --git a/x-pack/plugins/fleet/server/services/security/message_signing_service.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/message_signing_service.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.test.ts diff --git a/x-pack/plugins/fleet/server/services/security/message_signing_service.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/message_signing_service.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/message_signing_service.ts diff --git a/x-pack/plugins/fleet/server/services/security/route_required_authz.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/route_required_authz.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/route_required_authz.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/route_required_authz.ts diff --git a/x-pack/plugins/fleet/server/services/security/security.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/security.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/security.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/security.test.ts diff --git a/x-pack/plugins/fleet/server/services/security/security.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/security.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/security.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/security.ts diff --git a/x-pack/plugins/fleet/server/services/security/types.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/types.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/types.ts diff --git a/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/uninstall_token_service/index.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/uninstall_token_service/index.test.ts diff --git a/x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/security/uninstall_token_service/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/security/uninstall_token_service/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/security/uninstall_token_service/index.ts diff --git a/x-pack/plugins/fleet/server/services/settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/settings.test.ts diff --git a/x-pack/plugins/fleet/server/services/settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/settings.ts diff --git a/x-pack/plugins/fleet/server/services/setup.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup.ts diff --git a/x-pack/plugins/fleet/server/services/setup/clean_old_fleet_indices.test.tsx b/x-pack/platform/plugins/shared/fleet/server/services/setup/clean_old_fleet_indices.test.tsx similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/clean_old_fleet_indices.test.tsx rename to x-pack/platform/plugins/shared/fleet/server/services/setup/clean_old_fleet_indices.test.tsx diff --git a/x-pack/plugins/fleet/server/services/setup/clean_old_fleet_indices.tsx b/x-pack/platform/plugins/shared/fleet/server/services/setup/clean_old_fleet_indices.tsx similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/clean_old_fleet_indices.tsx rename to x-pack/platform/plugins/shared/fleet/server/services/setup/clean_old_fleet_indices.tsx diff --git a/x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/fleet_server_policies_enrollment_keys.ts diff --git a/x-pack/plugins/fleet/server/services/setup/index.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/index.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/index.ts diff --git a/x-pack/plugins/fleet/server/services/setup/managed_package_policies.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/managed_package_policies.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/managed_package_policies.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/managed_package_policies.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup/managed_package_policies.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/managed_package_policies.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/managed_package_policies.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/managed_package_policies.ts diff --git a/x-pack/plugins/fleet/server/services/setup/upgrade_agent_policy_schema_version.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_agent_policy_schema_version.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/upgrade_agent_policy_schema_version.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_agent_policy_schema_version.ts diff --git a/x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_package_install_version.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_package_install_version.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_package_install_version.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup/upgrade_package_install_version.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup/upgrade_package_install_version.ts diff --git a/x-pack/plugins/fleet/server/services/setup_utils.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup_utils.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup_utils.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup_utils.test.ts diff --git a/x-pack/plugins/fleet/server/services/setup_utils.ts b/x-pack/platform/plugins/shared/fleet/server/services/setup_utils.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/setup_utils.ts rename to x-pack/platform/plugins/shared/fleet/server/services/setup_utils.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/agent_namespaces.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_namespaces.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/agent_namespaces.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_namespaces.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/agent_namespaces.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_namespaces.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/agent_namespaces.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_namespaces.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/agent_policy.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/enable_space_awareness.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/enable_space_awareness.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/enable_space_awareness.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/enable_space_awareness.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/enable_space_awareness.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/enable_space_awareness.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/enable_space_awareness.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/enable_space_awareness.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/get_current_namespace.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/get_current_namespace.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/get_current_namespace.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/get_current_namespace.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/helper.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/helper.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/helper.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/helper.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/helpers.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/helpers.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/helpers.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/helpers.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/package_policy.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/package_policy.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/policy_namespaces.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/policy_namespaces.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/policy_namespaces.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/policy_namespaces.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/policy_namespaces.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/policy_namespaces.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/policy_namespaces.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/query_namespaces_filtering.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/query_namespaces_filtering.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/query_namespaces_filtering.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/query_namespaces_filtering.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/query_namespaces_filtering.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/query_namespaces_filtering.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/query_namespaces_filtering.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/query_namespaces_filtering.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/space_settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/space_settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/space_settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/space_settings.test.ts diff --git a/x-pack/plugins/fleet/server/services/spaces/space_settings.ts b/x-pack/platform/plugins/shared/fleet/server/services/spaces/space_settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/spaces/space_settings.ts rename to x-pack/platform/plugins/shared/fleet/server/services/spaces/space_settings.ts diff --git a/x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts b/x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts similarity index 98% rename from x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts rename to x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts index d2ea4cab6ce3c..1bd4f97700d89 100644 --- a/x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts +++ b/x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usage_sender.ts @@ -183,7 +183,7 @@ export class FleetUsageSender { } /** - * took schema from [here](https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/collectors/register.ts#L53) and adapted to EBT format + * took schema from [here](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/fleet/server/collectors/register.ts#L53) and adapted to EBT format */ private registerTelemetryEventType(core: CoreSetup): void { core.analytics.registerEventType({ diff --git a/x-pack/plugins/fleet/server/services/telemetry/fleet_usages_schema.ts b/x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usages_schema.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/telemetry/fleet_usages_schema.ts rename to x-pack/platform/plugins/shared/fleet/server/services/telemetry/fleet_usages_schema.ts diff --git a/x-pack/plugins/fleet/server/services/upgrade_sender.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/upgrade_sender.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/upgrade_sender.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/upgrade_sender.test.ts diff --git a/x-pack/plugins/fleet/server/services/upgrade_sender.ts b/x-pack/platform/plugins/shared/fleet/server/services/upgrade_sender.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/upgrade_sender.ts rename to x-pack/platform/plugins/shared/fleet/server/services/upgrade_sender.ts diff --git a/x-pack/plugins/fleet/server/services/utils/agentless.test.ts b/x-pack/platform/plugins/shared/fleet/server/services/utils/agentless.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/utils/agentless.test.ts rename to x-pack/platform/plugins/shared/fleet/server/services/utils/agentless.test.ts diff --git a/x-pack/plugins/fleet/server/services/utils/agentless.ts b/x-pack/platform/plugins/shared/fleet/server/services/utils/agentless.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/utils/agentless.ts rename to x-pack/platform/plugins/shared/fleet/server/services/utils/agentless.ts diff --git a/x-pack/plugins/fleet/server/services/utils/create_es_search_iterable.ts b/x-pack/platform/plugins/shared/fleet/server/services/utils/create_es_search_iterable.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/utils/create_es_search_iterable.ts rename to x-pack/platform/plugins/shared/fleet/server/services/utils/create_es_search_iterable.ts diff --git a/x-pack/plugins/fleet/server/services/utils/create_so_find_iterable.ts b/x-pack/platform/plugins/shared/fleet/server/services/utils/create_so_find_iterable.ts similarity index 100% rename from x-pack/plugins/fleet/server/services/utils/create_so_find_iterable.ts rename to x-pack/platform/plugins/shared/fleet/server/services/utils/create_so_find_iterable.ts diff --git a/x-pack/plugins/fleet/server/tasks/check_deleted_files_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/check_deleted_files_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/check_deleted_files_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/check_deleted_files_task.test.ts diff --git a/x-pack/plugins/fleet/server/tasks/check_deleted_files_task.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/check_deleted_files_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/check_deleted_files_task.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/check_deleted_files_task.ts diff --git a/x-pack/plugins/fleet/server/tasks/delete_unenrolled_agents_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/delete_unenrolled_agents_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/delete_unenrolled_agents_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/delete_unenrolled_agents_task.test.ts diff --git a/x-pack/plugins/fleet/server/tasks/delete_unenrolled_agents_task.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/delete_unenrolled_agents_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/delete_unenrolled_agents_task.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/delete_unenrolled_agents_task.ts diff --git a/x-pack/plugins/fleet/server/tasks/unenroll_inactive_agents_task.test.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/unenroll_inactive_agents_task.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/unenroll_inactive_agents_task.test.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/unenroll_inactive_agents_task.test.ts diff --git a/x-pack/plugins/fleet/server/tasks/unenroll_inactive_agents_task.ts b/x-pack/platform/plugins/shared/fleet/server/tasks/unenroll_inactive_agents_task.ts similarity index 100% rename from x-pack/plugins/fleet/server/tasks/unenroll_inactive_agents_task.ts rename to x-pack/platform/plugins/shared/fleet/server/tasks/unenroll_inactive_agents_task.ts diff --git a/x-pack/plugins/fleet/server/telemetry/__mocks__/index.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/__mocks__/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/__mocks__/index.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/__mocks__/index.ts diff --git a/x-pack/plugins/fleet/server/telemetry/queue.test.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/queue.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/queue.test.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/queue.test.ts diff --git a/x-pack/plugins/fleet/server/telemetry/queue.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/queue.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/queue.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/queue.ts diff --git a/x-pack/plugins/fleet/server/telemetry/sender.test.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/sender.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/sender.test.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/sender.test.ts diff --git a/x-pack/plugins/fleet/server/telemetry/sender.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/sender.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/sender.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/sender.ts diff --git a/x-pack/plugins/fleet/server/telemetry/types.ts b/x-pack/platform/plugins/shared/fleet/server/telemetry/types.ts similarity index 100% rename from x-pack/plugins/fleet/server/telemetry/types.ts rename to x-pack/platform/plugins/shared/fleet/server/telemetry/types.ts diff --git a/x-pack/plugins/fleet/server/types/extensions.ts b/x-pack/platform/plugins/shared/fleet/server/types/extensions.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/extensions.ts rename to x-pack/platform/plugins/shared/fleet/server/types/extensions.ts diff --git a/x-pack/plugins/fleet/server/types/index.tsx b/x-pack/platform/plugins/shared/fleet/server/types/index.tsx similarity index 100% rename from x-pack/plugins/fleet/server/types/index.tsx rename to x-pack/platform/plugins/shared/fleet/server/types/index.tsx diff --git a/x-pack/plugins/fleet/server/types/models/agent.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/agent.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/agent.ts diff --git a/x-pack/plugins/fleet/server/types/models/agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/types/models/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/agent_policy.ts diff --git a/x-pack/plugins/fleet/server/types/models/download_sources.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/download_sources.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/download_sources.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/download_sources.ts diff --git a/x-pack/plugins/fleet/server/types/models/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/server/types/models/index.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/index.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/index.ts diff --git a/x-pack/plugins/fleet/server/types/models/output.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/output.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/output.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/output.test.ts diff --git a/x-pack/plugins/fleet/server/types/models/output.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/output.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/output.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/output.ts diff --git a/x-pack/plugins/fleet/server/types/models/package_policy.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/package_policy.ts diff --git a/x-pack/plugins/fleet/server/types/models/preconfiguration.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/preconfiguration.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/preconfiguration.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/preconfiguration.test.ts diff --git a/x-pack/plugins/fleet/server/types/models/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/server/types/models/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/models/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/server/types/models/preconfiguration.ts diff --git a/x-pack/plugins/fleet/server/types/request_context.ts b/x-pack/platform/plugins/shared/fleet/server/types/request_context.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/request_context.ts rename to x-pack/platform/plugins/shared/fleet/server/types/request_context.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/agent.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/agent.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.test.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/agent.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/agent.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/agent_policy.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/agent_policy.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.test.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/agent_policy.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/agent_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/agent_policy.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/check_permissions.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/check_permissions.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/check_permissions.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/check_permissions.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/common.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/common.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/common.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/common.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/debug.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/debug.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/debug.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/debug.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/download_sources.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/download_sources.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/download_sources.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/download_sources.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/enrollment_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/enrollment_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/enrollment_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/enrollment_api_key.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/epm.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/epm.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/epm.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/epm.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/fleet_proxies.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/fleet_proxies.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/fleet_proxies.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/fleet_proxies.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/fleet_server_policy_config.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/fleet_server_policy_config.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/fleet_server_policy_config.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/fleet_server_policy_config.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/health_check.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/health_check.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/health_check.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/health_check.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/index.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/index.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/index.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/index.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/message_signing_service.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/message_signing_service.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/message_signing_service.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/message_signing_service.test.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/message_signing_service.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/message_signing_service.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/message_signing_service.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/message_signing_service.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/output.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/output.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/output.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/output.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/package_policy.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/package_policy.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/package_policy.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/package_policy.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/preconfiguration.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/preconfiguration.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/preconfiguration.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/preconfiguration.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/settings.test.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/settings.test.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/settings.test.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/settings.test.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/settings.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/settings.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/settings.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/settings.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/setup.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/setup.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/setup.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/setup.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/standalone_agent_api_key.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/standalone_agent_api_key.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/standalone_agent_api_key.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/standalone_agent_api_key.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/tags.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/tags.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/tags.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/tags.ts diff --git a/x-pack/plugins/fleet/server/types/rest_spec/uninstall_token.ts b/x-pack/platform/plugins/shared/fleet/server/types/rest_spec/uninstall_token.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/rest_spec/uninstall_token.ts rename to x-pack/platform/plugins/shared/fleet/server/types/rest_spec/uninstall_token.ts diff --git a/x-pack/plugins/fleet/server/types/so_attributes.ts b/x-pack/platform/plugins/shared/fleet/server/types/so_attributes.ts similarity index 100% rename from x-pack/plugins/fleet/server/types/so_attributes.ts rename to x-pack/platform/plugins/shared/fleet/server/types/so_attributes.ts diff --git a/x-pack/plugins/fleet/tsconfig.json b/x-pack/platform/plugins/shared/fleet/tsconfig.json similarity index 95% rename from x-pack/plugins/fleet/tsconfig.json rename to x-pack/platform/plugins/shared/fleet/tsconfig.json index 7499f980d5ebf..1bb5ad420ccda 100644 --- a/x-pack/plugins/fleet/tsconfig.json +++ b/x-pack/platform/plugins/shared/fleet/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, @@ -19,11 +19,11 @@ "package.json", "cypress.config.ts", "cypress.config.space_awareness.ts", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", - { "path": "../../../src/setup_node_env/tsconfig.json" }, + { "path": "../../../../../src/setup_node_env/tsconfig.json" }, // add references to other TypeScript projects the plugin depends on // requiredPlugins from ./kibana.json diff --git a/x-pack/platform/plugins/shared/inference/common/connectors.ts b/x-pack/platform/plugins/shared/inference/common/connectors.ts deleted file mode 100644 index ee628f520feff..0000000000000 --- a/x-pack/platform/plugins/shared/inference/common/connectors.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export enum InferenceConnectorType { - OpenAI = '.gen-ai', - Bedrock = '.bedrock', - Gemini = '.gemini', -} - -const allSupportedConnectorTypes = Object.values(InferenceConnectorType); - -export interface InferenceConnector { - type: InferenceConnectorType; - name: string; - connectorId: string; -} - -export function isSupportedConnectorType(id: string): id is InferenceConnectorType { - return allSupportedConnectorTypes.includes(id as InferenceConnectorType); -} diff --git a/x-pack/platform/plugins/shared/inference/common/http_apis.ts b/x-pack/platform/plugins/shared/inference/common/http_apis.ts index c07fcd29b2211..f6a60051e84fb 100644 --- a/x-pack/platform/plugins/shared/inference/common/http_apis.ts +++ b/x-pack/platform/plugins/shared/inference/common/http_apis.ts @@ -5,8 +5,12 @@ * 2.0. */ -import type { FunctionCallingMode, Message, ToolOptions } from '@kbn/inference-common'; -import { InferenceConnector } from './connectors'; +import type { + FunctionCallingMode, + Message, + ToolOptions, + InferenceConnector, +} from '@kbn/inference-common'; export type ChatCompleteRequestBody = { connectorId: string; diff --git a/x-pack/platform/plugins/shared/inference/public/types.ts b/x-pack/platform/plugins/shared/inference/public/types.ts index 735abfb5459a0..f07fe1e636836 100644 --- a/x-pack/platform/plugins/shared/inference/public/types.ts +++ b/x-pack/platform/plugins/shared/inference/public/types.ts @@ -5,8 +5,7 @@ * 2.0. */ -import type { ChatCompleteAPI, OutputAPI } from '@kbn/inference-common'; -import type { InferenceConnector } from '../common/connectors'; +import type { ChatCompleteAPI, OutputAPI, InferenceConnector } from '@kbn/inference-common'; /* eslint-disable @typescript-eslint/no-empty-interface*/ diff --git a/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts b/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts index ef6f1c4fdcdce..a3a75ea980523 100644 --- a/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts +++ b/x-pack/platform/plugins/shared/inference/scripts/util/kibana_client.ts @@ -25,9 +25,9 @@ import { withoutOutputUpdateEvents, type ToolOptions, ChatCompleteOptions, + type InferenceConnector, } from '@kbn/inference-common'; import type { ChatCompleteRequestBody } from '../../common/http_apis'; -import type { InferenceConnector } from '../../common/connectors'; import { createOutputApi } from '../../common/output/create_output_api'; import { eventSourceStreamIntoObservable } from '../../server/util/event_source_stream_into_observable'; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts index 7d00057d8b801..03eef4b9f2457 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/gemini/types.ts @@ -25,7 +25,7 @@ export type GenerateContentResponseChunk = GenerateContentResponse & { * We need to use the connector's format, not directly Gemini's... * In practice, 'parts' get mapped to 'content' * - * See x-pack/plugins/stack_connectors/server/connector_types/gemini/gemini.ts + * See x-pack/platform/plugins/shared/stack_connectors/server/connector_types/gemini/gemini.ts */ export interface GeminiMessage { role: 'assistant' | 'user'; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts index 558e0cd06ef91..f6613152f9f00 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.test.ts @@ -5,11 +5,12 @@ * 2.0. */ -import { InferenceConnectorType } from '../../../common/connectors'; +import { InferenceConnectorType } from '@kbn/inference-common'; import { getInferenceAdapter } from './get_inference_adapter'; import { openAIAdapter } from './openai'; import { geminiAdapter } from './gemini'; import { bedrockClaudeAdapter } from './bedrock'; +import { inferenceAdapter } from './inference'; describe('getInferenceAdapter', () => { it('returns the openAI adapter for OpenAI type', () => { @@ -23,4 +24,8 @@ describe('getInferenceAdapter', () => { it('returns the bedrock adapter for Bedrock type', () => { expect(getInferenceAdapter(InferenceConnectorType.Bedrock)).toBe(bedrockClaudeAdapter); }); + + it('returns the inference adapter for Inference type', () => { + expect(getInferenceAdapter(InferenceConnectorType.Inference)).toBe(inferenceAdapter); + }); }); diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts index f34b0c27a339f..ec5e6803ab86d 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/get_inference_adapter.ts @@ -5,11 +5,12 @@ * 2.0. */ -import { InferenceConnectorType } from '../../../common/connectors'; +import { InferenceConnectorType } from '@kbn/inference-common'; import type { InferenceConnectorAdapter } from '../types'; import { openAIAdapter } from './openai'; import { geminiAdapter } from './gemini'; import { bedrockClaudeAdapter } from './bedrock'; +import { inferenceAdapter } from './inference'; export const getInferenceAdapter = ( connectorType: InferenceConnectorType @@ -23,6 +24,9 @@ export const getInferenceAdapter = ( case InferenceConnectorType.Bedrock: return bedrockClaudeAdapter; + + case InferenceConnectorType.Inference: + return inferenceAdapter; } return undefined; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/index.ts new file mode 100644 index 0000000000000..040b4103dae80 --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/index.ts @@ -0,0 +1,8 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { inferenceAdapter } from './inference_adapter'; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.test.ts new file mode 100644 index 0000000000000..7cf5fc7bdfb8a --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.test.ts @@ -0,0 +1,148 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import OpenAI from 'openai'; +import { v4 } from 'uuid'; +import { PassThrough } from 'stream'; +import { lastValueFrom, Subject, toArray } from 'rxjs'; +import type { Logger } from '@kbn/logging'; +import { loggerMock } from '@kbn/logging-mocks'; +import { ChatCompletionEventType, MessageRole } from '@kbn/inference-common'; +import { observableIntoEventSourceStream } from '../../../util/observable_into_event_source_stream'; +import { InferenceExecutor } from '../../utils/inference_executor'; +import { inferenceAdapter } from './inference_adapter'; + +function createOpenAIChunk({ + delta, + usage, +}: { + delta?: OpenAI.ChatCompletionChunk['choices'][number]['delta']; + usage?: OpenAI.ChatCompletionChunk['usage']; +}): OpenAI.ChatCompletionChunk { + return { + choices: delta + ? [ + { + finish_reason: null, + index: 0, + delta, + }, + ] + : [], + created: new Date().getTime(), + id: v4(), + model: 'gpt-4o', + object: 'chat.completion.chunk', + usage, + }; +} + +describe('inferenceAdapter', () => { + const executorMock = { + invoke: jest.fn(), + } as InferenceExecutor & { invoke: jest.MockedFn }; + + const logger = { + debug: jest.fn(), + error: jest.fn(), + } as unknown as Logger; + + beforeEach(() => { + executorMock.invoke.mockReset(); + }); + + const defaultArgs = { + executor: executorMock, + logger: loggerMock.create(), + }; + + describe('when creating the request', () => { + beforeEach(() => { + executorMock.invoke.mockImplementation(async () => { + return { + actionId: '', + status: 'ok', + data: new PassThrough(), + }; + }); + }); + + it('emits chunk events', async () => { + const source$ = new Subject>(); + + executorMock.invoke.mockImplementation(async () => { + return { + actionId: '', + status: 'ok', + data: observableIntoEventSourceStream(source$, logger), + }; + }); + + const response$ = inferenceAdapter.chatComplete({ + ...defaultArgs, + messages: [ + { + role: MessageRole.User, + content: 'Hello', + }, + ], + }); + + source$.next( + createOpenAIChunk({ + delta: { + content: 'First', + }, + }) + ); + + source$.next( + createOpenAIChunk({ + delta: { + content: ', second', + }, + }) + ); + + source$.complete(); + + const allChunks = await lastValueFrom(response$.pipe(toArray())); + + expect(allChunks).toEqual([ + { + content: 'First', + tool_calls: [], + type: ChatCompletionEventType.ChatCompletionChunk, + }, + { + content: ', second', + tool_calls: [], + type: ChatCompletionEventType.ChatCompletionChunk, + }, + ]); + }); + + it('propagates the abort signal when provided', () => { + const abortController = new AbortController(); + + inferenceAdapter.chatComplete({ + logger, + executor: executorMock, + messages: [{ role: MessageRole.User, content: 'question' }], + abortSignal: abortController.signal, + }); + + expect(executorMock.invoke).toHaveBeenCalledTimes(1); + expect(executorMock.invoke).toHaveBeenCalledWith({ + subAction: 'unified_completion_stream', + subActionParams: expect.objectContaining({ + signal: abortController.signal, + }), + }); + }); + }); +}); diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.ts new file mode 100644 index 0000000000000..323dec4f5789d --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/inference/inference_adapter.ts @@ -0,0 +1,85 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type OpenAI from 'openai'; +import { from, identity, switchMap, throwError } from 'rxjs'; +import { isReadable, Readable } from 'stream'; +import { createInferenceInternalError } from '@kbn/inference-common'; +import { eventSourceStreamIntoObservable } from '../../../util/event_source_stream_into_observable'; +import type { InferenceConnectorAdapter } from '../../types'; +import { + parseInlineFunctionCalls, + wrapWithSimulatedFunctionCalling, +} from '../../simulated_function_calling'; +import { + toolsToOpenAI, + toolChoiceToOpenAI, + messagesToOpenAI, + processOpenAIStream, +} from '../openai'; + +export const inferenceAdapter: InferenceConnectorAdapter = { + chatComplete: ({ + executor, + system, + messages, + toolChoice, + tools, + functionCalling, + logger, + abortSignal, + }) => { + const simulatedFunctionCalling = functionCalling === 'simulated'; + + let request: Omit & { model?: string }; + if (simulatedFunctionCalling) { + const wrapped = wrapWithSimulatedFunctionCalling({ + system, + messages, + toolChoice, + tools, + }); + request = { + messages: messagesToOpenAI({ system: wrapped.system, messages: wrapped.messages }), + }; + } else { + request = { + messages: messagesToOpenAI({ system, messages }), + tool_choice: toolChoiceToOpenAI(toolChoice), + tools: toolsToOpenAI(tools), + }; + } + + return from( + executor.invoke({ + subAction: 'unified_completion_stream', + subActionParams: { + body: request, + signal: abortSignal, + }, + }) + ).pipe( + switchMap((response) => { + if (response.status === 'error') { + return throwError(() => + createInferenceInternalError('Error calling the inference API', { + rootError: response.serviceMessage, + }) + ); + } + if (isReadable(response.data as any)) { + return eventSourceStreamIntoObservable(response.data as Readable); + } + return throwError(() => + createInferenceInternalError('Unexpected error', response.data as Record) + ); + }), + processOpenAIStream(), + simulatedFunctionCalling ? parseInlineFunctionCalls({ logger }) : identity + ); + }, +}; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/from_openai.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/from_openai.ts new file mode 100644 index 0000000000000..750ae4710104a --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/from_openai.ts @@ -0,0 +1,46 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type OpenAI from 'openai'; +import { + ChatCompletionChunkEvent, + ChatCompletionEventType, + ChatCompletionTokenCountEvent, +} from '@kbn/inference-common'; + +export function chunkFromOpenAI(chunk: OpenAI.ChatCompletionChunk): ChatCompletionChunkEvent { + const delta = chunk.choices[0].delta; + + return { + type: ChatCompletionEventType.ChatCompletionChunk, + content: delta.content ?? '', + tool_calls: + delta.tool_calls?.map((toolCall) => { + return { + function: { + name: toolCall.function?.name ?? '', + arguments: toolCall.function?.arguments ?? '', + }, + toolCallId: toolCall.id ?? '', + index: toolCall.index, + }; + }) ?? [], + }; +} + +export function tokenCountFromOpenAI( + completionUsage: OpenAI.CompletionUsage +): ChatCompletionTokenCountEvent { + return { + type: ChatCompletionEventType.ChatCompletionTokenCount, + tokens: { + completion: completionUsage.completion_tokens, + prompt: completionUsage.prompt_tokens, + total: completionUsage.total_tokens, + }, + }; +} diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts index 9aa1d94e01a52..ddf8441756cba 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/index.ts @@ -6,3 +6,5 @@ */ export { openAIAdapter } from './openai_adapter'; +export { toolChoiceToOpenAI, messagesToOpenAI, toolsToOpenAI } from './to_openai'; +export { processOpenAIStream } from './process_openai_stream'; diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts index 9b7fbc388024f..d93dee627ec18 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.test.ts @@ -15,7 +15,7 @@ import { loggerMock } from '@kbn/logging-mocks'; import { ChatCompletionEventType, MessageRole } from '@kbn/inference-common'; import { observableIntoEventSourceStream } from '../../../util/observable_into_event_source_stream'; import { InferenceExecutor } from '../../utils/inference_executor'; -import { openAIAdapter } from '.'; +import { openAIAdapter } from './openai_adapter'; function createOpenAIChunk({ delta, diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts index 0529820b1bfbf..8806429882e3f 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/openai_adapter.ts @@ -6,41 +6,17 @@ */ import type OpenAI from 'openai'; -import type { - ChatCompletionAssistantMessageParam, - ChatCompletionMessageParam, - ChatCompletionSystemMessageParam, - ChatCompletionToolMessageParam, - ChatCompletionUserMessageParam, -} from 'openai/resources'; -import { - filter, - from, - identity, - map, - mergeMap, - Observable, - switchMap, - tap, - throwError, -} from 'rxjs'; +import { from, identity, switchMap, throwError } from 'rxjs'; import { isReadable, Readable } from 'stream'; -import { - ChatCompletionChunkEvent, - ChatCompletionEventType, - ChatCompletionTokenCountEvent, - createInferenceInternalError, - Message, - MessageRole, - ToolOptions, -} from '@kbn/inference-common'; -import { createTokenLimitReachedError } from '../../errors'; +import { createInferenceInternalError } from '@kbn/inference-common'; import { eventSourceStreamIntoObservable } from '../../../util/event_source_stream_into_observable'; import type { InferenceConnectorAdapter } from '../../types'; import { parseInlineFunctionCalls, wrapWithSimulatedFunctionCalling, } from '../../simulated_function_calling'; +import { messagesToOpenAI, toolsToOpenAI, toolChoiceToOpenAI } from './to_openai'; +import { processOpenAIStream } from './process_openai_stream'; export const openAIAdapter: InferenceConnectorAdapter = { chatComplete: ({ @@ -95,158 +71,8 @@ export const openAIAdapter: InferenceConnectorAdapter = { createInferenceInternalError('Unexpected error', response.data as Record) ); }), - filter((line) => !!line && line !== '[DONE]'), - map( - (line) => JSON.parse(line) as OpenAI.ChatCompletionChunk | { error: { message: string } } - ), - tap((line) => { - if ('error' in line) { - throw createInferenceInternalError(line.error.message); - } - if ( - 'choices' in line && - line.choices.length && - line.choices[0].finish_reason === 'length' - ) { - throw createTokenLimitReachedError(); - } - }), - filter((line): line is OpenAI.ChatCompletionChunk => { - return 'object' in line && line.object === 'chat.completion.chunk'; - }), - mergeMap((chunk): Observable => { - const events: Array = []; - if (chunk.usage) { - events.push(tokenCountFromOpenAI(chunk.usage)); - } - if (chunk.choices?.length) { - events.push(chunkFromOpenAI(chunk)); - } - return from(events); - }), + processOpenAIStream(), simulatedFunctionCalling ? parseInlineFunctionCalls({ logger }) : identity ); }, }; - -function chunkFromOpenAI(chunk: OpenAI.ChatCompletionChunk): ChatCompletionChunkEvent { - const delta = chunk.choices[0].delta; - - return { - type: ChatCompletionEventType.ChatCompletionChunk, - content: delta.content ?? '', - tool_calls: - delta.tool_calls?.map((toolCall) => { - return { - function: { - name: toolCall.function?.name ?? '', - arguments: toolCall.function?.arguments ?? '', - }, - toolCallId: toolCall.id ?? '', - index: toolCall.index, - }; - }) ?? [], - }; -} - -function tokenCountFromOpenAI( - completionUsage: OpenAI.CompletionUsage -): ChatCompletionTokenCountEvent { - return { - type: ChatCompletionEventType.ChatCompletionTokenCount, - tokens: { - completion: completionUsage.completion_tokens, - prompt: completionUsage.prompt_tokens, - total: completionUsage.total_tokens, - }, - }; -} - -function toolsToOpenAI(tools: ToolOptions['tools']): OpenAI.ChatCompletionCreateParams['tools'] { - return tools - ? Object.entries(tools).map(([toolName, { description, schema }]) => { - return { - type: 'function', - function: { - name: toolName, - description, - parameters: (schema ?? { - type: 'object' as const, - properties: {}, - }) as unknown as Record, - }, - }; - }) - : undefined; -} - -function toolChoiceToOpenAI( - toolChoice: ToolOptions['toolChoice'] -): OpenAI.ChatCompletionCreateParams['tool_choice'] { - return typeof toolChoice === 'string' - ? toolChoice - : toolChoice - ? { - function: { - name: toolChoice.function, - }, - type: 'function' as const, - } - : undefined; -} - -function messagesToOpenAI({ - system, - messages, -}: { - system?: string; - messages: Message[]; -}): OpenAI.ChatCompletionMessageParam[] { - const systemMessage: ChatCompletionSystemMessageParam | undefined = system - ? { role: 'system', content: system } - : undefined; - - return [ - ...(systemMessage ? [systemMessage] : []), - ...messages.map((message): ChatCompletionMessageParam => { - const role = message.role; - - switch (role) { - case MessageRole.Assistant: - const assistantMessage: ChatCompletionAssistantMessageParam = { - role: 'assistant', - content: message.content, - tool_calls: message.toolCalls?.map((toolCall) => { - return { - function: { - name: toolCall.function.name, - arguments: - 'arguments' in toolCall.function - ? JSON.stringify(toolCall.function.arguments) - : '{}', - }, - id: toolCall.toolCallId, - type: 'function', - }; - }), - }; - return assistantMessage; - - case MessageRole.User: - const userMessage: ChatCompletionUserMessageParam = { - role: 'user', - content: message.content, - }; - return userMessage; - - case MessageRole.Tool: - const toolMessage: ChatCompletionToolMessageParam = { - role: 'tool', - content: JSON.stringify(message.response), - tool_call_id: message.toolCallId, - }; - return toolMessage; - } - }), - ]; -} diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/process_openai_stream.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/process_openai_stream.ts new file mode 100644 index 0000000000000..65384ed52e5ff --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/process_openai_stream.ts @@ -0,0 +1,52 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type OpenAI from 'openai'; +import { filter, from, map, mergeMap, Observable, tap } from 'rxjs'; +import { + ChatCompletionChunkEvent, + ChatCompletionTokenCountEvent, + createInferenceInternalError, +} from '@kbn/inference-common'; +import { createTokenLimitReachedError } from '../../errors'; +import { tokenCountFromOpenAI, chunkFromOpenAI } from './from_openai'; + +export function processOpenAIStream() { + return (source: Observable) => { + return source.pipe( + filter((line) => !!line && line !== '[DONE]'), + map( + (line) => JSON.parse(line) as OpenAI.ChatCompletionChunk | { error: { message: string } } + ), + tap((line) => { + if ('error' in line) { + throw createInferenceInternalError(line.error.message); + } + if ( + 'choices' in line && + line.choices.length && + line.choices[0].finish_reason === 'length' + ) { + throw createTokenLimitReachedError(); + } + }), + filter((line): line is OpenAI.ChatCompletionChunk => { + return 'object' in line && line.object === 'chat.completion.chunk'; + }), + mergeMap((chunk): Observable => { + const events: Array = []; + if (chunk.usage) { + events.push(tokenCountFromOpenAI(chunk.usage)); + } + if (chunk.choices?.length) { + events.push(chunkFromOpenAI(chunk)); + } + return from(events); + }) + ); + }; +} diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.test.ts new file mode 100644 index 0000000000000..978f775c5d3dd --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.test.ts @@ -0,0 +1,187 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { MessageRole, ToolChoiceType } from '@kbn/inference-common'; +import { messagesToOpenAI, toolChoiceToOpenAI, toolsToOpenAI } from './to_openai'; + +describe('toolChoiceToOpenAI', () => { + it('returns the right value for tool choice types', () => { + expect(toolChoiceToOpenAI(ToolChoiceType.none)).toEqual('none'); + expect(toolChoiceToOpenAI(ToolChoiceType.auto)).toEqual('auto'); + expect(toolChoiceToOpenAI(ToolChoiceType.required)).toEqual('required'); + }); + + it('returns the right value for undefined', () => { + expect(toolChoiceToOpenAI(undefined)).toBeUndefined(); + }); + + it('returns the right value for named functions', () => { + expect(toolChoiceToOpenAI({ function: 'foo' })).toEqual({ + type: 'function', + function: { name: 'foo' }, + }); + }); +}); + +describe('toolsToOpenAI', () => { + it('converts tools to the expected format', () => { + expect( + toolsToOpenAI({ + myTool: { + description: 'my tool', + schema: { + type: 'object', + description: 'my tool schema', + properties: { + foo: { + type: 'string', + }, + }, + }, + }, + }) + ).toMatchInlineSnapshot(` + Array [ + Object { + "function": Object { + "description": "my tool", + "name": "myTool", + "parameters": Object { + "description": "my tool schema", + "properties": Object { + "foo": Object { + "type": "string", + }, + }, + "type": "object", + }, + }, + "type": "function", + }, + ] + `); + }); +}); + +describe('messagesToOpenAI', () => { + it('converts a user message', () => { + expect( + messagesToOpenAI({ + messages: [ + { + role: MessageRole.User, + content: 'question', + }, + ], + }) + ).toEqual([ + { + content: 'question', + role: 'user', + }, + ]); + }); + + it('converts single message and system', () => { + expect( + messagesToOpenAI({ + system: 'system message', + messages: [ + { + role: MessageRole.User, + content: 'question', + }, + ], + }) + ).toEqual([ + { + content: 'system message', + role: 'system', + }, + { + content: 'question', + role: 'user', + }, + ]); + }); + + it('converts a tool call', () => { + expect( + messagesToOpenAI({ + messages: [ + { + role: MessageRole.Tool, + name: 'tool', + response: {}, + toolCallId: 'callId', + }, + ], + }) + ).toEqual([ + { + content: '{}', + role: 'tool', + tool_call_id: 'callId', + }, + ]); + }); + + it('converts an assistant message', () => { + expect( + messagesToOpenAI({ + messages: [ + { + role: MessageRole.Assistant, + content: 'response', + }, + ], + }) + ).toEqual([ + { + role: 'assistant', + content: 'response', + }, + ]); + }); + + it('converts an assistant tool call', () => { + expect( + messagesToOpenAI({ + messages: [ + { + role: MessageRole.Assistant, + content: null, + toolCalls: [ + { + toolCallId: 'id', + function: { + name: 'function', + arguments: {}, + }, + }, + ], + }, + ], + }) + ).toEqual([ + { + role: 'assistant', + content: '', + tool_calls: [ + { + function: { + arguments: '{}', + name: 'function', + }, + id: 'id', + type: 'function', + }, + ], + }, + ]); + }); +}); diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.ts new file mode 100644 index 0000000000000..709b1fd4c6bfe --- /dev/null +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/adapters/openai/to_openai.ts @@ -0,0 +1,107 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type OpenAI from 'openai'; +import type { + ChatCompletionAssistantMessageParam, + ChatCompletionMessageParam, + ChatCompletionSystemMessageParam, + ChatCompletionToolMessageParam, + ChatCompletionUserMessageParam, +} from 'openai/resources'; +import { Message, MessageRole, ToolOptions } from '@kbn/inference-common'; + +export function toolsToOpenAI( + tools: ToolOptions['tools'] +): OpenAI.ChatCompletionCreateParams['tools'] { + return tools + ? Object.entries(tools).map(([toolName, { description, schema }]) => { + return { + type: 'function', + function: { + name: toolName, + description, + parameters: (schema ?? { + type: 'object' as const, + properties: {}, + }) as unknown as Record, + }, + }; + }) + : undefined; +} + +export function toolChoiceToOpenAI( + toolChoice: ToolOptions['toolChoice'] +): OpenAI.ChatCompletionCreateParams['tool_choice'] { + return typeof toolChoice === 'string' + ? toolChoice + : toolChoice + ? { + function: { + name: toolChoice.function, + }, + type: 'function' as const, + } + : undefined; +} + +export function messagesToOpenAI({ + system, + messages, +}: { + system?: string; + messages: Message[]; +}): OpenAI.ChatCompletionMessageParam[] { + const systemMessage: ChatCompletionSystemMessageParam | undefined = system + ? { role: 'system', content: system } + : undefined; + + return [ + ...(systemMessage ? [systemMessage] : []), + ...messages.map((message): ChatCompletionMessageParam => { + const role = message.role; + + switch (role) { + case MessageRole.Assistant: + const assistantMessage: ChatCompletionAssistantMessageParam = { + role: 'assistant', + content: message.content ?? '', + tool_calls: message.toolCalls?.map((toolCall) => { + return { + function: { + name: toolCall.function.name, + arguments: + 'arguments' in toolCall.function + ? JSON.stringify(toolCall.function.arguments) + : '{}', + }, + id: toolCall.toolCallId, + type: 'function', + }; + }), + }; + return assistantMessage; + + case MessageRole.User: + const userMessage: ChatCompletionUserMessageParam = { + role: 'user', + content: message.content, + }; + return userMessage; + + case MessageRole.Tool: + const toolMessage: ChatCompletionToolMessageParam = { + role: 'tool', + content: JSON.stringify(message.response), + tool_call_id: message.toolCallId, + }; + return toolMessage; + } + }), + ]; +} diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts index 1821b553dd6a9..1965d731885af 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.test.ts @@ -6,7 +6,7 @@ */ import { actionsClientMock } from '@kbn/actions-plugin/server/mocks'; -import { InferenceConnector, InferenceConnectorType } from '../../../common/connectors'; +import { InferenceConnector, InferenceConnectorType } from '@kbn/inference-common'; import { createInferenceExecutor, type InferenceExecutor } from './inference_executor'; describe('createInferenceExecutor', () => { diff --git a/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts index c461e6b6cdfb7..0849e71ccf975 100644 --- a/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts +++ b/x-pack/platform/plugins/shared/inference/server/chat_complete/utils/inference_executor.ts @@ -11,7 +11,7 @@ import type { ActionsClient, PluginStartContract as ActionsPluginStart, } from '@kbn/actions-plugin/server'; -import type { InferenceConnector } from '../../../common/connectors'; +import type { InferenceConnector } from '@kbn/inference-common'; import { getConnectorById } from '../../util/get_connector_by_id'; export interface InferenceInvokeOptions { @@ -28,7 +28,7 @@ export type InferenceInvokeResult = ActionTypeExecutorResult InferenceConnector; - invoke(params: InferenceInvokeOptions): Promise; + invoke(params: InferenceInvokeOptions): Promise>; } export const createInferenceExecutor = ({ @@ -40,7 +40,7 @@ export const createInferenceExecutor = ({ }): InferenceExecutor => { return { getConnector: () => connector, - async invoke({ subAction, subActionParams }): Promise { + async invoke({ subAction, subActionParams }): Promise> { return await actionsClient.execute({ actionId: connector.connectorId, params: { diff --git a/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts b/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts index 193ce83f6d7b6..4037eac3fb7ce 100644 --- a/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts +++ b/x-pack/platform/plugins/shared/inference/server/inference_client/types.ts @@ -10,8 +10,8 @@ import type { ChatCompleteAPI, BoundOutputAPI, OutputAPI, + InferenceConnector, } from '@kbn/inference-common'; -import type { InferenceConnector } from '../../common/connectors'; /** * An inference client, scoped to a request, that can be used to interact with LLMs. diff --git a/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts b/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts index 240e11a37f20e..d28dfc6780af4 100644 --- a/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts +++ b/x-pack/platform/plugins/shared/inference/server/routes/connectors.ts @@ -10,7 +10,7 @@ import { InferenceConnector, InferenceConnectorType, isSupportedConnectorType, -} from '../../common/connectors'; +} from '@kbn/inference-common'; import type { InferenceServerStart, InferenceStartDependencies } from '../types'; export function registerConnectorsRoute({ diff --git a/x-pack/platform/plugins/shared/inference/server/test_utils/inference_connector.ts b/x-pack/platform/plugins/shared/inference/server/test_utils/inference_connector.ts index af7f35115325d..2ef7d05bdbd50 100644 --- a/x-pack/platform/plugins/shared/inference/server/test_utils/inference_connector.ts +++ b/x-pack/platform/plugins/shared/inference/server/test_utils/inference_connector.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { InferenceConnector, InferenceConnectorType } from '../../common/connectors'; +import { InferenceConnector, InferenceConnectorType } from '@kbn/inference-common'; export const createInferenceConnectorMock = ( parts: Partial = {} diff --git a/x-pack/platform/plugins/shared/inference/server/test_utils/inference_executor.ts b/x-pack/platform/plugins/shared/inference/server/test_utils/inference_executor.ts index 64b5100a9db3d..9203f5eacf0de 100644 --- a/x-pack/platform/plugins/shared/inference/server/test_utils/inference_executor.ts +++ b/x-pack/platform/plugins/shared/inference/server/test_utils/inference_executor.ts @@ -5,7 +5,7 @@ * 2.0. */ -import type { InferenceConnector } from '../../common/connectors'; +import type { InferenceConnector } from '@kbn/inference-common'; import { InferenceExecutor } from '../chat_complete/utils'; import { createInferenceConnectorMock } from './inference_connector'; diff --git a/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts index 7387944950f4a..17b5cbe86d7f4 100644 --- a/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts +++ b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.test.ts @@ -7,7 +7,7 @@ import type { ActionResult as ActionConnector } from '@kbn/actions-plugin/server'; import { actionsClientMock } from '@kbn/actions-plugin/server/mocks'; -import { InferenceConnectorType } from '../../common/connectors'; +import { InferenceConnectorType } from '@kbn/inference-common'; import { getConnectorById } from './get_connector_by_id'; describe('getConnectorById', () => { @@ -68,7 +68,7 @@ describe('getConnectorById', () => { await expect(() => getConnectorById({ actionsClient, connectorId }) ).rejects.toThrowErrorMatchingInlineSnapshot( - `"Type '.tcp-pigeon' not recognized as a supported connector type"` + `"Connector 'tcp-pigeon-3-0' of type '.tcp-pigeon' not recognized as a supported connector"` ); }); diff --git a/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts index 1dbf9a6f0d75e..4bdbff0e1fecf 100644 --- a/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts +++ b/x-pack/platform/plugins/shared/inference/server/util/get_connector_by_id.ts @@ -6,8 +6,11 @@ */ import type { ActionsClient, ActionResult as ActionConnector } from '@kbn/actions-plugin/server'; -import { createInferenceRequestError } from '@kbn/inference-common'; -import { isSupportedConnectorType, type InferenceConnector } from '../../common/connectors'; +import { + createInferenceRequestError, + isSupportedConnector, + type InferenceConnector, +} from '@kbn/inference-common'; /** * Retrieves a connector given the provided `connectorId` and asserts it's an inference connector @@ -29,11 +32,9 @@ export const getConnectorById = async ({ throw createInferenceRequestError(`No connector found for id '${connectorId}'`, 400); } - const actionTypeId = connector.actionTypeId; - - if (!isSupportedConnectorType(actionTypeId)) { + if (!isSupportedConnector(connector)) { throw createInferenceRequestError( - `Type '${actionTypeId}' not recognized as a supported connector type`, + `Connector '${connector.id}' of type '${connector.actionTypeId}' not recognized as a supported connector`, 400 ); } @@ -41,6 +42,6 @@ export const getConnectorById = async ({ return { connectorId: connector.id, name: connector.name, - type: actionTypeId, + type: connector.actionTypeId, }; }; diff --git a/x-pack/plugins/maps/README.md b/x-pack/platform/plugins/shared/maps/README.md similarity index 89% rename from x-pack/plugins/maps/README.md rename to x-pack/platform/plugins/shared/maps/README.md index de683af8ac627..ce44a4baf6e0b 100644 --- a/x-pack/plugins/maps/README.md +++ b/x-pack/platform/plugins/shared/maps/README.md @@ -7,7 +7,7 @@ Visualize geo data from Elasticsearch or 3rd party geo-services. Run all tests from the `x-pack` root directory -- Unit tests: `yarn test:jest x-pack/plugins/maps --watch` +- Unit tests: `yarn test:jest x-pack/platform/plugins/shared/maps --watch` - Functional tests: - Run `node scripts/functional_tests_server` - Run `node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group1/config.ts` diff --git a/x-pack/plugins/maps/common/constants.ts b/x-pack/platform/plugins/shared/maps/common/constants.ts similarity index 100% rename from x-pack/plugins/maps/common/constants.ts rename to x-pack/platform/plugins/shared/maps/common/constants.ts diff --git a/x-pack/plugins/maps/common/content_management/constants.ts b/x-pack/platform/plugins/shared/maps/common/content_management/constants.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/constants.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/constants.ts diff --git a/x-pack/plugins/maps/common/content_management/index.ts b/x-pack/platform/plugins/shared/maps/common/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/index.ts diff --git a/x-pack/plugins/maps/common/content_management/latest.ts b/x-pack/platform/plugins/shared/maps/common/content_management/latest.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/latest.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/latest.ts diff --git a/x-pack/plugins/maps/common/content_management/types.ts b/x-pack/platform/plugins/shared/maps/common/content_management/types.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/types.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/types.ts diff --git a/x-pack/plugins/maps/common/content_management/v1/index.ts b/x-pack/platform/plugins/shared/maps/common/content_management/v1/index.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/v1/index.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/v1/index.ts diff --git a/x-pack/plugins/maps/common/content_management/v1/types.ts b/x-pack/platform/plugins/shared/maps/common/content_management/v1/types.ts similarity index 100% rename from x-pack/plugins/maps/common/content_management/v1/types.ts rename to x-pack/platform/plugins/shared/maps/common/content_management/v1/types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/data_request_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/index.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/index.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/index.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/index.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/layer_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/map_descriptor.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/source_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/descriptor_types/style_property_descriptor_types.ts b/x-pack/platform/plugins/shared/maps/common/descriptor_types/style_property_descriptor_types.ts similarity index 100% rename from x-pack/plugins/maps/common/descriptor_types/style_property_descriptor_types.ts rename to x-pack/platform/plugins/shared/maps/common/descriptor_types/style_property_descriptor_types.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.test.js diff --git a/x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/elasticsearch_geo_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/es_agg_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/index.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/index.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/index.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/index.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/spatial_filter_utils.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/spatial_filter_utils.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/total_hits.test.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.test.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/total_hits.test.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.test.ts diff --git a/x-pack/plugins/maps/common/elasticsearch_util/total_hits.ts b/x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.ts similarity index 100% rename from x-pack/plugins/maps/common/elasticsearch_util/total_hits.ts rename to x-pack/platform/plugins/shared/maps/common/elasticsearch_util/total_hits.ts diff --git a/x-pack/plugins/maps/common/embeddable/extract.test.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/extract.test.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/extract.test.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/extract.test.ts diff --git a/x-pack/plugins/maps/common/embeddable/extract.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/extract.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/extract.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/extract.ts diff --git a/x-pack/plugins/maps/common/embeddable/index.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/index.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/index.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/index.ts diff --git a/x-pack/plugins/maps/common/embeddable/inject.test.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/inject.test.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/inject.test.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/inject.test.ts diff --git a/x-pack/plugins/maps/common/embeddable/inject.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/inject.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/inject.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/inject.ts diff --git a/x-pack/plugins/maps/common/embeddable/types.ts b/x-pack/platform/plugins/shared/maps/common/embeddable/types.ts similarity index 100% rename from x-pack/plugins/maps/common/embeddable/types.ts rename to x-pack/platform/plugins/shared/maps/common/embeddable/types.ts diff --git a/x-pack/plugins/maps/common/get_agg_key.ts b/x-pack/platform/plugins/shared/maps/common/get_agg_key.ts similarity index 100% rename from x-pack/plugins/maps/common/get_agg_key.ts rename to x-pack/platform/plugins/shared/maps/common/get_agg_key.ts diff --git a/x-pack/plugins/maps/common/i18n_getters.ts b/x-pack/platform/plugins/shared/maps/common/i18n_getters.ts similarity index 100% rename from x-pack/plugins/maps/common/i18n_getters.ts rename to x-pack/platform/plugins/shared/maps/common/i18n_getters.ts diff --git a/x-pack/plugins/maps/common/index.ts b/x-pack/platform/plugins/shared/maps/common/index.ts similarity index 100% rename from x-pack/plugins/maps/common/index.ts rename to x-pack/platform/plugins/shared/maps/common/index.ts diff --git a/x-pack/plugins/maps/common/migrations/add_field_meta_options.js b/x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_field_meta_options.js rename to x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.js diff --git a/x-pack/plugins/maps/common/migrations/add_field_meta_options.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_field_meta_options.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/add_field_meta_options.test.js diff --git a/x-pack/plugins/maps/common/migrations/add_type_to_termjoin.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_type_to_termjoin.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.test.ts diff --git a/x-pack/plugins/maps/common/migrations/add_type_to_termjoin.ts b/x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/add_type_to_termjoin.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/add_type_to_termjoin.ts diff --git a/x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js b/x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js rename to x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.js diff --git a/x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/ems_raster_tile_to_ems_vector_tile.test.js diff --git a/x-pack/plugins/maps/common/migrations/join_agg_key.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/join_agg_key.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.test.ts diff --git a/x-pack/plugins/maps/common/migrations/join_agg_key.ts b/x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/join_agg_key.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/join_agg_key.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_persisted_state.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_persisted_state.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_data_view_persisted_state.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_data_view_persisted_state.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_other_category_color.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_other_category_color.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.test.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_other_category_color.ts b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_other_category_color.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_other_category_color.ts diff --git a/x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.js b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.js rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.js diff --git a/x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/migrate_symbol_style_descriptor.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/migrate_symbol_style_descriptor.test.js diff --git a/x-pack/plugins/maps/common/migrations/move_apply_global_query.js b/x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_apply_global_query.js rename to x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.js diff --git a/x-pack/plugins/maps/common/migrations/move_apply_global_query.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_apply_global_query.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/move_apply_global_query.test.js diff --git a/x-pack/plugins/maps/common/migrations/move_attribution.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_attribution.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.test.ts diff --git a/x-pack/plugins/maps/common/migrations/move_attribution.ts b/x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/move_attribution.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/move_attribution.ts diff --git a/x-pack/plugins/maps/common/migrations/references.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/references.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/references.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/references.test.ts diff --git a/x-pack/plugins/maps/common/migrations/references.ts b/x-pack/platform/plugins/shared/maps/common/migrations/references.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/references.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/references.ts diff --git a/x-pack/plugins/maps/common/migrations/remove_bounds.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/remove_bounds.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.test.ts diff --git a/x-pack/plugins/maps/common/migrations/remove_bounds.ts b/x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/remove_bounds.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/remove_bounds.ts diff --git a/x-pack/plugins/maps/common/migrations/rename_layer_types.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/rename_layer_types.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.test.ts diff --git a/x-pack/plugins/maps/common/migrations/rename_layer_types.ts b/x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/rename_layer_types.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/rename_layer_types.ts diff --git a/x-pack/plugins/maps/common/migrations/scaling_type.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/scaling_type.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.test.ts diff --git a/x-pack/plugins/maps/common/migrations/scaling_type.ts b/x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/scaling_type.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/scaling_type.ts diff --git a/x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx b/x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx rename to x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.test.tsx diff --git a/x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_default_auto_fit_to_bounds.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_default_auto_fit_to_bounds.ts diff --git a/x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.test.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.test.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.test.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.test.ts diff --git a/x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.ts b/x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.ts similarity index 100% rename from x-pack/plugins/maps/common/migrations/set_ems_tms_default_modes.ts rename to x-pack/platform/plugins/shared/maps/common/migrations/set_ems_tms_default_modes.ts diff --git a/x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.js b/x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.js rename to x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.js diff --git a/x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.test.js b/x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.test.js similarity index 100% rename from x-pack/plugins/maps/common/migrations/top_hits_time_to_sort.test.js rename to x-pack/platform/plugins/shared/maps/common/migrations/top_hits_time_to_sort.test.js diff --git a/x-pack/plugins/maps/common/mvt_request_body.test.ts b/x-pack/platform/plugins/shared/maps/common/mvt_request_body.test.ts similarity index 100% rename from x-pack/plugins/maps/common/mvt_request_body.test.ts rename to x-pack/platform/plugins/shared/maps/common/mvt_request_body.test.ts diff --git a/x-pack/plugins/maps/common/mvt_request_body.ts b/x-pack/platform/plugins/shared/maps/common/mvt_request_body.ts similarity index 100% rename from x-pack/plugins/maps/common/mvt_request_body.ts rename to x-pack/platform/plugins/shared/maps/common/mvt_request_body.ts diff --git a/x-pack/plugins/maps/common/parse_xml_string.test.ts b/x-pack/platform/plugins/shared/maps/common/parse_xml_string.test.ts similarity index 100% rename from x-pack/plugins/maps/common/parse_xml_string.test.ts rename to x-pack/platform/plugins/shared/maps/common/parse_xml_string.test.ts diff --git a/x-pack/plugins/maps/common/parse_xml_string.ts b/x-pack/platform/plugins/shared/maps/common/parse_xml_string.ts similarity index 100% rename from x-pack/plugins/maps/common/parse_xml_string.ts rename to x-pack/platform/plugins/shared/maps/common/parse_xml_string.ts diff --git a/x-pack/plugins/maps/common/telemetry/index.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/index.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/index.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/index.ts diff --git a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/layer_stats_collector.test.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.test.ts diff --git a/x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/layer_stats_collector.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/layer_stats_collector.ts diff --git a/x-pack/plugins/maps/common/telemetry/map_settings_collector.test.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/map_settings_collector.test.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.test.ts diff --git a/x-pack/plugins/maps/common/telemetry/map_settings_collector.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/map_settings_collector.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/map_settings_collector.ts diff --git a/x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json b/x-pack/platform/plugins/shared/maps/common/telemetry/test_resources/sample_map_saved_objects.json similarity index 100% rename from x-pack/plugins/maps/common/telemetry/test_resources/sample_map_saved_objects.json rename to x-pack/platform/plugins/shared/maps/common/telemetry/test_resources/sample_map_saved_objects.json diff --git a/x-pack/plugins/maps/common/telemetry/types.ts b/x-pack/platform/plugins/shared/maps/common/telemetry/types.ts similarity index 100% rename from x-pack/plugins/maps/common/telemetry/types.ts rename to x-pack/platform/plugins/shared/maps/common/telemetry/types.ts diff --git a/x-pack/plugins/maps/common/types.ts b/x-pack/platform/plugins/shared/maps/common/types.ts similarity index 100% rename from x-pack/plugins/maps/common/types.ts rename to x-pack/platform/plugins/shared/maps/common/types.ts diff --git a/x-pack/plugins/logstash/jest.config.js b/x-pack/platform/plugins/shared/maps/jest.config.js similarity index 66% rename from x-pack/plugins/logstash/jest.config.js rename to x-pack/platform/plugins/shared/maps/jest.config.js index 7296aa46adbb0..15089c91daff2 100644 --- a/x-pack/plugins/logstash/jest.config.js +++ b/x-pack/platform/plugins/shared/maps/jest.config.js @@ -7,11 +7,11 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/logstash'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/logstash', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/shared/maps'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/maps', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/logstash/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/shared/maps/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/maps/kibana.jsonc b/x-pack/platform/plugins/shared/maps/kibana.jsonc similarity index 100% rename from x-pack/plugins/maps/kibana.jsonc rename to x-pack/platform/plugins/shared/maps/kibana.jsonc diff --git a/x-pack/plugins/maps/public/_animations.scss b/x-pack/platform/plugins/shared/maps/public/_animations.scss similarity index 100% rename from x-pack/plugins/maps/public/_animations.scss rename to x-pack/platform/plugins/shared/maps/public/_animations.scss diff --git a/x-pack/plugins/maps/public/_index.scss b/x-pack/platform/plugins/shared/maps/public/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/_index.scss rename to x-pack/platform/plugins/shared/maps/public/_index.scss diff --git a/x-pack/plugins/maps/public/_main.scss b/x-pack/platform/plugins/shared/maps/public/_main.scss similarity index 87% rename from x-pack/plugins/maps/public/_main.scss rename to x-pack/platform/plugins/shared/maps/public/_main.scss index 02298872d4f7d..3089ed516ca34 100644 --- a/x-pack/plugins/maps/public/_main.scss +++ b/x-pack/platform/plugins/shared/maps/public/_main.scss @@ -1,4 +1,4 @@ -@import '../../../../src/core/public/mixins'; +@import '../../../../../../src/core/public/mixins'; // sass-lint:disable no-ids #maps-plugin { diff --git a/x-pack/plugins/maps/public/_mapbox_hacks.scss b/x-pack/platform/plugins/shared/maps/public/_mapbox_hacks.scss similarity index 100% rename from x-pack/plugins/maps/public/_mapbox_hacks.scss rename to x-pack/platform/plugins/shared/maps/public/_mapbox_hacks.scss diff --git a/x-pack/plugins/maps/public/_mixins.scss b/x-pack/platform/plugins/shared/maps/public/_mixins.scss similarity index 100% rename from x-pack/plugins/maps/public/_mixins.scss rename to x-pack/platform/plugins/shared/maps/public/_mixins.scss diff --git a/x-pack/plugins/maps/public/actions/data_request_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/data_request_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/data_request_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/data_request_actions.ts diff --git a/x-pack/plugins/maps/public/actions/get_layers_extent.tsx b/x-pack/platform/plugins/shared/maps/public/actions/get_layers_extent.tsx similarity index 100% rename from x-pack/plugins/maps/public/actions/get_layers_extent.tsx rename to x-pack/platform/plugins/shared/maps/public/actions/get_layers_extent.tsx diff --git a/x-pack/plugins/maps/public/actions/index.ts b/x-pack/platform/plugins/shared/maps/public/actions/index.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/index.ts rename to x-pack/platform/plugins/shared/maps/public/actions/index.ts diff --git a/x-pack/plugins/maps/public/actions/layer_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/layer_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/layer_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/layer_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/layer_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/layer_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/layer_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/layer_actions.ts diff --git a/x-pack/plugins/maps/public/actions/map_action_constants.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_action_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_action_constants.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_action_constants.ts diff --git a/x-pack/plugins/maps/public/actions/map_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/map_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/map_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/map_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/map_actions.ts diff --git a/x-pack/plugins/maps/public/actions/tooltip_actions.test.ts b/x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/tooltip_actions.test.ts rename to x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.test.ts diff --git a/x-pack/plugins/maps/public/actions/tooltip_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/tooltip_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/tooltip_actions.ts diff --git a/x-pack/plugins/maps/public/actions/ui_actions.ts b/x-pack/platform/plugins/shared/maps/public/actions/ui_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/actions/ui_actions.ts rename to x-pack/platform/plugins/shared/maps/public/actions/ui_actions.ts diff --git a/x-pack/plugins/maps/public/api/create_layer_descriptors.ts b/x-pack/platform/plugins/shared/maps/public/api/create_layer_descriptors.ts similarity index 100% rename from x-pack/plugins/maps/public/api/create_layer_descriptors.ts rename to x-pack/platform/plugins/shared/maps/public/api/create_layer_descriptors.ts diff --git a/x-pack/plugins/maps/public/api/ems.ts b/x-pack/platform/plugins/shared/maps/public/api/ems.ts similarity index 100% rename from x-pack/plugins/maps/public/api/ems.ts rename to x-pack/platform/plugins/shared/maps/public/api/ems.ts diff --git a/x-pack/plugins/maps/public/api/index.ts b/x-pack/platform/plugins/shared/maps/public/api/index.ts similarity index 100% rename from x-pack/plugins/maps/public/api/index.ts rename to x-pack/platform/plugins/shared/maps/public/api/index.ts diff --git a/x-pack/plugins/maps/public/api/setup_api.ts b/x-pack/platform/plugins/shared/maps/public/api/setup_api.ts similarity index 100% rename from x-pack/plugins/maps/public/api/setup_api.ts rename to x-pack/platform/plugins/shared/maps/public/api/setup_api.ts diff --git a/x-pack/plugins/maps/public/api/start_api.ts b/x-pack/platform/plugins/shared/maps/public/api/start_api.ts similarity index 100% rename from x-pack/plugins/maps/public/api/start_api.ts rename to x-pack/platform/plugins/shared/maps/public/api/start_api.ts diff --git a/x-pack/plugins/maps/public/assets/boundaries_screenshot.png b/x-pack/platform/plugins/shared/maps/public/assets/boundaries_screenshot.png similarity index 100% rename from x-pack/plugins/maps/public/assets/boundaries_screenshot.png rename to x-pack/platform/plugins/shared/maps/public/assets/boundaries_screenshot.png diff --git a/x-pack/plugins/maps/public/assets/gdal_logo.svg b/x-pack/platform/plugins/shared/maps/public/assets/gdal_logo.svg similarity index 100% rename from x-pack/plugins/maps/public/assets/gdal_logo.svg rename to x-pack/platform/plugins/shared/maps/public/assets/gdal_logo.svg diff --git a/x-pack/plugins/maps/public/classes/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/_index.scss diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field_types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/agg_field_types.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/count_agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/es_agg_factory.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/es_agg_factory.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/index.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.test.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/percentile_agg_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/agg/top_term_percentage_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/agg/top_term_percentage_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/agg/top_term_percentage_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/agg/top_term_percentage_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/ems_file_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/ems_file_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/ems_file_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/ems_file_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/es_doc_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/es_doc_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/es_doc_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/inline_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/inline_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/inline_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/inline_field.ts diff --git a/x-pack/plugins/maps/public/classes/fields/mvt_field.ts b/x-pack/platform/plugins/shared/maps/public/classes/fields/mvt_field.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/fields/mvt_field.ts rename to x-pack/platform/plugins/shared/maps/public/classes/fields/mvt_field.ts diff --git a/x-pack/plugins/maps/public/classes/joins/inner_join.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/inner_join.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.test.ts diff --git a/x-pack/plugins/maps/public/classes/joins/inner_join.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/inner_join.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/inner_join.ts diff --git a/x-pack/plugins/maps/public/classes/joins/is_spatial_join.ts b/x-pack/platform/plugins/shared/maps/public/classes/joins/is_spatial_join.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/joins/is_spatial_join.ts rename to x-pack/platform/plugins/shared/maps/public/classes/joins/is_spatial_join.ts diff --git a/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_sync_context.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_sync_context.ts diff --git a/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/__fixtures__/mock_vector_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/layers/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/layers/_index.scss diff --git a/x-pack/plugins/maps/public/classes/layers/_layers.scss b/x-pack/platform/plugins/shared/maps/public/classes/layers/_layers.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/_layers.scss rename to x-pack/platform/plugins/shared/maps/public/classes/layers/_layers.scss diff --git a/x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/build_vector_request_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/build_vector_request_meta.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_basemap_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_basemap_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_region_map_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_region_map_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/create_tile_map_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/create_tile_map_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/ems_vector_tile_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js b/x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js rename to x-pack/platform/plugins/shared/maps/public/classes/layers/ems_vector_tile_layer/image_utils.js diff --git a/x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/heatmap_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/heatmap_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/heatmap_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/invalid_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/invalid_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/invalid_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/invalid_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/layer_group/layer_group.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/layer_group/layer_group.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/raster_tile_layer/raster_tile_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/tile_errors_list.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/tile_errors_list.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/tile_errors_list.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/tile_errors_list.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/blended_vector_layer.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/blended_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/bounds_data.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/bounds_data.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/bounds_data.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/bounds_data.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/assign_feature_ids.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_source_data.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/get_centroid_features.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/perform_inner_joins.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/geojson_vector_layer/pluck_style_meta_from_features.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mask.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mask.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mask.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mask.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/__snapshots__/mvt_vector_layer.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_source_data.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/mvt_vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/mvt_vector_layer/pluck_style_meta.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/types.ts diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/vector_layer/vector_layer.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/__snapshots__/layer_template.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/choropleth_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/choropleth_layer_wizard/layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/file_upload_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/cloropleth_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/clusters_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/documents_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/draw_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/ems_boundaries_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/heatmap_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/point_2_point_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/spatial_join_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/top_hits_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/tracks_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/vector_tile_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/web_map_service_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/icons/world_map_layer_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_group_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.test.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/layer_wizard_registry.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/layer_wizard_registry.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/load_layer_wizards.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/load_layer_wizards.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/load_layer_wizards.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/create_new_index_pattern.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/create_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/display_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/layer_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/metric_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/observability/observability_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/create_layer_descriptors.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/index_pattern_select.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_index_pattern_utils.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_template.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/solution_layers/security/security_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/spatial_join_wizard_config.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/create_spatial_join_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/distance_form.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/index.ts diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/left_source_panel.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/relationship_expression.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/right_source_panel.tsx diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/layers/wizards/spatial_join_wizard/wizard_form/wizard_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/create_source_instance.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/create_source_instance.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/create_source_instance.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/create_source_instance.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_boundaries_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/ems_file_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/ems_file_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_file_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_file_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_file_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_base_map_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/ems_tms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/tile_service_select.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/ems_tms_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/es_agg_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/get_agg_display_name.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_agg_source/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_agg_source/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/resolution_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/__snapshots__/update_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/clusters_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.d.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/get_icon_size.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/heatmap_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/is_mvt.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/i18n_constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/render_as_select.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/render_as_select/show_as_label.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/resolution_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_grid_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/convert_to_geojson.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/geo_line_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_button_group.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/group_by_label.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/i18n_constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/geo_line_form/size_slider.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/convert_to_lines.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/es_pew_pew_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/point_2_point_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_pew_pew_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/__snapshots__/update_source_editor.test.js.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/constants.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_layer_descriptor.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_documents_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/es_search_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/top_hits/wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.test.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.test.js diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/feature_edit.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/feature_edit.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/feature_edit.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/feature_edit.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/load_index_settings.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/load_index_settings.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/load_index_settings.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/load_index_settings.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_documenation_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_search_source/util/scaling_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_search_source/util/scaling_form.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/es_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/es_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/es_source/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/es_source/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/es_source/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/convert_to_geojson.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/convert_to_geojson.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/create_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/create_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/esql_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/esql_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/narrow_by_field.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/narrow_by_field.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/narrow_by_field.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/esql_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/esql_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/execution_context_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/execution_context_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/execution_context_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/execution_context_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/execution_context_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/geojson_file_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/geojson_file_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/es_distance_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_distance_source/process_distance_response.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/es_term_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/es_term_source/is_term_source_complete.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/i18n_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/i18n_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/i18n_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/i18n_utils.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/is_spatial_source_complete.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/table_source/table_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/table_source/table_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/join_sources/types.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/types.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/join_sources/types.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/join_sources/types.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/extract_attributions.ts diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/index.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/index.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/index.js diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_base_map_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/kibana_tilemap_source/kibana_tilemap_source.js diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_field_config_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_vector_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/update_source_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_field_config_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/mvt_single_layer_vector_source/update_source_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/raster_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/raster_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/raster_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/setup_sources.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/setup_sources.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/setup_sources.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/setup_sources.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/setup_sources.ts diff --git a/x-pack/plugins/maps/public/classes/sources/source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/source_registry.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/source_registry.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/source_registry.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/source_registry.ts diff --git a/x-pack/plugins/maps/public/classes/sources/tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/mvt_vector_source.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/mvt_vector_source.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/mvt_vector_source.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/mvt_vector_source.ts diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/vector_source/vector_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/index.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/index.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/index.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/index.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.test.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_client.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_client.test.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_create_source_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_create_source_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_create_source_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_create_source_editor.js diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/wms_source/wms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/wms_source/wms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/__snapshots__/xyz_tms_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/index.ts diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/layer_wizard.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.test.ts diff --git a/x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx b/x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/sources/xyz_tms_source/xyz_tms_source.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/_index.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/_index.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/_index.scss diff --git a/x-pack/plugins/maps/public/classes/styles/color_palettes.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/color_palettes.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/color_palettes.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/color_palettes.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/color_palettes.ts diff --git a/x-pack/plugins/maps/public/classes/styles/components/ranged_style_legend_row.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/components/ranged_style_legend_row.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/components/ranged_style_legend_row.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/components/ranged_style_legend_row.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/__snapshots__/ems_vector_tile_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/components/ems_vector_tile_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/ems/ems_vector_tile_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/ems/ems_vector_tile_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/ems/ems_vector_tile_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/ems/ems_vector_tile_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/__snapshots__/heatmap_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_constants.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_constants.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_constants.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_constants.ts diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/heatmap_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/_color_gradient.scss diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/color_gradient.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/components/legend/heatmap_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/heatmap/heatmap_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/heatmap_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/heatmap/heatmap_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/heatmap/heatmap_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/style.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/style.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/style.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/style.ts diff --git a/x-pack/plugins/maps/public/classes/styles/tile/tile_style.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/tile/tile_style.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/tile/tile_style.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/tile/tile_style.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/__snapshots__/symbol_utils.test.ts.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/__snapshots__/vector_style_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/_style_prop_editor.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/_style_prop_editor.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/_style_prop_editor.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/_style_prop_editor.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/_color_stops.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/_color_stops.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/_color_stops.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/_color_stops.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_map_select.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_map_select.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_map_select.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_map_select.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_categorical.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_categorical.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_categorical.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_categorical.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_ordinal.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_utils.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_utils.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/color_stops_utils.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/color_stops_utils.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/dynamic_color_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/mb_validated_color_picker.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/other_category_color_picker.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/static_color_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/static_color_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/static_color_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/static_color_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/color/vector_style_color_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/categorical_data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/ordinal_data_mapping_popover.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/data_mapping/percentiles_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/field_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/field_select.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/get_vector_style_label.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/get_vector_style_label.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/get_vector_style_label.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/get_vector_style_label.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/__snapshots__/label_position_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/dynamic_label_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_position_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_position_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/label_zoom_range_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/static_label_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/static_label_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/static_label_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/static_label_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_border_size_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/label/vector_style_label_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/__snapshots__/vector_icon.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/_category.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_category.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/_category.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_category.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/_vector_legend.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_vector_legend.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/_vector_legend.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/_vector_legend.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/breaked_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/category.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/category.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/category.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/category.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/circle_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/circle_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/circle_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/circle_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/extract_color_from_style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/line_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/line_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/line_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/line_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/mask_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/mask_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/mask_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/mask_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/polygon_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/right_aligned_text.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/marker_size_legend.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/__snapshots__/ordinal_legend.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/get_ordinal_label.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_list.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_list.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_list.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_list.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/marker_size_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/size/ordinal_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/style_error.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/style_error.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/style_error.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/style_error.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/symbol_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_icon.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/legend/vector_style_legend.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/dynamic_orientation_form.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/orientation_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/orientation_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/orientation_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/orientation_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/orientation/static_orientation_form.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/row_action_buttons.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/row_action_buttons.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/row_action_buttons.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/row_action_buttons.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/dynamic_size_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/size_range_selector.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/size_range_selector.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/size_range_selector.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/size_range_selector.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/static_size_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/static_size_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/static_size_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/static_size_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/size/vector_style_size_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/stop_input.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/stop_input.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/stop_input.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/stop_input.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/style_option_shapes.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_option_shapes.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/style_option_shapes.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_option_shapes.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/style_prop_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_prop_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/style_prop_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/style_prop_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/custom_icon_modal.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_map_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/__snapshots__/icon_select.test.js.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_custom_icon_modal.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_preview.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_select.scss b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_select.scss similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/_icon_select.scss rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/_icon_select.scss diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/custom_icon_modal.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/dynamic_icon_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_map_select.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_preview.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_select.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_select.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/icon_stops.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/static_icon_form.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_icon_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/symbol/vector_style_symbolize_as_editor.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/components/vector_style_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/components/vector_style_editor.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/maki_icons.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/maki_icons.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/maki_icons.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/maki_icons.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_color_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_icon_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_orientation_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/__snapshots__/dynamic_size_property.test.tsx.snap diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/dynamic_size_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/icon_size.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/index.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_size_property/line_width.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_style_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.test.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/dynamic_text_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/dynamic_text_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_border_size_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_border_size_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_border_size_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_border_size_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_position_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_position_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/label_zoom_range_property.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_color_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_color_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_color_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_color_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_icon_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_icon_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_icon_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_icon_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_orientation_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_orientation_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_orientation_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_orientation_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_size_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_size_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_size_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_size_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/static_text_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/static_text_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/style_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/style_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/style_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/symbolize_as_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/symbolize_as_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/symbolize_as_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/symbolize_as_property.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/properties/test_helpers/test_util.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_fields_helper.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_fields_helper.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_meta.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_meta.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_meta.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_meta.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_util.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_util.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/style_util.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/style_util.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/style_util.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/symbol_utils.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/symbol_utils.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style.test.js b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.test.js similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style.test.js rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.test.js diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style.tsx diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.test.ts diff --git a/x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts b/x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/styles/vector/vector_style_defaults.ts rename to x-pack/platform/plugins/shared/maps/public/classes/styles/vector/vector_style_defaults.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_agg_tooltip_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_agg_tooltip_property.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.test.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/es_tooltip_property.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/index.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/index.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/index.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/index.ts diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_key_label.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/term_join_tooltip_property/term_join_tooltip_property.tsx diff --git a/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts b/x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts rename to x-pack/platform/plugins/shared/maps/public/classes/tooltips/tooltip_property.ts diff --git a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/can_skip_fetch.ts diff --git a/x-pack/plugins/maps/public/classes/util/data_request.tsx b/x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/util/data_request.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/util/data_request.tsx diff --git a/x-pack/plugins/maps/public/classes/util/geo_tile_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/geo_tile_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/geo_tile_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/geo_tile_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/geo_tile_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.test.tsx b/x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.test.tsx rename to x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.test.tsx diff --git a/x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/get_feature_collection_bounds.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/get_feature_collection_bounds.ts diff --git a/x-pack/plugins/maps/public/classes/util/is_metric_countable.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/is_metric_countable.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/is_metric_countable.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/is_metric_countable.ts diff --git a/x-pack/plugins/maps/public/classes/util/maplibre_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/maplibre_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/maplibre_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/maplibre_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/mb_filter_expressions.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/mb_filter_expressions.ts diff --git a/x-pack/plugins/maps/public/classes/util/ordinal_suffix.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/ordinal_suffix.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/ordinal_suffix.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/ordinal_suffix.ts diff --git a/x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.test.ts diff --git a/x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/tile_meta_feature_utils.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/tile_meta_feature_utils.ts diff --git a/x-pack/plugins/maps/public/classes/util/valid_string_config.ts b/x-pack/platform/plugins/shared/maps/public/classes/util/valid_string_config.ts similarity index 100% rename from x-pack/plugins/maps/public/classes/util/valid_string_config.ts rename to x-pack/platform/plugins/shared/maps/public/classes/util/valid_string_config.ts diff --git a/x-pack/plugins/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/geo_index_pattern_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_number_input.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/__snapshots__/validated_range.test.js.snap b/x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_range.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/__snapshots__/validated_range.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/components/__snapshots__/validated_range.test.js.snap diff --git a/x-pack/plugins/maps/public/components/_action_select.scss b/x-pack/platform/plugins/shared/maps/public/components/_action_select.scss similarity index 100% rename from x-pack/plugins/maps/public/components/_action_select.scss rename to x-pack/platform/plugins/shared/maps/public/components/_action_select.scss diff --git a/x-pack/plugins/maps/public/components/_index.scss b/x-pack/platform/plugins/shared/maps/public/components/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/components/_index.scss rename to x-pack/platform/plugins/shared/maps/public/components/_index.scss diff --git a/x-pack/plugins/maps/public/components/action_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/action_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/action_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/action_select.tsx diff --git a/x-pack/plugins/maps/public/components/alpha_slider.tsx b/x-pack/platform/plugins/shared/maps/public/components/alpha_slider.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/alpha_slider.tsx rename to x-pack/platform/plugins/shared/maps/public/components/alpha_slider.tsx diff --git a/x-pack/plugins/maps/public/components/draw_forms/distance_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/distance_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/distance_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/distance_filter_form.tsx diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/__snapshots__/geometry_filter_form.test.js.snap diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/_geometry_filter.scss diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.test.js diff --git a/x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/components/draw_forms/geometry_filter_form/geometry_filter_form.tsx diff --git a/x-pack/plugins/maps/public/components/ems_file_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/ems_file_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/ems_file_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/ems_file_select.tsx diff --git a/x-pack/plugins/maps/public/components/ems_unavailable_message.tsx b/x-pack/platform/plugins/shared/maps/public/components/ems_unavailable_message.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/ems_unavailable_message.tsx rename to x-pack/platform/plugins/shared/maps/public/components/ems_unavailable_message.tsx diff --git a/x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/force_refresh_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/force_refresh_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/geo_field_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_field_select.tsx diff --git a/x-pack/plugins/maps/public/components/geo_index_pattern_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_index_pattern_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.test.tsx diff --git a/x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/geo_index_pattern_select.tsx diff --git a/x-pack/plugins/maps/public/components/global_filter_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/global_filter_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/global_filter_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/global_filter_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/global_time_checkbox.tsx b/x-pack/platform/plugins/shared/maps/public/components/global_time_checkbox.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/global_time_checkbox.tsx rename to x-pack/platform/plugins/shared/maps/public/components/global_time_checkbox.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/__snapshots__/metrics_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/metrics_editor/_metric_editors.scss b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/_metric_editors.scss similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/_metric_editors.scss rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/_metric_editors.scss diff --git a/x-pack/plugins/maps/public/components/metrics_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/index.ts diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/index.ts diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_editor.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/mask_expression/mask_expression.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_editor.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metric_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metric_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metric_select.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.test.tsx diff --git a/x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx b/x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/components/metrics_editor/metrics_editor.tsx diff --git a/x-pack/plugins/maps/public/components/remove_layer_confirm_modal.tsx b/x-pack/platform/plugins/shared/maps/public/components/remove_layer_confirm_modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/remove_layer_confirm_modal.tsx rename to x-pack/platform/plugins/shared/maps/public/components/remove_layer_confirm_modal.tsx diff --git a/x-pack/plugins/maps/public/components/single_field_select.tsx b/x-pack/platform/plugins/shared/maps/public/components/single_field_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/single_field_select.tsx rename to x-pack/platform/plugins/shared/maps/public/components/single_field_select.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/add_tooltip_field_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/__snapshots__/tooltip_selector.test.tsx.snap diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/_tooltip_selector.scss b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/_tooltip_selector.scss similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/_tooltip_selector.scss rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/_tooltip_selector.scss diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.test.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/add_tooltip_field_popover.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/index.ts b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/index.ts similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/index.ts rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/index.ts diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.test.tsx diff --git a/x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.tsx b/x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/tooltip_selector/tooltip_selector.tsx rename to x-pack/platform/plugins/shared/maps/public/components/tooltip_selector/tooltip_selector.tsx diff --git a/x-pack/plugins/maps/public/components/validated_number_input.test.tsx b/x-pack/platform/plugins/shared/maps/public/components/validated_number_input.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/validated_number_input.test.tsx rename to x-pack/platform/plugins/shared/maps/public/components/validated_number_input.test.tsx diff --git a/x-pack/plugins/maps/public/components/validated_number_input.tsx b/x-pack/platform/plugins/shared/maps/public/components/validated_number_input.tsx similarity index 100% rename from x-pack/plugins/maps/public/components/validated_number_input.tsx rename to x-pack/platform/plugins/shared/maps/public/components/validated_number_input.tsx diff --git a/x-pack/plugins/maps/public/components/validated_range.js b/x-pack/platform/plugins/shared/maps/public/components/validated_range.js similarity index 100% rename from x-pack/plugins/maps/public/components/validated_range.js rename to x-pack/platform/plugins/shared/maps/public/components/validated_range.js diff --git a/x-pack/plugins/maps/public/components/validated_range.test.js b/x-pack/platform/plugins/shared/maps/public/components/validated_range.test.js similarity index 100% rename from x-pack/plugins/maps/public/components/validated_range.test.js rename to x-pack/platform/plugins/shared/maps/public/components/validated_range.test.js diff --git a/x-pack/plugins/maps/public/connected_components/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/__snapshots__/layer_wizard_select.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/flyout_body.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.scss diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/flyout_body/layer_wizard_select.tsx diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/view.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/view.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/add_layer_panel/view.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/add_layer_panel/view.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/__snapshots__/edit_layer_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/_layer_panel.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_layer_panel.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/_layer_panel.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/_layer_panel.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/edit_layer_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/_filter_editor.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/filter_editor/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/flyout_footer.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/flyout_footer/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/add_join_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/join_editor.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/__snapshots__/metrics_expression.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/_join.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_documentation_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/spatial_join_expression/spatial_join_popover_content.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/term_join_expression/term_join_popover_content.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/__snapshots__/attribution_form_row.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_form_row.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_attribution_popover.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_form_row.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/attribution_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/index.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/layer_settings/layer_settings.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/source_details/source_details.tsx diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/_style_settings.scss diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/edit_layer_panel/style_settings/style_settings.tsx diff --git a/x-pack/plugins/maps/public/connected_components/input_strings.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/input_strings.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/input_strings.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/input_strings.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_container/_map_container.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/_map_container.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/_map_container.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/_map_container.scss diff --git a/x-pack/plugins/maps/public/connected_components/map_container/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_container/map_container.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_container/map_container.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/custom_icons_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/__snapshots__/navigation_panel.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/custom_icons_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/display_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/display_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/display_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/display_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/map_settings_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/navigation_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/navigation_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/map_settings_panel/spatial_filters_panel.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_circle.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_circle.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_circle.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/draw_feature_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_feature_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_filter_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/draw_control/draw_tooltip.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/get_initial_view.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/get_initial_view.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/get_initial_view.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/get_initial_view.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/glyphs.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/glyphs.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/glyphs.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/glyphs.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/glyphs.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/keydown_scroll_zoom/keydown_scroll_zoom.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/mb_map.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/mb_map.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/remove_orphaned.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/remove_orphaned.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/__snapshots__/scale_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/scale_control/scale_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/scale_control/scale_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/sort_layers.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/sort_layers.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_error_cache.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tile_status_tracker/tile_status_tracker.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/__snapshots__/tooltip_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/footer.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/header.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/footer.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/header.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/transform_request.test.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.test.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/transform_request.test.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.test.ts diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/transform_request.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/mb_map/transform_request.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/mb_map/transform_request.ts diff --git a/x-pack/plugins/maps/public/connected_components/panel_strings.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/panel_strings.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/panel_strings.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/panel_strings.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_mixins.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_mixins.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_mixins.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_mixins.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/_right_side_controls.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_right_side_controls.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/_right_side_controls.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/_right_side_controls.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/__snapshots__/attribution_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/_attribution_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/attribution_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/attribution_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/attribution_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/_layer_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/expand_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/__snapshots__/layer_toc.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/_layer_toc.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/layer_toc.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/__snapshots__/toc_entry.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/_toc_entry.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/action_labels.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/legend_details.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/__snapshots__/toc_entry_actions_popover.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_actions_popover/toc_entry_actions_popover.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/_mouse_coordinates_control.scss diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/mouse_coordinates_control/mouse_coordinates_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/right_side_controls.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/right_side_controls.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/right_side_controls/right_side_controls.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/right_side_controls/right_side_controls.tsx diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/timeslider/timeslider.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/timeslider.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/timeslider/timeslider.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/timeslider/timeslider.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/__snapshots__/toolbar_overlay.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/_toolbar_overlay.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/feature_edit_tools.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_circle_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_line_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/feature_draw_controls/feature_edit_tools/vector_square_icon.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/fit_to_data.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/fit_to_data/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/decimal_degrees_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/mgrs_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_control.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/set_view_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utils.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/set_view_control/utm_form.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/timeslider_toggle_button/timeslider_toggle_button.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/__snapshots__/tools_control.test.tsx.snap diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/_index.scss diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/index.ts b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/index.ts similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/index.ts rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/index.ts diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.test.tsx diff --git a/x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx b/x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx similarity index 100% rename from x-pack/plugins/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx rename to x-pack/platform/plugins/shared/maps/public/connected_components/toolbar_overlay/tools_control/tools_control.tsx diff --git a/x-pack/plugins/maps/public/content_management/duplicate_title_check.ts b/x-pack/platform/plugins/shared/maps/public/content_management/duplicate_title_check.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/duplicate_title_check.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/duplicate_title_check.ts diff --git a/x-pack/plugins/maps/public/content_management/index.ts b/x-pack/platform/plugins/shared/maps/public/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/index.ts diff --git a/x-pack/plugins/maps/public/content_management/maps_client.ts b/x-pack/platform/plugins/shared/maps/public/content_management/maps_client.ts similarity index 100% rename from x-pack/plugins/maps/public/content_management/maps_client.ts rename to x-pack/platform/plugins/shared/maps/public/content_management/maps_client.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.test.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.test.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.test.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.test.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/ems_autosuggest.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/ems_autosuggest.ts diff --git a/x-pack/plugins/maps/public/ems_autosuggest/index.ts b/x-pack/platform/plugins/shared/maps/public/ems_autosuggest/index.ts similarity index 100% rename from x-pack/plugins/maps/public/ems_autosuggest/index.ts rename to x-pack/platform/plugins/shared/maps/public/ems_autosuggest/index.ts diff --git a/x-pack/plugins/maps/public/feature_catalogue_entry.ts b/x-pack/platform/plugins/shared/maps/public/feature_catalogue_entry.ts similarity index 100% rename from x-pack/plugins/maps/public/feature_catalogue_entry.ts rename to x-pack/platform/plugins/shared/maps/public/feature_catalogue_entry.ts diff --git a/x-pack/plugins/maps/public/icon.svg b/x-pack/platform/plugins/shared/maps/public/icon.svg similarity index 100% rename from x-pack/plugins/maps/public/icon.svg rename to x-pack/platform/plugins/shared/maps/public/icon.svg diff --git a/x-pack/plugins/maps/public/index.ts b/x-pack/platform/plugins/shared/maps/public/index.ts similarity index 100% rename from x-pack/plugins/maps/public/index.ts rename to x-pack/platform/plugins/shared/maps/public/index.ts diff --git a/x-pack/plugins/maps/public/index_pattern_util.test.ts b/x-pack/platform/plugins/shared/maps/public/index_pattern_util.test.ts similarity index 100% rename from x-pack/plugins/maps/public/index_pattern_util.test.ts rename to x-pack/platform/plugins/shared/maps/public/index_pattern_util.test.ts diff --git a/x-pack/plugins/maps/public/index_pattern_util.ts b/x-pack/platform/plugins/shared/maps/public/index_pattern_util.ts similarity index 100% rename from x-pack/plugins/maps/public/index_pattern_util.ts rename to x-pack/platform/plugins/shared/maps/public/index_pattern_util.ts diff --git a/x-pack/plugins/maps/public/inspector/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/index.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/index.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_adapter.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_adapter.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_adapter.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_adapter.ts diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_details.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_details.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_details.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_details.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_inspector_view.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_inspector_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_inspector_view.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_inspector_view.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/map_view_component.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_view_component.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/map_view_component.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/map_view_component.tsx diff --git a/x-pack/plugins/maps/public/inspector/map_adapter/types.ts b/x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/types.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/map_adapter/types.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/map_adapter/types.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/empty_prompt.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.test.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/get_tile_request.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/requests_view_callout.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/tile_request_tab.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.test.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/components/vector_tile_inspector.tsx diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/index.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/index.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/index.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/index.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/types.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/types.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/types.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/types.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.test.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_adapter.ts diff --git a/x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx b/x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx rename to x-pack/platform/plugins/shared/maps/public/inspector/vector_tile_adapter/vector_tile_inspector_view.tsx diff --git a/x-pack/plugins/maps/public/kibana_services.ts b/x-pack/platform/plugins/shared/maps/public/kibana_services.ts similarity index 100% rename from x-pack/plugins/maps/public/kibana_services.ts rename to x-pack/platform/plugins/shared/maps/public/kibana_services.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/is_legacy_map.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/is_legacy_map.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_editor.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_editor.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_fn.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_fn.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_renderer.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_vis_type.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/to_ast.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/to_ast.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/to_ast.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/to_ast.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/types.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/types.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/region_map/utils.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/region_map/utils.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/region_map/utils.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/geo_hash.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/geo_hash.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/geo_hash.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/geo_hash.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/index.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/index.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_editor.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_renderer.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_vis_type.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/to_ast.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/to_ast.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/to_ast.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/to_ast.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/types.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/types.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/tile_map/utils.ts b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/utils.ts similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/tile_map/utils.ts rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/tile_map/utils.ts diff --git a/x-pack/plugins/maps/public/legacy_visualizations/view_in_maps.tsx b/x-pack/platform/plugins/shared/maps/public/legacy_visualizations/view_in_maps.tsx similarity index 100% rename from x-pack/plugins/maps/public/legacy_visualizations/view_in_maps.tsx rename to x-pack/platform/plugins/shared/maps/public/legacy_visualizations/view_in_maps.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/choropleth_chart.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/choropleth_chart.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/choropleth_chart.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/choropleth_chart.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/expression_function.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_function.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/expression_function.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_function.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/expression_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/expression_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/expression_renderer.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/get_ems_suggestion.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/get_ems_suggestion.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/get_ems_suggestion.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/get_ems_suggestion.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/index.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/index.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/index.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/index.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/region_key_editor.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/region_key_editor.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/region_key_editor.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/region_key_editor.tsx diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/setup.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/setup.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/setup.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/setup.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/suggestions.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/suggestions.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/suggestions_lazy.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions_lazy.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/suggestions_lazy.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/suggestions_lazy.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/types.ts b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/types.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/types.ts rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/types.ts diff --git a/x-pack/plugins/maps/public/lens/choropleth_chart/visualization.tsx b/x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/visualization.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/choropleth_chart/visualization.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/choropleth_chart/visualization.tsx diff --git a/x-pack/plugins/maps/public/lens/index.ts b/x-pack/platform/plugins/shared/maps/public/lens/index.ts similarity index 100% rename from x-pack/plugins/maps/public/lens/index.ts rename to x-pack/platform/plugins/shared/maps/public/lens/index.ts diff --git a/x-pack/plugins/maps/public/lens/passive_map.tsx b/x-pack/platform/plugins/shared/maps/public/lens/passive_map.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/passive_map.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/passive_map.tsx diff --git a/x-pack/plugins/maps/public/lens/passive_map_lazy.tsx b/x-pack/platform/plugins/shared/maps/public/lens/passive_map_lazy.tsx similarity index 100% rename from x-pack/plugins/maps/public/lens/passive_map_lazy.tsx rename to x-pack/platform/plugins/shared/maps/public/lens/passive_map_lazy.tsx diff --git a/x-pack/plugins/maps/public/licensed_features.ts b/x-pack/platform/plugins/shared/maps/public/licensed_features.ts similarity index 100% rename from x-pack/plugins/maps/public/licensed_features.ts rename to x-pack/platform/plugins/shared/maps/public/licensed_features.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/locator_definition.test.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.test.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/locator_definition.test.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.test.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/map_locator/types.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/region_map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/region_map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/region_map_locator/types.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/get_location.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/get_location.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/get_location.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/get_location.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/locator_definition.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/locator_definition.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/locator_definition.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/locator_definition.ts diff --git a/x-pack/plugins/maps/public/locators/tile_map_locator/types.ts b/x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/types.ts similarity index 100% rename from x-pack/plugins/maps/public/locators/tile_map_locator/types.ts rename to x-pack/platform/plugins/shared/maps/public/locators/tile_map_locator/types.ts diff --git a/x-pack/plugins/maps/public/maps_vis_type_alias.ts b/x-pack/platform/plugins/shared/maps/public/maps_vis_type_alias.ts similarity index 100% rename from x-pack/plugins/maps/public/maps_vis_type_alias.ts rename to x-pack/platform/plugins/shared/maps/public/maps_vis_type_alias.ts diff --git a/x-pack/plugins/maps/public/plugin.ts b/x-pack/platform/plugins/shared/maps/public/plugin.ts similarity index 100% rename from x-pack/plugins/maps/public/plugin.ts rename to x-pack/platform/plugins/shared/maps/public/plugin.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/_index.scss b/x-pack/platform/plugins/shared/maps/public/react_embeddable/_index.scss similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/_index.scss rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/_index.scss diff --git a/x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.test.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.test.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.test.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.test.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/get_geo_fields_label.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/get_geo_fields_label.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_action_handlers.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_action_handlers.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_action_handlers.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_action_handlers.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_cross_panel_actions.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_cross_panel_actions.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_cross_panel_actions.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_cross_panel_actions.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_data_views.test.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.test.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_data_views.test.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.test.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_data_views.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_data_views.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_data_views.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_edit_api.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_edit_api.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_edit_api.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_edit_api.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_fetch.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_fetch.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_fetch.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_fetch.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/initialize_redux_sync.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_redux_sync.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/initialize_redux_sync.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/initialize_redux_sync.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/library_transforms.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/library_transforms.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/library_transforms.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/map_embeddables_singleton.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_embeddables_singleton.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_embeddables_singleton.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_embeddables_singleton.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/map_react_embeddable.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_react_embeddable.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_react_embeddable.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_react_embeddable.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/map_renderer_lazy.tsx diff --git a/x-pack/plugins/maps/public/react_embeddable/map_renderer/types.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/types.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/map_renderer/types.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/map_renderer/types.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/setup_map_embeddable.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/setup_map_embeddable.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/setup_map_embeddable.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/setup_map_embeddable.ts diff --git a/x-pack/plugins/maps/public/react_embeddable/types.ts b/x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts similarity index 100% rename from x-pack/plugins/maps/public/react_embeddable/types.ts rename to x-pack/platform/plugins/shared/maps/public/react_embeddable/types.ts diff --git a/x-pack/plugins/maps/public/reducers/copy_persistent_state.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/copy_persistent_state.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.test.ts diff --git a/x-pack/plugins/maps/public/reducers/copy_persistent_state.ts b/x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/copy_persistent_state.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/copy_persistent_state.ts diff --git a/x-pack/plugins/maps/public/reducers/map/data_request_utils.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/data_request_utils.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.test.ts diff --git a/x-pack/plugins/maps/public/reducers/map/data_request_utils.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/data_request_utils.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/data_request_utils.ts diff --git a/x-pack/plugins/maps/public/reducers/map/default_map_settings.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/default_map_settings.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/default_map_settings.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/default_map_settings.ts diff --git a/x-pack/plugins/maps/public/reducers/map/index.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/index.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/index.ts diff --git a/x-pack/plugins/maps/public/reducers/map/layer_utils.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/layer_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/layer_utils.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/layer_utils.ts diff --git a/x-pack/plugins/maps/public/reducers/map/map.test.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/map.test.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/map.test.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/map.test.ts diff --git a/x-pack/plugins/maps/public/reducers/map/map.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/map.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/map.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/map.ts diff --git a/x-pack/plugins/maps/public/reducers/map/types.ts b/x-pack/platform/plugins/shared/maps/public/reducers/map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/map/types.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/map/types.ts diff --git a/x-pack/plugins/maps/public/reducers/non_serializable_instances.d.ts b/x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.d.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/non_serializable_instances.d.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.d.ts diff --git a/x-pack/plugins/maps/public/reducers/non_serializable_instances.js b/x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.js similarity index 100% rename from x-pack/plugins/maps/public/reducers/non_serializable_instances.js rename to x-pack/platform/plugins/shared/maps/public/reducers/non_serializable_instances.js diff --git a/x-pack/plugins/maps/public/reducers/store.d.ts b/x-pack/platform/plugins/shared/maps/public/reducers/store.d.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/store.d.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/store.d.ts diff --git a/x-pack/plugins/maps/public/reducers/store.js b/x-pack/platform/plugins/shared/maps/public/reducers/store.js similarity index 100% rename from x-pack/plugins/maps/public/reducers/store.js rename to x-pack/platform/plugins/shared/maps/public/reducers/store.js diff --git a/x-pack/plugins/maps/public/reducers/ui.ts b/x-pack/platform/plugins/shared/maps/public/reducers/ui.ts similarity index 100% rename from x-pack/plugins/maps/public/reducers/ui.ts rename to x-pack/platform/plugins/shared/maps/public/reducers/ui.ts diff --git a/x-pack/plugins/maps/public/render_app.tsx b/x-pack/platform/plugins/shared/maps/public/render_app.tsx similarity index 100% rename from x-pack/plugins/maps/public/render_app.tsx rename to x-pack/platform/plugins/shared/maps/public/render_app.tsx diff --git a/x-pack/plugins/maps/public/routes/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/index.ts diff --git a/x-pack/plugins/maps/public/routes/list_page/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/list_page/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/index.ts diff --git a/x-pack/plugins/maps/public/routes/list_page/load_list_and_render.tsx b/x-pack/platform/plugins/shared/maps/public/routes/list_page/load_list_and_render.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/load_list_and_render.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/load_list_and_render.tsx diff --git a/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx b/x-pack/platform/plugins/shared/maps/public/routes/list_page/maps_list_view.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/list_page/maps_list_view.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/map_app.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/map_app.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_app/wait_until_time_layers_load.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/map_page.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/map_page.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/map_page.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/map_page.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.test.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_breadcrumbs.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_layers_from_url_param.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_query.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_query.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_query.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_query.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_initial_refresh_config.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/get_open_layer_wizard_url_param.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/index.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/load_from_library.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/load_from_library.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/save_to_library.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/save_to_library.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/saved_map.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/saved_map.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/types.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/types.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/saved_map/types.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/saved_map/types.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/top_nav_config.tsx b/x-pack/platform/plugins/shared/maps/public/routes/map_page/top_nav_config.tsx similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/top_nav_config.tsx rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/top_nav_config.tsx diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_state_manager.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_state_manager.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_sync.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/app_sync.ts diff --git a/x-pack/plugins/maps/public/routes/map_page/url_state/index.ts b/x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/index.ts similarity index 100% rename from x-pack/plugins/maps/public/routes/map_page/url_state/index.ts rename to x-pack/platform/plugins/shared/maps/public/routes/map_page/url_state/index.ts diff --git a/x-pack/plugins/maps/public/selectors/map_selectors.test.ts b/x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.test.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/map_selectors.test.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.test.ts diff --git a/x-pack/plugins/maps/public/selectors/map_selectors.ts b/x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/map_selectors.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/map_selectors.ts diff --git a/x-pack/plugins/maps/public/selectors/ui_selectors.ts b/x-pack/platform/plugins/shared/maps/public/selectors/ui_selectors.ts similarity index 100% rename from x-pack/plugins/maps/public/selectors/ui_selectors.ts rename to x-pack/platform/plugins/shared/maps/public/selectors/ui_selectors.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/action.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/modal.tsx b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/modal.tsx rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/modal.tsx diff --git a/x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/types.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/types.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/filter_by_map_extent/types.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/filter_by_map_extent/types.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/get_maps_link.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/get_maps_link.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/get_maps_link.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/get_maps_link.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/action.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/is_compatible.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/is_compatible.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/is_compatible.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/is_compatible.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/modal.tsx b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/modal.tsx similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/modal.tsx rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/modal.tsx diff --git a/x-pack/plugins/maps/public/trigger_actions/synchronize_movement/types.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/types.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/synchronize_movement/types.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/synchronize_movement/types.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/trigger_utils.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/trigger_utils.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/trigger_utils.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/trigger_utils.ts diff --git a/x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.ts b/x-pack/platform/plugins/shared/maps/public/trigger_actions/visualize_geo_field_action.ts similarity index 100% rename from x-pack/plugins/maps/public/trigger_actions/visualize_geo_field_action.ts rename to x-pack/platform/plugins/shared/maps/public/trigger_actions/visualize_geo_field_action.ts diff --git a/x-pack/plugins/maps/public/util.ts b/x-pack/platform/plugins/shared/maps/public/util.ts similarity index 100% rename from x-pack/plugins/maps/public/util.ts rename to x-pack/platform/plugins/shared/maps/public/util.ts diff --git a/x-pack/plugins/maps/server/config.ts b/x-pack/platform/plugins/shared/maps/server/config.ts similarity index 100% rename from x-pack/plugins/maps/server/config.ts rename to x-pack/platform/plugins/shared/maps/server/config.ts diff --git a/x-pack/plugins/maps/server/content_management/index.ts b/x-pack/platform/plugins/shared/maps/server/content_management/index.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/index.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/index.ts diff --git a/x-pack/plugins/maps/server/content_management/maps_storage.ts b/x-pack/platform/plugins/shared/maps/server/content_management/maps_storage.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/maps_storage.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/maps_storage.ts diff --git a/x-pack/plugins/maps/server/content_management/schema/cm_services.ts b/x-pack/platform/plugins/shared/maps/server/content_management/schema/cm_services.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/schema/cm_services.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/schema/cm_services.ts diff --git a/x-pack/plugins/maps/server/content_management/schema/v1/cm_services.ts b/x-pack/platform/plugins/shared/maps/server/content_management/schema/v1/cm_services.ts similarity index 100% rename from x-pack/plugins/maps/server/content_management/schema/v1/cm_services.ts rename to x-pack/platform/plugins/shared/maps/server/content_management/schema/v1/cm_services.ts diff --git a/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/create_doc_source.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/create_doc_source.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/create_doc_source.ts diff --git a/x-pack/plugins/maps/server/data_indexing/get_indexes_matching_pattern.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/get_indexes_matching_pattern.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/get_indexes_matching_pattern.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/get_indexes_matching_pattern.ts diff --git a/x-pack/plugins/maps/server/data_indexing/index_data.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/index_data.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/index_data.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/index_data.ts diff --git a/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts b/x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts similarity index 100% rename from x-pack/plugins/maps/server/data_indexing/indexing_routes.ts rename to x-pack/platform/plugins/shared/maps/server/data_indexing/indexing_routes.ts diff --git a/x-pack/plugins/maps/server/embeddable/embeddable_migrations.test.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.test.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/embeddable_migrations.test.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.test.ts diff --git a/x-pack/plugins/maps/server/embeddable/embeddable_migrations.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/embeddable_migrations.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/embeddable_migrations.ts diff --git a/x-pack/plugins/maps/server/embeddable/index.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/index.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/index.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/index.ts diff --git a/x-pack/plugins/maps/server/embeddable/setup_embeddable.ts b/x-pack/platform/plugins/shared/maps/server/embeddable/setup_embeddable.ts similarity index 100% rename from x-pack/plugins/maps/server/embeddable/setup_embeddable.ts rename to x-pack/platform/plugins/shared/maps/server/embeddable/setup_embeddable.ts diff --git a/x-pack/plugins/maps/server/fonts/open_sans/0-255.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/0-255.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/0-255.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/0-255.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/1024-1279.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/1024-1279.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/1024-1279.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/1024-1279.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/256-511.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/256-511.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/256-511.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/256-511.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/768-1023.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/768-1023.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/768-1023.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/768-1023.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/8192-8447.pbf b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/8192-8447.pbf similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/8192-8447.pbf rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/8192-8447.pbf diff --git a/x-pack/plugins/maps/server/fonts/open_sans/license.txt b/x-pack/platform/plugins/shared/maps/server/fonts/open_sans/license.txt similarity index 100% rename from x-pack/plugins/maps/server/fonts/open_sans/license.txt rename to x-pack/platform/plugins/shared/maps/server/fonts/open_sans/license.txt diff --git a/x-pack/plugins/maps/server/index.ts b/x-pack/platform/plugins/shared/maps/server/index.ts similarity index 100% rename from x-pack/plugins/maps/server/index.ts rename to x-pack/platform/plugins/shared/maps/server/index.ts diff --git a/x-pack/plugins/maps/server/kibana_server_services.ts b/x-pack/platform/plugins/shared/maps/server/kibana_server_services.ts similarity index 100% rename from x-pack/plugins/maps/server/kibana_server_services.ts rename to x-pack/platform/plugins/shared/maps/server/kibana_server_services.ts diff --git a/x-pack/plugins/maps/server/lib/get_index_pattern_settings.test.js b/x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.test.js similarity index 100% rename from x-pack/plugins/maps/server/lib/get_index_pattern_settings.test.js rename to x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.test.js diff --git a/x-pack/plugins/maps/server/lib/get_index_pattern_settings.ts b/x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.ts similarity index 100% rename from x-pack/plugins/maps/server/lib/get_index_pattern_settings.ts rename to x-pack/platform/plugins/shared/maps/server/lib/get_index_pattern_settings.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/collectors/register_collector.test.js b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register_collector.test.js similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/collectors/register_collector.test.js rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/collectors/register_collector.test.js diff --git a/x-pack/plugins/maps/server/maps_telemetry/find_maps.test.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.test.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/find_maps.test.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.test.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/find_maps.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/find_maps.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/find_maps.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/index.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/index.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/index.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/index.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.test.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/map_stats_collector.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/map_stats_collector.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/map_stats/types.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/types.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/map_stats/types.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/map_stats/types.ts diff --git a/x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts b/x-pack/platform/plugins/shared/maps/server/maps_telemetry/maps_telemetry.ts similarity index 100% rename from x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts rename to x-pack/platform/plugins/shared/maps/server/maps_telemetry/maps_telemetry.ts diff --git a/x-pack/plugins/maps/server/mvt/mvt_routes.test.ts b/x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.test.ts similarity index 100% rename from x-pack/plugins/maps/server/mvt/mvt_routes.test.ts rename to x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.test.ts diff --git a/x-pack/plugins/maps/server/mvt/mvt_routes.ts b/x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts similarity index 100% rename from x-pack/plugins/maps/server/mvt/mvt_routes.ts rename to x-pack/platform/plugins/shared/maps/server/mvt/mvt_routes.ts diff --git a/x-pack/plugins/maps/server/plugin.ts b/x-pack/platform/plugins/shared/maps/server/plugin.ts similarity index 100% rename from x-pack/plugins/maps/server/plugin.ts rename to x-pack/platform/plugins/shared/maps/server/plugin.ts diff --git a/x-pack/plugins/maps/server/register_integrations.ts b/x-pack/platform/plugins/shared/maps/server/register_integrations.ts similarity index 100% rename from x-pack/plugins/maps/server/register_integrations.ts rename to x-pack/platform/plugins/shared/maps/server/register_integrations.ts diff --git a/x-pack/plugins/maps/server/routes.ts b/x-pack/platform/plugins/shared/maps/server/routes.ts similarity index 100% rename from x-pack/plugins/maps/server/routes.ts rename to x-pack/platform/plugins/shared/maps/server/routes.ts diff --git a/x-pack/plugins/maps/server/sample_data/ecommerce_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/ecommerce_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/ecommerce_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/ecommerce_saved_objects.js diff --git a/x-pack/plugins/maps/server/sample_data/flights_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/flights_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/flights_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/flights_saved_objects.js diff --git a/x-pack/plugins/maps/server/sample_data/web_logs_saved_objects.js b/x-pack/platform/plugins/shared/maps/server/sample_data/web_logs_saved_objects.js similarity index 100% rename from x-pack/plugins/maps/server/sample_data/web_logs_saved_objects.js rename to x-pack/platform/plugins/shared/maps/server/sample_data/web_logs_saved_objects.js diff --git a/x-pack/plugins/maps/server/saved_objects/index.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/index.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/index.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/index.ts diff --git a/x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/saved_object_migrations.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/saved_object_migrations.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/saved_object_migrations.ts diff --git a/x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts b/x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts similarity index 100% rename from x-pack/plugins/maps/server/saved_objects/setup_saved_objects.ts rename to x-pack/platform/plugins/shared/maps/server/saved_objects/setup_saved_objects.ts diff --git a/x-pack/plugins/maps/server/test_utils/index.js b/x-pack/platform/plugins/shared/maps/server/test_utils/index.js similarity index 100% rename from x-pack/plugins/maps/server/test_utils/index.js rename to x-pack/platform/plugins/shared/maps/server/test_utils/index.js diff --git a/x-pack/plugins/maps/server/tutorials/ems/index.ts b/x-pack/platform/plugins/shared/maps/server/tutorials/ems/index.ts similarity index 100% rename from x-pack/plugins/maps/server/tutorials/ems/index.ts rename to x-pack/platform/plugins/shared/maps/server/tutorials/ems/index.ts diff --git a/x-pack/plugins/maps/server/types.ts b/x-pack/platform/plugins/shared/maps/server/types.ts similarity index 100% rename from x-pack/plugins/maps/server/types.ts rename to x-pack/platform/plugins/shared/maps/server/types.ts diff --git a/x-pack/plugins/maps/tsconfig.json b/x-pack/platform/plugins/shared/maps/tsconfig.json similarity index 96% rename from x-pack/plugins/maps/tsconfig.json rename to x-pack/platform/plugins/shared/maps/tsconfig.json index e82e35b5ccbfd..23f39932990bb 100644 --- a/x-pack/plugins/maps/tsconfig.json +++ b/x-pack/platform/plugins/shared/maps/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "allowJs": true @@ -9,7 +9,7 @@ "public/**/*", "server/**/*", "server/config.ts", - "../../../typings/**/*" + "../../../../../typings/**/*" ], "kbn_references": [ "@kbn/core", diff --git a/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx b/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx index 44a9d4f860ecd..988e982614747 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/components/job_messages/job_messages.tsx @@ -66,7 +66,8 @@ export const JobMessages: FC = ({ '' ), render: (message: JobMessage) => , - width: `${euiTheme.size.l}`, + width: `${euiTheme.size.xl}`, + align: 'center', }, { field: 'timestamp', @@ -74,7 +75,7 @@ export const JobMessages: FC = ({ defaultMessage: 'Time', }), render: timeFormatter, - width: '120px', + width: '25%', sortable: true, }, { @@ -82,7 +83,6 @@ export const JobMessages: FC = ({ name: i18n.translate('xpack.ml.jobMessages.messageLabel', { defaultMessage: 'Message', }), - width: '50%', }, ]; @@ -92,7 +92,7 @@ export const JobMessages: FC = ({ name: i18n.translate('xpack.ml.jobMessages.nodeLabel', { defaultMessage: 'Node', }), - width: '150px', + width: '15%', }); } @@ -101,7 +101,7 @@ export const JobMessages: FC = ({ name: i18n.translate('xpack.ml.jobMessages.actionsLabel', { defaultMessage: 'Actions', }), - width: '10%', + width: '15%', actions: [ { render: (message: JobMessage) => { @@ -131,7 +131,7 @@ export const JobMessages: FC = ({ } return cols; - }, [showNodeInfo, refreshMessage, actionHandler, euiTheme]); + }, [refreshMessage, euiTheme.size.xl, showNodeInfo, actionHandler]); const defaultSorting = { sort: { diff --git a/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts index c6142e715bad7..f24a541884555 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts +++ b/x-pack/platform/plugins/shared/ml/public/application/contexts/kibana/use_cases_modal.ts @@ -5,9 +5,10 @@ * 2.0. */ -import { useCallback } from 'react'; +import { useCallback, useMemo } from 'react'; import { stringHash } from '@kbn/ml-string-hash'; import { AttachmentType } from '@kbn/cases-plugin/common'; +import { i18n } from '@kbn/i18n'; import { useMlKibana } from './kibana_context'; import type { MappedEmbeddableTypeOf, MlEmbeddableTypes } from '../../../embeddables'; @@ -15,13 +16,25 @@ import type { MappedEmbeddableTypeOf, MlEmbeddableTypes } from '../../../embedda * Returns a callback for opening the cases modal with provided attachment state. */ export const useCasesModal = ( - embeddableType: EmbeddableType + embeddableType: EmbeddableType, + title: string ) => { const { services: { cases }, } = useMlKibana(); - const selectCaseModal = cases?.hooks.useCasesAddToExistingCaseModal(); + const successMessage = useMemo(() => { + return i18n.translate('xpack.ml.useCasesModal.successMessage', { + defaultMessage: '{title} added to case.', + values: { title }, + }); + }, [title]); + + const selectCaseModal = cases?.hooks.useCasesAddToExistingCaseModal({ + successToaster: { + content: successMessage, + }, + }); return useCallback( (persistableState: Partial, 'id'>>) => { @@ -48,7 +61,7 @@ export const useCasesModal = ( ], }); }, - // eslint-disable-next-line react-hooks/exhaustive-deps - [embeddableType] + + [embeddableType, selectCaseModal] ); }; diff --git a/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx index 7904a55264d08..ccee7f8fa1be5 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_context_menu.tsx @@ -52,6 +52,7 @@ import { useMlKibana } from '../contexts/kibana'; import type { AppStateSelectedCells, ExplorerJob } from './explorer_utils'; import { getSelectionInfluencers, getSelectionTimeRange } from './explorer_utils'; import { getDefaultExplorerChartsPanelTitle } from '../../embeddables/anomaly_charts/utils'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../cases/constants'; interface AnomalyContextMenuProps { selectedJobs: ExplorerJob[]; @@ -99,7 +100,10 @@ export const AnomalyContextMenu: FC = ({ [setIsMenuOpen] ); - const openCasesModal = useCasesModal(ANOMALY_EXPLORER_CHARTS_EMBEDDABLE_TYPE); + const openCasesModal = useCasesModal( + ANOMALY_EXPLORER_CHARTS_EMBEDDABLE_TYPE, + CASES_TOAST_MESSAGES_TITLES.ANOMALY_CHARTS(maxSeriesToPlot) + ); const canEditDashboards = capabilities.dashboard?.createNew ?? false; const casesPrivileges = cases?.helpers.canUseCases(); @@ -266,6 +270,7 @@ export const AnomalyContextMenu: FC = ({ /> ), panel: 'addToDashboardPanel', + icon: 'dashboardApp', 'data-test-subj': 'mlAnomalyAddChartsToDashboardButton', }); @@ -286,6 +291,7 @@ export const AnomalyContextMenu: FC = ({ name: ( ), + icon: 'casesApp', panel: 'addToCasePanel', 'data-test-subj': 'mlAnomalyAttachChartsToCasesButton', }); @@ -329,6 +335,7 @@ export const AnomalyContextMenu: FC = ({ defaultMessage: 'Actions', })} color="text" + display="base" iconType="boxesHorizontal" onClick={setIsMenuOpen.bind(null, !isMenuOpen)} data-test-subj="mlExplorerAnomalyPanelMenu" diff --git a/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx index cad2ef9376890..e70ca44772ed8 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/explorer/anomaly_timeline.tsx @@ -66,6 +66,7 @@ import { useAnomalyExplorerContext } from './anomaly_explorer_context'; import { getTimeBoundsFromSelection } from './hooks/use_selected_cells'; import { SwimLaneWrapper } from './alerts'; import { Y_AXIS_LABEL_WIDTH } from './constants'; +import { CASES_TOAST_MESSAGES_TITLES } from '../../cases/constants'; import type { ExplorerState } from './explorer_data'; import { useJobSelection } from './hooks/use_job_selection'; @@ -187,7 +188,10 @@ export const AnomalyTimeline: FC = React.memo( [severityUpdate, swimLaneSeverity] ); - const openCasesModalCallback = useCasesModal(ANOMALY_SWIMLANE_EMBEDDABLE_TYPE); + const openCasesModalCallback = useCasesModal( + ANOMALY_SWIMLANE_EMBEDDABLE_TYPE, + CASES_TOAST_MESSAGES_TITLES.ANOMALY_TIMELINE + ); const openCasesModal = useCallback( (swimLaneType: SwimlaneType) => { @@ -235,6 +239,7 @@ export const AnomalyTimeline: FC = React.memo( /> ), panel: 'addToDashboardPanel', + icon: 'dashboardApp', 'data-test-subj': 'mlAnomalyTimelinePanelAddToDashboardButton', }); @@ -280,6 +285,7 @@ export const AnomalyTimeline: FC = React.memo( defaultMessage="Add to case" /> ), + icon: 'casesApp', 'data-test-subj': 'mlAnomalyTimelinePanelAttachToCaseButton', }); @@ -428,6 +434,8 @@ export const AnomalyTimeline: FC = React.memo( defaultMessage: 'Actions', })} color="text" + display="base" + isSelected={isMenuOpen} iconType="boxesHorizontal" onClick={setIsMenuOpen.bind(null, !isMenuOpen)} data-test-subj="mlAnomalyTimelinePanelMenu" diff --git a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx index c989bb6ebd38d..cf94ada9c35c9 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx +++ b/x-pack/platform/plugins/shared/ml/public/application/timeseriesexplorer/components/forecasting_modal/forecast_button.tsx @@ -20,6 +20,8 @@ export const ForecastButton: FC = ({ isDisabled, onClick, mode = 'full' } const Button = mode === 'full' ? EuiButton : EuiButtonEmpty; return (